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

lib.fileset: Don't use non-reproducible ulimit for stack overflow testing #258080

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

infinisil
Copy link
Member

Description of changes

In #255025 I introduced a lib test that uses ulimit -s 100 to artificially limit the stack size to test that the stack wouldn't grow arbitrarily large. However in #256417 (review) (where another test that uses ulimit -s 100 was introduced) @fricklerhandwerk reported a failure relating to this.

While the number could be increased to say 200 to make it work, it's probably better to not use this after all. It would be hard to come up with a reliable number.

This work is sponsored by Antithesis

Things done

  • Ran the tests successfully on x86_64-linux

@github-actions github-actions bot added the 6.topic: lib The Nixpkgs function library label Sep 29, 2023
@infinisil infinisil mentioned this pull request Sep 29, 2023
7 tasks
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Sep 29, 2023
@infinisil infinisil requested a review from roberth October 2, 2023 16:52
@roberth roberth merged commit c0838e1 into NixOS:master Oct 3, 2023
8 checks passed
@roberth
Copy link
Member

roberth commented Oct 3, 2023

😢

@infinisil
Copy link
Member Author

Haha, it was a nice idea though! 💯

@infinisil infinisil deleted the fileset/no-ulimit branch October 3, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: lib The Nixpkgs function library 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants