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

extra::fileinput tests are periodically failing #9074

Closed
huonw opened this issue Sep 9, 2013 · 2 comments
Closed

extra::fileinput tests are periodically failing #9074

huonw opened this issue Sep 9, 2013 · 2 comments
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc

Comments

@huonw
Copy link
Member

huonw commented Sep 9, 2013

Some tests in extra::fileinput are occasionally failing on unrelated PRs (that one is from #9051 on mac, and there was a failure on #9054 on windows)

Relevant part of the first one (in case the file disappears):

task <unnamed> failed at 'called `Result::unwrap()` on `Err` value: error opening tmp/lib-fileinput-test-input-vec-2.tmp', /Users/rustbuild/src/rust-buildbot/slave/auto-mac-32-opt/build/src/libstd/result.rs:120
task <unnamed> failed at 'called `Result::unwrap()` on `Err` value: error opening tmp/lib-fileinput-test-input-vec-state-1.tmp', /Users/rustbuild/src/rust-buildbot/slave/auto-mac-32-opt/build/src/libstd/result.rs:120
test fileinput::test::test_fileinput_read_byte ... ok
test json::tests::test_decode_enum ... ok
task <unnamed> failed at 'called `Result::unwrap()` on `Err` value: error opening tmp/lib-fileinput-test-next-file-1.tmp', /Users/rustbuild/src/rust-buildbot/slave/auto-mac-32-opt/build/src/libstd/result.rs:120
test hex::tests::test_to_hex_all_bytes ... ok
test hex::tests::test_from_hex_all_bytes ... ok
test json::tests::test_decode_identifiers ... ok
test json::tests::test_decode_list ... ok
test json::tests::test_decode_map ... ok
test json::tests::test_decode_numbers ... ok
test json::tests::test_decode_option ... ok
test json::tests::test_decode_str ... ok
test fileinput::test::test_input_vec ... FAILED
test fileinput::test::test_next_file ... FAILED
test json::tests::test_multiline_errors ... ok
test json::tests::test_decode_struct ... ok
test json::tests::test_read_identifiers ... ok
test json::tests::test_read_list ... ok
test json::tests::test_read_number ... ok
test fileinput::test::test_input_vec_state ... FAILED

And the failure message on windows (only test_next_file failed there):

task <unnamed> failed at 'called `Result::unwrap()` on `Err` value: error opening tmp\lib-fileinput-test-next-file-0.tmp', C:\bot\slave\auto-win-32-nopt-t\build\src\libstd\result.rs:120
@alexcrichton
Copy link
Member

I tried to reproduce this by running the tests a few hundred times back-to-back, but to no avail (OSX x86_64)

@alexcrichton
Copy link
Member

I believe that this was fixed when tests stopped using change_dir_locked

flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 18, 2022
…ro, r=Manishearth

Fix false-positive in `equatable_if_let`

Was linting in external macros. I guess now that I know about rust-lang/rust-clippy#8694 it seems all kinda pointless until we resolve that.

Nevertheless, it's an improvement.

Fixes rust-lang#9066.

changelog:`equatable_if_let` No longer lint on macros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc
Projects
None yet
Development

No branches or pull requests

2 participants