Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Test failure reporting fails #625

Open
rotu opened this issue Jun 17, 2024 · 1 comment
Open

CI: Test failure reporting fails #625

rotu opened this issue Jun 17, 2024 · 1 comment
Labels

Comments

@rotu
Copy link
Contributor

rotu commented Jun 17, 2024

In CI, tests are failing, and the test reporter is crashing with "TypeError: test.titlePath is not a function"

e.g.: https://github.com/zeromq/zeromq.js/actions/runs/9551631841/job/26326410030#step:14:1026

/Users/runner/work/zeromq.js/zeromq.js/node_modules/.pnpm/[email protected]/node_modules/mocha/lib/reporters/base.js:286
  failures.forEach(function (test, i) {
           ^
TypeError: test.titlePath is not a function
    at /Users/runner/work/zeromq.js/zeromq.js/node_modules/.pnpm/[email protected]/node_modules/mocha/lib/reporters/base.js:327:10
    at Array.forEach (<anonymous>)
    at Function.exports.list (/Users/runner/work/zeromq.js/zeromq.js/node_modules/.pnpm/[email protected]/node_modules/mocha/lib/reporters/base.js:286:12)
    at Spec.Base.epilogue (/Users/runner/work/zeromq.js/zeromq.js/node_modules/.pnpm/[email protected]/node_modules/mocha/lib/reporters/base.js:426:10)
    at Object.onceWrapper (node:events:631:28)
    at ParallelBufferedRunner.emit (node:events:529:35)
    at ParallelBufferedRunner.emit (node:domain:489:12)
    at /Users/runner/work/zeromq.js/zeromq.js/node_modules/.pnpm/[email protected]/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js:347:14
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
 ELIFECYCLE  Test failed. See above for more details.
Error: Final attempt failed. Child_process exited with error code 1

logs_24997356421.zip

@rotu rotu added the bug label Jun 17, 2024
@aminya
Copy link
Member

aminya commented Jun 17, 2024

That's unexpected as it doesn't happen locally when running the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants