-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs no longer passes locally #124465
Comments
@ehuss @matthiaskrgr I can't reproduce this in a clean ubuntu container. Can you? If not, probably something specific about your environments is causing this? The test did pass bors, after all. docker run -it ubuntu apt-get update -y && apt-get install -y git python3 curl build-essential
git clone --depth 1 https://github.com/rust-lang/rust.git ; cd rust
./x test --set rust.verbose-tests=true tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs
|
This is also happening in dev-desktop-us-1.infra.rust-lang.org, where would be easy to reproduce I guess. |
I think it might be an issue with caching, perhaps of the aux-bins. The following should reliably reproduce it:
|
If I do this, the test goes from failing to passing: rm -r build/aarch64-apple-darwin/test/ui/attributes/unix_sigpipe/unix_sigpipe-inherit/auxiliary
x test tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs So yeah, looks like a problem with cache invalidation of something in that directory. |
Thanks for the reproducer. This fixes it for me: #124505 The failure is because there is an old .so file lying around: ./build/x86_64-unknown-linux-gnu/test/ui/attributes/unix_sigpipe/unix_sigpipe-inherit/auxiliary/libsigpipe_utils.so It should use: ./build/x86_64-unknown-linux-gnu/test/ui/attributes/unix_sigpipe/unix_sigpipe-inherit/auxiliary/bin/libsigpipe_utils.so By removing the old and obsolete file, the test passes. |
I checked out the master branch and ran
./x.py test ui
and the test failed:this was on 6c90ac8
The text was updated successfully, but these errors were encountered: