nixos/tests/networking: fix flaky scripted.dhcpSimple test#361834
nixos/tests/networking: fix flaky scripted.dhcpSimple test#361834misuzu merged 1 commit intoNixOS:masterfrom
Conversation
The underlying issue is unknown, but starting the router first and then the client makes the test not flaky.
|
@ofborg test networking.scripted.dhcpSimple networking.networkd.dhcpSimple |
|
Testing looks good to me. On an idle larger machine I did a few runs of both before and after this PR, getting 100% failures and 100% successes. |
|
Successfully created backport PR for |
|
I may be reproducing something like this on bare metal ( I have two virtual interfaces configured using VLANs, Further, when dhcpcd renews, I get this: The sequencing here, ARP errors, and failure to get a DHCP address are making me wonder why this test got flaky. |
|
The permission errors might be because of #336988 |
|
That's what I figured it was, and was going to be my next investigative step. |
The underlying issue is unknown, but starting the router first and then the client makes the test not flaky.
It's also weird that I can't reproduce this issue on my machine (Ryzen 7 5700U laptop, kernel 6.6.63) while it's reliably reproducible on our aarch64 community box (kernel 5.15.163).
#360089
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.