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
nixosTests: re-enable networking tests #86486
Conversation
@ofborg test networking.scripted.link networking.scripted.privacy networking.scripted.routes networking.scripted.virtual networking.networkd.bond networking.networkd.bridge networking.networkd.dhcpOneIf networking.networkd.dhcpSimple networking.networkd.link networking.networkd.loopback networking.networkd.macvlan networking.networkd.privacy networking.networkd.routes networking.networkd.sit networking.networkd.static networking.networkd.virtual networking.networkd.vlan |
Some of the tests seem to be flaky. See the aarch64 build results. |
Hm, I tried squinting at the logs to spot the error, the only parts I found were nixos-test driver specific failures:
I couldn't spot some "networking-specific flakiness in there - it looks more like a generic test-driver flakyness, maybe only happening under high load? @tfc, any ideas? |
6c8867c
to
c9aed19
Compare
I rebased on top of 78f2a83, assuming this should fix the observed flakyness. |
@ofborg test networking.scripted.link networking.scripted.privacy networking.scripted.routes networking.scripted.virtual networking.networkd.bond networking.networkd.bridge networking.networkd.dhcpOneIf networking.networkd.dhcpSimple networking.networkd.link networking.networkd.loopback networking.networkd.macvlan networking.networkd.privacy networking.networkd.routes networking.networkd.sit networking.networkd.static networking.networkd.virtual networking.networkd.vlan |
Hrm, this still fails:
|
If a program (e.g. nixos-install) writes more than 1000 lines to stderr during execute(), then process_serial_output() deadlocks waiting for the queue to be processed. So use an unbounded queue instead. We should probably get rid of the structured log output (log.xml), since then we don't need the log queue anymore.
c9aed19
to
897d574
Compare
@ofborg test networking.scripted.link networking.scripted.privacy networking.scripted.routes networking.scripted.virtual networking.networkd.bond networking.networkd.bridge networking.networkd.dhcpOneIf networking.networkd.dhcpSimple networking.networkd.link networking.networkd.loopback networking.networkd.macvlan networking.networkd.privacy networking.networkd.routes networking.networkd.sit networking.networkd.static networking.networkd.virtual networking.networkd.vlan |
Even when removing all the
So this seems to come from With all the xml/html log output gone since #87191, I'll give it a try to rework this to make use of Pythons native |
Converting to draft until the discussion following #87191 (comment) has been done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After having read the threads in this PR, #86889 and #87191 I think that it's preferable to have a stable test-driver rather than waiting until we've reached consensus about how $out
and logging should look like.
IMHO we can still re-add lost features later on. I may be rather unlucky, but I regularly experience frozen VM-tests (that get "fixed" by restarting them) and right now I have a simple VM using grafana and loki (based on the test-driver) that reproducibly breaks when trying to shut it down (with the error demonstrated in #86889 ) and I think that it's more important to get those kind of (known) issues under control.
Yeah, I agree. Feel free to take over this PR - I can't currently pursue this. |
I'm sorry, I don't want to start another time-consuming task here, I should get a lot of other NixOS-related stuff I'm hacking on done first 😅 If anyone who subscribed to this thread wants to take over, I'd be fairly grateful! |
5150378 fixed the long-broken nixosTests.networking.virtual. With all tests failures fixed, and NixOS#79328 making debugging much easier, let's re-add it to the tested jobset.
897d574
to
656f88a
Compare
|
5150378 fixed the long-broken
nixosTests.networking.virtual.
With all tests failures fixed, and #79328 making debugging much easier,
let's re-add it to the tested jobset.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)