Skip to content

fix(node): do not trust committed date #741

fix(node): do not trust committed date

fix(node): do not trust committed date #741

Triggered via pull request November 30, 2023 16:09
Status Failure
Total duration 1m 36s
Artifacts

nodejs.yml

on: pull_request
Test on Node.js  /  prepare-node-matrix
Test on Node.js / prepare-node-matrix
Lint using ESLint
28s
Lint using ESLint
Matrix: Test on Node.js / test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 notices
should return true if PR can be landed: test/unit/pr_checker.test.js#L2187
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'updatedAt')] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'updatedAt') at PRChecker.checkCommitsAfterReview (file:///home/runner/work/node-core-utils/node-core-utils/lib/pr_checker.js:551:53) at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/pr_checker.test.js:2187:30) at Test.runInAsyncScope (node:async_hooks:206: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 Suite.processPendingSubtests (node:internal/test_runner/test:374:7) }
Test on Node.js / test (20, ubuntu-latest)
Process completed with exit code 1.
should return true if PR can be landed: test/unit/pr_checker.test.js#L2187
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'updatedAt')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'updatedAt') at PRChecker.checkCommitsAfterReview (file:///home/runner/work/node-core-utils/node-core-utils/lib/pr_checker.js:551:53) at TestContext.<anonymous> (file:///home/runner/work/node-core-utils/node-core-utils/test/unit/pr_checker.test.js:2187:30) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:571:25) at Suite.processPendingSubtests (node:internal/test_runner/test:316:18) at Test.postRun (node:internal/test_runner/test:640:19) at Test.run (node:internal/test_runner/test:599:10) at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7), code: 'ERR_TEST_FAILURE' }
Test on Node.js / test (18, ubuntu-latest)
Process completed with exit code 1.
Test on Node.js / test (21, ubuntu-latest, experimental)
Process completed with exit code 7.
Test on Node.js / test (21, macos-latest, experimental)
Process completed with exit code 7.
should return true if PR can be landed: test/unit/pr_checker.test.js#L2187
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'updatedAt')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'updatedAt') at PRChecker.checkCommitsAfterReview (file:///Users/runner/work/node-core-utils/node-core-utils/lib/pr_checker.js:551:53) at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/pr_checker.test.js:2187:30) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:571:25) at Suite.processPendingSubtests (node:internal/test_runner/test:316:18) at Test.postRun (node:internal/test_runner/test:640:19) at Test.run (node:internal/test_runner/test:599:10) at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7), code: 'ERR_TEST_FAILURE' }
Test on Node.js / test (18, macos-latest)
Process completed with exit code 1.
should return true if PR can be landed: test/unit/pr_checker.test.js#L2187
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'updatedAt')] { failureType: 'testCodeFailure', cause: TypeError [Error]: Cannot read properties of undefined (reading 'updatedAt') at PRChecker.checkCommitsAfterReview (file:///Users/runner/work/node-core-utils/node-core-utils/lib/pr_checker.js:551:53) at TestContext.<anonymous> (file:///Users/runner/work/node-core-utils/node-core-utils/test/unit/pr_checker.test.js:2187:30) at Test.runInAsyncScope (node:async_hooks:206: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 Suite.processPendingSubtests (node:internal/test_runner/test:374:7), code: 'ERR_TEST_FAILURE' }
Test on Node.js / test (20, macos-latest)
Process completed with exit code 1.
Test on Node.js / test (20, ubuntu-latest)
Total Tests: 169 Suites 📂: 49 Passed ✅: 168 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3629.618ms
Test on Node.js / test (18, ubuntu-latest)
Total Tests: 169 Suites 📂: 49 Passed ✅: 168 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3554.427ms
Test on Node.js / test (18, macos-latest)
Total Tests: 169 Suites 📂: 49 Passed ✅: 168 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 6369.458ms
Test on Node.js / test (20, macos-latest)
Total Tests: 169 Suites 📂: 49 Passed ✅: 168 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 6511.289ms