Uh oh!
There was an error while loading. Please reload this page.
rustbuild: Assert directory creation succeeds - #40337
Conversation
I've been seeing failures on the bots when building jemalloc and my assumption is that it's because cwd isn't created. That may be possible if this `create_dir_all` call change in this commit fails, in which case we ignore the error. This commit updates the location to call `create_dir_racy` which handles concurrent invocations, as multiple build scripts may be trying to create the `native` dir.
rust-highfive
commented
Mar 7, 2017
(rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Mar 7, 2017
another instance of this failure happened at https://travis-ci.org/rust-lang/rust/jobs/208686112 and I'm hoping this'll fix it. Unfortunately I can't reproduce locally so this is just a guess to a fix. |
brson
commented
Mar 7, 2017
@bors r+ Awesome function. |
bors
commented
Mar 7, 2017
📌 Commit e412af2 has been approved by |
My best guess is that maybe several processes try to create the |
alexcrichton
commented
Mar 7, 2017
@petrochenkov yes that's my belief as well. I didn't find a great spot to create the dir ahead of time so I just left it here |
rustbuild: Assert directory creation succeeds I've been seeing failures on the bots when building jemalloc and my assumption is that it's because cwd isn't created. That may be possible if this `create_dir_all` call change in this commit fails, in which case we ignore the error. This commit updates the location to call `create_dir_racy` which handles concurrent invocations, as multiple build scripts may be trying to create the `native` dir.
alexcrichton
commented
Mar 8, 2017
rustbuild: Assert directory creation succeeds I've been seeing failures on the bots when building jemalloc and my assumption is that it's because cwd isn't created. That may be possible if this `create_dir_all` call change in this commit fails, in which case we ignore the error. This commit updates the location to call `create_dir_racy` which handles concurrent invocations, as multiple build scripts may be trying to create the `native` dir.
bors
commented
Mar 8, 2017
⌛ Testing commit e412af2 with merge 0806855... |
bors
commented
Mar 8, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Mar 9, 2017
@bors: retry
|
bors
commented
Mar 9, 2017
⌛ Testing commit e412af2 with merge 5c9208f... |
rustbuild: Assert directory creation succeeds I've been seeing failures on the bots when building jemalloc and my assumption is that it's because cwd isn't created. That may be possible if this `create_dir_all` call change in this commit fails, in which case we ignore the error. This commit updates the location to call `create_dir_racy` which handles concurrent invocations, as multiple build scripts may be trying to create the `native` dir.
bors
commented
Mar 9, 2017
☀️ Test successful - status-appveyor, status-travis |
I've been seeing failures on the bots when building jemalloc and my assumption
is that it's because cwd isn't created. That may be possible if this
create_dir_allcall change in this commit fails, in which case we ignore theerror.
This commit updates the location to call
create_dir_racywhich handlesconcurrent invocations, as multiple build scripts may be trying to create the
nativedir.