-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: 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
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/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
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. |
Ah, crud, it failed in |
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.) |
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/ |
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? |
Yes, I will do that if this lands. |
Aside: It would be great to have an audit of all the tests in |
Welp, the stress test compilation failed after 47 minutes. sigh |
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. |
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
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