View Issue Details

IDProjectCategoryView StatusLast Update
0007126Talerexchangepublic2021-12-16 17:50
Reporterttn Assigned ToChristian Grothoff  
PriorityhighSeverityminorReproducibilityhave not tried
Status resolvedResolutionreopened 
PlatformLinuxOSDebianOS VersionBullseye
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0007126: "make check" fails due to undefined GNUNET_TIME_round_abs (and lots others)
DescriptionGNUNET HEAD: 10b9070e6db17b146784cd789cd7d4fa43b9e5ff
Exchange HEAD: f4e3d9f7163c0536015a3af1f8873e22d771c4f0

IOW, "make check" doesn't even have a chance to run any tests
(it hasn't gotten to that stage yet).

Log attached.
TagsNo tags attached.

Activities

ttn

2021-12-15 04:39

developer  

.ttn.exchange-make-check.log (16,561 bytes)   
-*- mode: compilation; default-directory: "~/build/GNU/T/exchange/" -*-
Compilation started at Wed Dec 15 04:26:07

../hack/check
+ export PATH=/home/ttn/t/bin:/home/ttn/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ PATH=/home/ttn/t/bin:/home/ttn/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export TMPDIR=/home/ttn/tmp
+ TMPDIR=/home/ttn/tmp
+ export PGHOST=/home/ttn/pg
+ PGHOST=/home/ttn/pg
+ make check
Makefile:964: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:959: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:964: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:974: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
make  check-recursive
make[1]: Entering directory '/home/ttn/build/GNU/T/exchange'
Makefile:964: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:959: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:964: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:974: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Making check in .
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange'
Makefile:964: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:959: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:964: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:974: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange'
Making check in contrib
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib'
Making check in .
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib'
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib'
Making check in src
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange/src'
Making check in include
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/include'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/include'
Making check in util
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
make  test_amount test_crypto test_helper_eddsa test_helper_rsa test_payto test_url
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
  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_payto.o
  CCLD     test_payto
  CC       test_url.o
  CCLD     test_url
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
make[5]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
PASS: test_amount
PASS: test_crypto
PASS: test_helper_eddsa
PASS: test_helper_rsa
PASS: test_payto
PASS: test_url
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 6
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
Making check in json
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/json'
make  test_json test_json_wire
make[4]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/json'
make[5]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
Making check in curl
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/curl'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/curl'
Making check in pq
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/pq'
make  test_pq
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/pq'
  CC       test_pq.o
  CCLD     test_pq
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/pq'
make[5]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
Making check in sq
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/sq'
make  test_sq
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/sq'
  CC       test_sq.o
test_sq.c: In function ‘run_queries’:
test_sq.c:74:3: warning: implicit declaration of function ‘GNUNET_TIME_round_abs’; did you mean ‘GNUNET_TIME_randomize’? [-Wimplicit-function-declaration]
   74 |   GNUNET_TIME_round_abs (&htime);
      |   ^~~~~~~~~~~~~~~~~~~~~
      |   GNUNET_TIME_randomize
test_sq.c:85:7: warning: implicit declaration of function ‘TALER_SQ_query_param_absolute_time’; did you mean ‘GNUNET_SQ_query_param_absolute_time’? [-Wimplicit-function-declaration]
   85 |       TALER_SQ_query_param_absolute_time (&htime),
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       GNUNET_SQ_query_param_absolute_time
test_sq.c:85:7: warning: initialization of ‘enum GNUNET_GenericReturnValue (*)(void *, const void *, size_t,  sqlite3_stmt *, unsigned int)’ {aka ‘enum GNUNET_GenericReturnValue (*)(void *, const void *, long unsigned int,  sqlite3_stmt *, unsigned int)’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
test_sq.c:85:7: note: (near initialization for ‘params_insert[3].conv’)
test_sq.c:86:7: warning: implicit declaration of function ‘TALER_SQ_query_param_absolute_time_nbo’; did you mean ‘GNUNET_SQ_query_param_absolute_time_nbo’? [-Wimplicit-function-declaration]
   86 |       TALER_SQ_query_param_absolute_time_nbo (&ntime),
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       GNUNET_SQ_query_param_absolute_time_nbo
test_sq.c:86:7: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
test_sq.c:86:7: note: (near initialization for ‘params_insert[3].conv_cls’)
test_sq.c:87:7: warning: braces around scalar initializer
   87 |       GNUNET_SQ_query_param_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
test_sq.c:87:7: note: (near initialization for ‘params_insert[3].data’)
test_sq.c:87:7: warning: excess elements in scalar initializer
test_sq.c:87:7: note: (near initialization for ‘params_insert[3].data’)
test_sq.c:87:7: warning: excess elements in scalar initializer
test_sq.c:87:7: note: (near initialization for ‘params_insert[3].data’)
In file included from ../../src/include/taler_sq_lib.h:26,
                 from test_sq.c:22:
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:86:55: warning: excess elements in scalar initializer
   86 | #define GNUNET_SQ_query_param_end { NULL, NULL, NULL, 0, 0 }
      |                                                       ^
test_sq.c:87:7: note: in expansion of macro ‘GNUNET_SQ_query_param_end’
   87 |       GNUNET_SQ_query_param_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:86:55: note: (near initialization for ‘params_insert[3].data’)
   86 | #define GNUNET_SQ_query_param_end { NULL, NULL, NULL, 0, 0 }
      |                                                       ^
test_sq.c:87:7: note: in expansion of macro ‘GNUNET_SQ_query_param_end’
   87 |       GNUNET_SQ_query_param_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:86:58: warning: excess elements in scalar initializer
   86 | #define GNUNET_SQ_query_param_end { NULL, NULL, NULL, 0, 0 }
      |                                                          ^
test_sq.c:87:7: note: in expansion of macro ‘GNUNET_SQ_query_param_end’
   87 |       GNUNET_SQ_query_param_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:86:58: note: (near initialization for ‘params_insert[3].data’)
   86 | #define GNUNET_SQ_query_param_end { NULL, NULL, NULL, 0, 0 }
      |                                                          ^
test_sq.c:87:7: note: in expansion of macro ‘GNUNET_SQ_query_param_end’
   87 |       GNUNET_SQ_query_param_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
test_sq.c:81:51: warning: missing braces around initializer [-Wmissing-braces]
   81 |     struct GNUNET_SQ_QueryParam params_insert[] = {
      |                                                   ^
......
   85 |       TALER_SQ_query_param_absolute_time (&htime),
      |       {
......
   88 |     };
      |     }
test_sq.c:113:7: warning: implicit declaration of function ‘TALER_SQ_result_spec_absolute_time’; did you mean ‘GNUNET_SQ_result_spec_absolute_time’? [-Wimplicit-function-declaration]
  113 |       TALER_SQ_result_spec_absolute_time (&hresult_time),
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       GNUNET_SQ_result_spec_absolute_time
test_sq.c:113:7: warning: initialization of ‘enum GNUNET_GenericReturnValue (*)(void *, sqlite3_stmt *, unsigned int,  size_t *, void *)’ {aka ‘enum GNUNET_GenericReturnValue (*)(void *, sqlite3_stmt *, unsigned int,  long unsigned int *, void *)’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
test_sq.c:113:7: note: (near initialization for ‘results_select[3].conv’)
test_sq.c:114:7: warning: implicit declaration of function ‘TALER_SQ_result_spec_absolute_time_nbo’; did you mean ‘GNUNET_SQ_result_spec_absolute_time_nbo’? [-Wimplicit-function-declaration]
  114 |       TALER_SQ_result_spec_absolute_time_nbo (&nresult_time),
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       GNUNET_SQ_result_spec_absolute_time_nbo
test_sq.c:114:7: warning: initialization of ‘void (*)(void *)’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
test_sq.c:114:7: note: (near initialization for ‘results_select[3].cleaner’)
test_sq.c:115:7: warning: braces around scalar initializer
  115 |       GNUNET_SQ_result_spec_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
test_sq.c:115:7: note: (near initialization for ‘results_select[3].cls’)
test_sq.c:115:7: warning: excess elements in scalar initializer
test_sq.c:115:7: note: (near initialization for ‘results_select[3].cls’)
test_sq.c:115:7: warning: excess elements in scalar initializer
test_sq.c:115:7: note: (near initialization for ‘results_select[3].cls’)
test_sq.c:115:7: warning: excess elements in scalar initializer
test_sq.c:115:7: note: (near initialization for ‘results_select[3].cls’)
In file included from ../../src/include/taler_sq_lib.h:26,
                 from test_sq.c:22:
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:301:61: warning: excess elements in scalar initializer
  301 | #define GNUNET_SQ_result_spec_end { NULL, NULL, NULL, NULL, 0, NULL, 0 }
      |                                                             ^
test_sq.c:115:7: note: in expansion of macro ‘GNUNET_SQ_result_spec_end’
  115 |       GNUNET_SQ_result_spec_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:301:61: note: (near initialization for ‘results_select[3].cls’)
  301 | #define GNUNET_SQ_result_spec_end { NULL, NULL, NULL, NULL, 0, NULL, 0 }
      |                                                             ^
test_sq.c:115:7: note: in expansion of macro ‘GNUNET_SQ_result_spec_end’
  115 |       GNUNET_SQ_result_spec_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
test_sq.c:115:7: warning: excess elements in scalar initializer
test_sq.c:115:7: note: (near initialization for ‘results_select[3].cls’)
In file included from ../../src/include/taler_sq_lib.h:26,
                 from test_sq.c:22:
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:301:70: warning: excess elements in scalar initializer
  301 | #define GNUNET_SQ_result_spec_end { NULL, NULL, NULL, NULL, 0, NULL, 0 }
      |                                                                      ^
test_sq.c:115:7: note: in expansion of macro ‘GNUNET_SQ_result_spec_end’
  115 |       GNUNET_SQ_result_spec_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/ttn/t/include/gnunet/gnunet_sq_lib.h:301:70: note: (near initialization for ‘results_select[3].cls’)
  301 | #define GNUNET_SQ_result_spec_end { NULL, NULL, NULL, NULL, 0, NULL, 0 }
      |                                                                      ^
test_sq.c:115:7: note: in expansion of macro ‘GNUNET_SQ_result_spec_end’
  115 |       GNUNET_SQ_result_spec_end
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
test_sq.c:107:52: warning: missing braces around initializer [-Wmissing-braces]
  107 |     struct GNUNET_SQ_ResultSpec results_select[] = {
      |                                                    ^
......
  113 |       TALER_SQ_result_spec_absolute_time (&hresult_time),
      |       {
......
  116 |     };
      |     }
  CCLD     test_sq
/usr/bin/ld: test_sq.o: in function `run_queries':
/home/ttn/build/GNU/T/exchange/src/sq/test_sq.c:74: undefined reference to `GNUNET_TIME_round_abs'
/usr/bin/ld: /home/ttn/build/GNU/T/exchange/src/sq/test_sq.c:85: undefined reference to `TALER_SQ_query_param_absolute_time'
/usr/bin/ld: /home/ttn/build/GNU/T/exchange/src/sq/test_sq.c:86: undefined reference to `TALER_SQ_query_param_absolute_time_nbo'
/usr/bin/ld: /home/ttn/build/GNU/T/exchange/src/sq/test_sq.c:113: undefined reference to `TALER_SQ_result_spec_absolute_time'
/usr/bin/ld: /home/ttn/build/GNU/T/exchange/src/sq/test_sq.c:114: undefined reference to `TALER_SQ_result_spec_absolute_time_nbo'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:716: test_sq] Error 1
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/sq'
make[3]: *** [Makefile:1013: check-am] Error 2
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/sq'
make[2]: *** [Makefile:515: check-recursive] Error 1
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange/src'
make[1]: *** [Makefile:502: check-recursive] Error 1
make[1]: Leaving directory '/home/ttn/build/GNU/T/exchange'
make: *** [Makefile:800: check] Error 2

Compilation exited abnormally with code 2 at Wed Dec 15 04:26:20
.ttn.exchange-make-check.log (16,561 bytes)   

Christian Grothoff

2021-12-15 08:53

manager   ~0018570

Works with both masters. Likely you managed to grab a version just in between my major updates.

ttn

2021-12-15 10:01

developer   ~0018573

I'm sorry to contradict you, but what i see is that "git grep GNUNET_TIME_round_abs" in the GNUnet Git repo yields nothing.
Furthermore, the commit 99779b455ce3bf9c53dd411575766bf298a3a5f3 shows that function to be deleted.

Perhaps there's a problem w/ Git?

Christian Grothoff

2021-12-15 10:18

manager   ~0018574

Yes, that function was deleted. But also it was replaced everywhere in Taler exchange/merchant/etc.

ttn

2021-12-15 11:18

developer   ~0018575

I see that in commit 8cb0b890d37a9ee991886c88873589029b44ade9 that GNUNET_TIME_round_abs
was replaced, so i was thinking to do the same w/ the rest of the codebase (there still exists some
mentions in test_auditordb.c and test_exchangedb.c), but the change is more than cosmetic;
it's beyond my ability to do.

Could you please update those files as well?

ttn

2021-12-15 15:20

developer   ~0018579

I see that exchange has been updated. Thank-you!

With HEAD == 110fe5b640a411cb939fbd5eba0e2fac0a296ea8
"make check" builds the tests w/o complaint.
That's the good news. The bad news is that test
test-exchangedb-postgres now dumps core. :-(

Logs attached.
.ttn.exchange-make-check-2.log (10,821 bytes)   
-*- mode: compilation; default-directory: "~/build/GNU/T/exchange/" -*-
Compilation started at Wed Dec 15 15:14:07

../hack/check 
+ export PATH=/home/ttn/t/bin:/home/ttn/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ PATH=/home/ttn/t/bin:/home/ttn/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export TMPDIR=/home/ttn/tmp
+ TMPDIR=/home/ttn/tmp
+ export PGHOST=/home/ttn/pg
+ PGHOST=/home/ttn/pg
+ make check
Makefile:964: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:959: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:964: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:974: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
make  check-recursive
make[1]: Entering directory '/home/ttn/build/GNU/T/exchange'
Makefile:964: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:959: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:964: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:974: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Making check in .
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange'
Makefile:964: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:959: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:964: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:974: warning: overriding recipe for target 'doxygen-doc/taler-exchange.tag'
Makefile:969: warning: ignoring old recipe for target 'doxygen-doc/taler-exchange.tag'
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange'
Making check in contrib
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib'
Making check in .
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/contrib'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib'
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange/contrib'
Making check in src
make[2]: Entering directory '/home/ttn/build/GNU/T/exchange/src'
Making check in include
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/include'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/include'
Making check in util
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
make  test_amount test_crypto test_helper_eddsa test_helper_rsa test_payto test_url
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
  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_payto.o
  CCLD     test_payto
  CC       test_url.o
  CCLD     test_url
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
make[5]: Entering directory '/home/ttn/build/GNU/T/exchange/src/util'
PASS: test_amount
PASS: test_crypto
PASS: test_helper_eddsa
PASS: test_helper_rsa
PASS: test_payto
PASS: test_url
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 6
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/util'
Making check in json
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/json'
make  test_json test_json_wire
make[4]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/json'
make[5]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/json'
Making check in curl
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/curl'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/curl'
Making check in pq
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/pq'
make  test_pq
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/pq'
  CC       test_pq.o
  CCLD     test_pq
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/pq'
make[5]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/pq'
Making check in sq
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/sq'
make  test_sq
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/sq'
  CC       test_sq.o
  CCLD     test_sq
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/sq'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/sq'
make[5]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/sq'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/sq'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/sq'
Making check in mhd
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/mhd'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/mhd'
Making check in bank-lib
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
make  test_bank.sh
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
make[4]: Nothing to be done for 'test_bank.sh'.
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
make[5]: Entering 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]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/bank-lib'
Making check in exchangedb
make[3]: Entering directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
make  test-exchangedb-postgres bench-db-postgres
make[4]: Entering 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[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
make  check-TESTS
make[4]: Entering directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
make[5]: Entering directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
../../build-aux/test-driver: line 109: 3633325 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: test-exchangedb-postgres
============================================================================
Testsuite summary for taler-exchange 0.8.5
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/exchangedb/test-suite.log
Please report to taler-bug@gnunet.org
============================================================================
make[5]: *** [Makefile:1015: test-suite.log] Error 1
make[5]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
make[4]: *** [Makefile:1123: check-TESTS] Error 2
make[4]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
make[3]: *** [Makefile:1197: check-am] Error 2
make[3]: Leaving directory '/home/ttn/build/GNU/T/exchange/src/exchangedb'
make[2]: *** [Makefile:515: check-recursive] Error 1
make[2]: Leaving directory '/home/ttn/build/GNU/T/exchange/src'
make[1]: *** [Makefile:502: check-recursive] Error 1
make[1]: Leaving directory '/home/ttn/build/GNU/T/exchange'
make: *** [Makefile:800: check] Error 2

Compilation exited abnormally with code 2 at Wed Dec 15 15:14:30
.ttn.exchange-make-check-2.log (10,821 bytes)   
test-suite.log (2,587 bytes)   
=========================================================
   taler-exchange 0.8.5: src/exchangedb/test-suite.log
=========================================================

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

.. contents:: :depth: 2

FAIL: test-exchangedb-postgres
==============================

psql:/home/ttn/t/share/taler/sql/exchange/drop0001.sql:30: NOTICE:  drop cascades to constraint auditor_denom_sigs_auditor_uuid_fkey on table auditor_denom_sigs
psql:/home/ttn/t/share/taler/sql/exchange/drop0001.sql:32: NOTICE:  drop cascades to constraint signkey_revocations_esk_serial_fkey on table signkey_revocations
psql:/home/ttn/t/share/taler/sql/exchange/drop0001.sql:41: NOTICE:  drop cascades to 3 other objects
DETAIL:  drop cascades to constraint reserves_in_wire_source_serial_id_fkey on table reserves_in
drop cascades to constraint reserves_close_wire_target_serial_id_fkey on table reserves_close
drop cascades to constraint deposits_wire_target_serial_id_fkey on table deposits
psql:/home/ttn/t/share/taler/sql/exchange/drop0001.sql:43: NOTICE:  drop cascades to constraint refunds_deposit_serial_id_fkey on table refunds
psql:/home/ttn/t/share/taler/sql/exchange/drop0001.sql:46: NOTICE:  drop cascades to 2 other objects
DETAIL:  drop cascades to constraint refresh_revealed_coins_melt_serial_id_fkey on table refresh_revealed_coins
drop cascades to constraint refresh_transfer_keys_melt_serial_id_fkey on table refresh_transfer_keys
psql:/home/ttn/t/share/taler/sql/exchange/exchange-0001.sql:290: WARNING:  hash indexes are not WAL-logged and their use is discouraged
psql:/home/ttn/t/share/taler/sql/exchange/exchange-0001.sql:316: WARNING:  hash indexes are not WAL-logged and their use is discouraged
psql:/home/ttn/t/share/taler/sql/exchange/exchange-0001.sql:700: NOTICE:  function exchange_do_withdraw(pg_catalog.int8,pg_catalog.int4,bytea,bytea,bytea,bytea,bytea,pg_catalog.int8,pg_catalog.int8) does not exist, skipping
psql:/home/ttn/t/share/taler/sql/exchange/exchange-0001.sql:860: NOTICE:  function exchange_do_withdraw_limit_check(pg_catalog.int8,pg_catalog.int8,pg_catalog.int8,pg_catalog.int4) does not exist, skipping
2021-12-15T15:14:30.221553+0100 /home/ttn/build/GNU/T/exchange/src/exchangedb/.libs/test-exchangedb-postgres-3633325 ERROR Assertion failed at test_exchangedb.c:291.
2021-12-15T15:14:30.221627+0100 /home/ttn/build/GNU/T/exchange/src/exchangedb/.libs/test-exchangedb-postgres-3633325 ERROR Assertion failed at test_exchangedb.c:1635. Aborting.
FAIL test-exchangedb-postgres (exit status: 134)

test-suite.log (2,587 bytes)   

Christian Grothoff

2021-12-15 23:40

manager   ~0018580

Yeah, I know. Will look into it tomorrow or so.

Christian Grothoff

2021-12-16 17:50

manager   ~0018581

The last point was a regression in GNUnet. Now fixed.

Issue History

Date Modified Username Field Change
2021-12-15 04:39 ttn New Issue
2021-12-15 04:39 ttn Status new => assigned
2021-12-15 04:39 ttn Assigned To => Christian Grothoff
2021-12-15 04:39 ttn File Added: .ttn.exchange-make-check.log
2021-12-15 08:53 Christian Grothoff Status assigned => resolved
2021-12-15 08:53 Christian Grothoff Resolution open => fixed
2021-12-15 08:53 Christian Grothoff Fixed in Version => 0.9
2021-12-15 08:53 Christian Grothoff Note Added: 0018570
2021-12-15 08:53 Christian Grothoff Target Version => 0.9
2021-12-15 10:01 ttn Status resolved => feedback
2021-12-15 10:01 ttn Resolution fixed => reopened
2021-12-15 10:01 ttn Note Added: 0018573
2021-12-15 10:18 Christian Grothoff Note Added: 0018574
2021-12-15 11:18 ttn Note Added: 0018575
2021-12-15 11:18 ttn Status feedback => assigned
2021-12-15 15:20 ttn Note Added: 0018579
2021-12-15 15:20 ttn File Added: .ttn.exchange-make-check-2.log
2021-12-15 15:20 ttn File Added: test-suite.log
2021-12-15 23:40 Christian Grothoff Note Added: 0018580
2021-12-16 17:50 Christian Grothoff Status assigned => resolved
2021-12-16 17:50 Christian Grothoff Note Added: 0018581