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
The CI froze due to an unhandled rejection. My hypothesis is that a previous test took too long but the CI failed to kill the subprocess. The CI then tried reading the JSON file as the previous test's subprocess was writing to it.
2023-06-15T12:03:56.660Z ci:lib Loading test records from /home/experiment/.ci/.db.json for id 7293f56
Unhandled Rejection at: Promise Promise {
<rejected> SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at loadTestRecords (/home/experiment/Documents/github/matlab-ci/lib.js:111:20)
at updateJobFromRecord (/home/experiment/Documents/github/matlab-ci/lib.js:167:15)
at shortCircuit (/home/experiment/Documents/github/matlab-ci/lib.js:251:19)
at Immediate.<anonymous> (/home/experiment/Documents/github/matlab-ci/main.js:17:26)
at processImmediate (internal/timers.js:463:21)
} reason: SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at loadTestRecords (/home/experiment/Documents/github/matlab-ci/lib.js:111:20)
at updateJobFromRecord (/home/experiment/Documents/github/matlab-ci/lib.js:167:15)
at shortCircuit (/home/experiment/Documents/github/matlab-ci/lib.js:251:19)
at Immediate.<anonymous> (/home/experiment/Documents/github/matlab-ci/main.js:17:26)
at processImmediate (internal/timers.js:463:21)
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at loadTestRecords (/home/experiment/Documents/github/matlab-ci/lib.js:111:20)
at updateJobFromRecord (/home/experiment/Documents/github/matlab-ci/lib.js:167:15)
at shortCircuit (/home/experiment/Documents/github/matlab-ci/lib.js:251:19)
at Immediate.<anonymous> (/home/experiment/Documents/github/matlab-ci/main.js:17:26)
at processImmediate (internal/timers.js:463:21)
First priority is to handle this exception, but it could also try reading the file twice just in case.
The text was updated successfully, but these errors were encountered:
The CI froze due to an unhandled rejection. My hypothesis is that a previous test took too long but the CI failed to kill the subprocess. The CI then tried reading the JSON file as the previous test's subprocess was writing to it.
First priority is to handle this exception, but it could also try reading the file twice just in case.
The text was updated successfully, but these errors were encountered: