-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
tee: GNU test failing in CI #7805
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
Comments
Looks like the |
Yeah, it's a red herring, that error is meant to happen. You can get the exact some error output by adding Trying by setting |
Reproducer
Then run with something like this (uutils yes/timeout seem to work fine here, it's a
Sometimes the test "succeeds", but there's a 10 second pause that should not be there.
Sometimes it fails:
I think we don't always fail because of a race condition between the 2 timeouts (if you reduce the last |
GNU
uutils:
I can fix the issue by completely bypassing (BTW, this is not a new failure, if you look at https://github.com/uutils/coreutils-tracking/blame/main/aggregated-result.json |
My change what initially fixing #7073. I had feared the change would not be robust enough and I was maybe missing something, which it appears I was. |
tee
has started failing its GNU test in the CI, when it had been passing on the main branch. See, e.g., #7765 (comment), #7801 (comment), #7799 (comment). Relevant test output is:The relevant part of the test script is, in a nutshell, doing
touch file.ro && chmod a-w file.ro && tee -p </dev/null file.ro
, expecting exit status 1 (EPERM
, operation not permitted). Since this test is passing on my and others machines, I suspect this is the CI environment changing something to return exit status 13 (EACCESS
, permission denied). Not sure why this is happening, since we do have permission access to the file (presumably), just not permission to write to it.The text was updated successfully, but these errors were encountered: