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
nixos/tests/iftop: fix non-deterministic failure #41309
Conversation
the reason behind this module is that you don't need to run iftop as root anymore thanks to the setcap wrapper: nixpkgs/nixos/modules/programs/iftop.nix Lines 14 to 15 in ba391b8
|
Ah, I didn't know that. I'll change it back to |
@GrahamcOfBorg test iftop |
Success on x86_64-linux (full log) Attempted: tests.iftop Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.iftop Partial log (click to expand)
|
@Ma27 so in the second test it would make more sense to install the package but not enable the module, so we can see the capability setting actually makes a difference. I'll give that a try. |
- make sure machines are fully booted before sending commands - test that capability setting in iftop module makes a difference
@GrahamcOfBorg test iftop |
Success on x86_64-linux (full log) Attempted: tests.iftop Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.iftop Partial log (click to expand)
|
Motivation for this change
Non-deterministic test failure: https://hydra.nixos.org/build/74650732 . The test needs to wait until machines are fully booted before sending commands.
Also,iftop
should be run as root./cc @Ma27
Things done