Skip to content

test_runner: don't parse TAP from stderr - #45618

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
cjihrig:runner-2
Dec 2, 2022
Merged

test_runner: don't parse TAP from stderr#45618
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
cjihrig:runner-2

Conversation

@cjihrig

@cjihrig cjihrig commented Nov 25, 2022

Copy link
Copy Markdown
Contributor

This commit stops the test runner CLI from parsing child process stderr as TAP. Per the TAP spec, TAP can only come from stdout. To avoid losing stderr data, those logs are injected into the parser as unknown tokens so that they are output as TAP comments.

This commit stops the test runner CLI from parsing child
process stderr as TAP. Per the TAP spec, TAP can only come from
stdout. To avoid losing stderr data, those logs are injected
into the parser as unknown tokens so that they are output as
comments.
@nodejs-github-bot nodejs-github-bot added dont-land-on-v14.x needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem. util Issues and PRs related to the built-in util module. labels Nov 25, 2022
Comment thread lib/internal/test_runner/runner.js
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@cjihrig cjihrig added author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue PRs queued for automated landing through the Commit Queue. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. and removed needs-ci PRs that need a full CI run. labels Nov 28, 2022
@nodejs-github-bot nodejs-github-bot added commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. and removed commit-queue PRs queued for automated landing through the Commit Queue. labels Nov 28, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/45618
✔  Done loading data for nodejs/node/pull/45618
----------------------------------- PR info ------------------------------------
Title      test_runner: don't parse TAP from stderr (#45618)
Author     Colin Ihrig  (@cjihrig)
Branch     cjihrig:runner-2 -> nodejs:main
Labels     util, author ready, dont-land-on-v14.x, commit-queue-rebase, test_runner
Commits    1
 - test_runner: don't parse TAP from stderr
Committers 1
 - cjihrig 
PR-URL: https://github.com/nodejs/node/pull/45618
Reviewed-By: Moshe Atlow 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/45618
Reviewed-By: Moshe Atlow 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Fri, 25 Nov 2022 03:02:08 GMT
   ✔  Approvals: 1
   ✔  - Moshe Atlow (@MoLow): https://github.com/nodejs/node/pull/45618#pullrequestreview-1194906306
   ✖  This PR needs to wait 96 more hours to land (or 0 hours if there is one more approval)
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-11-27T18:46:00Z: https://ci.nodejs.org/job/node-test-pull-request/48209/
- Querying data for job/node-test-pull-request/48209/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3561196202

@MoLow MoLow removed commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. commit-queue-rebase PRs the Commit Queue should land as multiple self-contained commits. labels Nov 29, 2022
@cjihrig cjihrig added the commit-queue PRs queued for automated landing through the Commit Queue. label Dec 2, 2022
@nodejs-github-bot nodejs-github-bot added commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. and removed commit-queue PRs queued for automated landing through the Commit Queue. labels Dec 2, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/45618
✔  Done loading data for nodejs/node/pull/45618
----------------------------------- PR info ------------------------------------
Title      test_runner: don't parse TAP from stderr (#45618)
Author     Colin Ihrig  (@cjihrig)
Branch     cjihrig:runner-2 -> nodejs:main
Labels     util, author ready, dont-land-on-v14.x, test_runner
Commits    1
 - test_runner: don't parse TAP from stderr
Committers 1
 - cjihrig 
PR-URL: https://github.com/nodejs/node/pull/45618
Reviewed-By: Moshe Atlow 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/45618
Reviewed-By: Moshe Atlow 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Fri, 25 Nov 2022 03:02:08 GMT
   ✔  Approvals: 1
   ✔  - Moshe Atlow (@MoLow): https://github.com/nodejs/node/pull/45618#pullrequestreview-1194906306
   ✖  This PR needs to wait 0 more hours to land (or 0 hours if there is one more approval)
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-11-28T02:37:28Z: https://ci.nodejs.org/job/node-test-pull-request/48209/
- Querying data for job/node-test-pull-request/48209/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3598466504

@cjihrig cjihrig added commit-queue PRs queued for automated landing through the Commit Queue. and removed commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. labels Dec 2, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Dec 2, 2022
@nodejs-github-bot
nodejs-github-bot merged commit cc2732d into nodejs:main Dec 2, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in cc2732d

@cjihrig
cjihrig deleted the runner-2 branch December 2, 2022 03:13
targos pushed a commit that referenced this pull request Dec 12, 2022
This commit stops the test runner CLI from parsing child
process stderr as TAP. Per the TAP spec, TAP can only come from
stdout. To avoid losing stderr data, those logs are injected
into the parser as unknown tokens so that they are output as
comments.

PR-URL: #45618
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
This commit stops the test runner CLI from parsing child
process stderr as TAP. Per the TAP spec, TAP can only come from
stdout. To avoid losing stderr data, those logs are injected
into the parser as unknown tokens so that they are output as
comments.

PR-URL: #45618
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
This commit stops the test runner CLI from parsing child
process stderr as TAP. Per the TAP spec, TAP can only come from
stdout. To avoid losing stderr data, those logs are injected
into the parser as unknown tokens so that they are output as
comments.

PR-URL: #45618
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
danielleadams pushed a commit that referenced this pull request Jan 5, 2023
This commit stops the test runner CLI from parsing child
process stderr as TAP. Per the TAP spec, TAP can only come from
stdout. To avoid losing stderr data, those logs are injected
into the parser as unknown tokens so that they are output as
comments.

PR-URL: #45618
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. test_runner Issues and PRs related to the test runner subsystem. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants