pbiering/ipv6calc

Tests fail when the machine running them has high load

zorun opened this issue · 1 comments

zorun commented

While building and running tests for ipv6calc 2.0.0 on a quite busy machine, it failed unexpectedly:

$ make test-minimal
...
make[3]: Leaving directory '/build/ipv6calc/src/ipv6calc-2.0.0/ipv6calc'
~/ipv6calc/src/ipv6calc-2.0.0/ipv6calcweb
# Pseudo random selected
LD_LIBRARY_PATH=../lib:../databases/lib: ./test_ipv6calcweb.sh 2001:200:1:ea::1 || exit 1
++ HTTP_IPV6CALCWEB_OUTPUT_FORMAT=html
++ HTTP_IPV6CALCWEB_OUTPUT_FORMAT_HTML_DB=subcolumns
++ REMOTE_ADDR=50.60.70.80
++ ./ipv6calcweb.cgi
+ stderr='ipv6calcweb.cgi WARN  : System overloaded by load15 load=17.25/17.63/17.16 load_norm=2.15625/2.20375/2.145 limit=2/1.5/1 cpus=8'
+ set +x
ERROR : stderr not empty: ipv6calcweb.cgi WARN  : System overloaded by load15 load=17.25/17.63/17.16 load_norm=2.15625/2.20375/2.145 limit=2/1.5/1 cpus=8
make[2]: *** [Makefile:32: test] Error 1
make[2]: Leaving directory '/build/ipv6calc/src/ipv6calc-2.0.0/ipv6calcweb'
make[1]: *** [Makefile:43: test-minimal] Error 2
make[1]: Leaving directory '/build/ipv6calc/src/ipv6calc-2.0.0/ipv6calcweb'
Result: 2
make: *** [Makefile:176: test-minimal] Error 2

I wouldn't expect the system load to impact the results of tests! Is it possible to disable this kind of warnings during tests?

thank you for reporting, fixed by commit

5dc30aa