Uh oh!
There was an error while loading. Please reload this page.
test: move test-inspector-connect-main-thread to sequential - #29582
Conversation
test-inspector-connect-main-thread is dependent on timing and will be more reliable in `sequential`. Refs: https://github.com/nodejs/node/pull/28870/files#issuecomment-531906327
nodejs-github-bot
commented
Sep 16, 2019
Trott
commented
Sep 16, 2019
Started a node-daily-master just now for comparison with the CI results for this PR: https://ci.nodejs.org/job/node-daily-master/1679/ |
Trott
commented
Sep 16, 2019
The tests for this PR had other failures but not test-inspector-connect-main-thread. The tests for master branch had multiple failures for test-inspector-connect-main-thread. I'd like to fast-track this to get CI in better shape. @nodejs/collaborators Please 👍 here if you approve fast-tracking. |
nodejs-github-bot
commented
Sep 16, 2019
Trott
commented
Sep 16, 2019
Ah, crud, it failed in |
Trott
commented
Sep 16, 2019
Stress test running freebsd11-x64 against master with Stress test running freebsd11-x64 against this PR with (Hope I didn't mess up any of the configs and I don't have to re-do these to get them to compile.) |
Trott
commented
Sep 16, 2019
Welp...compilation failed for both of them, but doesn't look like anything I did, I don't think. Trying again with freebsd 10.... Master: https://ci.nodejs.org/job/node-stress-single-test/7/ This PR: https://ci.nodejs.org/job/node-stress-single-test/8/ |
addaleax
commented
Sep 16, 2019
If you do move this to sequential, can you open an issue about it, because moving to sequential may improve reliability but not solve the underlying issue? |
Trott
commented
Sep 16, 2019
Yes, I will do that if this lands. |
Trott
commented
Sep 16, 2019
Aside: It would be great to have an audit of all the tests in |
Trott
commented
Sep 16, 2019
Welp, the stress test compilation failed after 47 minutes. sigh |
eugeneo
commented
Sep 17, 2019
I do not have access to a workstation, but can you revert the commit 3d841fe? I will take another look at the test when I get an opportunity. |
addaleax
commented
Sep 17, 2019
Fwiw, I’ve found that replacing the It still fails about 3/1000 times with the crash in #28870 (comment) afterwards, but that seems like a genuine bug in Node.js either way (whether introduced by #28870 or not). |
Using `console.log()` likely interferes with the functionality of the test, which also checks the interaction between inspector and `console.log()` as part of the test. Using `process._rawDebug()` solves that issue. Refs: nodejs#28870 Refs: nodejs#29582
addaleax
commented
Sep 17, 2019
Trott
commented
Sep 17, 2019
Closing in favor of #29588 |
Using `console.log()` likely interferes with the functionality of the test, which also checks the interaction between inspector and `console.log()` as part of the test. Using `process._rawDebug()` solves that issue. Refs: nodejs#28870 Refs: nodejs#29582 PR-URL: nodejs#29588 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Using `console.log()` likely interferes with the functionality of the test, which also checks the interaction between inspector and `console.log()` as part of the test. Using `process._rawDebug()` solves that issue. Refs: #28870 Refs: #29582 PR-URL: #29588 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Using `console.log()` likely interferes with the functionality of the test, which also checks the interaction between inspector and `console.log()` as part of the test. Using `process._rawDebug()` solves that issue. Refs: #28870 Refs: #29582 PR-URL: #29588 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
test-inspector-connect-main-thread is dependent on timing and will be
more reliable in
sequential.Refs: https://github.com/nodejs/node/pull/28870/files#issuecomment-531906327
Assuming CI passes, I'd like to fast-track this to get CI back to yellow/green.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes