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: fix flaky test-runner-watch-mode #48144

Merged
merged 2 commits into from
May 25, 2023

Conversation

MoLow
Copy link
Member

@MoLow MoLow commented May 23, 2023

I was able to reproduce the fluke with tools/test.py -J --timeout=10 --repeat=1500 test/parallel/test-runner-watch-mode and validate this fixes it

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 23, 2023
@MoLow MoLow added fast-track PRs that do not need to wait for 48 hours to land. and removed fast-track PRs that do not need to wait for 48 hours to land. labels May 23, 2023
@github-actions
Copy link
Contributor

Fast-track has been requested by @MoLow. Please 👍 to approve.

@nodejs nodejs deleted a comment from github-actions bot May 23, 2023
@MoLow MoLow added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label May 23, 2023
Copy link
Member

@JakobJingleheimer JakobJingleheimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W00t! Thanks for fixing a flaky test 🙌

I assume the race-conditions are not inherent to the use-case (and do not need to be accounted for).

@Trott
Copy link
Member

Trott commented May 23, 2023

Nit: Is it me or does this test write to the fixtures directory? It should use the testing tmp directory instead.

@MoLow MoLow requested review from Trott and benjamingr May 24, 2023 13:25
@MoLow MoLow added commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. request-ci Add this label to start a Jenkins CI on a PR. labels May 24, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 24, 2023
@nodejs-github-bot
Copy link
Collaborator

@MoLow MoLow added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 24, 2023
@MoLow MoLow added the commit-queue Add this label to land a pull request using GitHub Actions. label May 24, 2023
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels May 24, 2023
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/48144
✔  Done loading data for nodejs/node/pull/48144
----------------------------------- PR info ------------------------------------
Title      test: fix flaky test-runner-watch-mode (#48144)
Author     Moshe Atlow  (@MoLow)
Branch     MoLow:fix-flaky-test-runner-watch-mode -> nodejs:main
Labels     test, flaky-test, fast-track, author ready, needs-ci, commit-queue-squash
Commits    2
 - test: fix flaky test-runner-watch-mode
 - CR: don't use tmpdir only
Committers 1
 - Moshe Atlow 
PR-URL: https://github.com/nodejs/node/pull/48144
Reviewed-By: Jacob Smith 
Reviewed-By: Rich Trott 
Reviewed-By: Benjamin Gruenbaum 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/48144
Reviewed-By: Jacob Smith 
Reviewed-By: Rich Trott 
Reviewed-By: Benjamin Gruenbaum 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Tue, 23 May 2023 18:06:03 GMT
   ✔  Approvals: 3
   ✔  - Jacob Smith (@JakobJingleheimer): https://github.com/nodejs/node/pull/48144#pullrequestreview-1440586936
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/48144#pullrequestreview-1442268852
   ✔  - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/48144#pullrequestreview-1441654648
   ℹ  This PR is being fast-tracked
   ✘  This PR needs to wait 24 more hours to land (or 0 hours if there are 2 more approvals (👍) of the fast-track request from collaborators).
   ✘  Last GitHub CI failed
   ℹ  Last Full PR CI on 2023-05-24T15:32:17Z: https://ci.nodejs.org/job/node-test-pull-request/51949/
- Querying data for job/node-test-pull-request/51949/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/5071858438

@MoLow MoLow removed fast-track PRs that do not need to wait for 48 hours to land. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels May 24, 2023
@MoLow MoLow added the commit-queue Add this label to land a pull request using GitHub Actions. label May 24, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 25, 2023
@nodejs-github-bot nodejs-github-bot merged commit dd31255 into nodejs:main May 25, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in dd31255

marco-ippolito pushed a commit to marco-ippolito/node that referenced this pull request May 26, 2023
PR-URL: nodejs#48144
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
targos pushed a commit that referenced this pull request May 30, 2023
PR-URL: #48144
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@targos targos mentioned this pull request Jun 4, 2023
@MoLow MoLow linked an issue Jun 8, 2023 that may be closed by this pull request
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
PR-URL: #48144
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@MoLow MoLow deleted the fix-flaky-test-runner-watch-mode branch July 6, 2023 20:33
MoLow added a commit to MoLow/node that referenced this pull request Jul 6, 2023
PR-URL: nodejs#48144
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48144
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48144
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
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. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. flaky-test Issues and PRs related to the tests with unstable failures on the CI. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ibmi: parallel/test-runner-watch-mode fails with timeout
6 participants