**** dT 0.001 * top TEST ../../../../bin/varnishtest/tests/m00000.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/root/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:26478 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/root/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/root/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** dT 0.002 **** top macro def testdir=/root/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/root/VT/_vtest_tmp/vtc.55653.0ca87b2f **** top macro def vtcid=vtc.55653.0ca87b2f **** dT 0.004 ** top === varnishtest "Test vmod usage and test vmods (debug & vtc)" * top VTEST Test vmod usage and test vmods (debug & vtc) ** top === server s1 { ** s1 Starting server **** dT 0.005 **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=16543 **** s1 macro def s1_sock=127.0.0.1:16543 * s1 Listen on 127.0.0.1:16543 ** top === varnish v1 -vcl+backend { **** dT 0.009 ** s1 Started on 127.0.0.1:16543 (1 iterations) **** dT 0.041 ** v1 Launch **** dT 0.042 *** v1 CMD: cd ${pwd} && exec varnishd -d -n /root/VT/_vtest_tmp/vtc.55653.0ca87b2f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39163' -P /root/VT/_vtest_tmp/vtc.55653.0ca87b2f/v1/varnishd.pid -p vmod_path=/root/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 CMD: cd /root/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /root/VT/_vtest_tmp/vtc.55653.0ca87b2f/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 39163' -P /root/VT/_vtest_tmp/vtc.55653.0ca87b2f/v1/varnishd.pid -p vmod_path=/root/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs **** dT 0.045 *** v1 PID: 55669 **** dT 0.046 **** v1 macro def v1_pid=55669 **** v1 macro def v1_name=/root/VT/_vtest_tmp/vtc.55653.0ca87b2f/v1 **** dT 0.404 *** v1 debug|Debug: Version: varnish-trunk revision f43b83c492a8c76bc5526f1bdc52fc6bedcaf2ab **** dT 0.408 *** v1 debug|Debug: Platform: FreeBSD,13.5-RELEASE,arm,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 312 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|FreeBSD,13.5-RELEASE,arm,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision f43b83c492a8c76bc5526f1bdc52fc6bedcaf2ab *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.422 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.425 *** v1 CLI RX 107 **** v1 CLI RX|lnazfkqylotxckmcrxovyzorfwgivsyz **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.427 **** v1 CLI TX|auth 658c84f73f4adedc64cebb7b9ef3946003f712ddf2009d1322e8020554204a21 **** dT 0.431 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|FreeBSD,13.5-RELEASE,arm,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision f43b83c492a8c76bc5526f1bdc52fc6bedcaf2ab **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.434 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "16543"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\timport debug; **** v1 CLI TX|\timport vtc; **** v1 CLI TX|\timport debug;\t\t// again **** v1 CLI TX|\timport debug as dbg; **** v1 CLI TX|\timport debug as dbg;\t// again **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew objx = dbg.obj(); **** v1 CLI TX|\t\tobjx.obj(); **** v1 CLI TX|\t\tdbg.vsc_new(); **** v1 CLI TX|\t\tstd.log("inside vcl_init"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tset req.http.overwrite = "the workspace " + **** v1 CLI TX|\t\t "to ensure we notice any unfinished privs"; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub priv_task { **** v1 CLI TX|\t\tdebug.test_priv_task_get(); **** v1 CLI TX|\t\tdebug.test_priv_task("foo"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.url == "/priv-task-no-mem") { **** v1 CLI TX|\t\t\tvtc.workspace_alloc(client, -4); **** v1 CLI TX|\t\t\tcall priv_task; **** v1 CLI TX|\t\t\treturn (fail); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url == "/fail") { **** v1 CLI TX|\t\t\tdebug.test_priv_task("foo"); **** v1 CLI TX|\t\t\treturn (fail); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tdebug.rot52(req); **** v1 CLI TX|\t\tdebug.vsc_count(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.who = debug.author(mithrandir); **** v1 CLI TX|\t\tset resp.http.really = debug.author(); **** v1 CLI TX|\t\tset resp.http.when = objx.date(); **** v1 CLI TX|\t\tset resp.http.what = vtc.typesize("dfijlopsz"); **** v1 CLI TX|\t\tset resp.http.not = vtc.typesize("*"); **** v1 CLI TX|\t\tdebug.test_priv_call(); **** v1 CLI TX|\t\tdebug.test_priv_vcl(); **** v1 CLI TX|\t\tobjx.test_priv_call(); **** v1 CLI TX|\t\tobjx.test_priv_vcl(); **** v1 CLI TX|\t\tstd.syslog(8 + 7, "Somebody runs varnishtest"); **** v1 CLI TX|\t\tdebug.rot52(resp); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.537 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.639 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.768 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.917 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.019 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.121 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.223 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.325 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.426 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.528 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.630 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.731 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.833 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.935 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.037 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.139 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.242 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.344 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.446 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.548 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.649 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.751 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.853 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.954 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.056 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.158 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.260 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.362 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.463 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.564 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.666 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.768 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.869 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.971 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.073 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.175 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.276 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.378 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.479 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.581 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.683 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.785 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.887 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.989 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.090 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.192 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.294 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.396 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.498 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.599 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.701 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.803 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.904 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.006 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.107 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.209 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.311 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.413 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.514 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.616 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.718 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.820 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.921 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.022 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.124 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.226 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.327 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.429 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.530 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.632 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.733 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.835 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.936 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.038 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.139 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.241 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.342 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.444 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.546 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.648 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.749 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.851 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.953 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.055 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.156 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.257 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.361 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.466 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.571 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.672 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.774 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.875 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.976 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.077 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.177 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.280 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.381 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.483 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.585 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.687 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.789 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.891 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 10.993 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.094 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.195 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.298 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.400 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.508 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.610 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.618 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 11.659 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 11.713 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.815 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 11.820 *** v1 debug|Debug: Child (55678) Started **** dT 11.917 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 12.021 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 13.534 *** v1 debug|Child launched OK **** dT 13.552 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1746330974.849083/vgc.so 1auto **** dT 13.598 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status **** dT 13.599 *** v1 debug|Info: Child (55678) said Child starts **** dT 13.638 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 13.654 **** v1 vsl| 0 VCL_Log - inside vcl_init **** v1 vsl| 0 Debug - vcl1: VCL_EVENT_WARM **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1746330974.849083/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:49020 **** dT 13.655 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:49020 **** v1 vsl| 0 Error - Kernel filtering: sock=3, errno=2 No such file or directory **** v1 vsl| 0 CLI - Wr 200 0 **** dT 13.680 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 49020 **** v1 CLI TX|debug.xid 1000 **** dT 13.721 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 13.756 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 49020 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 13.762 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 49020 ** v1 Listen on 127.0.0.1 49020 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=49020 **** v1 macro def v1_sock=127.0.0.1:49020 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=49020 **** v1 macro def v1_a0_sock=127.0.0.1:49020 ** top === varnish v1 -expect DEBUG.count == 0 **** dT 13.781 ** v1 as expected: DEBUG.count (0) == 0 (0) ** top === client c1 { ** c1 Starting client **** dT 13.782 ** c1 Waiting for client ** c1 Started on 127.0.0.1:49020 (1 iterations) *** c1 Connect to 127.0.0.1:49020 **** dT 13.784 *** c1 connected fd 18 from 127.0.0.1 11965 to 127.0.0.1:49020 ** c1 === txreq -url "/bar" **** c1 txreq|GET /bar HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r **** dT 13.785 ** c1 === rxresp **** dT 13.790 *** s1 accepted fd 4 127.0.0.1 26943 ** s1 === rxreq **** dT 13.792 **** s1 rxhdr|GET /bar HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** s1 rxhdr|Encrypted: ROT52\r **** s1 rxhdr|Accept-Encoding: gzip\r **** s1 rxhdr|X-Varnish: 1002\r **** s1 rxhdr|\r **** s1 rxhdrlen = 169 **** s1 http[ 0] |GET **** s1 http[ 1] |/bar **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Varnish/trunk) **** s1 http[ 7] |Encrypted: ROT52 **** s1 http[ 8] |Accept-Encoding: gzip **** s1 http[ 9] |X-Varnish: 1002 **** s1 bodylen = 0 ** s1 === expect req.http.encrypted == "ROT52" **** s1 EXPECT req.http.encrypted (ROT52) == "ROT52" match ** s1 === txresp -hdr "foo: bAr" -hdr "bar: fOo" -bodylen 4 **** dT 13.793 **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|foo: bAr\r **** s1 txresp|bar: fOo\r **** s1 txresp|Date: Sun, 04 May 2025 03:56:28 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 4\r **** s1 txresp|\r **** s1 txresp|!"# **** dT 13.796 *** s1 shutting fd 4 ** s1 Ending **** dT 13.805 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|foo: bAr\r **** c1 rxhdr|bar: fOo\r **** c1 rxhdr|Date: Sun, 04 May 2025 03:56:28 GMT\r **** c1 rxhdr|Server: s1\r **** c1 rxhdr|Content-Length: 4\r **** c1 rxhdr|X-Varnish: 1001\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** c1 rxhdr|Accept-Ranges: bytes\r **** c1 rxhdr|who: Tollef\r **** c1 rxhdr|really: Poul-Henning\r **** c1 rxhdr|when: Thu, 01 Jan 1970 00:00:21 GMT\r **** c1 rxhdr|what: 56\r **** c1 rxhdr|not: -1\r **** c1 rxhdr|Encrypted: ROT52\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 316 **** c1 http[ 0] |HTTP/1.1 **** dT 13.806 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |foo: bAr **** c1 http[ 4] |bar: fOo **** c1 http[ 5] |Date: Sun, 04 May 2025 03:56:28 GMT **** c1 http[ 6] |Server: s1 **** c1 http[ 7] |Content-Length: 4 **** c1 http[ 8] |X-Varnish: 1001 **** c1 http[ 9] |Age: 0 **** c1 http[10] |Via: 1.1 v1 (Varnish/trunk) **** c1 http[11] |Accept-Ranges: bytes **** c1 http[12] |who: Tollef **** c1 http[13] |really: Poul-Henning **** c1 http[14] |when: Thu, 01 Jan 1970 00:00:21 GMT **** c1 http[15] |what: 56 **** c1 http[16] |not: -1 **** c1 http[17] |Encrypted: ROT52 **** c1 http[18] |Connection: keep-alive **** c1 c-l|!"# **** c1 bodylen = 4 ** c1 === expect resp.status == 200 **** c1 EXPECT resp.status (200) == "200" match ** c1 === expect resp.bodylen == "4" **** c1 EXPECT resp.bodylen (4) == "4" match ** c1 === expect resp.http.who == "Tollef" **** c1 EXPECT resp.http.who (Tollef) == "Tollef" match ** c1 === expect resp.http.really == "Poul-Henning" **** c1 EXPECT resp.http.really (Poul-Henning) == "Poul-Henning" match ** c1 === expect resp.http.when == "Thu, 01 Jan 1970 00:00:21 GMT" **** c1 EXPECT resp.http.when (Thu, 01 Jan 1970 00:00:21 GMT) == "Thu, 01 Jan 1970 00:00:21 GMT" match ** c1 === expect resp.http.encrypted == "ROT52" **** c1 EXPECT resp.http.encrypted (ROT52) == "ROT52" match ** c1 === expect resp.http.what >= 16 **** c1 EXPECT resp.http.what (56) >= "16" match ** c1 === expect resp.http.not == -1 **** c1 EXPECT resp.http.not (-1) == "-1" match ** c1 === txreq -url "/fail" **** c1 txreq|GET /fail HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r **** dT 13.807 ** c1 === rxresp **** dT 13.811 **** c1 rxhdr|HTTP/1.1 503 VCL failed\r **** c1 rxhdr|Date: Sun, 04 May 2025 03:56:28 GMT\r **** c1 rxhdr|Server: Varnish\r **** c1 rxhdr|X-Varnish: 1003\r **** c1 rxhdr|Content-Type: text/html; charset=utf-8\r **** c1 rxhdr|Retry-After: 5\r **** c1 rxhdr|Content-Length: 251\r **** c1 rxhdr|Connection: close\r **** c1 rxhdr|\r **** c1 rxhdrlen = 194 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |503 **** c1 http[ 2] |VCL failed **** dT 13.812 **** c1 http[ 3] |Date: Sun, 04 May 2025 03:56:28 GMT **** c1 http[ 4] |Server: Varnish **** c1 http[ 5] |X-Varnish: 1003 **** c1 http[ 6] |Content-Type: text/html; charset=utf-8 **** c1 http[ 7] |Retry-After: 5 **** c1 http[ 8] |Content-Length: 251 **** c1 http[ 9] |Connection: close **** c1 c-l| **** c1 c-l| **** c1 c-l| **** c1 c-l| 503 VCL failed **** c1 c-l| **** c1 c-l| **** c1 c-l|

Error 503 VCL failed

**** c1 c-l|

VCL failed

**** c1 c-l|

Guru Meditation:

**** c1 c-l|

XID: 1003

**** c1 c-l|
**** c1 c-l|

Varnish cache server

**** c1 c-l| **** c1 c-l| **** c1 bodylen = 251 ** c1 === expect resp.status == 503 **** c1 EXPECT resp.status (503) == "503" match *** c1 closing fd 18 ** c1 Ending **** dT 13.813 ** top === varnish v1 -vsl_catchup **** dT 13.857 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 49020 **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 11965 a0 127.0.0.1 49020 1746330988.162709 21 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_KEEPALIVE non heredity for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_SNDTIMEO non heredity for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_RCVTIMEO non heredity for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: Test confirmed TCP_NODELAY non heredity for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:49020 **** dT 13.858 **** v1 vsl| 1000 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1000 Link c req 1001 rxreq **** v1 vsl| 1002 Begin b bereq 1001 fetch **** v1 vsl| 1002 VCL_use b vcl1 **** v1 vsl| 1002 Timestamp b Start: 1746330988.165015 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** v1 vsl| 1002 BereqURL b /bar **** v1 vsl| 1002 BereqProtocol b HTTP/1.1 **** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b User-Agent: c1 **** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1002 BereqHeader b Encrypted: ROT52 **** v1 vsl| 1002 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1002 BereqHeader b X-Varnish: 1002 **** v1 vsl| 1002 VCL_call b BACKEND_FETCH **** v1 vsl| 1002 VCL_return b fetch **** v1 vsl| 1002 Timestamp b Fetch: 1746330988.165226 0.000211 0.000211 **** v1 vsl| 1002 Timestamp b Connected: 1746330988.166172 0.001156 0.000945 **** v1 vsl| 1002 BackendOpen b 24 s1 127.0.0.1 16543 127.0.0.1 26943 connect **** v1 vsl| 1002 Timestamp b Bereq: 1746330988.166854 0.001838 0.000682 **** v1 vsl| 1002 BerespProtocol b HTTP/1.1 **** v1 vsl| 1002 BerespStatus b 200 **** v1 vsl| 1002 BerespReason b OK **** v1 vsl| 1002 BerespHeader b foo: bAr **** v1 vsl| 1002 BerespHeader b bar: fOo **** v1 vsl| 1002 BerespHeader b Date: Sun, 04 May 2025 03:56:28 GMT **** v1 vsl| 1002 BerespHeader b Server: s1 **** v1 vsl| 1002 BerespHeader b Content-Length: 4 **** v1 vsl| 1002 Timestamp b Beresp: 1746330988.171560 0.006545 0.004706 **** v1 vsl| 1002 TTL b RFC 120 10 0 1746330988 1746330988 1746330988 0 0 cacheable **** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1002 VCL_return b deliver **** v1 vsl| 1002 Debug b Missing content-range header or unknown range unit **** v1 vsl| 1002 Timestamp b Process: 1746330988.172113 0.007097 0.000552 **** v1 vsl| 1002 Filters b **** v1 vsl| 1002 Storage b malloc s0 **** v1 vsl| 1002 Fetch_Body b 3 length stream **** v1 vsl| 1002 BackendClose b 24 s1 recycle **** v1 vsl| 1002 Timestamp b BerespBody: 1746330988.184987 0.019972 0.012874 **** v1 vsl| 1002 Length b 4 **** v1 vsl| 1002 BereqAcct b 169 0 169 107 4 111 **** v1 vsl| 1002 End b **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1001 Timestamp c Start: 1746330988.163547 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1746330988.163547 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 11965 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c /bar **** v1 vsl| 1001 ReqProtocol c HTTP/1.1 **** v1 vsl| 1001 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c User-Agent: c1 **** v1 vsl| 1001 ReqHeader c X-Forwarded-For: 127.0.0.1 **** dT 13.859 **** v1 vsl| 1001 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 VCL_call c RECV **** v1 vsl| 1001 ReqHeader c Encrypted: ROT52 **** v1 vsl| 1001 VCL_return c hash **** v1 vsl| 1001 VCL_call c HASH **** v1 vsl| 1001 VCL_return c lookup **** v1 vsl| 1001 VCL_call c MISS **** v1 vsl| 1001 VCL_return c fetch **** v1 vsl| 1001 Link c bereq 1002 fetch **** v1 vsl| 1001 Timestamp c Fetch: 1746330988.175356 0.011808 0.011808 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 200 **** v1 vsl| 1001 RespReason c OK **** v1 vsl| 1001 RespHeader c foo: bAr **** v1 vsl| 1001 RespHeader c bar: fOo **** v1 vsl| 1001 RespHeader c Date: Sun, 04 May 2025 03:56:28 GMT **** v1 vsl| 1001 RespHeader c Server: s1 **** v1 vsl| 1001 RespHeader c Content-Length: 4 **** v1 vsl| 1001 RespHeader c X-Varnish: 1001 **** v1 vsl| 1001 RespHeader c Age: 0 **** v1 vsl| 1001 RespHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 RespHeader c Accept-Ranges: bytes **** v1 vsl| 1001 VCL_call c DELIVER **** v1 vsl| 1001 RespHeader c who: Tollef **** v1 vsl| 1001 RespHeader c really: Poul-Henning **** v1 vsl| 1001 RespHeader c when: Thu, 01 Jan 1970 00:00:21 GMT **** v1 vsl| 1001 RespHeader c what: 56 **** v1 vsl| 1001 RespHeader c not: -1 **** v1 vsl| 1001 RespHeader c Encrypted: ROT52 **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1746330988.179754 0.016206 0.004398 **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: keep-alive **** v1 vsl| 1001 Timestamp c Resp: 1746330988.185496 0.021948 0.005741 **** v1 vsl| 1001 ReqAcct c 54 0 54 316 4 320 **** v1 vsl| 1001 End c **** v1 vsl| 1000 Link c req 1003 rxreq **** v1 vsl| 1003 Begin c req 1000 rxreq **** v1 vsl| 1003 Timestamp c Start: 1746330988.185840 0.000000 0.000000 **** v1 vsl| 1003 Timestamp c Req: 1746330988.185840 0.000000 0.000000 **** v1 vsl| 1003 VCL_use c vcl1 **** v1 vsl| 1003 ReqStart c 127.0.0.1 11965 a0 **** v1 vsl| 1003 ReqMethod c GET **** v1 vsl| 1003 ReqURL c /fail **** v1 vsl| 1003 ReqProtocol c HTTP/1.1 **** v1 vsl| 1003 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1003 ReqHeader c User-Agent: c1 **** v1 vsl| 1003 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1003 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1003 VCL_call c RECV **** v1 vsl| 1003 Debug c test_priv_task(0x21079080) = 0x2023ac98 (new) **** v1 vsl| 1003 VCL_Error c Failed from VCL **** v1 vsl| 1003 VCL_return c fail **** v1 vsl| 1003 Debug c priv_task_fini(0x2023ac98) **** v1 vsl| 1003 RespProtocol c HTTP/1.1 **** v1 vsl| 1003 RespStatus c 503 **** v1 vsl| 1003 RespReason c VCL failed **** v1 vsl| 1003 RespHeader c Date: Sun, 04 May 2025 03:56:28 GMT **** v1 vsl| 1003 RespHeader c Server: Varnish **** v1 vsl| 1003 RespHeader c X-Varnish: 1003 **** v1 vsl| 1003 VCL_call c SYNTH **** v1 vsl| 1003 ReqHeader c overwrite: the workspace to ensure we notice any unfinished privs **** dT 13.860 **** v1 vsl| 1003 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1003 RespHeader c Retry-After: 5 **** v1 vsl| 1003 VCL_return c deliver **** v1 vsl| 1003 Timestamp c Process: 1746330988.186687 0.000847 0.000847 **** v1 vsl| 1003 RespHeader c Content-Length: 251 **** v1 vsl| 1003 Storage c malloc Transient **** v1 vsl| 1003 Filters c **** v1 vsl| 1003 RespHeader c Connection: close **** v1 vsl| 1003 Timestamp c Resp: 1746330988.190518 0.004678 0.003831 **** v1 vsl| 1003 ReqAcct c 55 0 55 194 251 445 **** v1 vsl| 1003 End c **** v1 vsl| 1000 SessClose c VCL_FAILURE 0.028 **** v1 vsl| 1000 End c **** dT 13.914 ** top === client c1 { ** c1 Starting client **** dT 13.915 ** c1 Waiting for client ** c1 Started on 127.0.0.1:49020 (1 iterations) *** c1 Connect to 127.0.0.1:49020 **** dT 13.916 *** c1 connected fd 4 from 127.0.0.1 47773 to 127.0.0.1:49020 ** c1 === txreq -url "/priv-task-no-mem" **** dT 13.917 **** c1 txreq|GET /priv-task-no-mem HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 13.921 **** c1 rxhdr|HTTP/1.1 503 VCL failed\r **** c1 rxhdr|Date: Sun, 04 May 2025 03:56:28 GMT\r **** c1 rxhdr|Server: Varnish\r **** c1 rxhdr|X-Varnish: 1005\r **** c1 rxhdr|Content-Type: text/html; charset=utf-8\r **** c1 rxhdr|Retry-After: 5\r **** c1 rxhdr|Content-Length: 251\r **** c1 rxhdr|Connection: close\r **** c1 rxhdr|\r **** c1 rxhdrlen = 194 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |503 **** c1 http[ 2] |VCL failed **** dT 13.922 **** c1 http[ 3] |Date: Sun, 04 May 2025 03:56:28 GMT **** c1 http[ 4] |Server: Varnish **** c1 http[ 5] |X-Varnish: 1005 **** c1 http[ 6] |Content-Type: text/html; charset=utf-8 **** c1 http[ 7] |Retry-After: 5 **** c1 http[ 8] |Content-Length: 251 **** c1 http[ 9] |Connection: close **** c1 c-l| **** c1 c-l| **** c1 c-l| **** c1 c-l| 503 VCL failed **** c1 c-l| **** c1 c-l| **** c1 c-l|

Error 503 VCL failed

**** c1 c-l|

VCL failed

**** c1 c-l|

Guru Meditation:

**** c1 c-l|

XID: 1005

**** c1 c-l|
**** c1 c-l|

Varnish cache server

**** c1 c-l| **** c1 c-l| **** c1 bodylen = 251 ** c1 === expect resp.status == 503 **** c1 EXPECT resp.status (503) == "503" match *** c1 closing fd 4 ** c1 Ending **** dT 13.923 ** top === varnish v1 -vsl_catchup **** dT 13.961 **** v1 vsl| 1004 Begin c sess 0 HTTP/1 **** v1 vsl| 1004 SessOpen c 127.0.0.1 47773 a0 127.0.0.1 49020 1746330988.294751 22 **** v1 vsl| 1004 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1004 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:49020 **** v1 vsl| 1004 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1004 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1004 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:49020 **** dT 13.962 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1004 Link c req 1005 rxreq **** v1 vsl| 1005 Begin c req 1004 rxreq **** v1 vsl| 1005 Timestamp c Start: 1746330988.295339 0.000000 0.000000 **** v1 vsl| 1005 Timestamp c Req: 1746330988.295339 0.000000 0.000000 **** v1 vsl| 1005 VCL_use c vcl1 **** v1 vsl| 1005 ReqStart c 127.0.0.1 47773 a0 **** v1 vsl| 1005 ReqMethod c GET **** v1 vsl| 1005 ReqURL c /priv-task-no-mem **** v1 vsl| 1005 ReqProtocol c HTTP/1.1 **** v1 vsl| 1005 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1005 ReqHeader c User-Agent: c1 **** v1 vsl| 1005 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1005 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1005 VCL_call c RECV **** v1 vsl| 1005 Debug c test_priv_task(0x2026be34) = 0x2023afa8 (new) **** v1 vsl| 1005 VCL_Error c Failed from VCL **** v1 vsl| 1005 VCL_return c fail **** v1 vsl| 1005 Debug c priv_task_fini(0x2023afa8) **** v1 vsl| 1005 RespProtocol c HTTP/1.1 **** v1 vsl| 1005 RespStatus c 503 **** v1 vsl| 1005 RespReason c VCL failed **** v1 vsl| 1005 RespHeader c Date: Sun, 04 May 2025 03:56:28 GMT **** v1 vsl| 1005 RespHeader c Server: Varnish **** v1 vsl| 1005 RespHeader c X-Varnish: 1005 **** v1 vsl| 1005 VCL_call c SYNTH **** v1 vsl| 1005 ReqHeader c overwrite: the workspace to ensure we notice any unfinished privs **** v1 vsl| 1005 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1005 RespHeader c Retry-After: 5 **** v1 vsl| 1005 VCL_return c deliver **** v1 vsl| 1005 Timestamp c Process: 1746330988.296512 0.001173 0.001173 **** v1 vsl| 1005 RespHeader c Content-Length: 251 **** v1 vsl| 1005 Storage c malloc Transient **** v1 vsl| 1005 Filters c **** v1 vsl| 1005 RespHeader c Connection: close **** v1 vsl| 1005 Timestamp c Resp: 1746330988.300764 0.005424 0.004251 **** v1 vsl| 1005 ReqAcct c 67 0 67 194 251 445 **** v1 vsl| 1005 End c **** v1 vsl| 1004 SessClose c VCL_FAILURE 0.007 **** v1 vsl| 1004 End c **** dT 14.024 ** top === varnish v1 -expect DEBUG.count == 1 **** dT 14.025 ** v1 as expected: DEBUG.count (1) == 1 (1) ** top === logexpect l1 -v v1 -g raw -d 1 { **** dT 14.027 ** l1 === expect * 0 CLI {^Rd vcl.load} **** dT 14.028 ** l1 === expect 0 0 VCL_Log {^inside vcl_init} ** l1 === expect 0 0 Debug {VCL_EVENT_WARM} **** dT 14.029 ** l1 === expect * 1001 VCL_call {^DELIVER} ** l1 === expect 0 = RespHeader {^who: Tollef} ** l1 === expect 0 = RespHeader {^really: Poul-Henning} ** l1 === expect 0 = RespHeader {^when: Thu, 01 Jan 1970 00:00:21 G... ** l1 === expect 0 = RespHeader {^what: [1-9][0-9]} ** l1 === expect 0 = RespHeader {^not: -1} **** dT 14.030 ** l1 === expect 0 = RespHeader {^Encrypted: ROT52} ** l1 === expect 0 = VCL_return {^deliver} **** dT 14.031 ** l1 Waiting for logexp **** l1 begin| *** l1 test | expect * 0 CLI ^Rd vcl.load **** l1 match| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1746330974.849083/vgc.so 1auto *** l1 test | expect 0 0 VCL_Log ^inside vcl_init **** l1 match| 0 VCL_Log - inside vcl_init *** l1 test | expect 0 0 Debug VCL_EVENT_WARM **** l1 match| 0 Debug - vcl1: VCL_EVENT_WARM **** dT 14.032 *** l1 test | expect * 1001 VCL_call ^DELIVER **** l1 match| 1001 VCL_call c DELIVER *** l1 test | expect 0 = RespHeader ^who: Tollef **** l1 match| 1001 RespHeader c who: Tollef *** l1 test | expect 0 = RespHeader ^really: Poul-Henning **** l1 match| 1001 RespHeader c really: Poul-Henning *** l1 test | expect 0 = RespHeader ^when: Thu, 01 Jan 1970 00:00:21 GMT **** l1 match| 1001 RespHeader c when: Thu, 01 Jan 1970 00:00:21 GMT *** l1 test | expect 0 = RespHeader ^what: [1-9][0-9] **** l1 match| 1001 RespHeader c what: 56 *** l1 test | expect 0 = RespHeader ^not: -1 **** l1 match| 1001 RespHeader c not: -1 *** l1 test | expect 0 = RespHeader ^Encrypted: ROT52 **** l1 match| 1001 RespHeader c Encrypted: ROT52 *** l1 test | expect 0 = VCL_return ^deliver **** l1 match| 1001 VCL_return c deliver **** l1 done | **** dT 14.033 ** top === varnish v1 -errvcl {Wrong enum value. Expected one of:} { **** v1 CLI TX|vcl.inline vcl2 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.who = debug.author(ENUM); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 14.142 *** v1 CLI RX 106 **** dT 14.143 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Wrong enum value. Expected one of: **** v1 CLI RX|\tphk **** v1 CLI RX|\tdes **** v1 CLI RX|\tkristian **** v1 CLI RX|\tmithrandir **** v1 CLI RX|('' Line 5 Pos 50) **** v1 CLI RX| set resp.http.who = debug.author(ENUM); **** v1 CLI RX|-------------------------------------------------####-- **** v1 CLI RX| **** v1 CLI RX|Expected argument: ENUM person **** v1 CLI RX| **** v1 CLI RX|While compiling function call: **** v1 CLI RX| **** v1 CLI RX|('' Line 5 Pos 37) -- (Pos 49) **** v1 CLI RX| set resp.http.who = debug.author(ENUM); **** v1 CLI RX|------------------------------------#############------ **** v1 CLI RX| **** v1 CLI RX|Running VCC-compiler failed, exited with 2 **** v1 CLI RX|VCL compilation failed ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("Wrong enum value. Expected one of:") ** top === varnish v1 -errvcl {Wrong enum value. Expected one of:} { **** v1 CLI TX|vcl.inline vcl3 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.who = debug.author(slink); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 14.212 *** v1 CLI RX 106 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Wrong enum value. Expected one of: **** v1 CLI RX|\tphk **** v1 CLI RX|\tdes **** v1 CLI RX|\tkristian **** v1 CLI RX|\tmithrandir **** v1 CLI RX|('' Line 5 Pos 50) **** v1 CLI RX| set resp.http.who = debug.author(slink); **** v1 CLI RX|-------------------------------------------------#####-- **** v1 CLI RX| **** v1 CLI RX|Expected argument: ENUM person **** v1 CLI RX| **** v1 CLI RX|While compiling function call: **** v1 CLI RX| **** v1 CLI RX|('' Line 5 Pos 37) -- (Pos 49) **** v1 CLI RX| set resp.http.who = debug.author(slink); **** v1 CLI RX|------------------------------------#############------- **** v1 CLI RX| **** v1 CLI RX|Running VCC-compiler failed, exited with 2 **** v1 CLI RX|VCL compilation failed ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("Wrong enum value. Expected one of:") ** top === varnish v1 -errvcl {Expression has type STRING, expected REA... **** v1 CLI TX|vcl.inline vcl4 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport std; **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tset resp.http.who = std.random("foo", "bar"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 14.275 *** v1 CLI RX 106 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Expression has type STRING, expected REAL **** v1 CLI RX|('' Line 5 Pos 48) -- (Pos 52) **** v1 CLI RX| set resp.http.who = std.random("foo", "bar"); **** v1 CLI RX|-----------------------------------------------#####--------- **** v1 CLI RX| **** v1 CLI RX|Expected argument: REAL lo **** v1 CLI RX| **** v1 CLI RX|While compiling function call: **** v1 CLI RX| **** v1 CLI RX|('' Line 5 Pos 37) -- (Pos 52) **** v1 CLI RX| set resp.http.who = std.random("foo", "bar"); **** v1 CLI RX|------------------------------------################--------- **** v1 CLI RX| **** v1 CLI RX|Running VCC-compiler failed, exited with 2 **** v1 CLI RX|VCL compilation failed ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("Expression has type STRING, expected REAL") ** top === varnish v1 -errvcl {Symbol not found: 'obj'} { **** v1 CLI TX|vcl.inline vcl5 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\tsub vcl_hit { **** v1 CLI TX|\t\tdebug.rot52(obj); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 14.362 *** v1 CLI RX 106 **** dT 14.363 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Symbol not found: 'obj' **** v1 CLI RX|At: ('' Line 5 Pos 29) -- (Pos 31) **** v1 CLI RX| debug.rot52(obj); **** v1 CLI RX|----------------------------###-- **** v1 CLI RX| **** v1 CLI RX|Expected argument: HTTP hdr **** v1 CLI RX| **** v1 CLI RX|While compiling function call: **** v1 CLI RX| **** v1 CLI RX|('' Line 5 Pos 17) -- (Pos 31) **** v1 CLI RX| debug.rot52(obj); **** v1 CLI RX|----------------###############-- **** v1 CLI RX| **** v1 CLI RX|Running VCC-compiler failed, exited with 2 **** v1 CLI RX|VCL compilation failed ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("Symbol not found: 'obj'") ** top === varnish v1 -errvcl {Symbol not found: 'obj'} { **** v1 CLI TX|vcl.inline vcl6 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\tsub vcl_deliver { **** v1 CLI TX|\t\tdebug.rot52(obj); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 14.431 *** v1 CLI RX 106 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Symbol not found: 'obj' **** v1 CLI RX|At: ('' Line 5 Pos 29) -- (Pos 31) **** v1 CLI RX| debug.rot52(obj); **** v1 CLI RX|----------------------------###-- **** v1 CLI RX| **** v1 CLI RX|Expected argument: HTTP hdr **** v1 CLI RX| **** v1 CLI RX|While compiling function call: **** v1 CLI RX| **** v1 CLI RX|('' Line 5 Pos 17) -- (Pos 31) **** v1 CLI RX| debug.rot52(obj); **** v1 CLI RX|----------------###############-- **** v1 CLI RX| **** v1 CLI RX|Running VCC-compiler failed, exited with 2 **** v1 CLI RX|VCL compilation failed ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("Symbol not found: 'obj'") ** top === varnish v1 -errvcl {rot13: VFP already registered (per-vcl)}... **** v1 CLI TX|vcl.inline vcl7 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\tbackend none none; **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tdebug.rot104(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 14.673 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_LINGER for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_KEEPALIVE for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_NODELAY for a0=127.0.0.1:49020 **** dT 14.674 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPIDLE for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPCNT for a0=127.0.0.1:49020 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPINTVL for a0=127.0.0.1:49020 **** dT 23.030 *** v1 CLI RX 300 **** v1 CLI RX|VCL "vcl7" Failed initialization **** v1 CLI RX|Message: **** v1 CLI RX|\trot13: VFP already registered (per-vcl) ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("rot13: VFP already registered (per-vcl)") ** top === varnish v1 -errvcl {Failed from VCL} { **** dT 23.031 **** v1 CLI TX|vcl.inline vcl8 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\timport directors; **** v1 CLI TX|\tbackend default { .host = "127.0.0.1"; } **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\treturn (fail); **** v1 CLI TX|\t\t# uninitialized objects coverage **** v1 CLI TX|\t\tnew xyz = debug.obj(); **** v1 CLI TX|\t\tnew fb = directors.fallback(); **** v1 CLI TX|\t\tnew hsh = directors.hash(); **** v1 CLI TX|\t\tnew rnd = directors.random(); **** v1 CLI TX|\t\tnew rr = directors.round_robin(); **** v1 CLI TX|\t\tnew shd = directors.shard(); **** v1 CLI TX|\t\tnew shp = directors.shard_param(); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 23.092 **** v1 vsl| 0 CLI - Rd vcl.load vcl7 vcl_vcl7.1746330988.809659/vgc.so 1auto **** dT 23.093 **** v1 vsl| 0 CLI - Wr 300 83 VCL "vcl7" Failed initialization Message: rot13: VFP already registered (per-vcl) **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1746330997 1.0 **** dT 30.882 **** v1 vsl| 0 CLI - Rd vcl.load vcl8 vcl_vcl8.1746330997.423147/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 59 VCL "vcl8" Failed initialization Message: Failed from VCL **** dT 30.889 *** v1 CLI RX 300 **** v1 CLI RX|VCL "vcl8" Failed initialization **** v1 CLI RX|Message: **** v1 CLI RX|\tFailed from VCL ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("Failed from VCL") ** top === varnish v1 -errvcl {Failed initialization} { **** v1 CLI TX|vcl.inline vcl9 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport debug; **** v1 CLI TX|\tbackend none none; **** v1 CLI TX|\tsub vcl_init { **** v1 CLI TX|\t\tnew fails = debug.obj("fail"); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 30.984 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1746331005 1.0 **** dT 37.384 *** v1 CLI RX 300 **** v1 CLI RX|VCL "vcl9" Failed initialization **** v1 CLI RX|Message: **** v1 CLI RX|\tfailing as requested ** v1 VCL compilation failed (as expected) *** v1 Found expected string: ("Failed initialization") ** top === shell { **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\tcat >/root/VT/_vtest_tmp/vtc.55653.0ca87b2f/f1 <<-EOF **** top shell_cmd|\tvcl 4.1; **** top shell_cmd|\timport debug; **** top shell_cmd|\tbackend none none; **** top shell_cmd|\tsub vcl_init { **** top shell_cmd|\t\tnew fails = debug.obj("fail"); **** top shell_cmd|\t} **** top shell_cmd|\tEOF **** dT 37.414 **** top shell_status = 0x0000 ** top === varnish v1 -clierr 300 "vcl.load f1 ${tmpdir}/f1" **** dT 37.415 **** v1 CLI TX|vcl.load f1 /root/VT/_vtest_tmp/vtc.55653.0ca87b2f/f1 **** dT 37.431 **** v1 vsl| 0 CLI - Rd vcl.load vcl9 vcl_vcl9.1746331005.271183/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 64 VCL "vcl9" Failed initialization Message: failing as requested **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1746331011 1.0 **** dT 43.938 *** v1 CLI RX 300 **** v1 CLI RX|VCL "f1" Failed initialization **** v1 CLI RX|Message: **** v1 CLI RX|\tfailing as requested ** v1 CLI 300 ** top === shell -exit 1 -expect {failing as requested} { **** dT 43.939 **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\tvarnishadm -t 10 -n /root/VT/_vtest_tmp/vtc.55653.0ca87b2f/v1 vcl.load f1 /root/VT/_vtest_tmp/vtc.55653.0ca87b2f/f1 **** dT 43.985 **** v1 vsl| 0 CLI - Rd vcl.load f1 vcl_f1.1746331011.832463/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 62 VCL "f1" Failed initialization Message: failing as requested **** dT 44.088 **** v1 vsl| 0 CLI - Rd ping **** dT 44.089 **** v1 vsl| 0 CLI - Wr 200 19 PONG 1746331018 1.0 **** dT 51.131 **** v1 vsl| 0 CLI - Rd vcl.load f1 vcl_f1.1746331018.663610/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 62 VCL "f1" Failed initialization Message: failing as requested **** dT 51.132 **** top shell_out|VCL "f1" Failed initialization **** top shell_out|Message: **** top shell_out|\tfailing as requested **** top shell_out| **** top shell_out|Command failed with error code 300 **** top shell_status = 0x0001 **** top shell_expect found ** top === varnish v1 -cliok "param.set vcc_feature +allow_inline_c" **** v1 CLI TX|param.set vcc_feature +allow_inline_c **** dT 51.178 *** v1 CLI RX 200 ** v1 CLI 200 ** top === varnish v1 -vcl { **** dT 51.179 **** v1 CLI TX|vcl.inline vcl10 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\timport vtc; **** v1 CLI TX| **** v1 CLI TX|\tbackend be none; **** v1 CLI TX| **** v1 CLI TX|\tC{ **** v1 CLI TX|\t\tstruct zc { **** v1 CLI TX|\t\t\tsize_t\tz; **** v1 CLI TX|\t\t\tchar\tc; **** v1 CLI TX|\t\t}; **** v1 CLI TX|\t\tstruct ic { **** v1 CLI TX|\t\t\tint\ti; **** v1 CLI TX|\t\t\tchar\tc; **** v1 CLI TX|\t\t}; **** v1 CLI TX|\t\tstruct sc { **** v1 CLI TX|\t\t\tshort\ts; **** v1 CLI TX|\t\t\tchar\tc; **** v1 CLI TX|\t\t}; **** v1 CLI TX|\t\tstruct cc { **** v1 CLI TX|\t\t\tchar\tc1; **** v1 CLI TX|\t\t\tchar\tc2; **** v1 CLI TX|\t\t}; **** v1 CLI TX|\t\tstruct czc { **** v1 CLI TX|\t\t\tchar\tc1; **** v1 CLI TX|\t\t\tsize_t\tz; **** v1 CLI TX|\t\t\tchar\tc2; **** v1 CLI TX|\t\t}; **** v1 CLI TX|\t\tstruct cic { **** v1 CLI TX|\t\t\tchar\tc1; **** v1 CLI TX|\t\t\tint\ti; **** v1 CLI TX|\t\t\tchar\tc2; **** v1 CLI TX|\t\t}; **** v1 CLI TX|\t\tstruct csc { **** v1 CLI TX|\t\t\tchar\tc1; **** v1 CLI TX|\t\t\tshort\ts; **** v1 CLI TX|\t\t\tchar\tc2; **** v1 CLI TX|\t\t}; **** v1 CLI TX|\t\tstruct uzp { /* same as vrt_blob */ **** v1 CLI TX|\t\t\tunsigned\tu; **** v1 CLI TX|\t\t\tsize_t\t\tz; **** v1 CLI TX|\t\t\tvoid\t\t*p; **** v1 CLI TX|\t\t}; **** v1 CLI TX| **** v1 CLI TX|\t\t#define SETHDR(type)\t\t\t\t\t\ **** v1 CLI TX|\t\t\tVRT_SetHdr(\t\t\t\t\t\ **** v1 CLI TX|\t\t\t ctx,\t\t\t\t\t\ **** v1 CLI TX|\t\t\t &VGC_HDR_RESP_ ## type ## _2d_sizeof,\t\ **** v1 CLI TX|\t\t\t VRT_INT_string(ctx, sizeof(struct type)),\t\ **** v1 CLI TX|\t\t\t 0\t\t\t\t\t\t\ **** v1 CLI TX|\t\t\t) **** v1 CLI TX|\t}C **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_synth { **** v1 CLI TX|\t\tC{ SETHDR(zc); }C **** v1 CLI TX|\t\tset resp.http.zc-typesize = vtc.typesize("zc"); **** v1 CLI TX|\t\tset resp.http.zc-match = **** v1 CLI TX|\t\t (resp.http.zc-sizeof == resp.http.zc-typesize); **** v1 CLI TX| **** v1 CLI TX|\t\tC{ SETHDR(ic); }C **** v1 CLI TX|\t\tset resp.http.ic-typesize = vtc.typesize("ic"); **** v1 CLI TX|\t\tset resp.http.ic-match = **** v1 CLI TX|\t\t (resp.http.ic-sizeof == resp.http.ic-typesize); **** v1 CLI TX| **** v1 CLI TX|\t\tC{ SETHDR(sc); }C **** v1 CLI TX|\t\tset resp.http.sc-typesize = vtc.typesize("sc"); **** v1 CLI TX|\t\tset resp.http.sc-match = **** v1 CLI TX|\t\t (resp.http.sc-sizeof == resp.http.sc-typesize); **** v1 CLI TX| **** v1 CLI TX|\t\tC{ SETHDR(cc); }C **** v1 CLI TX|\t\tset resp.http.cc-typesize = vtc.typesize("cc"); **** v1 CLI TX|\t\tset resp.http.cc-match = **** v1 CLI TX|\t\t (resp.http.cc-sizeof == resp.http.cc-typesize); **** v1 CLI TX| **** v1 CLI TX|\t\tC{ SETHDR(czc); }C **** v1 CLI TX|\t\tset resp.http.czc-typesize = vtc.typesize("czc"); **** v1 CLI TX|\t\tset resp.http.czc-match = **** v1 CLI TX|\t\t (resp.http.czc-sizeof == resp.http.czc-typesize); **** v1 CLI TX| **** v1 CLI TX|\t\tC{ SETHDR(cic); }C **** v1 CLI TX|\t\tset resp.http.cic-typesize = vtc.typesize("cic"); **** v1 CLI TX|\t\tset resp.http.cic-match = **** v1 CLI TX|\t\t (resp.http.cic-sizeof == resp.http.cic-typesize); **** v1 CLI TX| **** v1 CLI TX|\t\tC{ SETHDR(csc); }C **** v1 CLI TX|\t\tset resp.http.csc-typesize = vtc.typesize("csc"); **** v1 CLI TX|\t\tset resp.http.csc-match = **** v1 CLI TX|\t\t (resp.http.csc-sizeof == resp.http.csc-typesize); **** v1 CLI TX| **** v1 CLI TX|\t\tC{ SETHDR(uzp); }C **** v1 CLI TX|\t\tset resp.http.uzp-typesize = vtc.typesize("uzp"); **** v1 CLI TX|\t\tset resp.http.uzp-match = **** v1 CLI TX|\t\t (resp.http.uzp-sizeof == resp.http.uzp-typesize); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 51.233 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1746331025 1.0 **** dT 57.780 *** v1 CLI RX 200 **** v1 CLI TX|vcl.use vcl10 **** dT 57.784 **** v1 vsl| 0 CLI - Rd vcl.load vcl10 vcl_vcl10.1746331025.557761/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 54 Loaded "vcl_vcl10.1746331025.557761/vgc.so" as "vcl10" **** dT 57.785 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1746331032 1.0 **** dT 57.824 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl10' now active ** top === client c1 { ** c1 Starting client ** c1 Waiting for client **** dT 57.825 ** c1 Started on 127.0.0.1:49020 (1 iterations) *** c1 Connect to 127.0.0.1:49020 **** dT 57.826 *** c1 connected fd 22 from 127.0.0.1 10930 to 127.0.0.1:49020 ** c1 === txreq **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 57.834 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|Date: Sun, 04 May 2025 03:57:12 GMT\r **** c1 rxhdr|Server: Varnish\r **** c1 rxhdr|X-Varnish: 1007\r **** c1 rxhdr|zc-sizeof: 8\r **** c1 rxhdr|zc-typesize: 8\r **** c1 rxhdr|zc-match: true\r **** c1 rxhdr|ic-sizeof: 8\r **** c1 rxhdr|ic-typesize: 8\r **** c1 rxhdr|ic-match: true\r **** c1 rxhdr|sc-sizeof: 4\r **** c1 rxhdr|sc-typesize: 4\r **** c1 rxhdr|sc-match: true\r **** c1 rxhdr|cc-sizeof: 2\r **** c1 rxhdr|cc-typesize: 2\r **** c1 rxhdr|cc-match: true\r **** c1 rxhdr|czc-sizeof: 12\r **** c1 rxhdr|czc-typesize: 12\r **** c1 rxhdr|czc-match: true\r **** c1 rxhdr|cic-sizeof: 12\r **** c1 rxhdr|cic-typesize: 12\r **** c1 rxhdr|cic-match: true\r **** c1 rxhdr|csc-sizeof: 6\r **** c1 rxhdr|csc-typesize: 6\r **** c1 rxhdr|csc-match: true\r **** c1 rxhdr|uzp-sizeof: 12\r **** c1 rxhdr|uzp-typesize: 12\r **** c1 rxhdr|uzp-match: true\r **** c1 rxhdr|Content-Type: text/html; charset=utf-8\r **** c1 rxhdr|Retry-After: 5\r **** c1 rxhdr|Content-Length: 227\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 577 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |Date: Sun, 04 May 2025 03:57:12 GMT **** c1 http[ 4] |Server: Varnish **** c1 http[ 5] |X-Varnish: 1007 **** c1 http[ 6] |zc-sizeof: 8 **** c1 http[ 7] |zc-typesize: 8 **** c1 http[ 8] |zc-match: true **** c1 http[ 9] |ic-sizeof: 8 **** c1 http[10] |ic-typesize: 8 **** c1 http[11] |ic-match: true **** c1 http[12] |sc-sizeof: 4 **** c1 http[13] |sc-typesize: 4 **** c1 http[14] |sc-match: true **** c1 http[15] |cc-sizeof: 2 **** c1 http[16] |cc-typesize: 2 **** c1 http[17] |cc-match: true **** c1 http[18] |czc-sizeof: 12 **** c1 http[19] |czc-typesize: 12 **** c1 http[20] |czc-match: true **** dT 57.835 **** c1 http[21] |cic-sizeof: 12 **** c1 http[22] |cic-typesize: 12 **** c1 http[23] |cic-match: true **** c1 http[24] |csc-sizeof: 6 **** c1 http[25] |csc-typesize: 6 **** c1 http[26] |csc-match: true **** c1 http[27] |uzp-sizeof: 12 **** c1 http[28] |uzp-typesize: 12 **** c1 http[29] |uzp-match: true **** c1 http[30] |Content-Type: text/html; charset=utf-8 **** c1 http[31] |Retry-After: 5 **** c1 http[32] |Content-Length: 227 **** c1 http[33] |Connection: keep-alive **** c1 c-l| **** c1 c-l| **** c1 c-l| **** c1 c-l| 200 OK **** c1 c-l| **** c1 c-l| **** c1 c-l|

Error 200 OK

**** c1 c-l|

OK

**** c1 c-l|

Guru Meditation:

**** c1 c-l|

XID: 1007

**** c1 c-l|
**** c1 c-l|

Varnish cache server

**** c1 c-l| **** c1 c-l| **** c1 bodylen = 227 ** c1 === expect resp.http.zc-match == true **** c1 EXPECT resp.http.zc-match (true) == "true" match ** c1 === expect resp.http.ic-match == true **** c1 EXPECT resp.http.ic-match (true) == "true" match ** c1 === expect resp.http.sc-match == true **** c1 EXPECT resp.http.sc-match (true) == "true" match ** c1 === expect resp.http.cc-match == true **** c1 EXPECT resp.http.cc-match (true) == "true" match ** c1 === expect resp.http.czc-match == true **** c1 EXPECT resp.http.czc-match (true) == "true" match ** c1 === expect resp.http.cic-match == true **** c1 EXPECT resp.http.cic-match (true) == "true" match ** c1 === expect resp.http.csc-match == true **** c1 EXPECT resp.http.csc-match (true) == "true" match ** c1 === expect resp.http.uzp-match == true **** c1 EXPECT resp.http.uzp-match (true) == "true" match *** c1 closing fd 22 **** dT 57.836 ** c1 Ending **** dT 57.838 ** top === varnish v1 -vsl_catchup **** dT 57.888 **** v1 vsl| 0 CLI - Rd vcl.use vcl10 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 1006 Begin c sess 0 HTTP/1 **** v1 vsl| 1006 SessOpen c 127.0.0.1 10930 a0 127.0.0.1 49020 1746331032.204152 21 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary SO_KEEPALIVE for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary SO_SNDTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary SO_RCVTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary TCP_NODELAY for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:49020 **** v1 vsl| 1006 Link c req 1007 rxreq **** v1 vsl| 1007 Begin c req 1006 rxreq **** v1 vsl| 1007 Timestamp c Start: 1746331032.204685 0.000000 0.000000 **** v1 vsl| 1007 Timestamp c Req: 1746331032.204685 0.000000 0.000000 **** v1 vsl| 1007 VCL_use c vcl10 **** v1 vsl| 1007 ReqStart c 127.0.0.1 10930 a0 **** v1 vsl| 1007 ReqMethod c GET **** v1 vsl| 1007 ReqURL c / **** v1 vsl| 1007 ReqProtocol c HTTP/1.1 **** v1 vsl| 1007 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1007 ReqHeader c User-Agent: c1 **** v1 vsl| 1007 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1007 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1007 VCL_call c RECV **** v1 vsl| 1007 VCL_return c synth **** v1 vsl| 1007 VCL_call c HASH **** v1 vsl| 1007 VCL_return c lookup **** v1 vsl| 1007 RespProtocol c HTTP/1.1 **** v1 vsl| 1007 RespStatus c 200 **** v1 vsl| 1007 RespReason c OK **** v1 vsl| 1007 RespHeader c Date: Sun, 04 May 2025 03:57:12 GMT **** v1 vsl| 1007 RespHeader c Server: Varnish **** v1 vsl| 1007 RespHeader c X-Varnish: 1007 **** v1 vsl| 1007 VCL_call c SYNTH **** v1 vsl| 1007 RespHeader c zc-sizeof: 8 **** v1 vsl| 1007 RespHeader c zc-typesize: 8 **** v1 vsl| 1007 RespHeader c zc-match: true **** v1 vsl| 1007 RespHeader c ic-sizeof: 8 **** v1 vsl| 1007 RespHeader c ic-typesize: 8 **** v1 vsl| 1007 RespHeader c ic-match: true **** v1 vsl| 1007 RespHeader c sc-sizeof: 4 **** v1 vsl| 1007 RespHeader c sc-typesize: 4 **** v1 vsl| 1007 RespHeader c sc-match: true **** v1 vsl| 1007 RespHeader c cc-sizeof: 2 **** dT 57.889 **** v1 vsl| 1007 RespHeader c cc-typesize: 2 **** v1 vsl| 1007 RespHeader c cc-match: true **** v1 vsl| 1007 RespHeader c czc-sizeof: 12 **** v1 vsl| 1007 RespHeader c czc-typesize: 12 **** v1 vsl| 1007 RespHeader c czc-match: true **** v1 vsl| 1007 RespHeader c cic-sizeof: 12 **** v1 vsl| 1007 RespHeader c cic-typesize: 12 **** v1 vsl| 1007 RespHeader c cic-match: true **** v1 vsl| 1007 RespHeader c csc-sizeof: 6 **** v1 vsl| 1007 RespHeader c csc-typesize: 6 **** v1 vsl| 1007 RespHeader c csc-match: true **** v1 vsl| 1007 RespHeader c uzp-sizeof: 12 **** v1 vsl| 1007 RespHeader c uzp-typesize: 12 **** v1 vsl| 1007 RespHeader c uzp-match: true **** v1 vsl| 1007 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1007 RespHeader c Retry-After: 5 **** v1 vsl| 1007 VCL_return c deliver **** v1 vsl| 1007 Timestamp c Process: 1746331032.205803 0.001118 0.001118 **** v1 vsl| 1007 RespHeader c Content-Length: 227 **** v1 vsl| 1007 Storage c malloc Transient **** v1 vsl| 1007 Filters c **** v1 vsl| 1007 RespHeader c Connection: keep-alive **** v1 vsl| 1007 Timestamp c Resp: 1746331032.214166 0.009480 0.008362 **** v1 vsl| 1007 ReqAcct c 51 0 51 577 227 804 **** v1 vsl| 1007 End c **** v1 vsl| 1006 SessClose c REM_CLOSE 0.011 **** v1 vsl| 1006 End c **** dT 57.940 ** top === varnish v1 -vcl+backend { } **** v1 CLI TX|vcl.inline vcl11 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "16543"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P # top TEST ../../../../bin/varnishtest/tests/m00000.vtc TIMED OUT (kill -9) # top TEST ../../../../bin/varnishtest/tests/m00000.vtc FAILED (60.033) signal=9 FAIL tests/m00000.vtc (exit status: 2)