-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
pummel/test-tls-session-timeout failing #26839
Comments
Two days in a row... https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/5572/ test-rackspace-ubuntu1604-x64-1 00:07:01 not ok 101 pummel/test-tls-session-timeout
00:07:01 ---
00:07:01 duration_ms: 0.266
00:07:01 severity: fail
00:07:01 exitcode: 1
00:07:01 stack: |-
00:07:01 assert.js:87
00:07:01 throw new AssertionError(obj);
00:07:01 ^
00:07:01
00:07:01 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
00:07:01 + actual - expected
00:07:01
00:07:01 + 'New'
00:07:01 - 'Reused'
00:07:01 at /home/iojs/build/workspace/node-test-commit-custom-suites-freestyle/test/pummel/test-tls-session-timeout.js:121:16
00:07:01 at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-custom-suites-freestyle/test/pummel/test-tls-session-timeout.js:105:7)
00:07:01 at ChildProcess.emit (events.js:193:13)
00:07:01 at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
00:07:01 ... |
Running locally confirms this is not flaky but actually full-on broken. :-( Had to be something that landed very recently, so I'll bisect. Chances are the test just needs to be updated. Might turn out that it could/should be moved to sequential or parallel as well. More soon.... |
The first commit that causes this test to fail is 42dbaed. @sam-github Can you look at the test and the results and confirm whether the test needs to be adjusted or if the test failure is indicative of an actual bug introduced in that commit? |
Here's the comment explaining what the test does:
The failure seems to be with the second connection. It is detecting that it is a new connection when it is expecting it to be a reused connection. |
I "fixed" it by setting |
The test does not work with TLS 1.3 nor should it. Force TLS version 1.2. While at it, some refactoring: * refresh the tmp directory in case it doesn't exist! * add an assert.strictEqual() check on the client return `code` value which must be zero * use arrow functions for callbacks * add trailing commas for multiline arrays/objects Fixes: nodejs#26839
PR to address this: #26865 |
The test does not work with TLS 1.3 nor should it. Force TLS version 1.2. While at it, some refactoring: * refresh the tmp directory in case it doesn't exist! * add an assert.strictEqual() check on the client return `code` value which must be zero * use arrow functions for callbacks * add trailing commas for multiline arrays/objects Fixes: nodejs#26839 PR-URL: nodejs#26865 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
The test does not work with TLS 1.3 nor should it. Force TLS version 1.2. While at it, some refactoring: * refresh the tmp directory in case it doesn't exist! * add an assert.strictEqual() check on the client return `code` value which must be zero * use arrow functions for callbacks * add trailing commas for multiline arrays/objects Fixes: #26839 PR-URL: #26865 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
15:11:36 not ok 646 sequential/test-tls-session-timeout
15:11:36 ---
15:11:36 duration_ms: 4.333
15:11:36 severity: fail
15:11:36 exitcode: 1
15:11:36 stack: |-
15:11:36 assert.js:87
15:11:36 throw new AssertionError(obj);
15:11:36 ^
15:11:36
15:11:36 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
15:11:36 + actual - expected
15:11:36
15:11:36 + 'New'
15:11:36 - 'Reused'
15:11:36 at c:\workspace\node-test-binary-windows\test\sequential\test-tls-session-timeout.js:124:16
15:11:36 at ChildProcess.<anonymous> (c:\workspace\node-test-binary-windows\test\sequential\test-tls-session-timeout.js:108:7)
15:11:36 at ChildProcess.emit (events.js:196:13)
15:11:36 at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
15:11:36 ... |
https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/5519/console
test-rackspace-ubuntu1604-x64-1
The text was updated successfully, but these errors were encountered: