View Issue Details

IDProjectCategoryView StatusLast Update
0004503Talerexchangepublic2016-05-18 15:22
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

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

Activities

Florian Dold

2016-05-18 15: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 15: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 ModifiedUsernameFieldChange
2016-05-18 13:28Florian DoldNew Issue
2016-05-18 13:28Florian DoldStatusnew => assigned
2016-05-18 13:28Florian DoldAssigned To => Christian Grothoff
2016-05-18 13:31Florian DoldRelationship addedrelated to 0004504
2016-05-18 15:12Florian DoldNote Added: 0010686
2016-05-18 15:12Florian DoldStatusassigned => informing
2016-05-18 15:12Florian DoldResolutionopen => fixed
2016-05-18 15:22Christian GrothoffNote Added: 0010687
2016-05-18 15:22Christian GrothoffStatusinforming => closed
2016-05-18 15:22Christian GrothoffProduct Version => 0.0
2016-05-18 15:22Christian GrothoffFixed in Version => 0.0
2016-05-18 15:22Christian GrothoffTarget Version => 0.0