Skip to content
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

Don't panic in the coordinator thread, bubble up the failure #45111

Merged
merged 1 commit into from
Oct 9, 2017

Conversation

aidanhs
Copy link
Member

@aidanhs aidanhs commented Oct 8, 2017

Fixes #43402 (take 2)

Followup to #45019, this makes the coordinator thread not panic on worker failures since they can be reported reasonably back in the main thread.

The output also now has no evidence of backtraces at all, unlike the previous PR:

$ ./build/x86_64-unknown-linux-gnu/stage1/bin/rustc -o "" x.rs                                          
error: could not write output to : No such file or directory

error: aborting due to previous error

r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+ p=1

Nice finds!

@bors
Copy link
Contributor

bors commented Oct 9, 2017

📌 Commit 911d95b has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Oct 9, 2017

⌛ Testing commit 911d95b with merge a4a6bd7fc9da9e56846de6618d298c912adee536...

@bors
Copy link
Contributor

bors commented Oct 9, 2017

💔 Test failed - status-travis

@aidanhs
Copy link
Member Author

aidanhs commented Oct 9, 2017

@bors retry

#38618 I think

@carols10cents carols10cents added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 9, 2017
@kennytm
Copy link
Member

kennytm commented Oct 9, 2017

@bors p=11

@bors
Copy link
Contributor

bors commented Oct 9, 2017

⌛ Testing commit 911d95b with merge 692b94a...

bors added a commit that referenced this pull request Oct 9, 2017
…chton

Don't panic in the coordinator thread, bubble up the failure

Fixes #43402 (take 2)

Followup to #45019, this makes the coordinator thread not panic on worker failures since they can be reported reasonably back in the main thread.

The output also now has no evidence of backtraces at all, unlike the previous PR:
```
$ ./build/x86_64-unknown-linux-gnu/stage1/bin/rustc -o "" x.rs
error: could not write output to : No such file or directory

error: aborting due to previous error
```

r? @alexcrichton
@bors
Copy link
Contributor

bors commented Oct 9, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 692b94a to master...

@bors bors merged commit 911d95b into rust-lang:master Oct 9, 2017
@aidanhs aidanhs deleted the aphs-bubble-worker-failures branch October 9, 2017 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants