[Varnish] #356: v00017.vtc fails on x86_64

Varnish varnish-bugs at projects.linpro.no
Sat Feb 13 04:52:48 CET 2010


#356: v00017.vtc fails on x86_64
-------------------------------+--------------------------------------------
 Reporter:  wiebe              |        Owner:          
     Type:  defect             |       Status:  reopened
 Priority:  normal             |    Milestone:          
Component:  build              |      Version:  2.0     
 Severity:  normal             |   Resolution:          
 Keywords:  v00017.vtc x86_64  |  
-------------------------------+--------------------------------------------
Changes (by turb0kat):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 I'm seeing that on version 2.02 2.03 2.05 2.06

 Looks like it successfully parses some VCL but the test expects it to
 fail.

 > uname -a
 Linux stuntman.wikinvest.com 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:32:05
 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux


 #    top  TEST tests/v00017.vtc starting
 #    TEST VCL compiler coverage test: vcc_acl.c
 ##   v1   Launch
 ###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a
 '127.0.0.1:9081' -T 127.0.0.1:9001 -P /tmp/__v1/varnishd.pid
 ###  v1   opening CLI connection
 #### v1   debug| storage_file: filename: ./varnish.698oFV (unlinked) size
 5347 MB.\n
 #### v1   debug| Creating new SHMFILE\n
 #### v1   debug| Notice: locking SHMFILE in core failed: Cannot allocate
 memory\n
 #### v1   debug| Debugging mode, enter "start" to start child\n
 ###  v1   CLI connection fd = 3
 #### v1   CLI TX| vcl.inline vcl1 "\n\tbackend b { .host = \"127.0.0.1\";
 }\n\tacl a { \"10.1.2.3\"/33; }\n\tsub vcl_recv { if (client.ip ~ a) {
 pass; } }\n"
 #### v1   CLI RX| Message from VCC-compiler:\n
 #### v1   CLI RX| Too wide mask (33) for IPv4 address(input Line 3 Pos
 28)\n
 #### v1   CLI RX|         acl a { "10.1.2.3"/33; }\n
 #### v1   CLI RX| ---------------------------##---\n
 #### v1   CLI RX| Running VCC-compiler failed, exit 1\n
 #### v1   CLI RX| VCL compilation failed
 ###  v1   CLI STATUS 106
 ##   v1   VCL compilation failed (as expected)
 #### v1   CLI TX| vcl.inline vcl2 "\n\tbackend b { .host = \"127.0.0.1\";
 }\n\tacl a { \"1::2\"/129; }\n\tsub vcl_recv { if (client.ip ~ a) { pass;
 } }\n"
 #### v1   CLI RX| Message from VCC-compiler:\n
 #### v1   CLI RX| Too wide mask (129) for IPv6 address(input Line 3 Pos
 24)\n
 #### v1   CLI RX|         acl a { "1::2"/129; }\n
 #### v1   CLI RX| -----------------------###---\n
 #### v1   CLI RX| Running VCC-compiler failed, exit 1\n
 #### v1   CLI RX| VCL compilation failed
 ###  v1   CLI STATUS 106
 ##   v1   VCL compilation failed (as expected)
 #### v1   CLI TX| vcl.inline vcl3 "\n\tbackend b { .host = \"127.0.0.1\";
 }\n\tacl a {\n\t\t\"1.2.3.4\"/31;\n\t\t\"1.2.3.4\"/31;\n\t}\n\tsub
 vcl_recv { if (client.ip ~ a) { pass; } }\n"
 #### v1   CLI RX| VCL compiled.
 ###  v1   CLI STATUS 200
 #### v1   CLI TX| vcl.use vcl3
 ###  v1   CLI STATUS 200
 #### v1   CLI TX| vcl.inline vcl4 "\n\tbackend b { .host = \"127.0.0.1\";
 }\n\tacl a {\n\t\t\"1.2.3.4\";\n\t\t!\"1.2.3.4\";\n\t}\n\tsub vcl_recv {
 if (client.ip ~ a) { pass; } }\n"
 #### v1   CLI RX| Message from VCC-compiler:\n
 #### v1   CLI RX| Conflicting ACL entries:\n
 #### v1   CLI RX| (input Line 4 Pos 17)\n
 #### v1   CLI RX|                 "1.2.3.4";\n
 #### v1   CLI RX| ----------------#########-\n
 #### v1   CLI RX| vs:\n
 #### v1   CLI RX| (input Line 5 Pos 18)\n
 #### v1   CLI RX|                 !"1.2.3.4";\n
 #### v1   CLI RX| -----------------#########-\n
 #### v1   CLI RX| Running VCC-compiler failed, exit 1\n
 #### v1   CLI RX| VCL compilation failed
 ###  v1   CLI STATUS 106
 ##   v1   VCL compilation failed (as expected)
 #### v1   CLI TX| vcl.inline vcl5 "\n\tbackend b { .host = \"127.0.0.1\";
 }\n\tacl a { \"en.lille.nisse.rejste.\"; }\n\tsub vcl_recv { if (client.ip
 ~ a) { pass; } }\n"
 #### v1   CLI RX| VCL compiled.
 ###  v1   CLI STATUS 200
 ---- v1   VCL compilation got 200 expected 106
 ---- TEST FILE: tests/v00017.vtc
 ---- TEST DESCRIPTION: VCL compiler coverage test: vcc_acl.c

-- 
Ticket URL: <http://varnish-cache.org/ticket/356#comment:4>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list