View Issue Details

IDProjectCategoryView StatusLast Update
0004503Talerexchangepublic2016-05-18 17:22
ReporterFlorian Dold Assigned ToChristian Grothoff  
PriorityurgentSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004503: test_exchange_api fails (due to database stuff)
Description... this is consistent with the problems we're having on test.taler.net

It looks like right now this is a database problem (which the test case should either detect/report/skip or handle appropriately).
Steps To Reproducetest-green@tripwire:~/exchange/src/exchange-lib$ make check
Additional InformationFAIL: test_exchange_api
=======================

Waiting for taler-exchange-httpd to be ready.May 18 15:24:00-885133 taler-exchange-httpd-29246 INFO Running in TEST mode! Database contents will not persist!
May 18 15:24:00-894318 taler-exchange-httpd-29246 INFO (re-)loading keys
May 18 15:24:00-894373 taler-exchange-httpd-29246 INFO Loading keys from `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys/'
May 18 15:24:00-898886 taler-exchange-httpd-29246 ERROR Assertion failed at plugin_exchangedb_postgres.c:723.
May 18 15:24:00-898911 taler-exchange-httpd-29246 ERROR Database failure: ERROR: column "old_coin_pub" does not exist
LINE 1: SELECT old_coin_pub,old_coin_sig,amount_with_fee_val,amount_...
               ^

May 18 15:24:00-898921 taler-exchange-httpd-29246 ERROR Assertion failed at plugin_exchangedb_postgres.c:1244.
May 18 15:24:00-898974 taler-exchange-httpd-29246 INFO Skipping future signing key `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys//signkeys/1475673840000000'
May 18 15:24:00-898995 taler-exchange-httpd-29246 INFO Skipping future signing key `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys//signkeys/1478093040000000'
May 18 15:24:00-899013 taler-exchange-httpd-29246 INFO Skipping future signing key `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys//signkeys/1480512240000000'
May 18 15:24:00-899077 taler-exchange-httpd-29246 INFO Skipping future signing key `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys//signkeys/1470835440000000'
May 18 15:24:00-899097 taler-exchange-httpd-29246 INFO Skipping future signing key `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys//signkeys/1473254640000000'
May 18 15:24:00-899114 taler-exchange-httpd-29246 INFO Skipping future signing key `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys//signkeys/1482931440000000'
May 18 15:24:00-899148 taler-exchange-httpd-29246 INFO Skipping future signing key `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//exchange/live-keys//signkeys/1468416240000000'
May 18 15:24:00-899187 util-29246 WARNING `stat' failed on file `/home/test-green/exchange/src/exchange-lib/test_exchange_api_home//.local/share/taler//auditors' at disk.c:1220 with error: No such file or directory
May 18 15:24:01-882343 taler-exchange-httpd-29246 INFO Handling request for URL '/keys'

May 18 15:24:01-885050 taler-exchange-httpd-29246 INFO Handling request for URL '/keys'
May 18 15:24:01-902663 test-exchange-api-29226 ERROR Assertion failed at exchange_api_handle.c:539.
May 18 15:24:01-902722 test-exchange-api-29226 ERROR Assertion failed at test_exchange_api.c:2426.
TagsNo tags attached.

Relationships

related to 0004504 closedChristian Grothoff exchange produces invalid signatures for /keys 

Activities

Florian Dold

2016-05-18 17:12

manager   ~0010686

Looks like this was a problem with leftover tables from a test that failed to clean up properly.

Fixed by deleting the tables on taler.net

Christian Grothoff

2016-05-18 17:22

manager   ~0010687

Testcases did not drop old tables under certain conditions, causing various errors after the recent change in database structure. This was fixed in e905e9e..8ff8c7b

Issue History

Date Modified Username Field Change
2016-05-18 15:28 Florian Dold New Issue
2016-05-18 15:28 Florian Dold Status new => assigned
2016-05-18 15:28 Florian Dold Assigned To => Christian Grothoff
2016-05-18 15:31 Florian Dold Relationship added related to 0004504
2016-05-18 17:12 Florian Dold Note Added: 0010686
2016-05-18 17:12 Florian Dold Status assigned => resolved
2016-05-18 17:12 Florian Dold Resolution open => fixed
2016-05-18 17:22 Christian Grothoff Note Added: 0010687
2016-05-18 17:22 Christian Grothoff Status resolved => closed
2016-05-18 17:22 Christian Grothoff Product Version => 0.0
2016-05-18 17:22 Christian Grothoff Fixed in Version => 0.0
2016-05-18 17:22 Christian Grothoff Target Version => 0.0