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

nixos/tests/ferm: disable dhcpcd #47077

Merged
merged 1 commit into from Sep 21, 2018
Merged

nixos/tests/ferm: disable dhcpcd #47077

merged 1 commit into from Sep 21, 2018

Conversation

xeji
Copy link
Contributor

@xeji xeji commented Sep 20, 2018

Motivation for this change

The test failed in one recent run on Hydra.

The only notable difference in the logs compared to successful runs is that dhcpcd changed ipv6 default routing on the client just when it tried to contact the server via ipv6. I could not reproduce the failure locally and it's hard to tell from the logs whether this really was the cause.

But since this test uses static IP addresses anyway, it doesn't need dhcpcd, so let's disable it and eliminate this potential cause of non-deterministic failure.

cc @Mic92

Things done
  • NixOS test passes locally on x86_64-linux and i686-linux.

The test failed in one run on Hydra, logs look like
dhcpcd changed ipv6 routing at just the wrong time.
Disable dhcpcd. It's not needed, the test uses static IPs anyway.
@xeji
Copy link
Contributor Author

xeji commented Sep 20, 2018

please backport to 18.09 (that's where the failed test run happened).

@GrahamcOfBorg test ferm

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: tests.ferm

Partial log (click to expand)

server: running command: sync
server: exit status 0
2 out of 2 tests succeeded
test script finished in 13.25s
cleaning up
killing client (pid 597)
killing server (pid 609)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
/nix/store/pjjaf5cnzgs0d8hhdfhrddflmsz3nzhc-vm-test-run-ferm

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: tests.ferm

Partial log (click to expand)

server: running command: sync
server: exit status 0
2 out of 2 tests succeeded
test script finished in 23.57s
cleaning up
killing client (pid 631)
killing server (pid 643)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
/nix/store/2ssrx6jjdx8n1cgabpncnlm36ddf6m85-vm-test-run-ferm

@Mic92
Copy link
Member

Mic92 commented Sep 21, 2018

backport: 793776b

@xeji xeji deleted the p/ferm-test branch September 21, 2018 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants