Closed
Description
Our builders are susceptible to a lot of spurious test failures, and I've been keeping some of this knowledge in my head for far too long, so I'd like to write it down. I'm writing this to be a metabug, but I expect other bugs to be spawned off from it as well. Sometimes it's just a lot easier to add a bullet than a whole new bug!
If you add to this, please don't link directly to buildbot logs as they disappear over time. Instead please link to a gist with the relevant information pasted in. I also typically peruse http://buildbot.rust-lang.org/grid?branch=auto&width=10 for build failures
Spurious test failures
- stdtest deadlocks on windows once a TCP test fails (logs) (test)
- stdtest spuriously segfaults on freebsd (logs). The segfaults decreased in frequency when freebsd was upgraded, it may just need to be upgraded again.
- stdtest deadlocks (logs)
-
thread_local::dtors_in_dtors_in_dtors
deadlocks on OSX (logs)
-
-
io::process::tests::test_kill
spuriously fails (logs) - run-pass-fulldeps/issue-13560.rs (logs)
- wait-forked-but-child-failed (logs)
- src/test/run-pass/issue-12684 (logs)
Spurious failure behvaior
- windows git failures lead to corruption of all future builds. I think @brson fixed this as I haven't seen it recently.
- windows thinks failed processes exit with a 0 exit status compile-fail tests sometimes considered sucessfully compiled by the test harness #18981
- windows will sometimes leave a test process running after the build finishes, preventing any future builds from overwriting the executable. This is not specific to any particular test. (logs)
- windows
make clean
randomly fails due to some arbitrary object file not being able to be overwritten. (logs) - windows bots fail to upload stability metrics randomly sometimes Failed stability upload causes remainder of build to not execute #19079