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
Test suite hangs indefinitely when it should be failing #14374
Comments
I could reproduce this failure in a local build chroot. It seems that This means the test suite hung until terminated by build daemon (signal 15). |
Do you think this is a new failure in 0.4.2? |
Yes, this issue first appeared in 0.4.2. I wonder if it is related to the use of JULIA_TEST_MAXRSS_MB. Limiting the memory usage became necessary with 0.4 since the test suite has grown significantly, to the point where it exceeds the memory provided by Debian (and Ubuntu) build machines. At some point it would be good to think about a garbage collector for generated machine code, but that is a different issue. |
|
I'm trying to update the Julia package for GNU Guix (which builds in a chroot) and I see that the tests stall at this same point since version 0.4.2. I do not see ECONNREFUSED, though. The builder terminated the process after 3600 seconds of silence. |
In my case I can work around this by disabling the "repl" and "replcompletions" tests. It's possible that disabling the "repl" test is enough. |
Was this fixed by something? If so, by what? |
It would be good to have feedback from a Julia developer with intimate knowledge of This issue is really two issues, that the test suite hangs on failure, and the specific test that fails. For now I am only interested in fixing the former, since it is probably not intended that the test suite hangs instead of failing. This renders the test suite summary useless, since it is never executed. |
You might try limiting the number of processes to 2. That fixed a lot of memory problems on Travis. @petercolberg, one problem with getting developer attention to fix this is that (if I remember correctly) you are using a nonstandard build (not LLVM 3.3). This bug does not crop up on standard builds, as witnessed by the successful completion of dozens of Travis runs each day. As another symptom of trouble, your test times seem appallingly long; mine are a tenth of what you're seeing. Of course there might be hardware differences, but the machine I'm running on is 2010 era or so. |
@timholy Yes, the build is indeed non-standard in every way (LLVM 3.7 on i386). I had a glimpse of hope that the hanging could be fixed though. I would like to see the test suite crash instantly in such cases, which would significantly ease debugging of test failures in general. |
Please give a comment if this is still an issue. |
The julia 0.4.2 test suite hangs indefinitely with this error:
https://buildd.debian.org/status/fetch.php?pkg=julia&arch=i386&ver=0.4.2-2&stamp=1449841497
The test workers are configured to restart when exceeding a resident memory size of 500 MB.
Maybe the timeout waiting for spawned workers is too small?
The text was updated successfully, but these errors were encountered: