[Snyk] Security upgrade mocha from 5.2.0 to 11.0.1 #1511
Triggered via pull request
December 4, 2024 22:14
Status
Failure
Total duration
1h 7m 5s
Artifacts
–
Annotations
2 errors and 1 warning
test-linux:
test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js#L1
--- stderr ---
node:assert:170
throw err;
^
AssertionError [ERR_ASSERTION]: function should not have been called at /home/runner/work/node/node/test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js:61
called with arguments: Error: certificate has expired
at TLSSocket.onConnectSecure (node:_tls_wrap:1531:34)
at TLSSocket.emit (node:events:527:28)
at TLSSocket._finishInit (node:_tls_wrap:945:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:726:12) {
code: 'CERT_HAS_EXPIRED'
}
at ClientRequest.mustNotCall (/home/runner/work/node/node/test/common/index.js:489:12)
at ClientRequest.emit (node:events:527:28)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:164:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail'
}
Node.js v18.0.0-pre
Command: out/Release/node /home/runner/work/node/node/test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js
|
test-linux
Process completed with exit code 2.
|
test-linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|