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: add more valid results to test-trace-atomics-wait #35066

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

@addaleax addaleax commented Sep 5, 2020

The two starting Atomics.wait() operations are not ordered,
but the test assumed a specific ordering because of the latency
that comes with spinning up a Worker thread.

Add variants of the existing potential valid results that account
for the reverse ordering.

Fixes: #35059

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

The two starting `Atomics.wait()` operations are not ordered,
but the test assumed a specific ordering because of the latency
that comes with spinning up a Worker thread.

Add variants of the existing potential valid results that account
for the reverse ordering.

Fixes: nodejs#35059
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Sep 5, 2020
@addaleax addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 5, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 5, 2020
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Sep 5, 2020

@addaleax addaleax added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Sep 5, 2020
@github-actions github-actions bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 7, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2020

Commit Queue failed
- Loading data for nodejs/node/pull/35066
✔  Done loading data for nodejs/node/pull/35066
----------------------------------- PR info ------------------------------------
Title      test: add more valid results to test-trace-atomics-wait (#35066)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     addaleax:atomics-wait-trace-add -> nodejs:master
Labels     author ready, test
Commits    1
 - test: add more valid results to test-trace-atomics-wait
Committers 1
 - Anna Henningsen 
PR-URL: https://github.com/nodejs/node/pull/35066
Fixes: https://github.com/nodejs/node/issues/35059
Reviewed-By: Richard Lau 
Reviewed-By: Rich Trott 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/35066
Fixes: https://github.com/nodejs/node/issues/35059
Reviewed-By: Richard Lau 
Reviewed-By: Rich Trott 
--------------------------------------------------------------------------------
   ✖  Last GitHub CI failed
   ℹ  Last Full PR CI on 2020-09-05T11:16:49Z: https://ci.nodejs.org/job/node-test-pull-request/33066/
- Querying data for job/node-test-pull-request/33066/
✔  Build data downloaded
   ✔  Last Jenkins CI successful
   ℹ  This PR was created on Sat, 05 Sep 2020 10:58:15 GMT
   ✔  Approvals: 2
   ✔  - Richard Lau (@richardlau): https://github.com/nodejs/node/pull/35066#pullrequestreview-483048152
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/35066#pullrequestreview-483061546
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu

@github-actions github-actions bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Sep 7, 2020
@addaleax
Copy link
Member Author

addaleax commented Sep 7, 2020

Landed in e06037a

@addaleax addaleax closed this Sep 7, 2020
addaleax added a commit that referenced this pull request Sep 7, 2020
The two starting `Atomics.wait()` operations are not ordered,
but the test assumed a specific ordering because of the latency
that comes with spinning up a Worker thread.

Add variants of the existing potential valid results that account
for the reverse ordering.

Fixes: #35059

PR-URL: #35066
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@addaleax addaleax deleted the atomics-wait-trace-add branch September 7, 2020 16:22
ruyadorno pushed a commit that referenced this pull request Sep 17, 2020
The two starting `Atomics.wait()` operations are not ordered,
but the test assumed a specific ordering because of the latency
that comes with spinning up a Worker thread.

Add variants of the existing potential valid results that account
for the reverse ordering.

Fixes: #35059

PR-URL: #35066
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@ruyadorno ruyadorno mentioned this pull request Sep 21, 2020
4 tasks
joesepi pushed a commit to joesepi/node that referenced this pull request Jan 8, 2021
The two starting `Atomics.wait()` operations are not ordered,
but the test assumed a specific ordering because of the latency
that comes with spinning up a Worker thread.

Add variants of the existing potential valid results that account
for the reverse ordering.

Fixes: nodejs#35059

PR-URL: nodejs#35066
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@targos targos removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

investigate flaky parallel/test-trace-atomics-wait
5 participants