[Snyk] Security upgrade npm-registry-fetch from 11.0.0 to 14.0.0 #1004
Triggered via pull request
December 2, 2023 00:44
Status
Failure
Total duration
1d 2h 46m 29s
Artifacts
–
Annotations
5 errors and 1 warning
test-macOS:
test/parallel/test-datetime-change-notify.js#L36
--- stderr ---
node:assert:1033
throw err;
^
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Irish/. Input:
'12/3/2023, 3:20:22 AM Greenwich Mean Time'
at Object.<anonymous> (/Users/runner/work/alisco-node/alisco-node/test/parallel/test-datetime-change-notify.js:36:10)
at Module._compile (node:internal/modules/cjs/loader:1095:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:816:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '12/3/2023, 3:20:22 AM Greenwich Mean Time',
expected: /Irish/,
operator: 'match'
}
Command: out/Release/node /Users/runner/work/alisco-node/alisco-node/test/parallel/test-datetime-change-notify.js
|
test-macOS:
test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js#L1
--- stderr ---
node:assert:171
throw err;
^
AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/alisco-node/alisco-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:1530:34)
at TLSSocket.emit (node:events:394:28)
at TLSSocket._finishInit (node:_tls_wrap:944:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12) {
code: 'CERT_HAS_EXPIRED'
}
at ClientRequest.mustNotCall (/Users/runner/work/alisco-node/alisco-node/test/common/index.js:470:12)
at ClientRequest.emit (node:events:394:28)
at TLSSocket.socketErrorListener (node:_http_client:448:9)
at TLSSocket.emit (node:events:394:28)
at emitErrorNT (node:internal/streams/destroy:194:8)
at emitErrorCloseNT (node:internal/streams/destroy:159:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail'
}
Command: out/Release/node /Users/runner/work/alisco-node/alisco-node/test/parallel/test-https-selfsigned-no-keycertsign-no-crash.js
|
test-macOS:
test/parallel/test-module-loading-error.js#L58
--- stderr ---
node:assert:762
throw err;
^
AssertionError [ERR_ASSERTION]: The validation function is expected to return "true". Received false
Caught error:
Error: dlopen(/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node, 0x0001): tried: '/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node' (not a mach-o file)
at Object.<anonymous> (/Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js:58:8)
at Module._compile (node:internal/modules/cjs/loader:1095:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:816:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: Error: dlopen(/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node, 0x0001): tried: '/Users/runner/work/alisco-node/alisco-node/test/fixtures/module-loading-error.node' (not a mach-o file)
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1154:18)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:816:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:93:18)
at /Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js:59:11
at getActual (node:assert:769:5)
at Function.throws (node:assert:915:24)
at Object.<anonymous> (/Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js:58:8)
at Module._compile (node:internal/modules/cjs/loader:1095:14) {
code: 'ERR_DLOPEN_FAILED'
},
expected: [Function (anonymous)],
operator: 'throws'
}
Command: out/Release/node /Users/runner/work/alisco-node/alisco-node/test/parallel/test-module-loading-error.js
|
test-macOS:
test/sequential/test-cpu-prof-worker-argv.js#L37
--- stderr ---
node:assert:123
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected "actual" not to be strictly deep-equal to: []
at verifyFrames (/Users/runner/work/alisco-node/alisco-node/test/common/cpu-prof.js:34:10)
at Object.<anonymous> (/Users/runner/work/alisco-node/alisco-node/test/sequential/test-cpu-prof-worker-argv.js:37:3)
at Module._compile (node:internal/modules/cjs/loader:1095:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:816:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [],
expected: [],
operator: 'notDeepStrictEqual'
}
--- stdout ---
[
{
id: 1,
callFrame: {
functionName: '(root)',
scriptId: '0',
url: '',
lineNumber: -1,
columnNumber: -1
},
hitCount: 0,
children: [ 2, 3, 14, 22 ]
},
{
id: 2,
callFrame: {
functionName: '(program)',
scriptId: '0',
url: '',
lineNumber: -1,
columnNumber: -1
},
hitCount: 1
},
{
id: 3,
callFrame: {
functionName: '',
scriptId: '10',
url: 'node:internal/bootstrap/node',
lineNumber: 0,
columnNumber: 0
},
hitCount: 0,
children: [ 4 ]
},
{
id: 4,
callFrame: {
functionName: 'nativeModuleRequire',
scriptId: '9',
url: 'node:internal/bootstrap/loaders',
lineNumber: 331,
columnNumber: 28
},
hitCount: 0,
children: [ 5 ]
},
{
id: 5,
callFrame: {
functionName: 'compileForInternalLoader',
scriptId: '9',
url: 'node:internal/bootstrap/loaders',
lineNumber: 298,
columnNumber: 26
},
hitCount: 1,
children: [ 6 ],
positionTicks: [ [Object] ]
},
{
id: 6,
callFrame: {
functionName: '',
scriptId: '25',
url: 'node:internal/process/task_queues',
lineNumber: 0,
columnNumber: 0
},
hitCount: 0,
children: [ 7 ]
},
{
id: 7,
callFrame: {
functionName: 'nativeModuleRequire',
scriptId: '9',
url: 'node:internal/bootstrap/loaders',
lineNumber: 331,
columnNumber: 28
},
hitCount: 0,
children: [ 8 ]
},
{
id: 8,
callFrame: {
functionName: 'compileForInternalLoader',
scriptId: '9',
url: 'node:internal/bootstrap/loaders',
lineNumber: 298,
columnNumber: 26
},
hitCount: 0,
children: [ 9 ]
},
{
id: 9,
callFrame: {
functionName: '',
scriptId: '26',
url: 'node:internal/process/promises',
lineNumber: 0,
columnNumber: 0
},
hitCount: 0,
children: [ 10 ]
},
{
id: 10,
callFrame: {
functionName: 'nativeModuleRequire',
scriptId: '9',
url: 'node:internal/bootstrap/loaders',
lineNumber: 331,
columnNumber: 28
},
hitCount: 0,
children: [ 11 ]
},
{
id: 11,
callFrame: {
functionName: 'compileForInternalLoader',
scriptId: '9',
url: 'node:internal/bootstrap/loaders',
lineNumber: 298,
columnNumber: 26
},
hitCount: 0,
children: [ 12 ]
},
{
id: 12,
callFrame: {
functionName: '',
scriptId: '27',
url: 'node:async_hooks',
lineNumber: 0,
columnNumber: 0
},
hitCount: 0,
children: [ 13 ]
},
{
id: 13,
callFrame: {
functionName: 'createHook',
scriptId: '27',
url: 'node:async_hooks',
lineNumber: 145,
columnNumber: 19
},
hitCount: 1,
positionTicks: [ [Object] ]
},
{
id: 14,
callFrame: {
functionName: 'exports.emitMessage',
scriptId: '8',
url: 'node:internal/per_context/messageport',
lineNumber: 18,
columnNumber: 30
},
hitCount: 0,
children: [ 15 ]
},
|
test-macOS
Process completed with exit code 2.
|
test-macOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|