-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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-tls-js-stream #26938
Labels
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
macos
Issues and PRs related to the macOS platform / OSX.
tls
Issues and PRs related to the tls subsystem.
Comments
ZYSzys
added
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
tls
Issues and PRs related to the tls subsystem.
macos
Issues and PRs related to the macOS platform / OSX.
labels
Mar 27, 2019
Similar to #26910 (comment) I can easily reproduce with
on my machine but the problem disappears if |
https://ci.nodejs.org/job/node-test-commit-osx/26007/nodes=osx1011/console test-macstadium-macos10.11-x64-2 00:13:05 not ok 2306 parallel/test-tls-js-stream
00:13:05 ---
00:13:05 duration_ms: 120.70
00:13:05 severity: fail
00:13:05 exitcode: -15
00:13:05 stack: |-
00:13:05 timeout
00:13:05 write <Buffer 16 03 01 01 54 01 00 01 50 03 03 ad ee 29 4f 8f a1 03 97 76 f1 ea bb 3c e6 16 80 6e 84 5e f5 d6 dd 6b 04 4c c6 f0 fb 81 ea c1 9a 20 4e d1 90 20 07 87 ... 295 more bytes> buffer
00:13:05 read <Buffer 16 03 03 00 7a 02 00 00 76 03 03 49 84 9c 30 b3 09 20 53 9e 0e b3 19 55 ed 47 49 19 91 46 bf 5b 12 df 7e 1b bc 86 be bb 38 ac f0 20 4e d1 90 20 07 87 ... 1110 more bytes>
00:13:05 client secure
00:13:05 write <Buffer 14 03 03 00 01 01 17 03 03 00 45 90 79 7b ef 31 af 12 4d d3 12 62 12 b5 0c c4 ec 35 dd 89 c9 70 47 b3 37 7b ce 35 60 39 01 d5 74 b1 8e 1d 46 5b 26 4e ... 57 more bytes> buffer
00:13:05 client close
00:13:05 new client
00:13:05 read <Buffer 17 03 03 00 15 c2 30 11 7a b9 a4 6d fd 7b a3 c4 29 c6 0b dc 26 c2 2f b0 db 6c 17 03 03 01 0a 61 f0 41 f0 22 26 69 ba aa 94 09 5a b4 78 dd 23 68 89 f7 ... 518 more bytes>
00:13:05 ... |
refack
added a commit
to refack/node
that referenced
this issue
Apr 21, 2019
PR-URL: nodejs#27225 Refs: nodejs#26910 Refs: nodejs#27219 Refs: nodejs#26938 Refs: nodejs#23089 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
lpinca
added a commit
to lpinca/node
that referenced
this issue
May 4, 2019
`socket.destroy()` can destory the stream before the chunk to write with `socket.end()` is actually sent. Furthermore `socket.destroy()` destroys `p` and not the actual raw socket. As a result it is possible that the connection is left open. Remove `socket.destroy()` to ensure that the chunk is sent. Also use `common.mustCall()` to ensure that the `'secureConnection'` and `'secureConnect'` events are emitted exactly once. Fixes: nodejs#26938
targos
pushed a commit
that referenced
this issue
May 9, 2019
`socket.destroy()` can destory the stream before the chunk to write with `socket.end()` is actually sent. Furthermore `socket.destroy()` destroys `p` and not the actual raw socket. As a result it is possible that the connection is left open. Remove `socket.destroy()` to ensure that the chunk is sent. Also use `common.mustCall()` to ensure that the `'secureConnection'` and `'secureConnect'` events are emitted exactly once. PR-URL: #27478 Fixes: #26938 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
macos
Issues and PRs related to the macOS platform / OSX.
tls
Issues and PRs related to the tls subsystem.
On node-test-commit-osx 25791
And node-test-commit-osx 25779
The text was updated successfully, but these errors were encountered: