View Issue Details

IDProjectCategoryView StatusLast Update
0007236Talerauditorpublic2022-05-02 20:35
Reporterttn Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformLinuxOSDevuanOS Version4
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0007236: "make check" fails on test-sync.sh
DescriptionHEAD == 40440604dde058e041984900999c528f98e0c3bd.
Logs attached.
TagsNo tags attached.

Activities

ttn

2022-05-02 20:20

developer  

.ttn.exchange-make-check.log (13,986 bytes)   
+ export PATH=/home/ttn/te/bin:/home/ttn/build/GNU/T/tw-taler:/home/ttn/bin:/home/ttn/local/bin:/usr/local/bin:/usr/bin:/bin:/home/ttn/local/share/ttn-do
+ PATH=/home/ttn/te/bin:/home/ttn/build/GNU/T/tw-taler:/home/ttn/bin:/home/ttn/local/bin:/usr/local/bin:/usr/bin:/bin:/home/ttn/local/share/ttn-do
+ export TMPDIR=/home/ttn/te/tmp
+ TMPDIR=/home/ttn/te/tmp
+ export PGHOST=/home/ttn/te/pg
+ PGHOST=/home/ttn/te/pg
+ make check
make  check-recursive
make[1]: ingresso nella directory «/home/ttn/build/GNU/T/exchange»
Making check in .
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/exchange»
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/exchange»
Making check in contrib
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/contrib»
Making check in .
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/contrib»
make[3]: Nessuna operazione da eseguire per «check-am».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/contrib»
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/contrib»
Making check in src
make[2]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src»
Making check in include
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/include»
make[3]: Nessuna operazione da eseguire per «check».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/include»
Making check in util
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
make  test_age_restriction test_amount test_crypto test_helper_eddsa test_helper_rsa test_helper_cs test_payto test_url
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
  CC       test_age_restriction.o
  CCLD     test_age_restriction
  CC       test_amount.o
  CCLD     test_amount
  CC       test_crypto.o
  CCLD     test_crypto
  CC       test_helper_eddsa.o
  CCLD     test_helper_eddsa
  CC       test_helper_rsa.o
  CCLD     test_helper_rsa
  CC       test_helper_cs.o
  CCLD     test_helper_cs
  CC       test_payto.o
  CCLD     test_payto
  CC       test_url.o
  CCLD     test_url
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/util»
PASS: test_age_restriction
PASS: test_amount
PASS: test_crypto
PASS: test_helper_eddsa
PASS: test_helper_rsa
PASS: test_helper_cs
PASS: test_payto
PASS: test_url
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 8
# PASS:  8
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/util»
Making check in json
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/json»
make  test_json test_json_wire
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/json»
  CC       test_json.o
  CCLD     test_json
  CC       test_json_wire.o
  CCLD     test_json_wire
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/json»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/json»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/json»
PASS: test_json
PASS: test_json_wire
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 2
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/json»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/json»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/json»
Making check in extensions
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/extensions»
make[3]: Nessuna operazione da eseguire per «check».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/extensions»
Making check in curl
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/curl»
make[3]: Nessuna operazione da eseguire per «check».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/curl»
Making check in pq
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/pq»
make  test_pq
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/pq»
  CC       test_pq.o
  CCLD     test_pq
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/pq»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/pq»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/pq»
PASS: test_pq
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/pq»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/pq»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/pq»
Making check in sq
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/sq»
make  test_sq
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/sq»
  CC       test_sq.o
  CCLD     test_sq
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/sq»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/sq»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/sq»
PASS: test_sq
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/sq»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/sq»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/sq»
Making check in mhd
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/mhd»
make[3]: Nessuna operazione da eseguire per «check».
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/mhd»
Making check in bank-lib
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
make  test_bank.sh
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
make[4]: Nessuna operazione da eseguire per «test_bank.sh».
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
PASS: test_bank.sh
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/bank-lib»
Making check in exchangedb
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
make  check-am
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
make  test-exchangedb-postgres bench-db-postgres
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
  CC       test_exchangedb.o
  CCLD     test-exchangedb-postgres
  CC       bench_db.o
  CCLD     bench-db-postgres
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
make  check-TESTS
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
make[6]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
PASS: test-exchangedb-postgres
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[6]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchangedb»
Making check in exchange
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchange»
make  test_taler_exchange_httpd.sh 
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchange»
make[4]: Nessuna operazione da eseguire per «test_taler_exchange_httpd.sh».
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchange»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchange»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/exchange»
PASS: test_taler_exchange_httpd.sh
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchange»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchange»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/exchange»
Making check in auditordb
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
make  test-auditordb-postgres
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
  CC       test_auditordb.o
  CCLD     test-auditordb-postgres
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
PASS: test-auditordb-postgres
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditordb»
Making check in auditor
make[3]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditor»
make  test-auditor.sh test-revocation.sh test-sync.sh
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditor»
make[4]: Nessuna operazione da eseguire per «test-auditor.sh».
make[4]: Nessuna operazione da eseguire per «test-revocation.sh».
make[4]: Nessuna operazione da eseguire per «test-sync.sh».
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditor»
make  check-TESTS
make[4]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditor»
make[5]: ingresso nella directory «/home/ttn/build/GNU/T/exchange/src/auditor»
SKIP: test-auditor.sh
SKIP: test-revocation.sh
FAIL: test-sync.sh
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 3
# PASS:  0
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/auditor/test-suite.log
Please report to taler-bug@gnunet.org
============================================================================
make[5]: *** [Makefile:1297: test-suite.log] Errore 1
make[5]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditor»
make[4]: *** [Makefile:1405: check-TESTS] Errore 2
make[4]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditor»
make[3]: *** [Makefile:1492: check-am] Errore 2
make[3]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src/auditor»
make[2]: *** [Makefile:524: check-recursive] Errore 1
make[2]: uscita dalla directory «/home/ttn/build/GNU/T/exchange/src»
make[1]: *** [Makefile:509: check-recursive] Errore 1
make[1]: uscita dalla directory «/home/ttn/build/GNU/T/exchange»
make: *** [Makefile:806: check] Errore 2
.ttn.exchange-make-check.log (13,986 bytes)   
test-suite.log (1,491 bytes)   
======================================================
   taler-exchange 0.8.5: src/auditor/test-suite.log
