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_runner: wait for stderr and stdout to complete #43666

Merged

Conversation

MoLow
Copy link
Member

@MoLow MoLow commented Jul 3, 2022

this is an attempt to fix #43618

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Jul 3, 2022
@MoLow MoLow force-pushed the test-runner-attempt-fixing-flaky-test branch from 2536e4f to 7ef9c56 Compare July 3, 2022 10:01
@MoLow MoLow changed the title test_runner: wait for stderr and stdout to complete test-runner: wait for stderr and stdout to complete Jul 3, 2022
@MoLow MoLow changed the title test-runner: wait for stderr and stdout to complete test_-_runner: wait for stderr and stdout to complete Jul 3, 2022
@MoLow MoLow changed the title test_-_runner: wait for stderr and stdout to complete test_runner: wait for stderr and stdout to complete Jul 3, 2022
@MoLow MoLow force-pushed the test-runner-attempt-fixing-flaky-test branch from 7ef9c56 to 97b5953 Compare July 3, 2022 10:10
@VoltrexKeyva VoltrexKeyva added the test_runner Issues and PRs related to the test runner subsystem. label Jul 3, 2022
@benjamingr benjamingr added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 4, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 4, 2022
@MoLow MoLow force-pushed the test-runner-attempt-fixing-flaky-test branch from 97b5953 to b82a40f Compare July 4, 2022 20:19
lib/internal/main/test_runner.js Outdated Show resolved Hide resolved
lib/internal/main/test_runner.js Show resolved Hide resolved
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@MoLow MoLow requested a review from aduh95 July 4, 2022 21:04
@benjamingr benjamingr added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 5, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 5, 2022
@Linkgoron Linkgoron added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 7, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 7, 2022
@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 7, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 7, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@benjamingr benjamingr added the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 8, 2022
@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 Jul 8, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/43666
✔  Done loading data for nodejs/node/pull/43666
----------------------------------- PR info ------------------------------------
Title      test_runner: wait for stderr and stdout to complete (#43666)
Author     Moshe Atlow  (@MoLow)
Branch     MoLow:test-runner-attempt-fixing-flaky-test -> nodejs:main
Labels     needs-ci, test_runner
Commits    2
 - test_runner: wait for stderr and stdout to complete
 - Apply suggestions from code review
Committers 2
 - Moshe Atlow 
 - GitHub 
PR-URL: https://github.com/nodejs/node/pull/43666
Reviewed-By: Benjamin Gruenbaum 
Reviewed-By: Antoine du Hamel 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/43666
Reviewed-By: Benjamin Gruenbaum 
Reviewed-By: Antoine du Hamel 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Sun, 03 Jul 2022 09:59:50 GMT
   ✔  Approvals: 2
   ✔  - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/43666#pullrequestreview-1027872861
   ✔  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/43666#pullrequestreview-1028257215
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-07-08T07:51:08Z: https://ci.nodejs.org/job/node-test-pull-request/45150/
- Querying data for job/node-test-pull-request/45150/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/main up to date...
From https://github.com/nodejs/node
 * branch                  main       -> FETCH_HEAD
✔  origin/main is now up-to-date
- Downloading patch for 43666
From https://github.com/nodejs/node
 * branch                  refs/pull/43666/merge -> FETCH_HEAD
✔  Fetched commits as f3a92a0572b1..e48d3eccbd6c
--------------------------------------------------------------------------------
[main 83c342419f] test_runner: wait for stderr and stdout to complete
 Author: Moshe Atlow 
 Date: Sun Jul 3 12:57:29 2022 +0300
 1 file changed, 4 insertions(+), 1 deletion(-)
[main 96fffa486f] Apply suggestions from code review
 Author: Moshe Atlow 
 Date: Mon Jul 4 23:45:19 2022 +0300
 1 file changed, 2 insertions(+), 1 deletion(-)
   ✔  Patches applied
There are 2 commits in the PR. Attempting autorebase.
Rebasing (2/4)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
test_runner: wait for stderr and stdout to complete

PR-URL: #43666
Reviewed-By: Benjamin Gruenbaum benjamingr@gmail.com
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com

[detached HEAD 1dabb1eb7b] test_runner: wait for stderr and stdout to complete
Author: Moshe Atlow moshe@atlow.co.il
Date: Sun Jul 3 12:57:29 2022 +0300
1 file changed, 4 insertions(+), 1 deletion(-)
Rebasing (3/4)
Rebasing (4/4)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
Apply suggestions from code review

Co-authored-by: Antoine du Hamel duhamelantoine1995@gmail.com

PR-URL: #43666
Reviewed-By: Benjamin Gruenbaum benjamingr@gmail.com
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com

[detached HEAD beeb554b4f] Apply suggestions from code review
Author: Moshe Atlow moshe@atlow.co.il
Date: Mon Jul 4 23:45:19 2022 +0300
1 file changed, 2 insertions(+), 1 deletion(-)

Successfully rebased and updated refs/heads/main.

ℹ Use --fixupAll option, squash the PR manually or land the PR from the command line.

https://github.com/nodejs/node/actions/runs/2635335874

@benjamingr benjamingr added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Jul 8, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 8, 2022
@nodejs-github-bot nodejs-github-bot merged commit e1ab9dc into nodejs:main Jul 8, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in e1ab9dc

@MoLow MoLow deleted the test-runner-attempt-fixing-flaky-test branch July 8, 2022 10:18
@F3n67u
Copy link
Member

F3n67u commented Jul 8, 2022

Thanks you @MoLow

@MoLow
Copy link
Member Author

MoLow commented Jul 8, 2022

Thanks you @MoLow

Sure. I hope this will fix the issue

aduh95 pushed a commit to aduh95/node-core-test that referenced this pull request Jul 9, 2022
PR-URL: nodejs/node#43666
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
aduh95 pushed a commit to aduh95/node-core-test that referenced this pull request Jul 9, 2022
PR-URL: nodejs/node#43666
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
targos pushed a commit that referenced this pull request Jul 12, 2022
PR-URL: #43666
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
targos pushed a commit that referenced this pull request Jul 31, 2022
PR-URL: #43666
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
guangwong pushed a commit to noslate-project/node that referenced this pull request Oct 10, 2022
PR-URL: nodejs/node#43666
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate flaky test-runner-cli
9 participants