kola: Add --qemu-bind-ro#3593
Merged
cgwalters merged 1 commit intocoreos:mainfrom Sep 13, 2023
Merged
Conversation
Member
Author
(Well, not really, I mean I could inject them into the disk image or base64 encode them and paste into the ssh session; or |
I'm trying to debug `kola run --ssh-on-test-failure ext.rpm-ostree.destructive.container-image` interactively but one problem is that because the test is classified as disconnected, we run qemu with no networking. This makes it impossible to get remote debug tools. With this I can `--qemu-bind-ro /usr` to get access to the debug tools in my dev container's `/usr`. But one needs to manually mount inside the VM, because injecting the mount into the Ignition config in kola is a bit trickier. For reference it looks like e.g. `mount -t 9p -o trans=virtio,version=9p2000.L /kola/usr /run/hostusr` in the ssh shell.
jlebon
added a commit
to jlebon/coreos-assembler
that referenced
this pull request
Sep 13, 2023
PR coreos#3593 was written and opened before coreos#3428 but merged after it. CI had passed but was not rerun, so this went in. This would be fixed by using a merge bot on this repo that reruns CI before merge (See also https://bors.tech/essay/2017/02/02/pitch/.) Fixes: d812406 ("kola: Add `--qemu-bind-ro`")
dustymabe
pushed a commit
that referenced
this pull request
Sep 13, 2023
PR #3593 was written and opened before #3428 but merged after it. CI had passed but was not rerun, so this went in. This would be fixed by using a merge bot on this repo that reruns CI before merge (See also https://bors.tech/essay/2017/02/02/pitch/.) Fixes: d812406 ("kola: Add `--qemu-bind-ro`")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm trying to debug
kola run --ssh-on-test-failure ext.rpm-ostree.destructive.container-imageinteractively but one problem is that because the test is classified as disconnected, we run qemu with no networking. This makes it impossible to get remote debug tools.With this I can
--qemu-bind-ro /usrto get access to the debug tools in my dev container's/usr. But one needs to manually mount inside the VM, because injecting the mount into the Ignition config in kola is a bit trickier.For reference it looks like e.g.
mount -t 9p -o trans=virtio,version=9p2000.L /kola/usr /run/hostusrin the ssh shell.