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
findutils: disable a bogus test #46669
Conversation
Success on x86_64-linux (full log) Attempted: findutils Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: findutils Partial log (click to expand)
|
e6d26da
to
ef04b4f
Compare
Timed out, unknown build status on x86_64-darwin (full log) Attempted: findutils Partial log (click to expand)
|
After some more investigation I found that findutils ships their own |
Success on x86_64-linux (full log) Attempted: findutils Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: findutils Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: findutils Partial log (click to expand)
|
ASSERT (close (255) == 0); | ||
ASSERT (close (256) == 0); | ||
} | ||
- ASSERT (dup2 (fd, bad_fd - 1) == bad_fd - 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the value of bad_fd also getdtablesize()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct
./no-install-statedir.patch | ||
|
||
# prevent tests from failing on old kernels | ||
./disable-getdtablesize-test.patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be a good idea to report this also upstream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure which of the cases should I bring up:
- remove the test
- for them to not use
getdtablesize()
fromgnulib
that fall backs on a too high arbitrary guess value whengetrlimits
fails in my case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No sure, what would you recommend? @jamesyoungman
./memory-leak.patch | ||
./no-install-statedir.patch | ||
|
||
# prevent tests from failing on old kernels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be also interesting to add here, what your kernel version was (also you don't know the exact one).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.6.32-696.18.7.el6.x86_64, and also 2.6.32-754.3.5.el6.x86_64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ancient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mic92 These are branches supported by RedHat, they come with backported features as well. I believe the "-754" version came out last month.
Success on x86_64-linux (full log) Attempted: findutils Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: findutils Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: findutils Partial log (click to expand)
|
findutils fails to pass checkPhase on my Linux system that has a
sysconf(_SC_OPEN_MAX)
limit set. The test itself appears to be a common copypasta between gnu projects. Poking limits of available fd's is irrelevant to what findutils is designed to do, so I consider the test to be bogus.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)