View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007516 | Taler | deployment and operations | public | 2022-12-10 15:36 | 2023-01-10 13:10 |
Reporter | MS | Assigned To | MS | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | feedback | Resolution | open | ||
Product Version | git (master) | ||||
Summary | 0007516: TypeScript test harness fails at preparing the database. | ||||
Description | The following error happens when running the complete suite (command below), marking the test case as failed. It MAY be needed to run the suite more than once. Ideally, the harness should handle the problem, or at least mark the test as skipped. $ taler-wallet-cli testing run-integrationtests | ||||
Additional Information | running test test-withdrawal-manual in worker process running test test-withdrawal-manual 2022-12-10T14:17:19.331Z harness.ts INFO running test in directory [ "/tmp/taler-integrationtests-Li7zK6/test-withdrawal-manual" ] FATAL: test failed with exception Error: Command failed: createdb "taler-integrationtest" createdb: error: database creation failed: ERROR: database "taler-integrationtest" already exists at ChildProcess.exithandler (node:child_process:398:12) at ChildProcess.emit (node:events:527:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) { code: 1, killed: false, signal: null, cmd: 'createdb "taler-integrationtest"', stdout: '', stderr: 'createdb: error: database creation failed: ERROR: database "taler-integrationtest" already exists\n' } 2022-12-10T14:17:24.395Z harness.ts INFO shutting down test test-withdrawal-manual finished in worker | ||||
Tags | No tags attached. | ||||
|
I've added some code to the harness to write the output of "dropdb" and "createdb" to log files. Please try again and look at the logs: /tmp/taler-integrationtests-$ID/$TESTNAME/{dropdb,createdb}-stderr.log This might be a permissions issue on your side. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-10 15:36 | MS | New Issue | |
2022-12-10 15:36 | MS | Description Updated | |
2022-12-10 15:37 | MS | Reproducibility | have not tried => sometimes |
2022-12-10 15:37 | MS | Product Version | => git (master) |
2022-12-10 15:38 | MS | Assigned To | => Florian Dold |
2022-12-10 15:38 | MS | Status | new => assigned |
2022-12-10 15:41 | MS | Summary | TypeScript test harness fails itself at preparing the database. => TypeScript test harness fails at preparing the database. |
2023-01-10 13:10 | Florian Dold | Assigned To | Florian Dold => MS |
2023-01-10 13:10 | Florian Dold | Status | assigned => feedback |
2023-01-10 13:10 | Florian Dold | Note Added: 0019623 |