-
Notifications
You must be signed in to change notification settings - Fork 13.5k
std: Ignore test_process_mask on OSX #27516
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
Conversation
The investigation into rust-lang#14232 discovered that it's possible that signal delivery to a newly spawned process is racy on OSX. This test has been failing spuriously on the OSX bots for some time now, so ignore it as we don't currently know a solution and it looks like it may be out of our control.
r? @brson |
(rust_highfive has picked a reviewer for you, use r? to override) |
I can deterministically cause this on linux if I run make check from the atom editor through the build package. |
@oli-obk can you elaborate a little more? What target triple are you using? Do you have optimized or unoptimized tests? Do you have some logs I could look at? If this is happening elsewhere then there may be a legit bug, I just haven't been able to reproduce on linux yet. |
build-atom runs
I ran a ./configure without arguments before. Running the compilation and tests right now. I'll post the log once I hit the test. |
Full error:
running it from |
And this reproduces 100% of the time? Could you walk me through how you're reproducing this? I just ran this test ~100k times concurrently on my linux VM and it never failed... |
Yes, 100% reproducable in atom, 0% reproducable in bash (although I cannot say that I tested that even remotely as thoroughly as you did... * tips hat *) this is on debian testing, last apt-get upgrade 2 weeks ago
{
"cmd": "make",
"name": "rust",
"args": [ "check", "TESTNAME=test_process_mask"],
"sh": true,
"cwd": "{PROJECT_PATH}",
"env": {
"RUST_BACKTRACE": "1",
},
}
|
Excellent! I have repro'd as well. I'll try to do some extra investigation tonight and see if I can't figure out what the root cause is, thanks @oli-obk! |
OK after some investigation it looks like the case of running the test from atom is orthogonal to this flakiness. It looks like atom at some point sets the signal handler for As a result I think the original conclusion, signal delivery to a process after spawn may not work, may still be relevant, so reopening. |
@bors r+ |
📌 Commit 4ac7e87 has been approved by |
⌛ Testing commit 4ac7e87 with merge 426df00... |
💔 Test failed - auto-mac-64-nopt-t |
@bors: retry |
The investigation into #14232 discovered that it's possible that signal delivery to a newly spawned process is racy on OSX. This test has been failing spuriously on the OSX bots for some time now, so ignore it as we don't currently know a solution and it looks like it may be out of our control.
The investigation into #14232 discovered that it's possible that signal delivery
to a newly spawned process is racy on OSX. This test has been failing spuriously
on the OSX bots for some time now, so ignore it as we don't currently know a
solution and it looks like it may be out of our control.