======================================================

# TOTAL: 3
# PASS:  0
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: test-auditor.sh
=====================

Testing for jq
./test-auditor.sh: riga 1870: jq: comando non trovato
jq required
SKIP test-auditor.sh (exit status: 77)

SKIP: test-revocation.sh
========================

Testing for jq
./test-revocation.sh: riga 494: jq: comando non trovato
jq required
SKIP test-revocation.sh (exit status: 77)

FAIL: test-sync.sh
==================

Testing synchronization logic ......2022-05-02T14:13:11.713498-0400 pq-31527 ERROR PQprepare (`SELECT  reserve_found,balance_ok,kycok AS kyc_ok,account_uuid AS payment_target_uuid,ruuid FROM exchange_do_batch_withdraw ($1,$2,$3,$4,$5);' as `call_batch_withdraw') failed with error: ERROR:  function exchange_do_batch_withdraw(unknown, unknown, unknown, unknown, unknown) does not exist
LINE 1: ...ok,account_uuid AS payment_target_uuid,ruuid FROM exchange_d...
                                                             ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

2022-05-02T14:13:11.713594-0400 taler-auditor-sync-31527 ERROR Failed to begin transaction with data source. Exiting
.FAIL
Record count mismatch: 424 / 0 in table denominations
FAIL test-sync.sh (exit status: 1)

test-suite.log (1,491 bytes)   

Christian Grothoff

2022-05-02 20:35

manager   ~0018900

DBs had to be regenerated after new stored procedure was introduced => 40440604..0a7b75b2

Issue History

Date Modified Username Field Change
2022-05-02 20:20 ttn New Issue
2022-05-02 20:20 ttn Status new => assigned
2022-05-02 20:20 ttn Assigned To => Christian Grothoff
2022-05-02 20:20 ttn File Added: .ttn.exchange-make-check.log
2022-05-02 20:20 ttn File Added: test-suite.log
2022-05-02 20:35 Christian Grothoff Status assigned => resolved
2022-05-02 20:35 Christian Grothoff Resolution open => fixed
2022-05-02 20:35 Christian Grothoff Fixed in Version => 0.9
2022-05-02 20:35 Christian Grothoff Note Added: 0018900
2022-05-02 20:35 Christian Grothoff Target Version => 0.9