**** 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:17453 **** 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.99966.2ab1b5db **** top macro def vtcid=vtc.99966.2ab1b5db **** 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=11892 **** s1 macro def s1_sock=127.0.0.1:11892 * s1 Listen on 127.0.0.1:11892 ** top === varnish v1 -vcl+backend { **** dT 0.009 ** s1 Started on 127.0.0.1:11892 (1 iterations) **** dT 0.074 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /root/VT/_vtest_tmp/vtc.99966.2ab1b5db/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 36058' -P /root/VT/_vtest_tmp/vtc.99966.2ab1b5db/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.99966.2ab1b5db/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 36058' -P /root/VT/_vtest_tmp/vtc.99966.2ab1b5db/v1/varnishd.pid -p vmod_path=/root/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs **** dT 0.077 *** v1 PID: 99982 **** dT 0.078 **** v1 macro def v1_pid=99982 **** v1 macro def v1_name=/root/VT/_vtest_tmp/vtc.99966.2ab1b5db/v1 **** dT 0.337 *** v1 debug|Debug: Version: varnish-trunk revision 11aa2c982807e9ffc312839700c1b9bc6e671bf2 **** dT 0.344 *** v1 debug|Debug: Platform: FreeBSD,13.3-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.3-RELEASE,arm,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision 11aa2c982807e9ffc312839700c1b9bc6e671bf2 *** 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.410 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 **** dT 0.413 *** v1 CLI RX 107 **** v1 CLI RX|agujcuarvnxqomvnajnuixgkhpfzbyis **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.415 **** v1 CLI TX|auth 8ede12af481be8b5f9a60d43333b4b199d3fadbb860bd522457c00f18e8e27ab **** dT 0.419 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|FreeBSD,13.3-RELEASE,arm,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision 11aa2c982807e9ffc312839700c1b9bc6e671bf2 **** 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.421 **** 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 = "11892"; } **** 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.533 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.638 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.744 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.856 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.962 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.072 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.175 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.280 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.384 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.488 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.592 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.696 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.801 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.938 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.040 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.143 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.245 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.348 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.450 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.554 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.657 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.759 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.864 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.981 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.090 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.197 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.298 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.401 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.504 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.611 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.713 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.815 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.918 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.022 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.125 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.226 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.328 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.430 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.532 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.634 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.736 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.838 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.941 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.043 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.145 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.249 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.353 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.455 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.560 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.662 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.765 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.867 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.969 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.073 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.174 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.276 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.377 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.478 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.580 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.682 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.784 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.886 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.988 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.090 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.192 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.294 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.396 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.498 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.600 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.702 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.804 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 7.906 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.007 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.108 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.210 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.312 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.416 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.517 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.620 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.721 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.760 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 8.801 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 8.822 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 8.900 *** v1 debug|Debug: Child (99992) Started **** dT 8.924 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.026 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 9.427 *** v1 debug|Child launched OK **** dT 9.527 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status **** dT 9.528 *** v1 debug|Info: Child (99992) said Child starts **** dT 9.537 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1713323018.011970/vgc.so 1auto **** 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.1713323018.011970/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:51730 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:51730 **** dT 9.538 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:51730 **** v1 vsl| 0 Error - Kernel filtering: sock=3, errno=2 No such file or directory **** v1 vsl| 0 CLI - Wr 200 0 **** dT 9.568 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 9.612 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 51730 **** v1 CLI TX|debug.xid 1000 **** dT 9.639 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 51730 **** dT 9.672 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 9.725 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 51730 **** dT 9.726 ** v1 Listen on 127.0.0.1 51730 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=51730 **** v1 macro def v1_sock=127.0.0.1:51730 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=51730 **** v1 macro def v1_a0_sock=127.0.0.1:51730 ** top === varnish v1 -expect DEBUG.count == 0 **** dT 9.744 ** v1 as expected: DEBUG.count (0) == 0 (0) ** top === client c1 { ** c1 Starting client **** dT 9.745 ** c1 Waiting for client ** c1 Started on 127.0.0.1:51730 (1 iterations) *** c1 Connect to 127.0.0.1:51730 **** dT 9.746 *** c1 connected fd 18 from 127.0.0.1 60200 to 127.0.0.1:51730 **** dT 9.747 ** 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 ** c1 === rxresp **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** v1 vsl| 0 CLI - Rd debug.listen_address **** dT 9.748 **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 51730 **** dT 9.793 *** s1 accepted fd 4 127.0.0.1 17651 **** dT 9.794 ** s1 === rxreq **** dT 9.795 **** 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 **** dT 9.796 **** 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 9.798 **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|foo: bAr\r **** s1 txresp|bar: fOo\r **** s1 txresp|Date: Wed, 17 Apr 2024 03:03:47 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 4\r **** s1 txresp|\r **** s1 txresp|!"# **** dT 9.799 *** s1 shutting fd 4 **** dT 9.800 ** s1 Ending **** dT 9.838 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|foo: bAr\r **** c1 rxhdr|bar: fOo\r **** c1 rxhdr|Date: Wed, 17 Apr 2024 03:03:47 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 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |foo: bAr **** c1 http[ 4] |bar: fOo **** c1 http[ 5] |Date: Wed, 17 Apr 2024 03:03:47 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 **** dT 9.839 **** 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 ** c1 === rxresp **** dT 9.842 **** c1 rxhdr|HTTP/1.1 503 VCL failed\r **** c1 rxhdr|Date: Wed, 17 Apr 2024 03:03:47 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 **** dT 9.843 **** c1 rxhdrlen = 194 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |503 **** c1 http[ 2] |VCL failed **** c1 http[ 3] |Date: Wed, 17 Apr 2024 03:03:47 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 9.844 ** top === varnish v1 -vsl_catchup **** dT 9.850 **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** dT 9.851 **** v1 vsl| 1000 SessOpen c 127.0.0.1 60200 a0 127.0.0.1 51730 1713323027.304323 20 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_KEEPALIVE non heredity for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_SNDTIMEO non heredity for a0=127.0.0.1:51730 **** dT 9.852 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_RCVTIMEO non heredity for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: Test confirmed TCP_NODELAY non heredity for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:51730 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:51730 **** 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: 1713323027.334317 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** dT 9.853 **** 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: 1713323027.338737 0.004420 0.004420 **** v1 vsl| 1002 Timestamp b Connected: 1713323027.339581 0.005264 0.000844 **** v1 vsl| 1002 BackendOpen b 23 s1 127.0.0.1 11892 127.0.0.1 17651 connect **** v1 vsl| 1002 Timestamp b Bereq: 1713323027.340195 0.005878 0.000614 **** 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: Wed, 17 Apr 2024 03:03:47 GMT **** v1 vsl| 1002 BerespHeader b Server: s1 **** v1 vsl| 1002 BerespHeader b Content-Length: 4 **** v1 vsl| 1002 Timestamp b Beresp: 1713323027.347959 0.013642 0.007764 **** v1 vsl| 1002 TTL b RFC 120 10 0 1713323027 1713323027 1713323027 0 0 cacheable **** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1002 VCL_return b deliver **** v1 vsl| 1002 Timestamp b Process: 1713323027.348513 0.014196 0.000554 **** 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 23 s1 recycle **** v1 vsl| 1002 Timestamp b BerespBody: 1713323027.381422 0.047105 0.032908 **** 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: 1713323027.308846 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1713323027.308846 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 60200 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 **** 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: 1713323027.362049 0.053203 0.053203 **** 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 **** dT 9.854 **** v1 vsl| 1001 RespHeader c Date: Wed, 17 Apr 2024 03:03:47 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: 1713323027.384152 0.075305 0.022102 **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: keep-alive **** v1 vsl| 1001 Timestamp c Resp: 1713323027.388865 0.080019 0.004713 **** 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: 1713323027.389139 0.000000 0.000000 **** v1 vsl| 1003 Timestamp c Req: 1713323027.389139 0.000000 0.000000 **** v1 vsl| 1003 VCL_use c vcl1 **** v1 vsl| 1003 ReqStart c 127.0.0.1 60200 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(0x210756b0) = 0x20224c98 (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(0x20224c98) **** 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: Wed, 17 Apr 2024 03:03:47 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 **** 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: 1713323027.389923 0.000783 0.000783 **** 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: 1713323027.393794 0.004654 0.003870 **** v1 vsl| 1003 ReqAcct c 55 0 55 194 251 445 **** v1 vsl| 1003 End c **** v1 vsl| 1000 SessClose c VCL_FAILURE 0.090 **** v1 vsl| 1000 End c **** dT 9.944 ** top === client c1 { **** dT 9.945 ** c1 Starting client ** c1 Waiting for client ** c1 Started on 127.0.0.1:51730 (1 iterations) *** c1 Connect to 127.0.0.1:51730 **** dT 9.946 *** c1 connected fd 4 from 127.0.0.1 54541 to 127.0.0.1:51730 **** dT 9.947 ** c1 === txreq -url "/priv-task-no-mem" **** 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 9.956 **** c1 rxhdr|HTTP/1.1 503 VCL failed\r **** c1 rxhdr|Date: Wed, 17 Apr 2024 03:03:47 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 **** c1 http[ 3] |Date: Wed, 17 Apr 2024 03:03:47 GMT **** dT 9.957 **** 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 9.958 ** top === varnish v1 -vsl_catchup **** v1 vsl| 1004 Begin c sess 0 HTTP/1 **** v1 vsl| 1004 SessOpen c 127.0.0.1 54541 a0 127.0.0.1 51730 1713323027.499541 21 **** v1 vsl| 1004 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:51730 **** v1 vsl| 1004 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:51730 **** v1 vsl| 1004 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 1004 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 1004 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:51730 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:51730 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:51730 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:51730 **** v1 vsl| 1004 Link c req 1005 rxreq **** dT 10.060 ** top === varnish v1 -expect DEBUG.count == 1 **** dT 10.061 ** v1 as expected: DEBUG.count (1) == 1 (1) ** top === logexpect l1 -v v1 -g raw -d 1 { **** dT 10.063 ** l1 === expect * 0 CLI {^Rd vcl.load} **** dT 10.064 ** l1 === expect 0 0 VCL_Log {^inside vcl_init} ** l1 === expect 0 0 Debug {VCL_EVENT_WARM} **** dT 10.065 ** 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 10.066 ** l1 === expect 0 = RespHeader {^Encrypted: ROT52} ** l1 === expect 0 = VCL_return {^deliver} **** dT 10.067 ** l1 Waiting for logexp **** l1 begin| *** l1 test | expect * 0 CLI ^Rd vcl.load **** l1 match| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1713323018.011970/vgc.so 1auto *** l1 test | expect 0 0 VCL_Log ^inside vcl_init **** dT 10.068 **** 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 *** 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 10.069 ** 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 10.070 **** v1 vsl| 1005 Begin c req 1004 rxreq **** v1 vsl| 1005 Timestamp c Start: 1713323027.501937 0.000000 0.000000 **** v1 vsl| 1005 Timestamp c Req: 1713323027.501937 0.000000 0.000000 **** v1 vsl| 1005 VCL_use c vcl1 **** v1 vsl| 1005 ReqStart c 127.0.0.1 54541 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(0x210ccd74) = 0x20224fa8 (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(0x20224fa8) **** 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: Wed, 17 Apr 2024 03:03:47 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: 1713323027.503683 0.001746 0.001746 **** 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: 1713323027.508407 0.006470 0.004723 **** v1 vsl| 1005 ReqAcct c 67 0 67 194 251 445 **** v1 vsl| 1005 End c **** v1 vsl| 1004 SessClose c VCL_FAILURE 0.009 **** v1 vsl| 1004 End c **** dT 10.168 *** 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(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) **** dT 10.169 *** 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 10.270 *** 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 10.380 *** v1 CLI RX 106 **** dT 10.381 **** 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 10.532 *** 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 {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 10.578 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_LINGER for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_KEEPALIVE for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_NODELAY for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPIDLE for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPCNT for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPINTVL for a0=127.0.0.1:51730 **** dT 10.630 *** 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)}... **** dT 10.631 **** 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 11.597 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_LINGER for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_KEEPALIVE for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_RCVTIMEO for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_NODELAY for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPIDLE for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPCNT for a0=127.0.0.1:51730 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPINTVL for a0=127.0.0.1:51730 **** dT 17.691 *** 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 17.692 **** 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 17.718 **** v1 vsl| 0 CLI - Rd vcl.load vcl7 vcl_vcl7.1713323028.181027/vgc.so 1auto **** 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 1713323035 1.0 **** dT 23.844 *** 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 23.928 **** v1 vsl| 0 CLI - Rd vcl.load vcl8 vcl_vcl8.1713323035.244661/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 59 VCL "vcl8" Failed initialization Message: Failed from VCL **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1713323041 1.0 **** dT 29.842 *** 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|exec 2>&1 ; **** top shell_cmd|\tcat >/root/VT/_vtest_tmp/vtc.99966.2ab1b5db/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 29.865 **** v1 vsl| 0 CLI - Rd vcl.load vcl9 vcl_vcl9.1713323041.396746/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 64 VCL "vcl9" Failed initialization Message: failing as requested **** dT 29.872 **** top shell_status = 0x0000 ** top === varnish v1 -clierr 300 "vcl.load f1 ${tmpdir}/f1" **** v1 CLI TX|vcl.load f1 /root/VT/_vtest_tmp/vtc.99966.2ab1b5db/f1 **** dT 29.967 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1713323047 1.0 **** dT 35.840 *** 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} { **** top shell_cmd|exec 2>&1 ; **** top shell_cmd|\tvarnishadm -t 10 -n /root/VT/_vtest_tmp/vtc.99966.2ab1b5db/v1 vcl.load f1 /root/VT/_vtest_tmp/vtc.99966.2ab1b5db/f1 **** dT 35.885 **** v1 vsl| 0 CLI - Rd vcl.load f1 vcl_f1.1713323047.462591/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 62 VCL "f1" Failed initialization Message: failing as requested **** dT 35.987 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1713323053 1.0 **** dT 46.072 **** top shell_out|CLI communication error (hdr) **** top shell_status = 0x0002 ---- top shell_exit not as expected: got 0x0002 wanted 0x0001 * top RESETTING after ../../../../bin/varnishtest/tests/m00000.vtc **** dT 46.073 ** s1 Waiting for server (3/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 47.468 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 47.469 *** v1 debug|Info: manager stopping child **** dT 47.471 *** v1 debug|Debug: Stopping Child **** dT 47.476 **** v1 vsl| 0 CLI - Rd vcl.load f1 vcl_f1.1713323053.603918/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 300 62 VCL "f1" Failed initialization Message: failing as requested **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1713323065 1.0 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 47.487 *** v1 debug|Info: Child (99992) said Child dies **** dT 47.490 *** v1 debug|Info: Child (99992) ended **** dT 47.493 *** v1 debug|Debug: Child cleanup complete **** dT 47.495 *** v1 debug|Info: manager dies **** dT 47.516 **** v1 STDOUT EOF **** dT 47.580 ** v1 WAIT4 pid=99982 status=0x0000 (user 30.775822 sys 2.777119) **** dT 47.584 * top TEST ../../../../bin/varnishtest/tests/m00000.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/m00000.vtc FAILED (47.597) exit=2 FAIL tests/m00000.vtc (exit status: 2)