Skip to content

fix(deps): update dependency undici to v7 #118

fix(deps): update dependency undici to v7

fix(deps): update dependency undici to v7 #118

Triggered via push November 27, 2024 15:10
Status Failure
Total duration 1m 35s
Artifacts

pr.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 2 notices
scope: tests/other-params.test.js#L17
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:17:39) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) }
resource: tests/other-params.test.js#L79
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:79:39) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) }
audience: tests/other-params.test.js#L142
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:142:39) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) }
multiple resources: tests/other-params.test.js#L204
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:204:39) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) }
/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js: tests/other-params.test.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
interceptor works with oidc-provider: tests/oidc-provider.test.js#L24
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'unhandledRejection', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/oidc-provider.test.js:24:41) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) }
/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/oidc-provider.test.js: tests/oidc-provider.test.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
attach provided access token to the request: tests/interceptor.test.js#L20
Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + undefined - '***' at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - '***' at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/interceptor.test.js:20:12) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: '***', operator: 'strictEqual' } }
get an access token if no token provided: tests/interceptor.test.js#L49
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/interceptor.test.js:49:41) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) }
refresh access token if expired: tests/interceptor.test.js#L96
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:518:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/interceptor.test.js:96:41) at Server.emit (node:events:518:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) }
test (18.x)
The job was canceled because "_20_x" failed.
scope: tests/other-params.test.js#L17
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:17:39) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17), code: 'ERR_TEST_FAILURE' }
resource: tests/other-params.test.js#L79
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:79:39) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17), code: 'ERR_TEST_FAILURE' }
audience: tests/other-params.test.js#L142
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:142:39) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17), code: 'ERR_TEST_FAILURE' }
multiple resources: tests/other-params.test.js#L204
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js:204:39) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17), code: 'ERR_TEST_FAILURE' }
/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/other-params.test.js: tests/other-params.test.js#L1
Error [ERR_TEST_FAILURE]: test timed out after 30000ms at async Promise.allSettled (index 1) { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
interceptor works with oidc-provider: tests/oidc-provider.test.js#L24
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:517:28) { failureType: 'unhandledRejection', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/oidc-provider.test.js:24:41) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17), code: 'ERR_TEST_FAILURE' }
/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/oidc-provider.test.js: tests/oidc-provider.test.js#L1
Error [ERR_TEST_FAILURE]: test timed out after 30000ms at async Promise.allSettled (index 2) { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
attach provided access token to the request: tests/interceptor.test.js#L20
Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + undefined - '***' at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - '***' at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/interceptor.test.js:20:12) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: '***', operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
get an access token if no token provided: tests/interceptor.test.js#L49
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/interceptor.test.js:49:41) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17), code: 'ERR_TEST_FAILURE' }
refresh access token if expired: tests/interceptor.test.js#L96
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'length') at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: TypeError [Error]: Cannot read properties of undefined (reading 'length') at Server.<anonymous> (/home/runner/work/undici-oidc-interceptor/undici-oidc-interceptor/tests/interceptor.test.js:96:41) at Server.emit (node:events:517:28) at parserOnIncoming (node:_http_server:1130:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17), code: 'ERR_TEST_FAILURE' }
test (20.x)
Total Tests: 31 Suites πŸ“‚: 0 Passed βœ…: 8 Failed ❌: 18 Canceled 🚫: 5 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 60033.618ms
test (18.x)
Total Tests: 31 Suites πŸ“‚: 0 Passed βœ…: 8 Failed ❌: 18 Canceled 🚫: 5 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 60043.983ms