View Issue Details

IDProjectCategoryView StatusLast Update
0007184Talerauditorpublic2022-11-04 20:52
Reporterttn Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSDevuanOS VersionChimaera
Product Versiongit (master) 
Target Version0.9 
Summary0007184: "make check" fails test-sync.sh
DescriptionThis is in the src/auditor/ subdirectory.
HEAD == f9a2808ed02535427e4d2a8a45bcdc9777b8caf5.
Log attached.

My guess is that there was a column addition to "reserves_in" that did not (yet) get
propagated to src/auditor/auditor-basedb.sql. Close?
TagsNo tags attached.
Attached Files
test-suite.log (1,711 bytes)   
======================================================
   taler-exchange 0.8.5: src/auditor/test-suite.log
======================================================

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

.. contents:: :depth: 2

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

++ seq 0 32
+ ALL_TESTS='0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32'
+ TESTS='0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32'
+ VALGRIND=
+ trap cleanup EXIT
+ DB=auditor-basedb
+ CONF=auditor-basedb.conf
+ echo 'Testing for jq'
Testing for jq
+ jq -h
./test-auditor.sh: riga 1878: jq: comando non trovato
+ exit_skip 'jq required'
+ echo jq required
jq required
+ exit 77
+ cleanup
++ jobs -p
+ wait
SKIP test-auditor.sh (exit status: 77)

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

Testing synchronization logic ......2022-03-03T22:44:24.236959-0500 pq-20777 ERROR PQprepare (`SELECT current_balance_val,current_balance_frac,expiration_date,gc_date,kyc_ok,wire_target_serial_id AS payment_target_uuid FROM reserves JOIN reserves_in ri USING (reserve_pub) JOIN wire_targets wt   ON (ri.wire_source_h_payto = wt.wire_target_h_payto) WHERE reserve_pub=$1 LIMIT 1;' as `reserves_get_with_kyc') failed with error: ERROR:  column ri.wire_source_h_payto does not exist
LINE 1: ...ri USING (reserve_pub) JOIN wire_targets wt   ON (ri.wire_so...
                                                             ^

2022-03-03T22:44:24.237027-0500 taler-auditor-sync-20777 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,711 bytes)   

Activities

Christian Grothoff

2022-03-05 12:06

manager   ~0018766

Caused by the h_payto change. Will need a new wallet from Florian with 32-byte h_payto and then we can regenerate the database. That should fix it.

ttn

2022-03-18 06:18

developer   ~0018803

With HEAD == 23af6c3c41f458fa47abaf613c095aac71b8c200, "make check" now passes on all 5 platforms.

ttn

2022-03-18 06:19

developer   ~0018804

Looks like the triggering failure (test-sync.sh) is not even run anymore.
Anyway, "make check" passes. Hooray!

Issue History

Date Modified Username Field Change
2022-03-04 05:09 ttn New Issue
2022-03-04 05:09 ttn Status new => assigned
2022-03-04 05:09 ttn Assigned To => Christian Grothoff
2022-03-04 05:09 ttn File Added: test-suite.log
2022-03-05 12:06 Christian Grothoff Note Added: 0018766
2022-03-05 12:06 Christian Grothoff Assigned To Christian Grothoff => Florian Dold
2022-03-18 06:18 ttn Note Added: 0018803
2022-03-18 06:19 ttn Status assigned => resolved
2022-03-18 06:19 ttn Resolution open => fixed
2022-03-18 06:19 ttn Note Added: 0018804
2022-10-20 10:48 Christian Grothoff Target Version => 0.9
2022-11-04 20:52 Christian Grothoff Status resolved => closed