[Varnish] #844: Build error during test c00003.vtc

Varnish varnish-bugs at varnish-cache.org
Thu Jan 13 14:53:54 CET 2011

#844: Build error during test c00003.vtc
 Reporter:  johnnyh                                 |        Type:  defect
   Status:  new                                     |    Priority:  low   
Milestone:                                          |   Component:  build 
  Version:  2.1.4                                   |    Severity:  minor 
 Keywords:  build fail ip_nonlocal_bind c00003.vtc  |  
 A small bugreport: I had a bit of a hard time building a Varnish 2.1.4 RPM
 on a Linux RHEL6 64-bit machine. The build kept failing during the
 selftest part, specifically the c00003.vtc test:

 ------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
 #    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 a fail-
 over setup, which required ip_nonlocal_bind to be set to '1'.

Ticket URL: <http://www.varnish-cache.org/trac/ticket/844>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list