-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: handle SmartOS bug in test-tls-session-cache #7505
Conversation
/cc @nodejs/testing |
Stress test so-far showing (and hopefully will continue to show) that this version of the test is robust: https://ci.nodejs.org/job/node-stress-single-test/768/nodes=smartos14-64/console Stress test showing the version on master branch is flaky: https://ci.nodejs.org/job/node-stress-single-test/767/nodes=smartos14-64/console |
Stress test failed but now at a later part of the test, I think... |
Sometimes, a SmartOS bug results in ECONNREFUSED when trying to connect to the TLS server that the test starts. Retry in that situation. Fixes: nodejs#5111 Refs: https://smartos.org/bugview/OS-2767
Rebased, force pushed, changed test to decrement a counter on failure, and trying stress test again: |
That wasn't quite the right fix. Let's try again: https://ci.nodejs.org/job/node-stress-single-test/775/nodes=smartos14-64/console |
Hooray, that seems to have fixed it. PTAL @nodejs/testing |
LGTM. One (maybe evident) question though: how is that the |
@santigimeno |
Oh. It was pretty obvious in hindsight. Thanks for the explanation @Trott |
One build issue on CI but no issues with this test. |
Sometimes, a SmartOS bug results in ECONNREFUSED when trying to connect to the TLS server that the test starts. Retry in that situation. Fixes: nodejs#5111 Refs: https://smartos.org/bugview/OS-2767 PR-URL: nodejs#7505 Reviewed-By: Santiago Gimeno <[email protected]>
Landed in fb4c022 |
Sometimes, a SmartOS bug results in ECONNREFUSED when trying to connect to the TLS server that the test starts. Retry in that situation. Fixes: #5111 Refs: https://smartos.org/bugview/OS-2767 PR-URL: #7505 Reviewed-By: Santiago Gimeno <[email protected]>
@Trott lts? |
@thealphanerd Yes if it lands cleanly. |
does not land cleanly 😢 |
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
test tls
Description of change
Sometimes, a SmartOS bug results in ECONNREFUSED when trying to connect
to the TLS server that the test starts. Retry in that situation.
Fixes: #5111
Refs: https://smartos.org/bugview/OS-2767