-
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
Investigate flaky parallel/test-https-connect-localport #26862
Comments
Judging from the first CI this appeared, this might be related to #26209 cc @sam-github ? |
https://ci.nodejs.org/job/node-test-commit-plinux/24626/nodes=ppcle-ubuntu1404/console test-osuosl-ubuntu1404-ppc64_le-1 00:04:14 not ok 1129 parallel/test-https-connect-localport
00:04:14 ---
00:04:14 duration_ms: 0.185
00:04:14 severity: fail
00:04:14 exitcode: 1
00:04:14 stack: |-
00:04:14 (node:21338) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
00:04:14 events.js:171
00:04:14 throw er; // Unhandled 'error' event
00:04:14 ^
00:04:14
00:04:14 Error: bind EADDRINUSE 0.0.0.0:34567
00:04:14 at internalConnect (net.js:806:18)
00:04:14 at defaultTriggerAsyncIdScope (internal/async_hooks.js:298:19)
00:04:14 at net.js:930:9
00:04:14 at processTicksAndRejections (internal/process/task_queues.js:79:9)
00:04:14 at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:56:3)
00:04:14 at Function.Module.runMain (internal/modules/cjs/loader.js:880:11)
00:04:14 at internal/main/run_main_module.js:21:11
00:04:14 Emitted 'error' event at:
00:04:14 at TLSSocket.socketErrorListener (_http_client.js:401:9)
00:04:14 at TLSSocket.emit (events.js:194:13)
00:04:14 at emitErrorNT (internal/streams/destroy.js:91:8)
00:04:14 at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
00:04:14 at processTicksAndRejections (internal/process/task_queues.js:81:17)
00:04:14 at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:56:3)
00:04:14 at Function.Module.runMain (internal/modules/cjs/loader.js:880:11)
00:04:14 at internal/main/run_main_module.js:21:11
00:04:14 ... |
The problem is that the test has a hard-coded port which no test in parallel should have since it will sometimes conflict with other tests in parallel that ask the OS for an unspecified available port. I'll open a PR to fix.... |
test-https-connect-localport uses a hard-coded port number. Therefore the test cannot be in the parallel directory because it will sometimes conflict with other tests that run at the same time and request that the OS provide an available port. Fixes: nodejs#26862
PR to fix: #26881 |
In sequential/test-https-connect-localport, replace 34567 with common.PORT. PR-URL: nodejs#26881 Fixes: nodejs#26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
test-https-connect-localport currently causes a runtime deprecation warning: "[DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version." Change IP usage to the string 'localhost' instead. PR-URL: nodejs#26881 Fixes: nodejs#26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Use arrow functions for callbacks. Replace uses of `this` with explicit variables. Add a trailing comma in a multiline object literal declaration. PR-URL: nodejs#26881 Fixes: nodejs#26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
test-https-connect-localport uses a hard-coded port number. Therefore the test cannot be in the parallel directory because it will sometimes conflict with other tests that run at the same time and request that the OS provide an available port. Fixes: nodejs#26862 PR-URL: nodejs#26881 Fixes: nodejs#26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
In sequential/test-https-connect-localport, replace 34567 with common.PORT. PR-URL: nodejs#26881 Fixes: nodejs#26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
test-https-connect-localport currently causes a runtime deprecation warning: "[DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version." Change IP usage to the string 'localhost' instead. PR-URL: nodejs#26881 Fixes: nodejs#26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Use arrow functions for callbacks. Replace uses of `this` with explicit variables. Add a trailing comma in a multiline object literal declaration. PR-URL: nodejs#26881 Fixes: nodejs#26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
test-https-connect-localport uses a hard-coded port number. Therefore the test cannot be in the parallel directory because it will sometimes conflict with other tests that run at the same time and request that the OS provide an available port. Fixes: #26862 PR-URL: #26881 Fixes: #26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
In sequential/test-https-connect-localport, replace 34567 with common.PORT. PR-URL: #26881 Fixes: #26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
test-https-connect-localport currently causes a runtime deprecation warning: "[DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version." Change IP usage to the string 'localhost' instead. PR-URL: #26881 Fixes: #26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Use arrow functions for callbacks. Replace uses of `this` with explicit variables. Add a trailing comma in a multiline object literal declaration. PR-URL: #26881 Fixes: #26862 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Refs: nodejs/reliability#21
parallel/test-https-connect-localport
Example
The text was updated successfully, but these errors were encountered: