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

test-worker-uncaught-exception-async - flaky on Windows? #25702

Closed
mhdawson opened this issue Jan 25, 2019 · 1 comment
Closed

test-worker-uncaught-exception-async - flaky on Windows? #25702

mhdawson opened this issue Jan 25, 2019 · 1 comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. windows Issues and PRs related to the Windows platform. worker Issues and PRs related to Worker support.

Comments

@mhdawson
Copy link
Member

  • Version: master
  • Platform: Windows
  • Subsystem: worker

Failure in unrelated PR
https://ci.nodejs.org/job/node-test-binary-windows/23291/COMPILED_BY=vs2017,RUNNER=win2008r2-vs2017,RUN_SUBSET=1/console

18:04:17 not ok 542 parallel/test-worker-uncaught-exception-async
18:04:17   ---
18:04:17   duration_ms: 120.75
18:04:17   severity: fail
18:04:17   exitcode: 1
18:04:17   stack: |-
18:04:17     timeout
18:04:17     foo
18:04:17   ...
@addaleax addaleax added flaky-test Issues and PRs related to the tests with unstable failures on the CI. worker Issues and PRs related to Worker support. windows Issues and PRs related to the Windows platform. labels Jan 26, 2019
@gireeshpunathil
Copy link
Member

unable to repro in 3K runs (win 10, I don't have a win 2008). Better wait to see if it occurs again.

addaleax added a commit to addaleax/node that referenced this issue Feb 3, 2019
The Windows ETW code is not written to be compatible with multi-threading,
and in particular it relies on global state like a single static
`uv_async_t`. Adding that to multiple threads would corrupt the
corresponding loops' handle queues.

This addresses the flakiness of at least `test-worker-exit-code` and
very likely other flaky tests that relate to Worker threads on Windows as well.

Fixes: nodejs#25847
Fixes: nodejs#25702
Fixes: nodejs#24005
Fixes: nodejs#23873
addaleax added a commit that referenced this issue Feb 6, 2019
The Windows ETW code is not written to be compatible with multi
threading, and in particular it relies on global state like a
single static `uv_async_t`. Adding that to multiple threads
would corrupt the corresponding loops' handle queues.

This addresses the flakiness of at least
`test-worker-exit-code` and very likely other flaky tests that
relate to Worker threads on Windows as well.

Fixes: #25847
Fixes: #25702
Fixes: #24005
Fixes: #23873

PR-URL: #25907
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. windows Issues and PRs related to the Windows platform. worker Issues and PRs related to Worker support.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants