-
Notifications
You must be signed in to change notification settings - Fork 91
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
Logs not printed when there is an error during shutdown #1558
Comments
Hi @skunert, thanks for reporting. Yes, in this case there was an unhandled exception and the process crash. I will fix asap, as workaround until is fixed you can see the logs in loki by Thanks!! |
@pepoviola I might be getting something similar. Zombienet never errors for me, even when the test is clearly wrong. For example, I change some value in Reopening since I think this ticket is related.
|
Hi @mrcnski, thanks for reopen. Are you trying locally with the native provider or those changes are in CI? I will try to reproduce and fix asap. Thanks! |
Thanks @pepoviola, appreciate it! I'm trying locally with native. I wonder, is there a way to get logs out of zombienet to see what it's doing? |
@pepoviola Could this be the issue? (changed from
I checked out |
Hey @mrcnski, yes I made that change to prevent the rejection off all dumps if one fails. I would check why doesn't resolve as expected or handle the rejection internally in the dump fn to prevent the issue using
Thanks!! |
Thanks @pepoviola! Looks like the metrics error was caused by the nodes missing the insecure flag I added - oops! I'm back to not seeing any errors anymore. I mean, I added a ridiculous line like |
Hey @mrcnski, great that now the metrics error is gone. Zombienet will continue working until the end of the last defined assertion and produce a report in the console. Are you having more assertion beside tha one? Can you send me the config and zndsl to reproduce? Thanks!! |
@pepoviola For a really simple case I've changed
and I run with
Zombienet doesn't fail on this. I checked the logs of Alice and she's still alive doing stuff. |
Hi @mrcnski, I can reproduce locally. In my end changing the value produce this output Also, you are using the
Thanks!! |
Issue Description
In some runs the links to the logs in loki are not printed.
See here: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4513620
It looks like this is due to some shutdown error (one pod could not be found).
This makes debugging of these jobs impossible, logs are also not under the artifacts folder.
Steps to reproduce the issue
Describe the results you received
Logs not available
Describe the results you expected
Logs available
Zombienet version
1.3.83
Provider
Kubernetes
Provider version
CI
Upstream Latest Release
Yes
Additional environment details
CI
Additional information
Only occasionally
Screenshots
No response
The text was updated successfully, but these errors were encountered: