View Issue Details

IDProjectCategoryView StatusLast Update
0001817GNUnetbuild processpublic2011-11-30 18:38
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityhighSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Target Version0.9.0Fixed in Version0.9.0 
Summary0001817: Users are easily confused if testcases fail due to lack of GNUNET_PREFIX.
DescriptionUsers reporting failures of 'make check' due to this case are a common occurrence. For example, see the following mail from bug-gnunet:
Steps To ReproducePASS: test_bio
PASS: test_client
PASS: test_common_allocation
PASS: test_common_endian
PASS: test_common_logging
Sep 28 02:25:33-848308 test_configuration-24576 WARNING `fopen' failed on
file `/home/ubuntu/gnbuild/share/gnunet//defaults.conf' at
configuration.c:172 with error: No such file or directory
Sep 28 02:25:33-848368 test_configuration-24576 ERROR Assertion failed at
test_configuration.c:487.
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
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 277ms (0
failures)
W.........................25 RSA sign/verify operations 274ms
PASS: test_crypto_ksk
PASS: test_crypto_random
W.........................25 RSA encrypt operations 72 ms (0 failures)
W.........................25 RSA sign operations 1413 ms
W.........................25 RSA encrypt/decrypt SK operations 1668ms (0
failures)
W.........................25 RSA encrypt/decrypt operations 1644ms (0
failures)
W.........................25 RSA sign/verify operations 1423ms
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
PASS: test_plugin
Sep 28 02:26:08-320626 test_program-25150 WARNING `fopen' failed on file
`/home/ubuntu/gnbuild/share/gnunet//defaults.conf' at configuration.c:172
with error: No such file or directory
Sep 28 02:26:08-320759 test_program-25150 ERROR Must specify `HOSTNAME' for
`resolver' in configuration!
Sep 28 02:26:08-321076 test_program-25150 ERROR Assertion failed at
resolver_api.c:200.
/bin/bash: line 5: 25150 Aborted ${dir}$tst
FAIL: test_program
PASS: test_pseudonym
Sep 28 02:26:10-293477 test-resolver-api-25196 ERROR `execvp' failed on file
`/home/ubuntu/gnbuild/bin//gnunet-service-resolver' at os_priority.c:663
with error: No such file or directory
Sep 28 02:26:10-294083 test-resolver-api-25196 WARNING `fopen' failed on
file `/home/ubuntu/gnbuild/share/gnunet//defaults.conf' at
configuration.c:172 with error: No such file or directory
Sep 28 02:26:10-294174 test-resolver-api-25196 ERROR Must specify `HOSTNAME'
for `resolver' in configuration!
Sep 28 02:26:10-294194 test-resolver-api-25196 ERROR Assertion failed at
resolver_api.c:200.
/bin/bash: line 5: 25196 Aborted ${dir}$tst
FAIL: test_resolver_api
PASS: test_scheduler
.................................
Sleep precision: 0 ms. Timer precision is excellent.
PASS: test_scheduler_delay
PASS: test_server
PASS: test_server_disconnect
PASS: test_server_with_client
PASS: test_server_with_client_unix
Sep 28 02:26:35-509272 test_service-25353 WARNING `fopen' failed on file
`/home/ubuntu/gnbuild/share/gnunet//defaults.conf' at configuration.c:172
with error: No such file or directory
Sep 28 02:26:35-509338 test_service-25353 ERROR Assertion failed at
test_service.c:140.
/bin/bash: line 5: 25353 Aborted ${dir}$tst
FAIL: test_service
PASS: test_strings
PASS: test_time
PASS: test_os_start_process
===================================
4 of 44 tests failed
Please report to bug-gnunet@gnu.org
===================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`/home/ubuntu/Extractor/libmicrohttpd/gnunet/src/util'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/home/ubuntu/Extractor/libmicrohttpd/gnunet/src/util'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/Extractor/libmicrohttpd/gnunet/src'
make: *** [check-recursive] Error 1

Additional InformationWe should add a test (possibly in contrib/) that just checks for GNUNET_PREFIX and bails out early for the entire test-suite if it is not set.
TagsNo tags attached.

Activities

Christian Grothoff

2011-11-02 16:11

manager   ~0004827

Fixed in SVN 17931.

Issue History

Date Modified Username Field Change
2011-10-03 20:38 Christian Grothoff New Issue
2011-10-30 21:01 Christian Grothoff Target Version => 0.9.0
2011-10-30 21:04 Christian Grothoff Assigned To => Christian Grothoff
2011-10-30 21:04 Christian Grothoff Status new => assigned
2011-11-02 14:38 Christian Grothoff Priority normal => high
2011-11-02 16:11 Christian Grothoff Note Added: 0004827
2011-11-02 16:11 Christian Grothoff Status assigned => resolved
2011-11-02 16:11 Christian Grothoff Fixed in Version => 0.9.0
2011-11-02 16:11 Christian Grothoff Resolution open => fixed
2011-11-30 18:38 Christian Grothoff Status resolved => closed