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/opensmtpd: bump test (&build) timeout to 30m from 30s #81060

Merged
merged 1 commit into from Mar 3, 2020

Conversation

andir
Copy link
Member

@andir andir commented Feb 25, 2020

Motivation for this change

I am not sure how this ever passed on hydra but 30s is barely enough to
pass the configure phase of opensmtpd. It is likely the package was
built as part of another jobset. Whenever it is built as part of the
test execution the timeout propagates and 30s is clearly not enough for
that.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

I am not sure how this ever passed on hydra but 30s is barely enough to
pass the configure phase of opensmtpd. It is likely the package was
built as part of another jobset. Whenever it is built as part of the
test execution the timeout propagates and 30s is clearly not enough for
that.
@andir
Copy link
Member Author

andir commented Feb 25, 2020

@GrahamcOfBorg test opensmtpd

@Ekleog
Copy link
Member

Ekleog commented Feb 26, 2020

Not sure what you mean by “the timeout propagates,” but if memory serves me right, I had just grepped for another meta.timeout setting somewhere else, built that other thing, and then used proportionality to set the meta.timeout option for the opensmtpd test.

So I'm not setting an r+ because I'm not sure I get the issue, but don't have any reason to reject this change either :)

@andir
Copy link
Member Author

andir commented Feb 29, 2020 via email

@andir andir merged commit f8325b6 into NixOS:master Mar 3, 2020
@andir andir deleted the opensmtpd-timeout branch March 3, 2020 10:14
@Ekleog
Copy link
Member

Ekleog commented Mar 5, 2020

Oh wow, I didn't even imagine meta.timeout working this way when multiple builds are involved. IMHO this is a significant flaw in how it works, as the build time of a derivation can as a consequence vary hugely between builds, but I guess that's the way it is.

Anyway, thank you for having handled this!

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

2 participants