View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003934 | Taler | exchange | public | 2015-08-09 17:14 | 2024-01-12 14:05 |
Reporter | Christian Grothoff | Assigned To | Christian Grothoff | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Product Version | git (master) | ||||
Target Version | 0.0 | Fixed in Version | 0.0 | ||
Summary | 0003934: JSON parsing failed at mint_api_context.c:448: wrong arguments (<buffer>) | ||||
Description | I get these two errors if I run test_mint_api under valgrind -- but only then: Aug 09 17:12:34-342084 test-mint-api-17804 WARNING JSON parsing failed at mint_api_context.c:448: wrong arguments (<buffer>) Aug 09 17:12:34-387607 test-mint-api-17804 ERROR Assertion failed at test_mint_api.c:1735. | ||||
Steps To Reproduce | This is running the test *without* the refresh logic, but under valgrind with --trace-children=yes. | ||||
Tags | No tags attached. | ||||
|
The issue is simply that the sleep(2) isn't long enough for the httpd to start if we are under valgrind instrumentation. Nevertheless, the test should be (re)written to be more robust. |
|
Added logic to retry wget-ting the /agpl url until the httpd is up. Means delays from valgrind should be automatically handled. |
|
Fix committed to master branch. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-08-09 17:14 | Christian Grothoff | New Issue | |
2015-08-09 17:14 | Christian Grothoff | Status | new => assigned |
2015-08-09 17:14 | Christian Grothoff | Assigned To | => Christian Grothoff |
2015-08-09 18:07 | Christian Grothoff | Note Added: 0009550 | |
2015-08-09 18:12 | Christian Grothoff | Note Added: 0009551 | |
2015-08-09 18:12 | Christian Grothoff | Status | assigned => resolved |
2015-08-09 18:12 | Christian Grothoff | Fixed in Version | => 0.0 |
2015-08-09 18:12 | Christian Grothoff | Resolution | open => fixed |
2015-08-09 18:19 | Christian Grothoff | Status | resolved => closed |
2015-11-29 13:52 | Christian Grothoff | Category | mint API => mint API (C) |
2016-02-18 15:44 | Christian Grothoff | Category | mint API (C) => exchange API (C) |
2021-09-02 18:14 | Christian Grothoff | Changeset attached | => Taler-exchange master 2cccc2a1 |
2021-09-02 18:14 | Christian Grothoff | Note Added: 0018319 | |
2024-01-12 14:05 | Christian Grothoff | Category | exchange API (C) => exchange |