Skip to content

chore: fix ci_start tests #1057

chore: fix ci_start tests

chore: fix ci_start tests #1057

Triggered via pull request November 2, 2024 21:35
Status Failure
Total duration 1m 10s
Artifacts

nodejs.yml

on: pull_request
Test on Node.js  /  prepare-node-matrix
3s
Test on Node.js / prepare-node-matrix
Lint using ESLint
30s
Lint using ESLint
Matrix: Test on Node.js / test
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 6 warnings, and 8 notices
should fail if starting node-pull-request throws: test/unit/ci_start.test.js#L56
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual') at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:56:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async startSubtest (node:internal/test_runner/harness:214:3), code: 'ERR_TEST_FAILURE' }
should return false if crumb fails: test/unit/ci_start.test.js#L66
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:66:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should start node-pull-request: test/unit/ci_start.test.js#L94
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'ok')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'ok') at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:94:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should return false if node-pull-request not started: test/unit/ci_start.test.js#L113
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:113:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should return true if PR checker reports it as safe: test/unit/ci_start.test.js#L152
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual') at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:152:18) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Test.start (node:internal/test_runner/test:542:17) at node:internal/test_runner/test:946:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>), code: 'ERR_TEST_FAILURE' }
should return false if PR checker reports it as potentially unsafe: test/unit/ci_start.test.js#L152
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:152:18) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
Test on Node.js / test (18, ubuntu-latest)
Process completed with exit code 1.
should fail if starting node-pull-request throws: test/unit/ci_start.test.js#L56
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual') at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:56:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async startSubtest (node:internal/test_runner/harness:214:3), code: 'ERR_TEST_FAILURE' }
should return false if crumb fails: test/unit/ci_start.test.js#L66
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:66:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should start node-pull-request: test/unit/ci_start.test.js#L94
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'ok')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'ok') at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:94:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should return false if node-pull-request not started: test/unit/ci_start.test.js#L113
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:113:14) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
should return true if PR checker reports it as safe: test/unit/ci_start.test.js#L152
Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual') at async Promise.all (index 0) { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:152:18) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Test.start (node:internal/test_runner/test:542:17) at node:internal/test_runner/test:946:71 at node:internal/per_context/primordials:487:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:455:29) at node:internal/per_context/primordials:487:9 at Array.map (<anonymous>), code: 'ERR_TEST_FAILURE' }
should return false if PR checker reports it as potentially unsafe: test/unit/ci_start.test.js#L152
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'strictEqual')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'strictEqual') at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/ci_start.test.js:152:18) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:948:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
Test on Node.js / test (18, macos-latest)
Process completed with exit code 1.
Test on Node.js / test (20, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test on Node.js / test (23, ubuntu-latest, experimental)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test on Node.js / test (22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test on Node.js / test (23, macos-latest, experimental)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test on Node.js / test (20, macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test on Node.js / test (22, macos-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test on Node.js / test (18, ubuntu-latest)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 173 Failed ❌: 6 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 3464.247ms
Test on Node.js / test (20, ubuntu-latest)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 179 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 3772.204ms
Test on Node.js / test (23, ubuntu-latest, experimental)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 179 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 4171.464ms
Test on Node.js / test (22, ubuntu-latest)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 179 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 3961.040ms
Test on Node.js / test (18, macos-latest)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 173 Failed ❌: 6 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 2976.371ms
Test on Node.js / test (23, macos-latest, experimental)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 179 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 2965.218ms
Test on Node.js / test (20, macos-latest)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 179 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 2594.077ms
Test on Node.js / test (22, macos-latest)
Total Tests: 179 Suites πŸ“‚: 53 Passed βœ…: 179 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo πŸ“: 0 Duration πŸ•: 3937.245ms