Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get logs from down'ed vm? #3551

Closed
dschwoerer opened this issue Dec 9, 2024 · 3 comments
Closed

Get logs from down'ed vm? #3551

dschwoerer opened this issue Dec 9, 2024 · 3 comments

Comments

@dschwoerer
Copy link

I am trying to figure out a random failure (random segfault). I tried running the test suite a few times.

I had one run where I saw a few failures, and when I came back later, the failures had disappeared.
Looking at the backend.log, I saw that the VM went unresponsive and a new VM has been used.

Is there some way to get the last log from the first VM?
Maybe even some additional logs?

This is the backend.log and this the link to the build.

Logs would be appreciated :-)
If that can crash a VM, I am not eager to test this locally.

@FrostyX
Copy link
Member

FrostyX commented Dec 9, 2024

Is there some way to get the last log from the first VM?
Maybe even some additional logs?

Unfortunately no, the builder machines are removed.
But this may help you debug the issue https://frostyx.cz/posts/ssh-access-to-copr-builders

@nikromen
Copy link
Member

Looking at the backend logs I can see that the VM booted successfully after a few attempts and the build was successful. What I can see is that the ssh to the VM failed to 54.208.45.94 which is - to my knowledge - VM in aws. After some retries, the aws VM was discarded and it got new one 2620:52:3:1:dead:beef:cafe:c193 (not aws). This really could be just aws issue - for these cases, we have the retry feature there. Can you confirm this was just one-timer or does it happen regularly?

@nikromen
Copy link
Member

why do you think this is segfault?

closing as not a bug since the retry mechanism when ssh fails is a feature, but if you think I missunderstood you, feel free to reopen this

@nikromen nikromen closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
@nikromen nikromen moved this from Needs triage to Done in CPT Kanban Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants