-
Notifications
You must be signed in to change notification settings - Fork 90
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
add another exception #674
Conversation
It doesn't, that's what I was trying to say in this comment. The environment is shared between before and after builds.
Yeah those are bugs in the build scripts. |
Sounds like it'd be a good idea to do both runs in the same clean environment? Otherwise this will systematically look like a regression. And it's not like build artifacts can be shared anyway since the compiler changes. |
I think the problem is that the CARGO_HOME environment (where the crates.io downloads are) is shared across the entire worker (or maybe even all workers? not 100% sure the CARGO_TARGET path has worker number in it the CARGO_HOME path does not). That means that if you create a totally clean environment for each and every build, you'd suddenly download libc tens to hundreds of thousands of times, instead of just once per worker or once at all. If you had two environments instead, one for all jobs from the However, I think there is hope.
|
The state that is "polluted" here should be in the |
Some of the pollution arises from the shared It seems that rustc versions close enough produce the same But For example, from this crater run, this But yes, good point, the separation operation needs to be done both for |
@Mark-Simulacrum friendly reminder that this PR has been sitting here for half a year. :) |
@bors r+ |
add another exception This failed with the same error in both runs in rust-lang/rust#104429. Doesn't crater run both builds in the same clean environment? We seem to have a bunch of cases of "baseline always works but try build always fails". It almost seems like the 'try' run can see artifacts created by the baseline, and that breaks quite a few poorly written build scripts out there.
💔 Test failed - checks-actions |
Seems unrelated to my PR
|
Yeah, probably needs a dependency bump. I'll try to get to it sooner than I responded to your poke here... |
@Mark-Simulacrum some PR has landed since the above CI failure, so maybe retrying this one works now? |
@bors retry |
☀️ Test successful - checks-actions |
This failed with the same error in both runs in rust-lang/rust#104429.
Doesn't crater run both builds in the same clean environment? We seem to have a bunch of cases of "baseline always works but try build always fails". It almost seems like the 'try' run can see artifacts created by the baseline, and that breaks quite a few poorly written build scripts out there.