Skip to content

test: show child stderr output in largepages test - #31612

Closed
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:test-largepages-stderr
Closed

test: show child stderr output in largepages test#31612
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:test-largepages-stderr

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

The test starts child processes. A recent change is suspected of causing
flaky crashes on one of the alpine buildbots but we can't know for sure
because the test hides the child's stderr.

Refs: #31547 (comment)

I propose fast-tracking this.

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Feb 2, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Trott
Trott previously approved these changes Feb 2, 2020
@TrottTrott 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 Feb 2, 2020
@Trott

Trott commented Feb 2, 2020

Copy link
Copy Markdown
Member

This causes the test to fail because it changes how stderr is handled so the assertion that checks stderr needs to be adjusted....

/home/iojs/build/workspace/node-test-commit-linux/nodes/debian9-64/test/parallel/test-startup-large-pages.js:25
assert.strictEqual(child.stderr.toString().match(/\S+/g).slice(1).join(' '),
^
TypeError: Cannot read property 'toString' of null
at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/nodes/debian9-64/test/parallel/test-startup-large-pages.js:25:35)
at Module._compile (internal/modules/cjs/loader.js:1208:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1228:10)
at Module.load (internal/modules/cjs/loader.js:1057:32)
at Function.Module._load (internal/modules/cjs/loader.js:952:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47

@Trott
Trott dismissed their stale reviewFebruary 2, 2020 02:36

pending test fix

The test starts child processes. A recent change is suspected of causing
flaky crashes on one of the alpine buildbots but we can't know for sure
because the test hides the child's stderr.
Refs: nodejs#31547 (comment)
@bnoordhuis
bnoordhuisforce-pushed the test-largepages-stderr branch from dee2e39 to 28f3ac0CompareFebruary 2, 2020 02:39
@bnoordhuis

Copy link
Copy Markdown
MemberAuthor

Oh pfft, that was the version I tried for reproducing the crash locally (no crash), not what I wanted to PR. Updated, PTAL.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Trott commented Feb 2, 2020

Copy link
Copy Markdown
Member

Collaborators, 👍 here to approve fast-tracking.

@TrottTrott added the fast-track PRs that do not need to wait for 48 hours to land. label Feb 2, 2020
@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 2, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleax

Copy link
Copy Markdown
Member

Landed in dbe881b

@addaleaxaddaleax closed this Feb 2, 2020
addaleax pushed a commit that referenced this pull request Feb 2, 2020
The test starts child processes. A recent change is suspected of causing
flaky crashes on one of the alpine buildbots but we can't know for sure
because the test hides the child's stderr.
Refs: #31547 (comment)
PR-URL: #31612
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere pushed a commit that referenced this pull request Feb 17, 2020
The test starts child processes. A recent change is suspected of causing
flaky crashes on one of the alpine buildbots but we can't know for sure
because the test hides the child's stderr.
Refs: #31547 (comment)
PR-URL: #31612
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@codebyterecodebytere mentioned this pull request Feb 17, 2020
@targos

Copy link
Copy Markdown
Member

depends on large pages change to land on v12.x

@targostargos removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. backport-blocked-v12.x labels Apr 25, 2020
targos pushed a commit to targos/node that referenced this pull request Apr 25, 2020
The test starts child processes. A recent change is suspected of causing
flaky crashes on one of the alpine buildbots but we can't know for sure
because the test hides the child's stderr.
Refs: nodejs#31547 (comment)
PR-URL: nodejs#31612
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
targos pushed a commit that referenced this pull request Apr 28, 2020
The test starts child processes. A recent change is suspected of causing
flaky crashes on one of the alpine buildbots but we can't know for sure
because the test hides the child's stderr.
Refs: #31547 (comment)
PR-URL: #31612
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@targostargos mentioned this pull request May 2, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-trackPRs that do not need to wait for 48 hours to land.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@bnoordhuis@nodejs-github-bot@Trott@addaleax@targos@cjihrig