Build error during test c00003.vtc
Johnny Halfmoon
jhalfmoon at milksnot.com
Fri Dec 17 13:36:14 CET 2010
Hi,
a small bugreport here. I had a bit of a hard time building a Varnish
2.1.4 RPM on a RHEL6 machine. The build kept failing during the
selftest part, specifically the c00003.vtc test:
---- v1 FAIL CLI response 200 expected 300
------8<------ snip --------8<-----------------
### v1 debug| child (6300) Started\n
### v1 CLI RX 200
## v1 CLI 200 <start>
---- v1 FAIL CLI response 200 expected 300
### v1 debug| Child (6300) said \n
### v1 debug| Child (6300) said Child starts\n
### v1 debug| Child (6300) said managed to mmap 10485760 bytes of
10485760\n
# top Test timed out
# top TEST ././tests/c00003.vtc FAILED
FAIL: ./tests/c00003.vtc
Eventually I found the cause to be the following: If
/proc/net/ipv4/ip_nonlocal_bind is set to '1' , then the test error
will occur. The solution is to do the following:
echo 0 > /proc/net/ipv4/ip_nonlocal_bind
The default setting for ip_nonlocal_bind on most Linux systems will be
'0', but in my case, the buildmachine was also a testmachine for
fail-over setup, which required ip_nonlocal_bind to be set to '1'.
I hope this helps.
More information about the varnish-bugs
mailing list