View Issue Details

IDProjectCategoryView StatusLast Update
0007523Talerdeployment and operationspublic2023-02-21 16:39
ReporterMS Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.2Fixed in Version0.9.2 
Summary0007523: Uninformative assert failure.
DescriptionThe TypeScript test harness does not point to the location where an assert failed.
It should instead print a useful line number or the condition that wasn't fulfilled. See logs.
Additional Information2022-12-16T18:00:42.272Z harness.ts INFO running command libeufin-sandbox make-transaction --debit-account=remote-account-02 --credit-account=remote-account-01 EUR:10 "first payment"
2022-12-16T18:00:42.857Z harness.ts INFO child process exited (0 / null)
2022-12-16T18:00:43.141Z harness.ts INFO running command libeufin-sandbox camt053tick
2022-12-16T18:00:43.722Z harness.ts INFO child process exited (0 / null)
FATAL: test failed with exception Error: test assertion failed
    at GlobalTestState.assertTrue (file:///home/job/.local/lib/taler-wallet-cli/node_modules/taler-wallet-cli/dist/taler-wallet-cli.mjs:58237:19)
    at runLibeufinC5xTest (file:///home/job/.local/lib/taler-wallet-cli/node_modules/taler-wallet-cli/dist/taler-wallet-cli.mjs:61959:7)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async runTestWithState (file:///home/job/.local/lib/taler-wallet-cli/node_modules/taler-wallet-cli/dist/taler-wallet-cli.mjs:59194:9)
    at async runTest (file:///home/job/.local/lib/taler-wallet-cli/node_modules/taler-wallet-cli/dist/taler-wallet-cli.mjs:66923:28)
2022-12-16T18:00:43.832Z harness.ts INFO shutting down
2022-12-16T18:00:43.832Z harness.ts INFO killing process 13882
TagsNo tags attached.


Florian Dold

2023-02-06 23:50

manager   ~0019770

You need to configure node to enable source maps (with NODE_OPTIONS=--enable-source-maps).

I've added this info to the taler-harness README.

Issue History

Date Modified Username Field Change
2022-12-16 19:10 MS New Issue
2022-12-16 19:11 MS Assigned To => Florian Dold
2022-12-16 19:11 MS Status new => assigned
2023-01-08 10:20 Christian Grothoff Target Version => 0.9.2
2023-02-06 23:50 Florian Dold Status assigned => resolved
2023-02-06 23:50 Florian Dold Resolution open => fixed
2023-02-06 23:50 Florian Dold Note Added: 0019770
2023-02-21 16:39 Christian Grothoff Fixed in Version => 0.9.2
2023-02-21 16:39 Christian Grothoff Status resolved => closed