You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ncu-ci commit 54550
--------------------------------------------------------------------------------
[1/1] Running COMMIT: 54550
--------------------------------------------------------------------------------
✔ Build data downloaded
⠏ Querying API for job/node-test-binary-windows-js-suites/RUN_SUBSET=2,nodes=win10-arm64-COMPILED_BY-vs2019-arm64/13778/TypeError: Cannot read properties of null (reading '1')
at new JSTestFailure (file:///usr/local/lib/node_modules/node-core-utils/lib/ci/ci_failure_parser.js:78:62)
at file:///usr/local/lib/node_modules/node-core-utils/lib/ci/ci_failure_parser.js:168:16
at Array.map (<anonymous>)
at filter (file:///usr/local/lib/node_modules/node-core-utils/lib/ci/ci_failure_parser.js:167:29)
at CIFailureParser.parse (file:///usr/local/lib/node_modules/node-core-utils/lib/ci/ci_failure_parser.js:296:22)
at TestRun.parseConsoleText (file:///usr/local/lib/node_modules/node-core-utils/lib/ci/build-types/job.js:93:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 13)
at async CommitBuild.getResults (file:///usr/local/lib/node_modules/node-core-utils/lib/ci/build-types/commit_build.js:106:25)
at async JobCommand.drain (file:///usr/local/lib/node_modules/node-core-utils/bin/ncu-ci.js:352:7)
Expected behavior
No Error happened, could process job/node-test-commit/54550/ normally
@F3n67u anything I can do to help?
I guess we can either change the output of tools/test.py in case of a output that contains tap
or we can change the code in this repo to accept the malformed output.
Il try playing around with both options
@F3n67u anything I can do to help? I guess we can either change the output of tools/test.py in case of a output that contains tap or we can change the code in this repo to accept the malformed output. Il try playing around with both options
I figure out how to fix this problem. I made a pr to fix this.
Activity
aduh95 commentedon Jul 4, 2022
The CI has been locked in preparation for the security release, I think the error is the expected behavior.
richardlau commentedon Jul 4, 2022
This was occuring at the end of last week before the CI was locked down, see nodejs/reliability#316.
F3n67u commentedon Jul 11, 2022
After some debugging, I found the following additional info, but still don't figure out why the test console text is not behaving as expected.
Problem Jenkins job URL: https://ci.nodejs.org/job/node-test-commit-osx-arm/6298/
from https://ci.nodejs.org/job/node-test-commit/54550/
from https://ci.nodejs.org/job/node-test-pull-request/44957/
Problem Console Text:
https://ci.nodejs.org/job/node-test-commit-osx-arm/nodes=osx11/6298/consoleText
https://ci.nodejs.org/job/node-test-commit-osx-arm/6298/nodes=osx11/consoleFull
Pr where the job trigger:
nodejs/node#43549
The console text which cause parse error:
More context:
F3n67u commentedon Jul 11, 2022
@MoLow do you have any idea why?
F3n67u commentedon Jul 11, 2022
pattern length and outline length differs.
pattern length is 512
outline length is 513
the diff is from last part.
pattern is:
outline is:
the pattern has not
cancelledbut the outline hascancelled. this is why length differs print and cause the parse error.F3n67u commentedon Jul 11, 2022
I know what is the problem now:
test_runner_desctibe_ithas a snapshot:test_runner_desctibe_it.out, but the actual output is not match the snapshottest_runner_desctibe_itfail and print a log that says thepatternandoutlineis not matchMoLow commentedon Jul 11, 2022
@F3n67u anything I can do to help?
I guess we can either change the output of
tools/test.pyin case of a output that contains tapor we can change the code in this repo to accept the malformed output.
Il try playing around with both options
MoLow commentedon Jul 11, 2022
Oh thanks for fixing it :)
F3n67u commentedon Jul 11, 2022
I figure out how to fix this problem. I made a pr to fix this.
richardlau commentedon Jul 11, 2022
FWIW we may have a similar issue in https://github.com/nodejs/tap2junit when parsing failures from
test_runner_desctibe_it, nodejs/node#43773MoLow commentedon Jul 13, 2022
Seems like the issue can be closed: nodejs/reliability#321
F3n67u commentedon Jul 13, 2022
no worry. this issue will closed by #640
F3n67u commentedon Jul 30, 2022
Update CI reliability job stop working again, review wanted for #640.
https://github.com/nodejs/reliability/runs/7587812485?check_suite_focus=true