-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Spurious timeouts compiling librustc on the Android bot #34559
Comments
Appears that for some reason LLVM isn't optimized, a small sample of
These all look trivial like they should be inlined: Now to figure out why it's not optimized... |
Right librustc_llvm is also 100MB where locally it's 42, just another sign it's not optimized. |
For now I've just cleaned out the LLVM directory so it'll rebuild from scratch, hoping that it will optimize correctly this time... |
Ok, that didn't work, so I blew away the entire build directory. Something about that did the trick. I was unable to reproduce on the bot or figure out what actually happened. For posterity, the problem looked like it started with a timeline like:
I have no idea why LLVM was recompiling itself without optimizations. This may have something to do where if we run In any case, something to remain vigilant for, but nothing is actionable here with a lack of a reproduction so I'm gonna close this. If Android starts timing out again though we should look for a similar pattern of recompilations of LLVM. Also I have absolutely no idea why this seemed to only affect the Android bot... |
Why was this closed if a case of this just occurred 10 hours ago? #34577 (comment) |
@retep998 as clearly stated here
It appears to not be spurious, so I'm reopening. |
FWIW current solution is blow away the |
Ok, more investigation. Wondering why this wasn't plaguing any other bot Linux bot like the linux or linux-cross builders. Turns out they're both using CMake 3.2+ because linux-cross is installing CMake on Ubuntu 15.10 from standard repos and the linux bot goes out of its way to get CMake 3.2 on Ubuntu 14.04. The android bot, however, installs vanilla CMake on Ubuntu 14.04, which means it's running 2.8 instead of 3.2 As a result, I'm tempted to chalk this up to a random cmake bug fixed between 2.8 and 3.2, so I'm going to update the Android builder and see what happens. |
This gives us CMake > 2.8 and should hopefully help fixing rust-lang/rust#34559
New image is baked, configured, and ready to go. All we need now is a buildbot restart. Those are pretty expensive, so I'm going to delay that until this actually happens again or we have a better reason to do so in the meantime. |
New image deployed, closing, will reopen if this still happens. |
Looks like the android bot is having trouble compiling librustc in stage1, taking more than 30 minutes to compile it causing the "no output received in 30 minutes" warning to trigger.
I don't think that librustc should take 30 minutes to build on the bots, so something fishy is happening.
The text was updated successfully, but these errors were encountered: