Skip to content

Conversation

@ChrisDryden
Copy link
Collaborator

@ChrisDryden ChrisDryden commented Jan 6, 2026

I was testing around to see the different GLIBC calls on different versions of GLIBC and what was going on with this test. Turns out that the test doesn't even pass on the original cp on different versions of GLIBC. I was able to make a PR to the main coreutils repository that covers both GLIBC versions and when that in, this should pass the nfs-race GNU test

Update:
The PR was merged coreutils/coreutils@1afe410 here and now it should allow us to use the FileInformation helpers so that we can replicate the types of calls that are made to better match how the file metadata is fetched.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/dd/nocache_eof is no longer failing!

@ChrisDryden ChrisDryden force-pushed the fix-nfs-removal-race branch from e6af615 to 9ad2ff6 Compare January 6, 2026 02:47
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

GNU testsuite comparison:

GNU test failed: tests/shuf/shuf-reservoir. tests/shuf/shuf-reservoir is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/sort/sort-stale-thread-mem. tests/sort/sort-stale-thread-mem is passing on 'main'. Maybe you have to rebase?

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@ChrisDryden ChrisDryden force-pushed the fix-nfs-removal-race branch 2 times, most recently from 4afa44e to af2fba8 Compare January 6, 2026 21:24
@ChrisDryden ChrisDryden force-pushed the fix-nfs-removal-race branch from af2fba8 to fdd0b1d Compare January 6, 2026 21:24
@ChrisDryden ChrisDryden marked this pull request as ready for review January 6, 2026 21:40
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

GNU testsuite comparison:

Congrats! The gnu test tests/shuf/shuf-reservoir is no longer failing!
Congrats! The gnu test tests/sort/sort-stale-thread-mem is no longer failing!

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/cp/nfs-removal-race is now passing!

@ChrisDryden ChrisDryden changed the title cp: use libc stat for destination check to support LD_PRELOAD tests cp: use FileInformation without dereference for symlink destination check to match GNU behaviour for test/nfs-removal-race Jan 6, 2026
@sylvestre sylvestre merged commit 7f3a359 into uutils:main Jan 7, 2026
130 of 132 checks passed
sgmarz pushed a commit to sgmarz/coreutils that referenced this pull request Jan 7, 2026
…heck to match GNU behaviour for test/nfs-removal-race (uutils#10086)

* cp: use lstat for destination check to support LD_PRELOAD tests

* fs: fix Windows is_symlink type mismatch and add explanatory comment

* cp: use stat for dest existence check to support LD_PRELOAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants