Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail when the machine running them has high load #11

Closed
zorun opened this issue Feb 5, 2019 · 1 comment
Closed

Tests fail when the machine running them has high load #11

zorun opened this issue Feb 5, 2019 · 1 comment

Comments

@zorun
Copy link

zorun commented Feb 5, 2019

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?

@pbiering
Copy link
Owner

pbiering commented Feb 6, 2019

thank you for reporting, fixed by commit

5dc30aa

@pbiering pbiering closed this as completed Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants