Skip to content

sqlite: improve error reporting for prepared statements in SQLTagStore #90686

sqlite: improve error reporting for prepared statements in SQLTagStore

sqlite: improve error reporting for prepared statements in SQLTagStore #90686

Triggered via pull request August 19, 2026 13:49
Status Failure
Total duration 1h 16m 46s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/parallel/test-sqlite-template-tag.js#L302
--- stdout --- Test failure: 'sql error messages are descriptive' Location: test/parallel/test-sqlite-template-tag.js:298:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected Comparison { code: 'ERR_SQLITE_ERROR', + message: 'Failed to prepare statement' - message: /no such column/i } at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-sqlite-template-tag.js:302:10) at Test.runInAsyncScope (node:async_hooks:227:14) at Test.run (node:internal/test_runner/test:1401:25) at async Test.processPendingSubtests (node:internal/test_runner/test:973:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Error], expected: [Object], operator: 'throws', diff: 'simple' } Test failure: 'cached statements are finalized when the database is closed' Location: test/parallel/test-sqlite-template-tag.js:375:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected Comparison { code: 'ERR_SQLITE_ERROR', + message: 'Failed to prepare statement' - message: /no such table/i } at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-sqlite-template-tag.js:386:10) at Test.runInAsyncScope (node:async_hooks:227:14) at Test.run (node:internal/test_runner/test:1401:25) at async Test.processPendingSubtests (node:internal/test_runner/test:973:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Error], expected: [Object], operator: 'throws', diff: 'simple' } Command: out/Release/node --expose-gc --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-sqlite-template-tag.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-sqlite-template-tag.js#L302
--- stdout --- Test failure: 'sql error messages are descriptive' Location: test/parallel/test-sqlite-template-tag.js:298:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected Comparison { code: 'ERR_SQLITE_ERROR', + message: 'Failed to prepare statement' - message: /no such column/i } at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-sqlite-template-tag.js:302:10) at Test.runInAsyncScope (node:async_hooks:227:14) at Test.run (node:internal/test_runner/test:1401:25) at async Test.processPendingSubtests (node:internal/test_runner/test:973:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Error], expected: [Object], operator: 'throws', diff: 'simple' } Test failure: 'cached statements are finalized when the database is closed' Location: test/parallel/test-sqlite-template-tag.js:375:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected Comparison { code: 'ERR_SQLITE_ERROR', + message: 'Failed to prepare statement' - message: /no such table/i } at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-sqlite-template-tag.js:386:10) at Test.runInAsyncScope (node:async_hooks:227:14) at Test.run (node:internal/test_runner/test:1401:25) at async Test.processPendingSubtests (node:internal/test_runner/test:973:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Error], expected: [Object], operator: 'throws', diff: 'simple' } Command: out/Release/node --expose-gc --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-sqlite-template-tag.js
sccache stats - test-linux
71% - 3573 hits, 1451 misses, 0 errors
sccache stats - test-linux
68% - 3438 hits, 1597 misses, 0 errors