[Varnish] #1159: bad IP address in test

Varnish varnish-bugs at varnish-cache.org
Wed Jun 27 23:01:09 CEST 2012


#1159: bad IP address in test
---------------------+------------------------------------------------------
 Reporter:  jdrusch  |        Type:  defect     
   Status:  new      |    Priority:  normal     
Milestone:           |   Component:  varnishtest
  Version:  3.0.2    |    Severity:  minor      
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by jdrusch):

 Thanks for the info, I'll read up on it.

 I wonder if there's a redhat quirk (or mistake on my part) at play here as
 10.255.255.255 shouldn't be my broadcast now that I think about it...

 inet addr:10.70.50.40
 Mask:255.255.0.0
 Bcast:10.255.255.255

 I would think my broadcast should be 10.70.255.255

 eth0      Link encap:Ethernet  HWaddr 00:0C:29:65:D9:A0
           inet addr:10.70.50.40  Bcast:10.255.255.255  Mask:255.255.0.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1166241 errors:0 dropped:0 overruns:0 frame:0
           TX packets:829055 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:816951175 (779.1 MiB)  TX bytes:568382021 (542.0 MiB)


 I guess maybe this is a non-issue then. Weird.

 Here is the error I was receiving before I changed the IP:


 #     top  TEST ./tests/c00002.vtc passed (1.170)
 **** top   0.0 macro def varnishd=../varnishd/varnishd
 **** top   0.0 macro def
 pwd=/home/build/vtest/varnish-3.0.2/bin/varnishtest
 **** top   0.0 macro def
 topbuild=/home/build/vtest/varnish-3.0.2/bin/varnishtest/../..
 **** top   0.0 macro def bad_ip=10.255.255.255
 **** top   0.0 macro def tmpdir=/tmp/vtc.31176.64226ac0
 *    top   0.0 TEST ./tests/c00003.vtc starting
 ***  top   0.0 varnishtest
 *    top   0.0 TEST Check that we start if at least one listen address
 works
 ***  top   0.0 server
 **   s1    0.0 Starting server
 **** s1    0.0 macro def s1_addr=127.0.0.1
 **** s1    0.0 macro def s1_port=57693
 **** s1    0.0 macro def s1_sock=127.0.0.1 57693
 *    s1    0.0 Listen on 127.0.0.1 57693
 ***  top   0.0 varnish
 **   s1    0.0 Started on 127.0.0.1 57693
 **   v1    0.0 Launch
 ***  v1    0.0 CMD: cd ${pwd} && ${varnishd} -d -d -n
 /tmp/vtc.31176.64226ac0/v1 -l 10m,1m,- -p auto_restart=off -p
 syslog_cli_traffic=off -a '127.0.0.1:0' -S /tmp/vtc.31176.64226ac0/v1/_S
 -M '127.0.0.1 35745' -P /tmp/vtc.31176.64226ac0/v1/varnishd.pid
 -sfile,/tmp/vtc.31176.64226ac0/v1,10M
 ***  v1    0.0 CMD: cd /home/build/vtest/varnish-3.0.2/bin/varnishtest &&
 ../varnishd/varnishd -d -d -n /tmp/vtc.31176.64226ac0/v1 -l 10m,1m,- -p
 auto_restart=off -p syslog_cli_traffic=off -a '127.0.0.1:0' -S
 /tmp/vtc.31176.64226ac0/v1/_S -M '127.0.0.1 35745' -P
 /tmp/vtc.31176.64226ac0/v1/varnishd.pid
 -sfile,/tmp/vtc.31176.64226ac0/v1,10M
 ***  v1    0.0 PID: 760
 ***  v1    0.0 debug| Platform:
 Linux,2.6.32-71.29.1.el6.x86_64,x86_64,-sfile,-smalloc,-hcritbit\n
 ***  v1    0.0 debug| 200 251     \n
 ***  v1    0.0 debug| -----------------------------\n
 ***  v1    0.0 debug| Varnish Cache CLI 1.0\n
 ***  v1    0.0 debug| -----------------------------\n
 ***  v1    0.0 debug|
 Linux,2.6.32-71.29.1.el6.x86_64,x86_64,-sfile,-smalloc,-hcritbit\n
 ***  v1    0.0 debug| \n
 ***  v1    0.0 debug| Type 'help' for command list.\n
 ***  v1    0.0 debug| Type 'quit' to close CLI session.\n
 ***  v1    0.0 debug| Type 'start' to launch worker process.\n
 ***  v1    0.0 debug| \n
 **** v1    0.1 CLIPOLL 1 0x1 0x0
 ***  v1    0.1 CLI connection fd = 9
 ***  v1    0.1 CLI RX  107
 **** v1    0.1 CLI RX| jhmnlckxgedfedrgcevdhlhxkrntqchz\n
 **** v1    0.1 CLI RX| \n
 **** v1    0.1 CLI RX| Authentication required.\n
 **** v1    0.1 CLI TX| auth
 ba8a9f2b02f46a1e24996a2823d4165649ac5ead5698010ff779a24ad576e526\n
 ***  v1    0.1 CLI RX  200
 **** v1    0.1 CLI RX| -----------------------------\n
 **** v1    0.1 CLI RX| Varnish Cache CLI 1.0\n
 **** v1    0.1 CLI RX| -----------------------------\n
 **** v1    0.1 CLI RX|
 Linux,2.6.32-71.29.1.el6.x86_64,x86_64,-sfile,-smalloc,-hcritbit\n
 **** v1    0.1 CLI RX| \n
 **** v1    0.1 CLI RX| Type 'help' for command list.\n
 **** v1    0.1 CLI RX| Type 'quit' to close CLI session.\n
 **** v1    0.1 CLI RX| Type 'start' to launch worker process.\n
 **** v1    0.1 CLI TX| param.set listen_address 10.255.255.255:0
 ***  v1    0.2 CLI RX  200
 **   v1    0.2 CLI 200 <param.set listen_address 10.255.255.255:0>
 ***  top   0.2 varnish
 **** v1    0.2 CLI TX| vcl.inline vcl1 << %XJEIFLH|)Xspa8P\n
 **** v1    0.2 CLI TX| backend s1 { .host = "127.0.0.1"; .port = "57693";
 }\n
 **** v1    0.2 CLI TX| \n
 **** v1    0.2 CLI TX| \n
 **** v1    0.2 CLI TX| %XJEIFLH|)Xspa8P\n
 ***  v1    0.2 CLI RX  200
 **** v1    0.2 CLI RX| VCL compiled.
 **** v1    0.2 CLI TX| vcl.use vcl1
 ***  v1    0.3 CLI RX  200
 **** v1    0.3 CLI TX| start
 ***  v1    0.3 debug| child (808) Started\n
 **** v1    0.3 vsl|     0 CLI          - Rd vcl.load "vcl1"
 ./vcl.chJ7EvFM.so
 **** v1    0.3 vsl|     0 CLI          - Wr 200 36 Loaded
 "./vcl.chJ7EvFM.so" as "vcl1"
 **** v1    0.3 vsl|     0 CLI          - Rd vcl.use "vcl1"
 **** v1    0.3 vsl|     0 CLI          - Wr 200 0
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3e05fca80 start
 **** v1    0.3 vsl|     0 CLI          - Rd start
 ***  v1    0.3 debug| Child (808) said Not running as root, no priv-sep\n
 ***  v1    0.3 debug| Child (808) said Child starts\n
 ***  v1    0.3 debug| Child (808) said SMF.s0 mmap'ed 10485760 bytes of
 10485760\n
 ***  v1    0.3 CLI RX  200
 **   v1    0.3 CLI 200 <start>
 ---- v1    0.3 FAIL CLI response 200 expected 300
 *    top   0.3 RESETTING after ./tests/c00003.vtc
 **   s1    0.3 Waiting for server
 **** v1    0.3 vsl|     0 Debug        - Acceptor is epoll
 **** v1    0.3 vsl|     0 CLI          - Wr 200 0
 **** s1    0.3 macro undef s1_addr
 **** s1    0.3 macro undef s1_port
 **** s1    0.3 macro undef s1_sock
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3dc2fba80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3db8faa80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3daef9a80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3da4f8a80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3d9af7a80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3d90f6a80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3d86f5a80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3d7cf4a80 start
 **** v1    0.3 vsl|     0 WorkThread   - 0x7fe3d72f3a80 start
 **   v1    1.3 Wait
 **   v1    1.3 R 760 Status: 0000
 *    top   1.3 TEST ./tests/c00003.vtc FAILED

 #     top  TEST ./tests/c00003.vtc FAILED (1.336) exit=1
 make[2]: *** [check] Error 2
 make[2]: Leaving directory
 `/home/build/vtest/varnish-3.0.2/bin/varnishtest'
 make[1]: *** [check-recursive] Error 1
 make[1]: Leaving directory `/home/build/vtest/varnish-3.0.2/bin'
 make: *** [check-recursive] Error 1

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1159#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list