On 03/01/2013 03:55 AM, Christian Grothoff wrote: > You forgot to either set GNUNET_PREFIX (see README) or run 'make > install' prior to running 'make check'. It was the former. Sorry, rushed through the instructions. Thanks for a nice reply.
> If you don't do those things, the tests fail as they cannot find > plugins and/or configuration files in the expected locations. Strange that the following didn't get announced: ./gnunet-0.9.5a/contrib/test_gnunet_prefix.c:57: _("Check that you did run `make install' and that GNUNET_PREFIX='%s' is the correct prefix.\n") This test did get compiled. Did it not run before the others? > (While not perfect, I do not consider this a bug, especially as it is > documented that you must do those things before running the tests.) Certainly not a bug. A bit non-standard though. Maybe changeable in the future. Ok, down to one failure: Mar 01 12:08:54-652654 test-dht-line-2719 ERROR Assertion failed at testbed_api_statistics.c:50. Gathering statistics failed: not implemented FAIL: test_dht_line Thank you. > On 02/17/2013 03:59 AM, Alexei Colin wrote: >> In case this could be of any value: >> >> acolin@thinkpad gnunet-0.9.5a$ make check Making check in contrib >> make[1]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/contrib' make >> test_gnunet_prefix make[2]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/contrib' CC >> test_gnunet_prefix.o CCLD test_gnunet_prefix make[2]: Leaving >> directory `/home/acolin/soft/gnunet2/gnunet-0.9.5a/contrib' >> make[1]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/contrib' Making check in >> doc make[1]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/doc' Making check in man >> make[2]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/doc/man' make[2]: Nothing >> to be done for `check'. make[2]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/doc/man' make[2]: Entering >> directory `/home/acolin/soft/gnunet2/gnunet-0.9.5a/doc' make[2]: >> Nothing to be done for `check-am'. make[2]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/doc' make[1]: Leaving >> directory `/home/acolin/soft/gnunet2/gnunet-0.9.5a/doc' Making >> check in m4 make[1]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/m4' make[1]: Nothing to be >> done for `check'. make[1]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/m4' Making check in src >> make[1]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src' Making check in >> include make[2]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/include' Making check >> in . make[3]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/include' make[3]: >> Nothing to be done for `check-am'. make[3]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/include' make[2]: >> Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/include' Making check >> in util make[2]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util' make test_bio >> test_client test_common_allocation test_common_endian >> test_common_logging test_configuration test_container_bloomfilter >> test_container_meta_data test_container_multihashmap >> test_container_heap test_container_slist test_crypto_aes >> test_crypto_aes_weak test_crypto_crc test_crypto_ecc >> test_crypto_hash test_crypto_hkdf test_crypto_ksk >> test_crypto_random test_crypto_rsa test_disk test_getopt >> test_connection test_connection_addressing >> test_connection_receive_cancel test_connection_timeout >> test_connection_timeout_no_connect test_connection_transmit_cancel >> test_os_network test_os_priority test_peer test_plugin >> test_program test_pseudonym test_resolver_api test_scheduler >> test_scheduler_delay test_server_mst_interrupt test_server >> test_server_disconnect test_server_with_client >> test_server_with_client_unix test_service test_strings test_time >> test_speedup test_os_start_process >> test_common_logging_runtime_loglevels make[3]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util' CC >> test_bio.o CCLD test_bio CC test_client.o CCLD test_client >> CC test_common_allocation.o CCLD test_common_allocation CC >> test_common_endian.o CCLD test_common_endian CC >> test_common_logging.o CCLD test_common_logging CC >> test_configuration.o CCLD test_configuration CC >> test_container_bloomfilter.o CCLD test_container_bloomfilter CC >> test_container_meta_data.o CCLD test_container_meta_data CC >> test_container_multihashmap.o CCLD test_container_multihashmap CC >> test_container_heap.o CCLD test_container_heap CC >> test_container_slist.o CCLD test_container_slist CC >> test_crypto_aes.o CCLD test_crypto_aes CC >> test_crypto_aes_weak.o CCLD test_crypto_aes_weak CC >> test_crypto_crc.o CCLD test_crypto_crc CC test_crypto_ecc.o >> CCLD test_crypto_ecc CC test_crypto_hash.o CCLD >> test_crypto_hash CC test_crypto_hkdf.o CCLD test_crypto_hkdf >> CC test_crypto_ksk.o CCLD test_crypto_ksk CC >> test_crypto_random.o CCLD test_crypto_random CC >> test_crypto_rsa.o CCLD test_crypto_rsa CC test_disk.o CCLD >> test_disk CC test_getopt.o CCLD test_getopt CC >> test_connection.o CCLD test_connection CC >> test_connection_addressing.o CCLD test_connection_addressing CC >> test_connection_receive_cancel.o CCLD >> test_connection_receive_cancel CC test_connection_timeout.o >> CCLD test_connection_timeout CC >> test_connection_timeout_no_connect.o CCLD >> test_connection_timeout_no_connect CC >> test_connection_transmit_cancel.o CCLD >> test_connection_transmit_cancel CC test_os_network.o CCLD >> test_os_network CC test_os_priority.o CCLD test_os_priority >> CC test_peer.o CCLD test_peer CC test_plugin.o CCLD >> test_plugin CC test_program.o CCLD test_program CC >> test_pseudonym.o CCLD test_pseudonym CC test_resolver_api.o >> CCLD test_resolver_api CC test_scheduler.o CCLD >> test_scheduler CC test_scheduler_delay.o CCLD >> test_scheduler_delay CC test_server_mst_interrupt.o CCLD >> test_server_mst_interrupt CC test_server.o CCLD test_server >> CC test_server_disconnect.o CCLD test_server_disconnect CC >> test_server_with_client.o CCLD test_server_with_client CC >> test_server_with_client_unix.o CCLD test_server_with_client_unix >> CC test_service.o CCLD test_service CC test_strings.o >> CCLD test_strings CC test_time.o CCLD test_time CC >> test_speedup.o CCLD test_speedup CC test_os_start_process.o >> CCLD test_os_start_process CC >> test_common_logging_runtime_loglevels.o CCLD >> test_common_logging_runtime_loglevels make[3]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util' make >> check-TESTS make[3]: Entering directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util' PASS: test_bio >> PASS: test_client PASS: test_common_allocation PASS: >> test_common_endian PASS: test_common_logging Feb 16 21:52:55-640721 >> util-29854 WARNING `stat' failed on file >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util/.libs/share/gnunet/config.d' >> >> at disk.c:1199 with error: No such file or directory >> Feb 16 21:52:55-640845 test_configuration-29854 ERROR Assertion >> failed at test_configuration.c:496. FAIL: test_configuration PASS: >> test_container_bloomfilter PASS: test_container_meta_data PASS: >> test_container_multihashmap PASS: test_container_heap PASS: >> test_container_slist PASS: test_crypto_aes PASS: >> test_crypto_aes_weak PASS: test_crypto_crc >> W.........................25 ECC sign operations 1239 ms >> W.........................25 ECC sign/verify operations 3748 ms Feb >> 16 21:53:03-650325 test-crypto-ecc-30046 ERROR Assertion failed at >> crypto_ecc.c:1075. Feb 16 21:53:03-650514 test-crypto-ecc-30046 >> ERROR Assertion failed at crypto_ecc.c:1075. PASS: test_crypto_ecc >> PASS: test_crypto_hash PASS: test_crypto_hkdf Testing KBlock key >> correctness OK Testing KBlock key uniqueness (foo) ...... OK >> Testing KBlock key uniqueness (bar) ...... OK >> W.........................25 RSA encrypt/decrypt operations 218 ms >> (0 failures) W.........................25 RSA sign/verify >> operations 166 ms PASS: test_crypto_ksk PASS: test_crypto_random >> W.........................25 RSA encrypt operations 17 ms (0 >> failures) W.........................25 RSA sign operations 987 ms >> W.........................25 RSA encrypt/decrypt SK operations 1127 >> ms (0 failures) W.........................25 RSA encrypt/decrypt >> operations 1138 ms (0 failures) W.........................25 RSA >> sign/verify operations 1029 ms PASS: test_crypto_rsa PASS: >> test_disk PASS: test_getopt PASS: test_connection PASS: >> test_connection_addressing PASS: test_connection_receive_cancel >> PASS: test_connection_timeout PASS: >> test_connection_timeout_no_connect PASS: >> test_connection_transmit_cancel PASS: test_os_network PASS: >> test_os_priority PASS: test_peer Feb 16 21:53:15-148572 util-30417 >> WARNING `stat' failed on file >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util/.libs/lib32/gnunet' >> at disk.c:1199 with error: No such file or directory PASS: >> test_plugin Feb 16 21:53:15-237716 util-30438 WARNING `stat' failed >> on file >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util/.libs/share/gnunet/config.d' >> >> at disk.c:1199 with error: No such file or directory >> Feb 16 21:53:15-237923 resolver-api-30438 ERROR Must specify >> `HOSTNAME' for `resolver' in configuration! Feb 16 21:53:15-237990 >> test_program-30438 ERROR Assertion failed at resolver_api.c:204. >> /bin/sh: line 5: 30438 Aborted (core dumped) >> ${dir}$tst FAIL: test_program PASS: test_pseudonym Feb 16 >> 21:53:16-188163 util-30483 WARNING `access' failed on file >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util/.libs/lib32/gnunet/libexec/gnunet-service-resolver' >> >> at os_installation.c:708 with error: No such file or directory >> Feb 16 21:53:16-188458 test-resolver-api-30483 ERROR Assertion >> failed at test_resolver_api.c:371. /bin/sh: line 5: 30483 Aborted >> (core dumped) ${dir}$tst FAIL: test_resolver_api PASS: >> test_scheduler ................................. Sleep precision: 0 >> ms. Timer precision is excellent. PASS: test_scheduler_delay PASS: >> test_server_mst_interrupt PASS: test_server PASS: >> test_server_disconnect PASS: test_server_with_client PASS: >> test_server_with_client_unix Feb 16 21:53:41-538579 util-30662 >> WARNING `stat' failed on file >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util/.libs/share/gnunet/config.d' >> >> at disk.c:1199 with error: No such file or directory >> Feb 16 21:53:41-538781 util-30662 ERROR Have neither PORT nor >> UNIXPATH for service `test_service', but one is required Feb 16 >> 21:53:41-538820 test_service-30662 ERROR Assertion failed at >> test_service.c:154. /bin/sh: line 5: 30662 Aborted >> (core dumped) ${dir}$tst FAIL: test_service PASS: test_strings >> PASS: test_time Feb 16 21:53:41-990834 util-30728 WARNING `stat' >> failed on file >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util/.libs/share/gnunet/config.d' >> >> at disk.c:1199 with error: No such file or directory >> Feb 16 21:53:41-991196 resolver-api-30728 ERROR Must specify >> `HOSTNAME' for `resolver' in configuration! Feb 16 21:53:41-991340 >> test-speedup-30728 ERROR Assertion failed at resolver_api.c:204. >> /bin/sh: line 5: 30728 Aborted (core dumped) >> ${dir}$tst FAIL: test_speedup PASS: test_os_start_process PASS: >> test_common_logging_runtime_loglevels >> =================================== 5 of 48 tests failed Please >> report to bug-gnunet@gnu.org =================================== >> make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util' make[2]: *** >> [check-am] Error 2 make[2]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src/util' make[1]: *** >> [check-recursive] Error 1 make[1]: Leaving directory >> `/home/acolin/soft/gnunet2/gnunet-0.9.5a/src' make: *** >> [check-recursive] Error 1 >> >> _______________________________________________ Bug-GNUnet mailing >> list Bug-GNUnet@gnu.org >> https://lists.gnu.org/mailman/listinfo/bug-gnunet _______________________________________________ Bug-GNUnet mailing list Bug-GNUnet@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnunet