**** dT 0.001 * top TEST ../../../vmod/tests/blob_b00011.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/vmod **** 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:42558 **** 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/../.. **** top macro def testdir=/root/VT/varnish-cache/varnish-trunk/_build/sub/vmod/../../../vmod/tests **** dT 0.002 **** top macro def tmpdir=/root/VT/_vtest_tmp/vtc.53189.3fec064a **** top macro def vtcid=vtc.53189.3fec064a **** dT 0.003 ** top === varnishtest "VMOD blob workspace overflow conditions" * top VTEST VMOD blob workspace overflow conditions ** top === varnish v1 -cliok "param.set vcc_feature -err_unref" **** dT 0.035 ** v1 Launch **** dT 0.036 *** v1 CMD: cd ${pwd} && exec varnishd -d -n /root/VT/_vtest_tmp/vtc.53189.3fec064a/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 12434' -P /root/VT/_vtest_tmp/vtc.53189.3fec064a/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/vmod && exec varnishd -d -n /root/VT/_vtest_tmp/vtc.53189.3fec064a/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 12434' -P /root/VT/_vtest_tmp/vtc.53189.3fec064a/v1/varnishd.pid -p vmod_path=/root/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs **** dT 0.038 *** v1 PID: 53205 **** dT 0.039 **** v1 macro def v1_pid=53205 **** v1 macro def v1_name=/root/VT/_vtest_tmp/vtc.53189.3fec064a/v1 **** dT 0.171 *** v1 debug|Debug: Version: varnish-trunk revision 09cd9d4be60e6d09ee9915ced766c596c8482ac0 **** dT 0.172 *** v1 debug|Debug: Platform: FreeBSD,13.5-RELEASE,arm,-jnone,-sdefault,-sdefault,-hcritbit **** dT 0.173 *** 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 09cd9d4be60e6d09ee9915ced766c596c8482ac0 *** 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.254 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 4 **** dT 0.256 *** v1 CLI RX 107 **** v1 CLI RX|nnhhemebdlmixezwtoowevjtxiiytfbp **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.259 **** v1 CLI TX|auth a61bc5a34a9aa5587ef5cc8a7daec669605e4a15580ff924f33e0e08efbef898 **** dT 0.263 *** 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 09cd9d4be60e6d09ee9915ced766c596c8482ac0 **** 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.264 **** v1 CLI TX|param.set vcc_feature -err_unref **** dT 0.305 *** v1 CLI RX 200 ** v1 CLI 200 ** top === varnish v1 -cliok "param.set debug +syncvsl" **** v1 CLI TX|param.set debug +syncvsl **** dT 0.348 *** v1 CLI RX 200 ** v1 CLI 200 ** top === shell { **** top shell_cmd|set -e ;exec 2>&1 ; **** top shell_cmd|\tcat >vrt_blob.vcl <<-EOF **** top shell_cmd|\timport blob; **** top shell_cmd|\timport std; **** top shell_cmd|\timport vtc; **** top shell_cmd| **** top shell_cmd|\tbackend be none; **** top shell_cmd| **** top shell_cmd|\tsub vcl_recv { **** top shell_cmd|\t\tset req.http.vrt_blob = vtc.typesize("uzp"); **** top shell_cmd|\t} **** top shell_cmd| **** top shell_cmd|\tsub shrink { **** top shell_cmd|\t\tstd.log("shrink"); **** top shell_cmd|\t\tvtc.workspace_alloc(client, -std.integer(req.http.leave)); **** top shell_cmd|\t} **** top shell_cmd| **** top shell_cmd|\tsub leave_struct { **** top shell_cmd|\t\tset req.http.leave = std.integer(req.http.vrt_blob); **** top shell_cmd|\t\tcall shrink; **** top shell_cmd|\t} **** top shell_cmd| **** top shell_cmd|\tsub leave_half_struct { **** top shell_cmd|\t\tset req.http.leave = std.integer(req.http.vrt_blob) / 2; **** top shell_cmd|\t\tcall shrink; **** top shell_cmd|\t} **** top shell_cmd| **** top shell_cmd|\tsub leave_blob { **** top shell_cmd|\t\tset req.http.leave = std.integer(req.http.vrt_blob) + **** top shell_cmd|\t\t std.integer(req.http.blob); **** top shell_cmd|\t\tcall shrink; **** top shell_cmd|\t} **** top shell_cmd|\tEOF **** dT 0.368 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.380 **** top shell_status = 0x0000 ** top === client c-struct { ** top === client c-encode { ** top === client c-decode { **** dT 0.381 ** top === client c-req-hash { ** top === client c-sub { ** top === logexpect l1 -v v1 -i ReqURL,VCL_Error,VCL_Log,VCL_use -q "R... **** dT 0.382 ** top === logexpect l2 -v v1 -i ReqURL,VCL_Error,VCL_Log,VCL_use -q "R... ** top === logexpect l3 -v v1 -i ReqURL,VCL_Error,VCL_Log,VCL_use -q "R... ** top === logexpect l4 -v v1 -i ReqURL,VCL_Error,VCL_Log,VCL_use -q "R... **** dT 0.383 ** top === varnish v1 -vcl { **** dT 0.384 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tinclude "/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.url ~ "decode") { **** v1 CLI TX|\t\t\t# Not enough space to collect the string. **** v1 CLI TX|\t\t\tset req.http.leave = 5; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "struct") { **** v1 CLI TX|\t\t\t# Enough space to collect the decoded string. **** v1 CLI TX|\t\t\t# Not enough space to allocate a blob (aligned). **** v1 CLI TX|\t\t\tset req.http.leave = 16; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "encode") { **** v1 CLI TX|\t\t\t# Enough space to decode the string. **** v1 CLI TX|\t\t\t# Not enough space to encode the blob. **** v1 CLI TX|\t\t\tset req.http.blob = 16; **** v1 CLI TX|\t\t\tcall leave_blob; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tblob.encode(blob=blob.decode(encoded="1234567890")); **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.468 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.570 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.671 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.773 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.875 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.976 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.078 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.205 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.307 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.409 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.510 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.612 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.713 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.815 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.917 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.019 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.121 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.223 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.325 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.427 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.528 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.630 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.732 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.834 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.935 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.037 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.139 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.241 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.343 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.445 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.547 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.648 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.750 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.851 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.953 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.055 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.157 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.258 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.360 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.462 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.564 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.666 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.768 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.870 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.972 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.074 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.176 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.278 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.380 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.482 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.583 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.685 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.787 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.888 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.993 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.035 *** v1 CLI RX 200 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Unused sub leave_half_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 21 Pos 5) **** v1 CLI RX|sub leave_half_struct { **** v1 CLI RX|----#################-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI RX|Unused sub leave_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 16 Pos 5) **** v1 CLI RX|sub leave_struct { **** v1 CLI RX|----############-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 6.078 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 6.100 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.161 *** v1 debug|Debug: Child (53215) Started **** dT 6.204 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.308 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 6.585 *** v1 debug|Child launched OK **** dT 6.600 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status **** dT 6.601 *** v1 debug|Info: Child (53215) said Child starts **** dT 6.620 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1754041943.061447/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1754041943.061447/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:43255 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:43255 **** v1 vsl| 0 Error - Kernel filtering: sock=3, errno=2 No such file or directory **** v1 vsl| 0 CLI - Wr 200 0 **** dT 6.642 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 6.686 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 43255 **** v1 CLI TX|debug.xid 1000 **** dT 6.728 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 43255 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 6.729 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 6.773 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 43255 ** v1 Listen on 127.0.0.1 43255 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=43255 **** v1 macro def v1_sock=127.0.0.1:43255 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=43255 **** v1 macro def v1_a0_sock=127.0.0.1:43255 ** top === logexpect l1 { ** l1 === expect 0 * VCL_use vcl1 **** dT 6.774 ** l1 === expect 0 = ReqURL decode ** l1 === expect 0 = VCL_Log shrink **** dT 6.775 ** l1 === expect 0 = VCL_Error "cannot decode, out of space" **** dT 6.777 ** top === logexpect l2 { ** l2 === expect 0 * VCL_use vcl1 **** dT 6.778 ** l2 === expect 0 = ReqURL struct ** l2 === expect 0 = VCL_Log shrink ** l2 === expect 0 = VCL_Error "Workspace overflow .blob.decode." **** dT 6.781 ** top === logexpect l3 { ** l3 === expect 0 * VCL_use vcl1 ** l3 === expect 0 = ReqURL encode ** l3 === expect 0 = VCL_Log shrink ** l3 === expect 0 = VCL_Error "cannot encode, out of space" **** dT 6.784 ** top === client c-decode -run ** c-decode Starting client ** c-decode Waiting for client **** l1 begin| **** l1 qry | ReqURL ~ decode *** l1 test | expect 0 * VCL_use vcl1 **** l2 begin| **** l2 qry | ReqURL ~ struct *** l2 test | expect 0 * VCL_use vcl1 **** l3 begin| **** l3 qry | ReqURL ~ encode *** l3 test | expect 0 * VCL_use vcl1 **** dT 6.785 ** c-decode Started on 127.0.0.1:43255 (1 iterations) *** c-decode Connect to 127.0.0.1:43255 **** dT 6.786 *** c-decode connected fd 32 from 127.0.0.1 57623 to 127.0.0.1:43255 **** dT 6.787 ** c-decode === txreq -url "/decode" **** c-decode txreq|GET /decode HTTP/1.1\r **** c-decode txreq|Host: 127.0.0.1\r **** c-decode txreq|User-Agent: c-decode\r **** c-decode txreq|\r ** c-decode === rxresp **** dT 6.795 **** c-decode rxhdr|HTTP/1.1 503 VCL failed\r **** c-decode rxhdr|Date: Fri, 01 Aug 2025 09:52:29 GMT\r **** c-decode rxhdr|Server: Varnish\r **** c-decode rxhdr|X-Varnish: 1001\r **** c-decode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-decode rxhdr|Retry-After: 5\r **** c-decode rxhdr|Content-Length: 251\r **** c-decode rxhdr|Connection: close\r **** c-decode rxhdr|\r **** c-decode rxhdrlen = 194 **** dT 6.799 **** c-decode http[ 0] |HTTP/1.1 **** c-decode http[ 1] |503 **** c-decode http[ 2] |VCL failed **** c-decode http[ 3] |Date: Fri, 01 Aug 2025 09:52:29 GMT **** c-decode http[ 4] |Server: Varnish **** c-decode http[ 5] |X-Varnish: 1001 **** c-decode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-decode http[ 7] |Retry-After: 5 **** c-decode http[ 8] |Content-Length: 251 **** c-decode http[ 9] |Connection: close **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| 503 VCL failed **** c-decode c-l| **** c-decode c-l| **** c-decode c-l|

Error 503 VCL failed

**** c-decode c-l|

VCL failed

**** c-decode c-l|

Guru Meditation:

**** c-decode c-l|

XID: 1001

**** c-decode c-l|
**** c-decode c-l|

Varnish cache server

**** c-decode c-l| **** c-decode c-l| **** c-decode bodylen = 251 ** c-decode === expect resp.status == 503 **** c-decode EXPECT resp.status (503) == "503" match ** c-decode === expect resp.reason == "VCL failed" **** c-decode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-decode === expect_close **** c-decode Expecting close (fd = 32) **** dT 6.800 **** c-decode fd=32 EOF, as expected *** c-decode closing fd 32 ** c-decode Ending **** dT 6.801 ** top === client c-struct -run ** c-struct Starting client ** c-struct Waiting for client **** dT 6.803 ** c-struct Started on 127.0.0.1:43255 (1 iterations) *** c-struct Connect to 127.0.0.1:43255 **** dT 6.804 *** c-struct connected fd 32 from 127.0.0.1 21727 to 127.0.0.1:43255 ** c-struct === txreq -url "/struct" **** c-struct txreq|GET /struct HTTP/1.1\r **** c-struct txreq|Host: 127.0.0.1\r **** c-struct txreq|User-Agent: c-struct\r **** c-struct txreq|\r **** dT 6.809 **** l1 match| 1001 VCL_use c vcl1 *** l1 test | expect 0 = ReqURL decode **** l1 match| 1001 ReqURL c /decode *** l1 test | expect 0 = VCL_Log shrink **** l1 match| 1001 VCL_Log c shrink *** l1 test | expect 0 = VCL_Error cannot decode, out of space **** l1 match| 1001 VCL_Error c vmod blob error: cannot decode, out of space **** dT 6.810 **** l1 done | ** c-struct === rxresp **** dT 6.812 **** c-struct rxhdr|HTTP/1.1 503 VCL failed\r **** c-struct rxhdr|Date: Fri, 01 Aug 2025 09:52:29 GMT\r **** c-struct rxhdr|Server: Varnish\r **** c-struct rxhdr|X-Varnish: 1003\r **** c-struct rxhdr|Content-Type: text/html; charset=utf-8\r **** c-struct rxhdr|Retry-After: 5\r **** c-struct rxhdr|Content-Length: 251\r **** c-struct rxhdr|Connection: close\r **** c-struct rxhdr|\r **** c-struct rxhdrlen = 194 **** c-struct http[ 0] |HTTP/1.1 **** c-struct http[ 1] |503 **** c-struct http[ 2] |VCL failed **** c-struct http[ 3] |Date: Fri, 01 Aug 2025 09:52:29 GMT **** c-struct http[ 4] |Server: Varnish **** c-struct http[ 5] |X-Varnish: 1003 **** c-struct http[ 6] |Content-Type: text/html; charset=utf-8 **** c-struct http[ 7] |Retry-After: 5 **** c-struct http[ 8] |Content-Length: 251 **** c-struct http[ 9] |Connection: close **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| 503 VCL failed **** c-struct c-l| **** c-struct c-l| **** c-struct c-l|

Error 503 VCL failed

**** c-struct c-l|

VCL failed

**** c-struct c-l|

Guru Meditation:

**** c-struct c-l|

XID: 1003

**** c-struct c-l|
**** c-struct c-l|

Varnish cache server

**** c-struct c-l| **** c-struct c-l| **** c-struct bodylen = 251 ** c-struct === expect resp.status == 503 **** c-struct EXPECT resp.status (503) == "503" match ** c-struct === expect resp.reason == "VCL failed" **** c-struct EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-struct === expect_close **** c-struct Expecting close (fd = 32) **** dT 6.813 **** c-struct fd=32 EOF, as expected *** c-struct closing fd 32 ** c-struct Ending **** dT 6.815 ** top === client c-encode -run ** c-encode Starting client ** c-encode Waiting for client ** c-encode Started on 127.0.0.1:43255 (1 iterations) *** c-encode Connect to 127.0.0.1:43255 **** dT 6.816 *** c-encode connected fd 32 from 127.0.0.1 57030 to 127.0.0.1:43255 ** c-encode === txreq -url "/encode" **** dT 6.817 **** c-encode txreq|GET /encode HTTP/1.1\r **** c-encode txreq|Host: 127.0.0.1\r **** c-encode txreq|User-Agent: c-encode\r **** c-encode txreq|\r **** dT 6.820 **** l2 match| 1003 VCL_use c vcl1 *** l2 test | expect 0 = ReqURL struct **** l2 match| 1003 ReqURL c /struct *** l2 test | expect 0 = VCL_Log shrink **** l2 match| 1003 VCL_Log c shrink *** l2 test | expect 0 = VCL_Error Workspace overflow .blob.decode. **** l2 match| 1003 VCL_Error c Workspace overflow (blob.decode) **** l2 done | **** dT 6.822 ** c-encode === rxresp **** dT 6.823 **** c-encode rxhdr|HTTP/1.1 503 VCL failed\r **** c-encode rxhdr|Date: Fri, 01 Aug 2025 09:52:29 GMT\r **** c-encode rxhdr|Server: Varnish\r **** c-encode rxhdr|X-Varnish: 1005\r **** c-encode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-encode rxhdr|Retry-After: 5\r **** c-encode rxhdr|Content-Length: 251\r **** c-encode rxhdr|Connection: close\r **** c-encode rxhdr|\r **** c-encode rxhdrlen = 194 **** c-encode http[ 0] |HTTP/1.1 **** c-encode http[ 1] |503 **** c-encode http[ 2] |VCL failed **** c-encode http[ 3] |Date: Fri, 01 Aug 2025 09:52:29 GMT **** dT 6.824 **** c-encode http[ 4] |Server: Varnish **** c-encode http[ 5] |X-Varnish: 1005 **** c-encode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-encode http[ 7] |Retry-After: 5 **** c-encode http[ 8] |Content-Length: 251 **** c-encode http[ 9] |Connection: close **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| 503 VCL failed **** c-encode c-l| **** c-encode c-l| **** c-encode c-l|

Error 503 VCL failed

**** c-encode c-l|

VCL failed

**** c-encode c-l|

Guru Meditation:

**** c-encode c-l|

XID: 1005

**** c-encode c-l|
**** c-encode c-l|

Varnish cache server

**** c-encode c-l| **** c-encode c-l| **** c-encode bodylen = 251 ** c-encode === expect resp.status == 503 **** c-encode EXPECT resp.status (503) == "503" match ** c-encode === expect resp.reason == "VCL failed" **** c-encode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-encode === expect_close **** c-encode Expecting close (fd = 32) **** c-encode fd=32 EOF, as expected *** c-encode closing fd 32 ** c-encode Ending **** dT 6.825 ** top === logexpect l1 -wait ** l1 Waiting for logexp **** dT 6.826 ** top === logexpect l2 -wait ** l2 Waiting for logexp ** top === logexpect l3 -wait ** l3 Waiting for logexp **** dT 6.830 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 43255 **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 57623 a0 127.0.0.1 43255 1754041949.464867 17 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_KEEPALIVE non heredity for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_SNDTIMEO non heredity for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_RCVTIMEO non heredity for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: Test confirmed TCP_NODELAY non heredity for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** dT 6.831 **** v1 vsl| 1000 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1000 Link c req 1001 rxreq **** v1 vsl| 1001 Timestamp c Start: 1754041949.465709 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1754041949.465709 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 57623 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c /decode **** 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: c-decode **** 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 vrt_blob: 12 **** v1 vsl| 1001 ReqHeader c leave: 5 **** v1 vsl| 1001 VCL_Log c shrink **** v1 vsl| 1001 VCL_Error c vmod blob error: cannot decode, out of space **** v1 vsl| 1001 VCL_return c fail **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 503 **** v1 vsl| 1001 RespReason c VCL failed **** v1 vsl| 1001 RespHeader c Date: Fri, 01 Aug 2025 09:52:29 GMT **** v1 vsl| 1001 RespHeader c Server: Varnish **** v1 vsl| 1001 RespHeader c X-Varnish: 1001 **** v1 vsl| 1001 VCL_call c SYNTH **** v1 vsl| 1001 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1001 RespHeader c Retry-After: 5 **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1754041949.468413 0.002704 0.002704 **** v1 vsl| 1001 RespHeader c Content-Length: 251 **** v1 vsl| 1001 Storage c malloc Transient **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: close **** v1 vsl| 1001 Timestamp c Resp: 1754041949.476034 0.010325 0.007620 **** v1 vsl| 1001 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1001 End c **** v1 vsl| 1000 SessClose c VCL_FAILURE 0.013 **** v1 vsl| 1000 End c **** v1 vsl| 1002 Begin c sess 0 HTTP/1 **** v1 vsl| 1002 SessOpen c 127.0.0.1 21727 a0 127.0.0.1 43255 1754041949.480709 21 **** v1 vsl| 1002 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1002 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1002 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1002 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1002 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1002 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1002 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1002 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1003 Begin c req 1002 rxreq **** v1 vsl| 1002 Link c req 1003 rxreq **** v1 vsl| 1003 Timestamp c Start: 1754041949.481352 0.000000 0.000000 **** dT 6.832 **** v1 vsl| 1003 Timestamp c Req: 1754041949.481352 0.000000 0.000000 **** v1 vsl| 1003 VCL_use c vcl1 **** v1 vsl| 1003 ReqStart c 127.0.0.1 21727 a0 **** v1 vsl| 1003 ReqMethod c GET **** v1 vsl| 1003 ReqURL c /struct **** 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: c-struct **** 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 ReqHeader c vrt_blob: 12 **** v1 vsl| 1003 ReqHeader c leave: 16 **** v1 vsl| 1003 VCL_Log c shrink **** v1 vsl| 1003 VCL_Error c Workspace overflow (blob.decode) **** v1 vsl| 1003 VCL_return c fail **** 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: Fri, 01 Aug 2025 09:52:29 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 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: 1754041949.482630 0.001277 0.001277 **** 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: 1754041949.489148 0.007796 0.006518 **** v1 vsl| 1003 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1003 End c **** v1 vsl| 1002 SessClose c VCL_FAILURE 0.010 **** v1 vsl| 1002 End c **** v1 vsl| 1004 Begin c sess 0 HTTP/1 **** v1 vsl| 1004 SessOpen c 127.0.0.1 57030 a0 127.0.0.1 43255 1754041949.493513 22 **** v1 vsl| 1004 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1004 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1004 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1004 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1004 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1004 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1005 Begin c req 1004 rxreq **** v1 vsl| 1004 Link c req 1005 rxreq **** v1 vsl| 1005 Timestamp c Start: 1754041949.494157 0.000000 0.000000 **** v1 vsl| 1005 Timestamp c Req: 1754041949.494157 0.000000 0.000000 **** v1 vsl| 1005 VCL_use c vcl1 **** v1 vsl| 1005 ReqStart c 127.0.0.1 57030 a0 **** v1 vsl| 1005 ReqMethod c GET **** v1 vsl| 1005 ReqURL c /encode **** 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: c-encode **** 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 ReqHeader c vrt_blob: 12 **** dT 6.833 **** v1 vsl| 1005 ReqHeader c blob: 16 **** v1 vsl| 1005 ReqHeader c leave: 28 **** v1 vsl| 1005 VCL_Log c shrink **** v1 vsl| 1005 VCL_Error c vmod blob error: cannot encode, out of space **** v1 vsl| 1005 VCL_return c fail **** 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: Fri, 01 Aug 2025 09:52:29 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 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: 1754041949.495068 0.000911 0.000911 **** 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: 1754041949.497612 0.003454 0.002543 **** v1 vsl| 1005 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1005 End c **** v1 vsl| 1004 SessClose c VCL_FAILURE 0.005 **** v1 vsl| 1004 End c **** l3 match| 1005 VCL_use c vcl1 *** l3 test | expect 0 = ReqURL encode **** l3 match| 1005 ReqURL c /encode *** l3 test | expect 0 = VCL_Log shrink **** dT 6.834 **** l3 match| 1005 VCL_Log c shrink *** l3 test | expect 0 = VCL_Error cannot encode, out of space **** l3 match| 1005 VCL_Error c vmod blob error: cannot encode, out of space **** l3 done | ** top === varnish v1 -vcl { **** dT 6.835 **** v1 CLI TX|vcl.inline vcl2 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tinclude "/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.url ~ "decode") { **** v1 CLI TX|\t\t\t# Not enough space to collect the string. **** v1 CLI TX|\t\t\tset req.http.leave = 5; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "struct") { **** v1 CLI TX|\t\t\t# Enough space to collect the decoded string. **** v1 CLI TX|\t\t\t# Not enough space to allocate a blob. **** v1 CLI TX|\t\t\tset req.http.leave = 16; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "encode") { **** v1 CLI TX|\t\t\t# Enough space to decode the string. **** v1 CLI TX|\t\t\t# Not enough space to encode the blob. **** v1 CLI TX|\t\t\tset req.http.blob = 16; **** v1 CLI TX|\t\t\tcall leave_blob; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tblob.encode( **** v1 CLI TX|\t\t blob=blob.decode(BASE64, encoded="MTIzNDU2Nzg5MA==")); **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 7.647 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_LINGER for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPIDLE for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPCNT for a0=127.0.0.1:43255 **** v1 vsl| 0 Debug - sockopt: Not setting unmodified TCP_KEEPINTVL for a0=127.0.0.1:43255 **** dT 12.458 *** v1 CLI RX 200 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Unused sub leave_half_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 21 Pos 5) **** v1 CLI RX|sub leave_half_struct { **** v1 CLI RX|----#################-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI RX|Unused sub leave_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 16 Pos 5) **** v1 CLI RX|sub leave_struct { **** v1 CLI RX|----############-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI TX|vcl.use vcl2 **** dT 12.501 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl2' now active ** top === logexpect l1 { **** dT 12.502 ** l1 === expect 0 * VCL_use vcl2 ** l1 === expect 0 = ReqURL decode ** l1 === expect 0 = VCL_Log shrink ** l1 === expect 0 = VCL_Error "cannot decode, out of space" **** dT 12.504 ** top === logexpect l2 { ** l2 === expect 0 * VCL_use vcl2 ** l2 === expect 0 = ReqURL struct ** l2 === expect 0 = VCL_Log shrink ** l2 === expect 0 = VCL_Error "Workspace overflow .blob.decode." **** dT 12.506 ** top === logexpect l3 { ** l3 === expect 0 * VCL_use vcl2 ** l3 === expect 0 = ReqURL encode ** l3 === expect 0 = VCL_Log shrink ** l3 === expect 0 = VCL_Error "cannot encode, out of space" **** dT 12.507 ** top === client c-decode -run ** c-decode Starting client **** dT 12.508 ** c-decode Waiting for client **** l1 begin| **** l1 qry | ReqURL ~ decode *** l1 test | expect 0 * VCL_use vcl2 **** l2 begin| **** l2 qry | ReqURL ~ struct *** l2 test | expect 0 * VCL_use vcl2 **** l3 begin| **** l3 qry | ReqURL ~ encode *** l3 test | expect 0 * VCL_use vcl2 ** c-decode Started on 127.0.0.1:43255 (1 iterations) *** c-decode Connect to 127.0.0.1:43255 **** dT 12.509 *** c-decode connected fd 32 from 127.0.0.1 49271 to 127.0.0.1:43255 **** dT 12.510 ** c-decode === txreq -url "/decode" **** c-decode txreq|GET /decode HTTP/1.1\r **** c-decode txreq|Host: 127.0.0.1\r **** c-decode txreq|User-Agent: c-decode\r **** c-decode txreq|\r ** c-decode === rxresp **** dT 12.515 **** c-decode rxhdr|HTTP/1.1 503 VCL failed\r **** c-decode rxhdr|Date: Fri, 01 Aug 2025 09:52:35 GMT\r **** c-decode rxhdr|Server: Varnish\r **** c-decode rxhdr|X-Varnish: 1007\r **** c-decode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-decode rxhdr|Retry-After: 5\r **** c-decode rxhdr|Content-Length: 251\r **** c-decode rxhdr|Connection: close\r **** c-decode rxhdr|\r **** c-decode rxhdrlen = 194 **** c-decode http[ 0] |HTTP/1.1 **** c-decode http[ 1] |503 **** c-decode http[ 2] |VCL failed **** c-decode http[ 3] |Date: Fri, 01 Aug 2025 09:52:35 GMT **** c-decode http[ 4] |Server: Varnish **** c-decode http[ 5] |X-Varnish: 1007 **** c-decode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-decode http[ 7] |Retry-After: 5 **** c-decode http[ 8] |Content-Length: 251 **** c-decode http[ 9] |Connection: close **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| 503 VCL failed **** c-decode c-l| **** c-decode c-l| **** c-decode c-l|

Error 503 VCL failed

**** c-decode c-l|

VCL failed

**** c-decode c-l|

Guru Meditation:

**** c-decode c-l|

XID: 1007

**** c-decode c-l|
**** c-decode c-l|

Varnish cache server

**** c-decode c-l| **** c-decode c-l| **** c-decode bodylen = 251 ** c-decode === expect resp.status == 503 **** c-decode EXPECT resp.status (503) == "503" match ** c-decode === expect resp.reason == "VCL failed" **** c-decode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-decode === expect_close **** c-decode Expecting close (fd = 32) **** dT 12.516 **** c-decode fd=32 EOF, as expected *** c-decode closing fd 32 ** c-decode Ending **** dT 12.517 ** top === client c-struct -run ** c-struct Starting client ** c-struct Waiting for client **** dT 12.518 ** c-struct Started on 127.0.0.1:43255 (1 iterations) *** c-struct Connect to 127.0.0.1:43255 **** dT 12.519 *** c-struct connected fd 32 from 127.0.0.1 16470 to 127.0.0.1:43255 ** c-struct === txreq -url "/struct" **** c-struct txreq|GET /struct HTTP/1.1\r **** c-struct txreq|Host: 127.0.0.1\r **** c-struct txreq|User-Agent: c-struct\r **** c-struct txreq|\r **** dT 12.523 ** c-struct === rxresp **** dT 12.527 **** c-struct rxhdr|HTTP/1.1 503 VCL failed\r **** c-struct rxhdr|Date: Fri, 01 Aug 2025 09:52:35 GMT\r **** c-struct rxhdr|Server: Varnish\r **** c-struct rxhdr|X-Varnish: 1009\r **** c-struct rxhdr|Content-Type: text/html; charset=utf-8\r **** c-struct rxhdr|Retry-After: 5\r **** c-struct rxhdr|Content-Length: 251\r **** c-struct rxhdr|Connection: close\r **** c-struct rxhdr|\r **** c-struct rxhdrlen = 194 **** c-struct http[ 0] |HTTP/1.1 **** c-struct http[ 1] |503 **** c-struct http[ 2] |VCL failed **** c-struct http[ 3] |Date: Fri, 01 Aug 2025 09:52:35 GMT **** c-struct http[ 4] |Server: Varnish **** c-struct http[ 5] |X-Varnish: 1009 **** c-struct http[ 6] |Content-Type: text/html; charset=utf-8 **** c-struct http[ 7] |Retry-After: 5 **** c-struct http[ 8] |Content-Length: 251 **** c-struct http[ 9] |Connection: close **** dT 12.528 **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| 503 VCL failed **** c-struct c-l| **** c-struct c-l| **** c-struct c-l|

Error 503 VCL failed

**** c-struct c-l|

VCL failed

**** c-struct c-l|

Guru Meditation:

**** c-struct c-l|

XID: 1009

**** c-struct c-l|
**** c-struct c-l|

Varnish cache server

**** c-struct c-l| **** c-struct c-l| **** c-struct bodylen = 251 ** c-struct === expect resp.status == 503 **** c-struct EXPECT resp.status (503) == "503" match ** c-struct === expect resp.reason == "VCL failed" **** c-struct EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-struct === expect_close **** c-struct Expecting close (fd = 32) **** c-struct fd=32 EOF, as expected **** dT 12.529 *** c-struct closing fd 32 ** c-struct Ending ** top === client c-encode -run ** c-encode Starting client **** dT 12.530 ** c-encode Waiting for client ** c-encode Started on 127.0.0.1:43255 (1 iterations) *** c-encode Connect to 127.0.0.1:43255 **** dT 12.531 *** c-encode connected fd 32 from 127.0.0.1 64249 to 127.0.0.1:43255 ** c-encode === txreq -url "/encode" **** c-encode txreq|GET /encode HTTP/1.1\r **** c-encode txreq|Host: 127.0.0.1\r **** c-encode txreq|User-Agent: c-encode\r **** c-encode txreq|\r **** dT 12.532 **** l1 match| 1007 VCL_use c vcl2 *** l1 test | expect 0 = ReqURL decode **** l1 match| 1007 ReqURL c /decode *** l1 test | expect 0 = VCL_Log shrink **** l1 match| 1007 VCL_Log c shrink *** l1 test | expect 0 = VCL_Error cannot decode, out of space **** l1 match| 1007 VCL_Error c vmod blob error: cannot decode, out of space **** l1 done | ** c-encode === rxresp **** dT 12.539 **** c-encode rxhdr|HTTP/1.1 503 VCL failed\r **** c-encode rxhdr|Date: Fri, 01 Aug 2025 09:52:35 GMT\r **** c-encode rxhdr|Server: Varnish\r **** c-encode rxhdr|X-Varnish: 1011\r **** c-encode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-encode rxhdr|Retry-After: 5\r **** c-encode rxhdr|Content-Length: 251\r **** c-encode rxhdr|Connection: close\r **** c-encode rxhdr|\r **** c-encode rxhdrlen = 194 **** c-encode http[ 0] |HTTP/1.1 **** c-encode http[ 1] |503 **** c-encode http[ 2] |VCL failed **** c-encode http[ 3] |Date: Fri, 01 Aug 2025 09:52:35 GMT **** c-encode http[ 4] |Server: Varnish **** c-encode http[ 5] |X-Varnish: 1011 **** c-encode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-encode http[ 7] |Retry-After: 5 **** c-encode http[ 8] |Content-Length: 251 **** c-encode http[ 9] |Connection: close **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| 503 VCL failed **** c-encode c-l| **** c-encode c-l| **** c-encode c-l|

Error 503 VCL failed

**** c-encode c-l|

VCL failed

**** c-encode c-l|

Guru Meditation:

**** c-encode c-l|

XID: 1011

**** c-encode c-l|
**** c-encode c-l|

Varnish cache server

**** c-encode c-l| **** c-encode c-l| **** c-encode bodylen = 251 ** c-encode === expect resp.status == 503 **** c-encode EXPECT resp.status (503) == "503" match ** c-encode === expect resp.reason == "VCL failed" **** c-encode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-encode === expect_close **** c-encode Expecting close (fd = 32) **** dT 12.540 **** c-encode fd=32 EOF, as expected *** c-encode closing fd 32 ** c-encode Ending ** top === logexpect l1 -wait ** l1 Waiting for logexp **** dT 12.541 ** top === logexpect l2 -wait ** l2 Waiting for logexp **** dT 12.542 **** v1 vsl| 0 CLI - Rd vcl.load vcl2 vcl_vcl2.1754041949.512169/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl2.1754041949.512169/vgc.so" as "vcl2" **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1754041955 1.0 **** v1 vsl| 0 CLI - Rd vcl.use vcl2 **** 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 49271 a0 127.0.0.1 43255 1754041955.187090 17 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: Not testing nonhereditary TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1006 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1007 Begin c req 1006 rxreq **** v1 vsl| 1006 Link c req 1007 rxreq **** v1 vsl| 1007 Timestamp c Start: 1754041955.187746 0.000000 0.000000 **** v1 vsl| 1007 Timestamp c Req: 1754041955.187746 0.000000 0.000000 **** v1 vsl| 1007 VCL_use c vcl2 **** v1 vsl| 1007 ReqStart c 127.0.0.1 49271 a0 **** v1 vsl| 1007 ReqMethod c GET **** v1 vsl| 1007 ReqURL c /decode **** 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: c-decode **** 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 ReqHeader c vrt_blob: 12 **** v1 vsl| 1007 ReqHeader c leave: 5 **** v1 vsl| 1007 VCL_Log c shrink **** v1 vsl| 1007 VCL_Error c vmod blob error: cannot decode, out of space **** v1 vsl| 1007 VCL_return c fail **** v1 vsl| 1007 RespProtocol c HTTP/1.1 **** v1 vsl| 1007 RespStatus c 503 **** v1 vsl| 1007 RespReason c VCL failed **** v1 vsl| 1007 RespHeader c Date: Fri, 01 Aug 2025 09:52:35 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 Content-Type: text/html; charset=utf-8 **** dT 12.543 **** v1 vsl| 1007 RespHeader c Retry-After: 5 **** v1 vsl| 1007 VCL_return c deliver **** v1 vsl| 1007 Timestamp c Process: 1754041955.188715 0.000968 0.000968 **** v1 vsl| 1007 RespHeader c Content-Length: 251 **** v1 vsl| 1007 Storage c malloc Transient **** v1 vsl| 1007 Filters c **** v1 vsl| 1007 RespHeader c Connection: close **** v1 vsl| 1007 Timestamp c Resp: 1754041955.191852 0.004105 0.003137 **** v1 vsl| 1007 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1007 End c **** v1 vsl| 1006 SessClose c VCL_FAILURE 0.012 **** v1 vsl| 1006 End c **** v1 vsl| 1008 Begin c sess 0 HTTP/1 **** v1 vsl| 1008 SessOpen c 127.0.0.1 16470 a0 127.0.0.1 43255 1754041955.200033 22 **** v1 vsl| 1008 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1008 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1008 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1008 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1008 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1008 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1008 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1008 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1009 Begin c req 1008 rxreq **** v1 vsl| 1008 Link c req 1009 rxreq **** v1 vsl| 1009 Timestamp c Start: 1754041955.200491 0.000000 0.000000 **** v1 vsl| 1009 Timestamp c Req: 1754041955.200491 0.000000 0.000000 **** v1 vsl| 1009 VCL_use c vcl2 **** v1 vsl| 1009 ReqStart c 127.0.0.1 16470 a0 **** v1 vsl| 1009 ReqMethod c GET **** v1 vsl| 1009 ReqURL c /struct **** v1 vsl| 1009 ReqProtocol c HTTP/1.1 **** v1 vsl| 1009 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1009 ReqHeader c User-Agent: c-struct **** v1 vsl| 1009 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1009 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1009 VCL_call c RECV **** v1 vsl| 1009 ReqHeader c vrt_blob: 12 **** v1 vsl| 1009 ReqHeader c leave: 16 **** v1 vsl| 1009 VCL_Log c shrink **** v1 vsl| 1009 VCL_Error c Workspace overflow (blob.decode) **** v1 vsl| 1009 VCL_return c fail **** v1 vsl| 1009 RespProtocol c HTTP/1.1 **** v1 vsl| 1009 RespStatus c 503 **** v1 vsl| 1009 RespReason c VCL failed **** v1 vsl| 1009 RespHeader c Date: Fri, 01 Aug 2025 09:52:35 GMT **** v1 vsl| 1009 RespHeader c Server: Varnish **** v1 vsl| 1009 RespHeader c X-Varnish: 1009 **** v1 vsl| 1009 VCL_call c SYNTH **** v1 vsl| 1009 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1009 RespHeader c Retry-After: 5 **** v1 vsl| 1009 VCL_return c deliver **** v1 vsl| 1009 Timestamp c Process: 1754041955.201321 0.000829 0.000829 **** v1 vsl| 1009 RespHeader c Content-Length: 251 **** v1 vsl| 1009 Storage c malloc Transient **** v1 vsl| 1009 Filters c **** v1 vsl| 1009 RespHeader c Connection: close **** v1 vsl| 1009 Timestamp c Resp: 1754041955.204625 0.004133 0.003304 **** v1 vsl| 1009 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1009 End c **** v1 vsl| 1008 SessClose c VCL_FAILURE 0.011 **** dT 12.544 **** v1 vsl| 1008 End c **** v1 vsl| 1010 Begin c sess 0 HTTP/1 **** v1 vsl| 1010 SessOpen c 127.0.0.1 64249 a0 127.0.0.1 43255 1754041955.211386 17 **** v1 vsl| 1010 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1010 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1010 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1010 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1010 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1010 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1010 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1010 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1011 Begin c req 1010 rxreq **** v1 vsl| 1010 Link c req 1011 rxreq **** v1 vsl| 1011 Timestamp c Start: 1754041955.211921 0.000000 0.000000 **** v1 vsl| 1011 Timestamp c Req: 1754041955.211921 0.000000 0.000000 **** v1 vsl| 1011 VCL_use c vcl2 **** v1 vsl| 1011 ReqStart c 127.0.0.1 64249 a0 **** dT 12.545 **** l3 match| 1011 VCL_use c vcl2 *** l3 test | expect 0 = ReqURL encode **** l3 match| 1011 ReqURL c /encode *** l3 test | expect 0 = VCL_Log shrink **** l3 match| 1011 VCL_Log c shrink *** l3 test | expect 0 = VCL_Error cannot encode, out of space **** l3 match| 1011 VCL_Error c vmod blob error: cannot encode, out of space **** l3 done | **** l2 match| 1009 VCL_use c vcl2 *** l2 test | expect 0 = ReqURL struct **** l2 match| 1009 ReqURL c /struct *** l2 test | expect 0 = VCL_Log shrink **** l2 match| 1009 VCL_Log c shrink *** l2 test | expect 0 = VCL_Error Workspace overflow .blob.decode. **** l2 match| 1009 VCL_Error c Workspace overflow (blob.decode) **** l2 done | **** dT 12.546 ** top === logexpect l3 -wait ** l3 Waiting for logexp ** top === varnish v1 -vcl { **** v1 vsl| 1011 ReqMethod c GET **** dT 12.547 **** v1 CLI TX|vcl.inline vcl3 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tinclude "/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.url ~ "decode") { **** v1 CLI TX|\t\t\t# Not enough space to collect the string. **** v1 CLI TX|\t\t\tset req.http.leave = 5; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "struct") { **** v1 CLI TX|\t\t\t# Enough space to collect the decoded string. **** v1 CLI TX|\t\t\t# Not enough space to allocate a blob (aligned). **** v1 CLI TX|\t\t\tset req.http.leave = 16; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "encode") { **** v1 CLI TX|\t\t\t# Enough space to decode the string. **** v1 CLI TX|\t\t\t# Not enough space to encode the blob. **** v1 CLI TX|\t\t\tset req.http.blob = 16; **** v1 CLI TX|\t\t\tcall leave_blob; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tblob.encode(blob=blob.decode(URL, encoded="1234567890")); **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 12.552 **** v1 vsl| 1011 ReqURL c /encode **** v1 vsl| 1011 ReqProtocol c HTTP/1.1 **** v1 vsl| 1011 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1011 ReqHeader c User-Agent: c-encode **** v1 vsl| 1011 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1011 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1011 VCL_call c RECV **** v1 vsl| 1011 ReqHeader c vrt_blob: 12 **** v1 vsl| 1011 ReqHeader c blob: 16 **** v1 vsl| 1011 ReqHeader c leave: 28 **** v1 vsl| 1011 VCL_Log c shrink **** v1 vsl| 1011 VCL_Error c vmod blob error: cannot encode, out of space **** v1 vsl| 1011 VCL_return c fail **** v1 vsl| 1011 RespProtocol c HTTP/1.1 **** v1 vsl| 1011 RespStatus c 503 **** v1 vsl| 1011 RespReason c VCL failed **** v1 vsl| 1011 RespHeader c Date: Fri, 01 Aug 2025 09:52:35 GMT **** v1 vsl| 1011 RespHeader c Server: Varnish **** v1 vsl| 1011 RespHeader c X-Varnish: 1011 **** v1 vsl| 1011 VCL_call c SYNTH **** v1 vsl| 1011 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1011 RespHeader c Retry-After: 5 **** v1 vsl| 1011 VCL_return c deliver **** v1 vsl| 1011 Timestamp c Process: 1754041955.212805 0.000884 0.000884 **** v1 vsl| 1011 RespHeader c Content-Length: 251 **** v1 vsl| 1011 Storage c malloc Transient **** v1 vsl| 1011 Filters c **** v1 vsl| 1011 RespHeader c Connection: close **** v1 vsl| 1011 Timestamp c Resp: 1754041955.215874 0.003952 0.003068 **** v1 vsl| 1011 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1011 End c **** v1 vsl| 1010 SessClose c VCL_FAILURE 0.007 **** v1 vsl| 1010 End c **** dT 18.173 *** v1 CLI RX 200 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Unused sub leave_half_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 21 Pos 5) **** v1 CLI RX|sub leave_half_struct { **** v1 CLI RX|----#################-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI RX|Unused sub leave_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 16 Pos 5) **** v1 CLI RX|sub leave_struct { **** v1 CLI RX|----############-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI TX|vcl.use vcl3 **** dT 18.215 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl3' now active ** top === logexpect l1 { **** dT 18.216 ** l1 === expect 0 * VCL_use vcl3 ** l1 === expect 0 = ReqURL decode ** l1 === expect 0 = VCL_Log shrink ** l1 === expect 0 = VCL_Error "cannot decode, out of space" **** dT 18.218 ** top === logexpect l2 { ** l2 === expect 0 * VCL_use vcl3 ** l2 === expect 0 = ReqURL struct ** l2 === expect 0 = VCL_Log shrink ** l2 === expect 0 = VCL_Error "Workspace overflow .blob.decode." **** dT 18.220 ** top === logexpect l3 { ** l3 === expect 0 * VCL_use vcl3 ** l3 === expect 0 = ReqURL encode ** l3 === expect 0 = VCL_Log shrink ** l3 === expect 0 = VCL_Error "cannot encode, out of space" **** dT 18.222 ** top === client c-decode -run ** c-decode Starting client ** c-decode Waiting for client **** l1 begin| **** l1 qry | ReqURL ~ decode *** l1 test | expect 0 * VCL_use vcl3 **** l2 begin| **** l2 qry | ReqURL ~ struct *** l2 test | expect 0 * VCL_use vcl3 **** l3 begin| **** l3 qry | ReqURL ~ encode *** l3 test | expect 0 * VCL_use vcl3 ** c-decode Started on 127.0.0.1:43255 (1 iterations) *** c-decode Connect to 127.0.0.1:43255 **** dT 18.223 *** c-decode connected fd 32 from 127.0.0.1 63064 to 127.0.0.1:43255 ** c-decode === txreq -url "/decode" **** dT 18.224 **** c-decode txreq|GET /decode HTTP/1.1\r **** c-decode txreq|Host: 127.0.0.1\r **** c-decode txreq|User-Agent: c-decode\r **** c-decode txreq|\r ** c-decode === rxresp **** dT 18.228 **** c-decode rxhdr|HTTP/1.1 503 VCL failed\r **** c-decode rxhdr|Date: Fri, 01 Aug 2025 09:52:40 GMT\r **** c-decode rxhdr|Server: Varnish\r **** c-decode rxhdr|X-Varnish: 1013\r **** c-decode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-decode rxhdr|Retry-After: 5\r **** c-decode rxhdr|Content-Length: 251\r **** c-decode rxhdr|Connection: close\r **** c-decode rxhdr|\r **** c-decode rxhdrlen = 194 **** c-decode http[ 0] |HTTP/1.1 **** c-decode http[ 1] |503 **** c-decode http[ 2] |VCL failed **** c-decode http[ 3] |Date: Fri, 01 Aug 2025 09:52:40 GMT **** c-decode http[ 4] |Server: Varnish **** c-decode http[ 5] |X-Varnish: 1013 **** c-decode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-decode http[ 7] |Retry-After: 5 **** c-decode http[ 8] |Content-Length: 251 **** c-decode http[ 9] |Connection: close **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| 503 VCL failed **** c-decode c-l| **** c-decode c-l| **** c-decode c-l|

Error 503 VCL failed

**** c-decode c-l|

VCL failed

**** c-decode c-l|

Guru Meditation:

**** c-decode c-l|

XID: 1013

**** c-decode c-l|
**** c-decode c-l|

Varnish cache server

**** c-decode c-l| **** c-decode c-l| **** c-decode bodylen = 251 ** c-decode === expect resp.status == 503 **** c-decode EXPECT resp.status (503) == "503" match ** c-decode === expect resp.reason == "VCL failed" **** c-decode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-decode === expect_close **** c-decode Expecting close (fd = 32) **** dT 18.229 **** c-decode fd=32 EOF, as expected *** c-decode closing fd 32 ** c-decode Ending **** dT 18.231 ** top === client c-struct -run ** c-struct Starting client ** c-struct Waiting for client **** dT 18.232 ** c-struct Started on 127.0.0.1:43255 (1 iterations) *** c-struct Connect to 127.0.0.1:43255 *** c-struct connected fd 32 from 127.0.0.1 25469 to 127.0.0.1:43255 **** dT 18.237 **** l1 match| 1013 VCL_use c vcl3 *** l1 test | expect 0 = ReqURL decode **** l1 match| 1013 ReqURL c /decode *** l1 test | expect 0 = VCL_Log shrink **** l1 match| 1013 VCL_Log c shrink *** l1 test | expect 0 = VCL_Error cannot decode, out of space **** l1 match| 1013 VCL_Error c vmod blob error: cannot decode, out of space **** l1 done | **** dT 18.238 ** c-struct === txreq -url "/struct" **** c-struct txreq|GET /struct HTTP/1.1\r **** c-struct txreq|Host: 127.0.0.1\r **** c-struct txreq|User-Agent: c-struct\r **** c-struct txreq|\r **** dT 18.241 ** c-struct === rxresp **** dT 18.243 **** c-struct rxhdr|HTTP/1.1 503 VCL failed\r **** c-struct rxhdr|Date: Fri, 01 Aug 2025 09:52:40 GMT\r **** c-struct rxhdr|Server: Varnish\r **** c-struct rxhdr|X-Varnish: 1015\r **** c-struct rxhdr|Content-Type: text/html; charset=utf-8\r **** c-struct rxhdr|Retry-After: 5\r **** c-struct rxhdr|Content-Length: 251\r **** c-struct rxhdr|Connection: close\r **** c-struct rxhdr|\r **** c-struct rxhdrlen = 194 **** dT 18.244 **** c-struct http[ 0] |HTTP/1.1 **** c-struct http[ 1] |503 **** c-struct http[ 2] |VCL failed **** c-struct http[ 3] |Date: Fri, 01 Aug 2025 09:52:40 GMT **** c-struct http[ 4] |Server: Varnish **** c-struct http[ 5] |X-Varnish: 1015 **** c-struct http[ 6] |Content-Type: text/html; charset=utf-8 **** c-struct http[ 7] |Retry-After: 5 **** c-struct http[ 8] |Content-Length: 251 **** c-struct http[ 9] |Connection: close **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| 503 VCL failed **** c-struct c-l| **** c-struct c-l| **** c-struct c-l|

Error 503 VCL failed

**** c-struct c-l|

VCL failed

**** c-struct c-l|

Guru Meditation:

**** c-struct c-l|

XID: 1015

**** c-struct c-l|
**** c-struct c-l|

Varnish cache server

**** c-struct c-l| **** c-struct c-l| **** c-struct bodylen = 251 ** c-struct === expect resp.status == 503 **** c-struct EXPECT resp.status (503) == "503" match ** c-struct === expect resp.reason == "VCL failed" **** c-struct EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-struct === expect_close **** c-struct Expecting close (fd = 32) **** c-struct fd=32 EOF, as expected *** c-struct closing fd 32 ** c-struct Ending **** dT 18.246 ** top === client c-encode -run ** c-encode Starting client **** l2 match| 1015 VCL_use c vcl3 *** l2 test | expect 0 = ReqURL struct **** dT 18.247 **** l2 match| 1015 ReqURL c /struct *** l2 test | expect 0 = VCL_Log shrink **** l2 match| 1015 VCL_Log c shrink *** l2 test | expect 0 = VCL_Error Workspace overflow .blob.decode. **** l2 match| 1015 VCL_Error c Workspace overflow (blob.decode) **** l2 done | ** c-encode Waiting for client ** c-encode Started on 127.0.0.1:43255 (1 iterations) *** c-encode Connect to 127.0.0.1:43255 **** dT 18.249 *** c-encode connected fd 32 from 127.0.0.1 64086 to 127.0.0.1:43255 ** c-encode === txreq -url "/encode" **** dT 18.250 **** c-encode txreq|GET /encode HTTP/1.1\r **** c-encode txreq|Host: 127.0.0.1\r **** c-encode txreq|User-Agent: c-encode\r **** c-encode txreq|\r **** dT 18.252 ** c-encode === rxresp **** dT 18.254 **** c-encode rxhdr|HTTP/1.1 503 VCL failed\r **** c-encode rxhdr|Date: Fri, 01 Aug 2025 09:52:40 GMT\r **** c-encode rxhdr|Server: Varnish\r **** c-encode rxhdr|X-Varnish: 1017\r **** c-encode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-encode rxhdr|Retry-After: 5\r **** c-encode rxhdr|Content-Length: 251\r **** c-encode rxhdr|Connection: close\r **** c-encode rxhdr|\r **** c-encode rxhdrlen = 194 **** c-encode http[ 0] |HTTP/1.1 **** c-encode http[ 1] |503 **** c-encode http[ 2] |VCL failed **** c-encode http[ 3] |Date: Fri, 01 Aug 2025 09:52:40 GMT **** c-encode http[ 4] |Server: Varnish **** c-encode http[ 5] |X-Varnish: 1017 **** dT 18.255 **** c-encode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-encode http[ 7] |Retry-After: 5 **** c-encode http[ 8] |Content-Length: 251 **** c-encode http[ 9] |Connection: close **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| 503 VCL failed **** c-encode c-l| **** c-encode c-l| **** c-encode c-l|

Error 503 VCL failed

**** c-encode c-l|

VCL failed

**** c-encode c-l|

Guru Meditation:

**** c-encode c-l|

XID: 1017

**** c-encode c-l|
**** c-encode c-l|

Varnish cache server

**** c-encode c-l| **** c-encode c-l| **** c-encode bodylen = 251 ** c-encode === expect resp.status == 503 **** c-encode EXPECT resp.status (503) == "503" match ** c-encode === expect resp.reason == "VCL failed" **** c-encode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-encode === expect_close **** c-encode Expecting close (fd = 32) **** c-encode fd=32 EOF, as expected *** c-encode closing fd 32 ** c-encode Ending **** dT 18.257 **** l3 match| 1017 VCL_use c vcl3 *** l3 test | expect 0 = ReqURL encode **** l3 match| 1017 ReqURL c /encode *** l3 test | expect 0 = VCL_Log shrink **** l3 match| 1017 VCL_Log c shrink *** l3 test | expect 0 = VCL_Error cannot encode, out of space **** l3 match| 1017 VCL_Error c vmod blob error: cannot encode, out of space **** l3 done | **** v1 vsl| 0 CLI - Rd vcl.load vcl3 vcl_vcl3.1754041955.224095/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl3.1754041955.224095/vgc.so" as "vcl3" **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1754041960 1.0 **** v1 vsl| 0 CLI - Rd vcl.use vcl3 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 1012 Begin c sess 0 HTTP/1 **** v1 vsl| 1012 SessOpen c 127.0.0.1 63064 a0 127.0.0.1 43255 1754041960.900782 22 **** v1 vsl| 1012 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1012 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1012 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1012 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1012 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1012 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1012 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1012 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1013 Begin c req 1012 rxreq **** v1 vsl| 1012 Link c req 1013 rxreq **** v1 vsl| 1013 Timestamp c Start: 1754041960.901234 0.000000 0.000000 **** v1 vsl| 1013 Timestamp c Req: 1754041960.901234 0.000000 0.000000 **** v1 vsl| 1013 VCL_use c vcl3 **** v1 vsl| 1013 ReqStart c 127.0.0.1 63064 a0 **** v1 vsl| 1013 ReqMethod c GET **** dT 18.258 **** v1 vsl| 1013 ReqURL c /decode **** v1 vsl| 1013 ReqProtocol c HTTP/1.1 **** v1 vsl| 1013 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1013 ReqHeader c User-Agent: c-decode **** v1 vsl| 1013 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1013 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1013 VCL_call c RECV **** v1 vsl| 1013 ReqHeader c vrt_blob: 12 **** v1 vsl| 1013 ReqHeader c leave: 5 **** v1 vsl| 1013 VCL_Log c shrink **** v1 vsl| 1013 VCL_Error c vmod blob error: cannot decode, out of space **** v1 vsl| 1013 VCL_return c fail **** v1 vsl| 1013 RespProtocol c HTTP/1.1 **** v1 vsl| 1013 RespStatus c 503 **** v1 vsl| 1013 RespReason c VCL failed **** v1 vsl| 1013 RespHeader c Date: Fri, 01 Aug 2025 09:52:40 GMT **** v1 vsl| 1013 RespHeader c Server: Varnish **** v1 vsl| 1013 RespHeader c X-Varnish: 1013 **** v1 vsl| 1013 VCL_call c SYNTH **** v1 vsl| 1013 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1013 RespHeader c Retry-After: 5 **** v1 vsl| 1013 VCL_return c deliver **** v1 vsl| 1013 Timestamp c Process: 1754041960.902111 0.000877 0.000877 **** v1 vsl| 1013 RespHeader c Content-Length: 251 **** v1 vsl| 1013 Storage c malloc Transient **** v1 vsl| 1013 Filters c **** v1 vsl| 1013 RespHeader c Connection: close **** v1 vsl| 1013 Timestamp c Resp: 1754041960.905185 0.003951 0.003073 **** v1 vsl| 1013 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1013 End c **** v1 vsl| 1012 SessClose c VCL_FAILURE 0.006 **** v1 vsl| 1012 End c **** v1 vsl| 1014 Begin c sess 0 HTTP/1 **** v1 vsl| 1014 SessOpen c 127.0.0.1 25469 a0 127.0.0.1 43255 1754041960.914814 17 **** v1 vsl| 1014 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1014 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1014 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1014 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1014 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1014 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1014 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1014 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1015 Begin c req 1014 rxreq **** v1 vsl| 1014 Link c req 1015 rxreq **** v1 vsl| 1015 Timestamp c Start: 1754041960.915585 0.000000 0.000000 **** v1 vsl| 1015 Timestamp c Req: 1754041960.915585 0.000000 0.000000 **** v1 vsl| 1015 VCL_use c vcl3 **** v1 vsl| 1015 ReqStart c 127.0.0.1 25469 a0 **** v1 vsl| 1015 ReqMethod c GET **** v1 vsl| 1015 ReqURL c /struct **** v1 vsl| 1015 ReqProtocol c HTTP/1.1 **** v1 vsl| 1015 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1015 ReqHeader c User-Agent: c-struct **** v1 vsl| 1015 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1015 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1015 VCL_call c RECV **** dT 18.259 **** v1 vsl| 1015 ReqHeader c vrt_blob: 12 **** v1 vsl| 1015 ReqHeader c leave: 16 **** v1 vsl| 1015 VCL_Log c shrink **** v1 vsl| 1015 VCL_Error c Workspace overflow (blob.decode) **** v1 vsl| 1015 VCL_return c fail **** v1 vsl| 1015 RespProtocol c HTTP/1.1 **** v1 vsl| 1015 RespStatus c 503 **** v1 vsl| 1015 RespReason c VCL failed **** v1 vsl| 1015 RespHeader c Date: Fri, 01 Aug 2025 09:52:40 GMT **** v1 vsl| 1015 RespHeader c Server: Varnish **** v1 vsl| 1015 RespHeader c X-Varnish: 1015 **** v1 vsl| 1015 VCL_call c SYNTH **** v1 vsl| 1015 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1015 RespHeader c Retry-After: 5 **** v1 vsl| 1015 VCL_return c deliver **** v1 vsl| 1015 Timestamp c Process: 1754041960.916549 0.000963 0.000963 **** v1 vsl| 1015 RespHeader c Content-Length: 251 **** v1 vsl| 1015 Storage c malloc Transient **** v1 vsl| 1015 Filters c **** v1 vsl| 1015 RespHeader c Connection: close **** v1 vsl| 1015 Timestamp c Resp: 1754041960.918868 0.003282 0.002318 **** v1 vsl| 1015 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1015 End c **** v1 vsl| 1014 SessClose c VCL_FAILURE 0.004 **** v1 vsl| 1014 End c **** v1 vsl| 1016 Begin c sess 0 HTTP/1 **** v1 vsl| 1016 SessOpen c 127.0.0.1 64086 a0 127.0.0.1 43255 1754041960.925027 22 **** v1 vsl| 1016 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1016 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1016 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1016 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1016 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1016 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1016 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1016 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1017 Begin c req 1016 rxreq **** v1 vsl| 1016 Link c req 1017 rxreq **** v1 vsl| 1017 Timestamp c Start: 1754041960.926402 0.000000 0.000000 **** v1 vsl| 1017 Timestamp c Req: 1754041960.926402 0.000000 0.000000 **** v1 vsl| 1017 VCL_use c vcl3 **** v1 vsl| 1017 ReqStart c 127.0.0.1 64086 a0 **** v1 vsl| 1017 ReqMethod c GET **** v1 vsl| 1017 ReqURL c /encode **** v1 vsl| 1017 ReqProtocol c HTTP/1.1 **** v1 vsl| 1017 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1017 ReqHeader c User-Agent: c-encode **** v1 vsl| 1017 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1017 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1017 VCL_call c RECV **** v1 vsl| 1017 ReqHeader c vrt_blob: 12 **** v1 vsl| 1017 ReqHeader c blob: 16 **** v1 vsl| 1017 ReqHeader c leave: 28 **** v1 vsl| 1017 VCL_Log c shrink **** v1 vsl| 1017 VCL_Error c vmod blob error: cannot encode, out of space **** v1 vsl| 1017 VCL_return c fail **** v1 vsl| 1017 RespProtocol c HTTP/1.1 **** v1 vsl| 1017 RespStatus c 503 **** v1 vsl| 1017 RespReason c VCL failed **** dT 18.260 **** v1 vsl| 1017 RespHeader c Date: Fri, 01 Aug 2025 09:52:40 GMT **** v1 vsl| 1017 RespHeader c Server: Varnish **** v1 vsl| 1017 RespHeader c X-Varnish: 1017 **** v1 vsl| 1017 VCL_call c SYNTH **** v1 vsl| 1017 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1017 RespHeader c Retry-After: 5 **** v1 vsl| 1017 VCL_return c deliver **** v1 vsl| 1017 Timestamp c Process: 1754041960.927393 0.000990 0.000990 **** v1 vsl| 1017 RespHeader c Content-Length: 251 **** v1 vsl| 1017 Storage c malloc Transient **** v1 vsl| 1017 Filters c **** v1 vsl| 1017 RespHeader c Connection: close **** v1 vsl| 1017 Timestamp c Resp: 1754041960.928313 0.001910 0.000920 **** v1 vsl| 1017 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1017 End c **** v1 vsl| 1016 SessClose c VCL_FAILURE 0.004 **** v1 vsl| 1016 End c ** top === logexpect l1 -wait ** l1 Waiting for logexp **** dT 18.261 ** top === logexpect l2 -wait ** l2 Waiting for logexp ** top === logexpect l3 -wait ** l3 Waiting for logexp ** top === varnish v1 -vcl { **** v1 CLI TX|vcl.inline vcl4 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tinclude "/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_recv { **** v1 CLI TX|\t\tif (req.url ~ "decode") { **** v1 CLI TX|\t\t\t# Not enough space to collect the string. **** v1 CLI TX|\t\t\tset req.http.leave = 5; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "struct") { **** v1 CLI TX|\t\t\t# Enough space to collect the decoded string. **** v1 CLI TX|\t\t\t# Not enough space to allocate a blob (aligned). **** v1 CLI TX|\t\t\tset req.http.leave = 20; **** v1 CLI TX|\t\t\tcall shrink; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "encode") { **** v1 CLI TX|\t\t\t# Enough space to decode the string. **** v1 CLI TX|\t\t\t# Not enough space to encode the blob. **** v1 CLI TX|\t\t\tset req.http.blob = 20; **** v1 CLI TX|\t\t\tcall leave_blob; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tblob.encode( **** v1 CLI TX|\t\t blob=blob.decode(HEX, encoded="31323334353637383930")); **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 23.944 *** v1 CLI RX 200 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Unused sub leave_half_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 21 Pos 5) **** v1 CLI RX|sub leave_half_struct { **** v1 CLI RX|----#################-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI RX|Unused sub leave_struct, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 16 Pos 5) **** v1 CLI RX|sub leave_struct { **** v1 CLI RX|----############-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI TX|vcl.use vcl4 **** dT 23.979 **** v1 vsl| 0 CLI - Rd vcl.load vcl4 vcl_vcl4.1754041960.939000/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl4.1754041960.939000/vgc.so" as "vcl4" **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1754041966 1.0 **** dT 23.987 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl4' now active **** dT 23.988 ** top === logexpect l1 { ** l1 === expect 0 * VCL_use vcl4 ** l1 === expect 0 = ReqURL decode ** l1 === expect 0 = VCL_Log shrink ** l1 === expect 0 = VCL_Error "cannot decode, out of space" **** dT 23.990 ** top === logexpect l2 { ** l2 === expect 0 * VCL_use vcl4 ** l2 === expect 0 = ReqURL struct ** l2 === expect 0 = VCL_Log shrink **** dT 23.991 ** l2 === expect 0 = VCL_Error "Workspace overflow .blob.decode." **** dT 23.992 ** top === logexpect l3 { ** l3 === expect 0 * VCL_use vcl4 ** l3 === expect 0 = ReqURL encode ** l3 === expect 0 = VCL_Log shrink **** dT 23.993 ** l3 === expect 0 = VCL_Error "cannot encode, out of space" **** dT 23.994 ** top === client c-decode -run ** c-decode Starting client ** c-decode Waiting for client **** l1 begin| **** l1 qry | ReqURL ~ decode *** l1 test | expect 0 * VCL_use vcl4 **** l2 begin| **** l2 qry | ReqURL ~ struct *** l2 test | expect 0 * VCL_use vcl4 **** l3 begin| **** l3 qry | ReqURL ~ encode *** l3 test | expect 0 * VCL_use vcl4 **** dT 23.995 ** c-decode Started on 127.0.0.1:43255 (1 iterations) *** c-decode Connect to 127.0.0.1:43255 **** dT 23.996 *** c-decode connected fd 32 from 127.0.0.1 31950 to 127.0.0.1:43255 ** c-decode === txreq -url "/decode" **** c-decode txreq|GET /decode HTTP/1.1\r **** c-decode txreq|Host: 127.0.0.1\r **** c-decode txreq|User-Agent: c-decode\r **** c-decode txreq|\r ** c-decode === rxresp **** dT 24.000 **** c-decode rxhdr|HTTP/1.1 503 VCL failed\r **** c-decode rxhdr|Date: Fri, 01 Aug 2025 09:52:46 GMT\r **** c-decode rxhdr|Server: Varnish\r **** c-decode rxhdr|X-Varnish: 1019\r **** c-decode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-decode rxhdr|Retry-After: 5\r **** c-decode rxhdr|Content-Length: 251\r **** c-decode rxhdr|Connection: close\r **** c-decode rxhdr|\r **** c-decode rxhdrlen = 194 **** c-decode http[ 0] |HTTP/1.1 **** c-decode http[ 1] |503 **** c-decode http[ 2] |VCL failed **** c-decode http[ 3] |Date: Fri, 01 Aug 2025 09:52:46 GMT **** dT 24.001 **** c-decode http[ 4] |Server: Varnish **** c-decode http[ 5] |X-Varnish: 1019 **** c-decode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-decode http[ 7] |Retry-After: 5 **** c-decode http[ 8] |Content-Length: 251 **** c-decode http[ 9] |Connection: close **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| **** c-decode c-l| 503 VCL failed **** c-decode c-l| **** c-decode c-l| **** c-decode c-l|

Error 503 VCL failed

**** c-decode c-l|

VCL failed

**** c-decode c-l|

Guru Meditation:

**** c-decode c-l|

XID: 1019

**** c-decode c-l|
**** c-decode c-l|

Varnish cache server

**** c-decode c-l| **** c-decode c-l| **** c-decode bodylen = 251 ** c-decode === expect resp.status == 503 **** c-decode EXPECT resp.status (503) == "503" match ** c-decode === expect resp.reason == "VCL failed" **** c-decode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-decode === expect_close **** c-decode Expecting close (fd = 32) **** dT 24.002 **** c-decode fd=32 EOF, as expected *** c-decode closing fd 32 ** c-decode Ending **** dT 24.003 ** top === client c-struct -run ** c-struct Starting client **** dT 24.004 ** c-struct Waiting for client ** c-struct Started on 127.0.0.1:43255 (1 iterations) *** c-struct Connect to 127.0.0.1:43255 **** dT 24.005 *** c-struct connected fd 32 from 127.0.0.1 44570 to 127.0.0.1:43255 **** dT 24.006 ** c-struct === txreq -url "/struct" **** c-struct txreq|GET /struct HTTP/1.1\r **** c-struct txreq|Host: 127.0.0.1\r **** c-struct txreq|User-Agent: c-struct\r **** c-struct txreq|\r **** dT 24.010 **** l1 match| 1019 VCL_use c vcl4 *** l1 test | expect 0 = ReqURL decode **** l1 match| 1019 ReqURL c /decode *** l1 test | expect 0 = VCL_Log shrink **** l1 match| 1019 VCL_Log c shrink *** l1 test | expect 0 = VCL_Error cannot decode, out of space **** l1 match| 1019 VCL_Error c vmod blob error: cannot decode, out of space **** l1 done | **** dT 24.011 ** c-struct === rxresp **** dT 24.015 **** c-struct rxhdr|HTTP/1.1 503 VCL failed\r **** c-struct rxhdr|Date: Fri, 01 Aug 2025 09:52:46 GMT\r **** c-struct rxhdr|Server: Varnish\r **** c-struct rxhdr|X-Varnish: 1021\r **** c-struct rxhdr|Content-Type: text/html; charset=utf-8\r **** c-struct rxhdr|Retry-After: 5\r **** c-struct rxhdr|Content-Length: 251\r **** c-struct rxhdr|Connection: close\r **** c-struct rxhdr|\r **** c-struct rxhdrlen = 194 **** c-struct http[ 0] |HTTP/1.1 **** c-struct http[ 1] |503 **** c-struct http[ 2] |VCL failed **** c-struct http[ 3] |Date: Fri, 01 Aug 2025 09:52:46 GMT **** c-struct http[ 4] |Server: Varnish **** c-struct http[ 5] |X-Varnish: 1021 **** c-struct http[ 6] |Content-Type: text/html; charset=utf-8 **** c-struct http[ 7] |Retry-After: 5 **** c-struct http[ 8] |Content-Length: 251 **** c-struct http[ 9] |Connection: close **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| 503 VCL failed **** c-struct c-l| **** c-struct c-l| **** c-struct c-l|

Error 503 VCL failed

**** c-struct c-l|

VCL failed

**** c-struct c-l|

Guru Meditation:

**** c-struct c-l|

XID: 1021

**** c-struct c-l|
**** c-struct c-l|

Varnish cache server

**** c-struct c-l| **** c-struct c-l| **** c-struct bodylen = 251 ** c-struct === expect resp.status == 503 **** dT 24.016 **** c-struct EXPECT resp.status (503) == "503" match ** c-struct === expect resp.reason == "VCL failed" **** c-struct EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-struct === expect_close **** c-struct Expecting close (fd = 32) **** c-struct fd=32 EOF, as expected *** c-struct closing fd 32 **** dT 24.017 ** c-struct Ending ** top === client c-encode -run ** c-encode Starting client **** dT 24.018 ** c-encode Waiting for client ** c-encode Started on 127.0.0.1:43255 (1 iterations) *** c-encode Connect to 127.0.0.1:43255 **** dT 24.019 *** c-encode connected fd 32 from 127.0.0.1 17682 to 127.0.0.1:43255 ** c-encode === txreq -url "/encode" **** c-encode txreq|GET /encode HTTP/1.1\r **** c-encode txreq|Host: 127.0.0.1\r **** c-encode txreq|User-Agent: c-encode\r **** c-encode txreq|\r **** dT 24.021 **** l2 match| 1021 VCL_use c vcl4 *** l2 test | expect 0 = ReqURL struct **** l2 match| 1021 ReqURL c /struct *** l2 test | expect 0 = VCL_Log shrink **** l2 match| 1021 VCL_Log c shrink *** l2 test | expect 0 = VCL_Error Workspace overflow .blob.decode. **** l2 match| 1021 VCL_Error c Workspace overflow (blob.decode) **** l2 done | **** dT 24.022 ** c-encode === rxresp **** dT 24.026 **** c-encode rxhdr|HTTP/1.1 503 VCL failed\r **** c-encode rxhdr|Date: Fri, 01 Aug 2025 09:52:46 GMT\r **** c-encode rxhdr|Server: Varnish\r **** c-encode rxhdr|X-Varnish: 1023\r **** c-encode rxhdr|Content-Type: text/html; charset=utf-8\r **** c-encode rxhdr|Retry-After: 5\r **** c-encode rxhdr|Content-Length: 251\r **** c-encode rxhdr|Connection: close\r **** c-encode rxhdr|\r **** c-encode rxhdrlen = 194 **** c-encode http[ 0] |HTTP/1.1 **** c-encode http[ 1] |503 **** c-encode http[ 2] |VCL failed **** c-encode http[ 3] |Date: Fri, 01 Aug 2025 09:52:46 GMT **** c-encode http[ 4] |Server: Varnish **** c-encode http[ 5] |X-Varnish: 1023 **** c-encode http[ 6] |Content-Type: text/html; charset=utf-8 **** c-encode http[ 7] |Retry-After: 5 **** c-encode http[ 8] |Content-Length: 251 **** c-encode http[ 9] |Connection: close **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| **** c-encode c-l| 503 VCL failed **** c-encode c-l| **** c-encode c-l| **** c-encode c-l|

Error 503 VCL failed

**** c-encode c-l|

VCL failed

**** c-encode c-l|

Guru Meditation:

**** c-encode c-l|

XID: 1023

**** c-encode c-l|
**** c-encode c-l|

Varnish cache server

**** c-encode c-l| **** c-encode c-l| **** c-encode bodylen = 251 ** c-encode === expect resp.status == 503 **** dT 24.027 **** c-encode EXPECT resp.status (503) == "503" match ** c-encode === expect resp.reason == "VCL failed" **** c-encode EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-encode === expect_close **** c-encode Expecting close (fd = 32) **** c-encode fd=32 EOF, as expected *** c-encode closing fd 32 **** dT 24.028 ** c-encode Ending **** dT 24.029 ** top === logexpect l1 -wait ** l1 Waiting for logexp ** top === logexpect l2 -wait ** l2 Waiting for logexp ** top === logexpect l3 -wait ** l3 Waiting for logexp **** dT 24.032 **** l3 match| 1023 VCL_use c vcl4 *** l3 test | expect 0 = ReqURL encode **** l3 match| 1023 ReqURL c /encode *** l3 test | expect 0 = VCL_Log shrink **** l3 match| 1023 VCL_Log c shrink *** l3 test | expect 0 = VCL_Error cannot encode, out of space **** l3 match| 1023 VCL_Error c vmod blob error: cannot encode, out of space **** l3 done | ** top === varnish v1 -vcl { **** dT 24.033 **** v1 CLI TX|vcl.inline vcl5 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tinclude "/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl"; **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_miss { **** v1 CLI TX|\t\tif (req.url ~ "req.hash") { **** v1 CLI TX|\t\t\t# Not enough to create the req.hash blob. **** v1 CLI TX|\t\t\tcall leave_half_struct; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tif (req.url ~ "struct") { **** v1 CLI TX|\t\t\t# Enough for the req.hash blob. **** v1 CLI TX|\t\t\t# Not enough for the sub-blob. **** v1 CLI TX|\t\t\tcall leave_struct; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t\tblob.encode(blob=blob.sub(req.hash, 30B)); **** v1 CLI TX|\t\treturn (synth(200)); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 24.081 **** v1 vsl| 0 CLI - Rd vcl.use vcl4 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 1018 Begin c sess 0 HTTP/1 **** v1 vsl| 1018 SessOpen c 127.0.0.1 31950 a0 127.0.0.1 43255 1754041966.673221 17 **** v1 vsl| 1018 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1018 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1018 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1018 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1018 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1018 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1018 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1018 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1019 Begin c req 1018 rxreq **** v1 vsl| 1018 Link c req 1019 rxreq **** v1 vsl| 1019 Timestamp c Start: 1754041966.673701 0.000000 0.000000 **** v1 vsl| 1019 Timestamp c Req: 1754041966.673701 0.000000 0.000000 **** v1 vsl| 1019 VCL_use c vcl4 **** v1 vsl| 1019 ReqStart c 127.0.0.1 31950 a0 **** v1 vsl| 1019 ReqMethod c GET **** v1 vsl| 1019 ReqURL c /decode **** v1 vsl| 1019 ReqProtocol c HTTP/1.1 **** v1 vsl| 1019 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1019 ReqHeader c User-Agent: c-decode **** v1 vsl| 1019 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1019 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1019 VCL_call c RECV **** v1 vsl| 1019 ReqHeader c vrt_blob: 12 **** v1 vsl| 1019 ReqHeader c leave: 5 **** v1 vsl| 1019 VCL_Log c shrink **** dT 24.082 **** v1 vsl| 1019 VCL_Error c vmod blob error: cannot decode, out of space **** v1 vsl| 1019 VCL_return c fail **** v1 vsl| 1019 RespProtocol c HTTP/1.1 **** v1 vsl| 1019 RespStatus c 503 **** v1 vsl| 1019 RespReason c VCL failed **** v1 vsl| 1019 RespHeader c Date: Fri, 01 Aug 2025 09:52:46 GMT **** v1 vsl| 1019 RespHeader c Server: Varnish **** v1 vsl| 1019 RespHeader c X-Varnish: 1019 **** v1 vsl| 1019 VCL_call c SYNTH **** v1 vsl| 1019 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1019 RespHeader c Retry-After: 5 **** v1 vsl| 1019 VCL_return c deliver **** v1 vsl| 1019 Timestamp c Process: 1754041966.674586 0.000884 0.000884 **** v1 vsl| 1019 RespHeader c Content-Length: 251 **** v1 vsl| 1019 Storage c malloc Transient **** v1 vsl| 1019 Filters c **** v1 vsl| 1019 RespHeader c Connection: close **** v1 vsl| 1019 Timestamp c Resp: 1754041966.677712 0.004010 0.003126 **** v1 vsl| 1019 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1019 End c **** v1 vsl| 1018 SessClose c VCL_FAILURE 0.006 **** v1 vsl| 1018 End c **** v1 vsl| 1020 Begin c sess 0 HTTP/1 **** v1 vsl| 1020 SessOpen c 127.0.0.1 44570 a0 127.0.0.1 43255 1754041966.687772 22 **** v1 vsl| 1020 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1020 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1020 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1020 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1020 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1020 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1020 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1020 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1021 Begin c req 1020 rxreq **** v1 vsl| 1020 Link c req 1021 rxreq **** v1 vsl| 1021 Timestamp c Start: 1754041966.688228 0.000000 0.000000 **** v1 vsl| 1021 Timestamp c Req: 1754041966.688228 0.000000 0.000000 **** v1 vsl| 1021 VCL_use c vcl4 **** v1 vsl| 1021 ReqStart c 127.0.0.1 44570 a0 **** v1 vsl| 1021 ReqMethod c GET **** v1 vsl| 1021 ReqURL c /struct **** v1 vsl| 1021 ReqProtocol c HTTP/1.1 **** v1 vsl| 1021 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1021 ReqHeader c User-Agent: c-struct **** v1 vsl| 1021 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1021 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1021 VCL_call c RECV **** v1 vsl| 1021 ReqHeader c vrt_blob: 12 **** v1 vsl| 1021 ReqHeader c leave: 20 **** v1 vsl| 1021 VCL_Log c shrink **** v1 vsl| 1021 VCL_Error c Workspace overflow (blob.decode) **** v1 vsl| 1021 VCL_return c fail **** v1 vsl| 1021 RespProtocol c HTTP/1.1 **** v1 vsl| 1021 RespStatus c 503 **** v1 vsl| 1021 RespReason c VCL failed **** v1 vsl| 1021 RespHeader c Date: Fri, 01 Aug 2025 09:52:46 GMT **** v1 vsl| 1021 RespHeader c Server: Varnish **** v1 vsl| 1021 RespHeader c X-Varnish: 1021 **** v1 vsl| 1021 VCL_call c SYNTH **** v1 vsl| 1021 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1021 RespHeader c Retry-After: 5 **** dT 24.083 **** v1 vsl| 1021 VCL_return c deliver **** v1 vsl| 1021 Timestamp c Process: 1754041966.689176 0.000948 0.000948 **** v1 vsl| 1021 RespHeader c Content-Length: 251 **** v1 vsl| 1021 Storage c malloc Transient **** v1 vsl| 1021 Filters c **** v1 vsl| 1021 RespHeader c Connection: close **** v1 vsl| 1021 Timestamp c Resp: 1754041966.692489 0.004261 0.003312 **** v1 vsl| 1021 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1021 End c **** v1 vsl| 1020 SessClose c VCL_FAILURE 0.006 **** v1 vsl| 1020 End c **** v1 vsl| 1022 Begin c sess 0 HTTP/1 **** v1 vsl| 1022 SessOpen c 127.0.0.1 17682 a0 127.0.0.1 43255 1754041966.698666 17 **** v1 vsl| 1022 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1022 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1022 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1022 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1022 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1022 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1022 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1022 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1023 Begin c req 1022 rxreq **** v1 vsl| 1022 Link c req 1023 rxreq **** v1 vsl| 1023 Timestamp c Start: 1754041966.699112 0.000000 0.000000 **** v1 vsl| 1023 Timestamp c Req: 1754041966.699112 0.000000 0.000000 **** v1 vsl| 1023 VCL_use c vcl4 **** v1 vsl| 1023 ReqStart c 127.0.0.1 17682 a0 **** v1 vsl| 1023 ReqMethod c GET **** v1 vsl| 1023 ReqURL c /encode **** v1 vsl| 1023 ReqProtocol c HTTP/1.1 **** v1 vsl| 1023 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1023 ReqHeader c User-Agent: c-encode **** v1 vsl| 1023 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1023 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1023 VCL_call c RECV **** v1 vsl| 1023 ReqHeader c vrt_blob: 12 **** v1 vsl| 1023 ReqHeader c blob: 20 **** v1 vsl| 1023 ReqHeader c leave: 32 **** v1 vsl| 1023 VCL_Log c shrink **** v1 vsl| 1023 VCL_Error c vmod blob error: cannot encode, out of space **** v1 vsl| 1023 VCL_return c fail **** v1 vsl| 1023 RespProtocol c HTTP/1.1 **** v1 vsl| 1023 RespStatus c 503 **** v1 vsl| 1023 RespReason c VCL failed **** v1 vsl| 1023 RespHeader c Date: Fri, 01 Aug 2025 09:52:46 GMT **** v1 vsl| 1023 RespHeader c Server: Varnish **** v1 vsl| 1023 RespHeader c X-Varnish: 1023 **** v1 vsl| 1023 VCL_call c SYNTH **** v1 vsl| 1023 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1023 RespHeader c Retry-After: 5 **** v1 vsl| 1023 VCL_return c deliver **** v1 vsl| 1023 Timestamp c Process: 1754041966.700080 0.000967 0.000967 **** v1 vsl| 1023 RespHeader c Content-Length: 251 **** v1 vsl| 1023 Storage c malloc Transient **** v1 vsl| 1023 Filters c **** v1 vsl| 1023 RespHeader c Connection: close **** v1 vsl| 1023 Timestamp c Resp: 1754041966.703402 0.004290 0.003322 **** v1 vsl| 1023 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1023 End c **** v1 vsl| 1022 SessClose c VCL_FAILURE 0.006 **** dT 24.084 **** v1 vsl| 1022 End c **** dT 29.535 *** v1 CLI RX 200 **** v1 CLI RX|Message from VCC-compiler: **** v1 CLI RX|Unused sub leave_blob, defined: **** v1 CLI RX|('/root/VT/_vtest_tmp/vtc.53189.3fec064a/vrt_blob.vcl' Line 26 Pos 5) **** v1 CLI RX|sub leave_blob { **** v1 CLI RX|----##########-- **** v1 CLI RX| **** v1 CLI RX|(That was just a warning) **** v1 CLI TX|vcl.use vcl5 **** dT 29.578 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl5' now active ** top === logexpect l4 { **** dT 29.579 ** l4 === expect 0 * VCL_use vcl5 ** l4 === expect 0 = ReqURL req.hash ** l4 === expect 0 = VCL_Log shrink ** l4 === expect 0 = VCL_Error "Workspace overflow .req.hash." **** dT 29.582 ** top === logexpect l2 { ** l2 === expect 0 * VCL_use vcl5 ** l2 === expect 0 = ReqURL struct **** dT 29.583 ** l2 === expect 0 = VCL_Log shrink ** l2 === expect 0 = VCL_Error "Workspace overflow .blob.sub." **** dT 29.584 ** top === client c-req-hash -run ** c-req-hash Starting client **** dT 29.585 ** c-req-hash Waiting for client **** l4 begin| **** l4 qry | ReqURL ~ req.hash *** l4 test | expect 0 * VCL_use vcl5 **** l2 begin| **** l2 qry | ReqURL ~ struct *** l2 test | expect 0 * VCL_use vcl5 ** c-req-hash Started on 127.0.0.1:43255 (1 iterations) *** c-req-hash Connect to 127.0.0.1:43255 **** dT 29.586 *** c-req-hash connected fd 34 from 127.0.0.1 15383 to 127.0.0.1:43255 ** c-req-hash === txreq -url "/req.hash" **** dT 29.587 **** c-req-hash txreq|GET /req.hash HTTP/1.1\r **** c-req-hash txreq|Host: 127.0.0.1\r **** c-req-hash txreq|User-Agent: c-req-hash\r **** c-req-hash txreq|\r ** c-req-hash === rxresp **** dT 29.591 **** c-req-hash rxhdr|HTTP/1.1 503 VCL failed\r **** c-req-hash rxhdr|Date: Fri, 01 Aug 2025 09:52:52 GMT\r **** c-req-hash rxhdr|Server: Varnish\r **** c-req-hash rxhdr|X-Varnish: 1025\r **** c-req-hash rxhdr|Content-Type: text/html; charset=utf-8\r **** c-req-hash rxhdr|Retry-After: 5\r **** c-req-hash rxhdr|Content-Length: 251\r **** c-req-hash rxhdr|Connection: close\r **** c-req-hash rxhdr|\r **** c-req-hash rxhdrlen = 194 **** c-req-hash http[ 0] |HTTP/1.1 **** c-req-hash http[ 1] |503 **** c-req-hash http[ 2] |VCL failed **** c-req-hash http[ 3] |Date: Fri, 01 Aug 2025 09:52:52 GMT **** c-req-hash http[ 4] |Server: Varnish **** c-req-hash http[ 5] |X-Varnish: 1025 **** c-req-hash http[ 6] |Content-Type: text/html; charset=utf-8 **** c-req-hash http[ 7] |Retry-After: 5 **** c-req-hash http[ 8] |Content-Length: 251 **** dT 29.592 **** c-req-hash http[ 9] |Connection: close **** c-req-hash c-l| **** c-req-hash c-l| **** c-req-hash c-l| **** c-req-hash c-l| 503 VCL failed **** c-req-hash c-l| **** c-req-hash c-l| **** c-req-hash c-l|

Error 503 VCL failed

**** c-req-hash c-l|

VCL failed

**** c-req-hash c-l|

Guru Meditation:

**** c-req-hash c-l|

XID: 1025

**** c-req-hash c-l|
**** c-req-hash c-l|

Varnish cache server

**** c-req-hash c-l| **** c-req-hash c-l| **** c-req-hash bodylen = 251 ** c-req-hash === expect resp.status == 503 **** c-req-hash EXPECT resp.status (503) == "503" match ** c-req-hash === expect resp.reason == "VCL failed" **** c-req-hash EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-req-hash === expect_close **** c-req-hash Expecting close (fd = 34) **** c-req-hash fd=34 EOF, as expected **** dT 29.593 *** c-req-hash closing fd 34 ** c-req-hash Ending **** dT 29.594 ** top === client c-struct -run ** c-struct Starting client **** dT 29.595 ** c-struct Waiting for client ** c-struct Started on 127.0.0.1:43255 (1 iterations) *** c-struct Connect to 127.0.0.1:43255 **** dT 29.596 *** c-struct connected fd 34 from 127.0.0.1 40457 to 127.0.0.1:43255 **** dT 29.598 **** l4 match| 1025 VCL_use c vcl5 *** l4 test | expect 0 = ReqURL req.hash **** l4 match| 1025 ReqURL c /req.hash *** l4 test | expect 0 = VCL_Log shrink **** l4 match| 1025 VCL_Log c shrink *** l4 test | expect 0 = VCL_Error Workspace overflow .req.hash. **** l4 match| 1025 VCL_Error c Workspace overflow (req.hash) **** l4 done | **** dT 29.600 ** c-struct === txreq -url "/struct" **** c-struct txreq|GET /struct HTTP/1.1\r **** c-struct txreq|Host: 127.0.0.1\r **** c-struct txreq|User-Agent: c-struct\r **** c-struct txreq|\r **** dT 29.603 ** c-struct === rxresp **** dT 29.605 **** c-struct rxhdr|HTTP/1.1 503 VCL failed\r **** c-struct rxhdr|Date: Fri, 01 Aug 2025 09:52:52 GMT\r **** c-struct rxhdr|Server: Varnish\r **** c-struct rxhdr|X-Varnish: 1027\r **** c-struct rxhdr|Content-Type: text/html; charset=utf-8\r **** c-struct rxhdr|Retry-After: 5\r **** c-struct rxhdr|Content-Length: 251\r **** c-struct rxhdr|Connection: close\r **** c-struct rxhdr|\r **** c-struct rxhdrlen = 194 **** c-struct http[ 0] |HTTP/1.1 **** c-struct http[ 1] |503 **** c-struct http[ 2] |VCL failed **** c-struct http[ 3] |Date: Fri, 01 Aug 2025 09:52:52 GMT **** c-struct http[ 4] |Server: Varnish **** c-struct http[ 5] |X-Varnish: 1027 **** c-struct http[ 6] |Content-Type: text/html; charset=utf-8 **** c-struct http[ 7] |Retry-After: 5 **** c-struct http[ 8] |Content-Length: 251 **** c-struct http[ 9] |Connection: close **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| **** c-struct c-l| 503 VCL failed **** c-struct c-l| **** c-struct c-l| **** c-struct c-l|

Error 503 VCL failed

**** c-struct c-l|

VCL failed

**** c-struct c-l|

Guru Meditation:

**** c-struct c-l|

XID: 1027

**** c-struct c-l|
**** c-struct c-l|

Varnish cache server

**** c-struct c-l| **** c-struct c-l| **** c-struct bodylen = 251 ** c-struct === expect resp.status == 503 **** dT 29.606 **** c-struct EXPECT resp.status (503) == "503" match ** c-struct === expect resp.reason == "VCL failed" **** c-struct EXPECT resp.reason (VCL failed) == "VCL failed" match ** c-struct === expect_close **** c-struct Expecting close (fd = 34) **** c-struct fd=34 EOF, as expected *** c-struct closing fd 34 **** dT 29.607 ** c-struct Ending ** top === logexpect l4 -wait **** dT 29.608 ** l4 Waiting for logexp ** top === logexpect l2 -wait ** l2 Waiting for logexp **** dT 29.611 **** l2 match| 1027 VCL_use c vcl5 *** l2 test | expect 0 = ReqURL struct **** l2 match| 1027 ReqURL c /struct *** l2 test | expect 0 = VCL_Log shrink **** l2 match| 1027 VCL_Log c shrink *** l2 test | expect 0 = VCL_Error Workspace overflow .blob.sub. **** l2 err | 1027 VCL_Error c Workspace overflow (req.hash) ---- l2 bad | expectation failed * top RESETTING after ../../../vmod/tests/blob_b00011.vtc **** dT 29.612 ** v1 Wait **** dT 29.613 **** v1 CLI TX|panic.show **** dT 29.620 **** v1 vsl| 0 CLI - Rd vcl.load vcl5 vcl_vcl5.1754041966.709925/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl5.1754041966.709925/vgc.so" as "vcl5" **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1754041972 1.0 **** v1 vsl| 0 CLI - Rd vcl.use vcl5 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 1024 Begin c sess 0 HTTP/1 **** v1 vsl| 1024 SessOpen c 127.0.0.1 15383 a0 127.0.0.1 43255 1754041972.263767 22 **** v1 vsl| 1024 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1024 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1024 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1024 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1024 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1024 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1024 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1024 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1025 Begin c req 1024 rxreq **** v1 vsl| 1024 Link c req 1025 rxreq **** v1 vsl| 1025 Timestamp c Start: 1754041972.264215 0.000000 0.000000 **** dT 29.621 **** v1 vsl| 1025 Timestamp c Req: 1754041972.264215 0.000000 0.000000 **** v1 vsl| 1025 VCL_use c vcl5 **** v1 vsl| 1025 ReqStart c 127.0.0.1 15383 a0 **** v1 vsl| 1025 ReqMethod c GET **** v1 vsl| 1025 ReqURL c /req.hash **** v1 vsl| 1025 ReqProtocol c HTTP/1.1 **** v1 vsl| 1025 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1025 ReqHeader c User-Agent: c-req-hash **** v1 vsl| 1025 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1025 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1025 VCL_call c RECV **** v1 vsl| 1025 ReqHeader c vrt_blob: 12 **** v1 vsl| 1025 VCL_return c hash **** v1 vsl| 1025 VCL_call c HASH **** v1 vsl| 1025 VCL_return c lookup **** v1 vsl| 1025 VCL_call c MISS **** v1 vsl| 1025 ReqHeader c leave: 6 **** v1 vsl| 1025 VCL_Log c shrink **** v1 vsl| 1025 VCL_Error c Workspace overflow (req.hash) **** v1 vsl| 1025 VCL_return c fail **** v1 vsl| 1025 RespProtocol c HTTP/1.1 **** v1 vsl| 1025 RespStatus c 503 **** v1 vsl| 1025 RespReason c VCL failed **** v1 vsl| 1025 RespHeader c Date: Fri, 01 Aug 2025 09:52:52 GMT **** v1 vsl| 1025 RespHeader c Server: Varnish **** v1 vsl| 1025 RespHeader c X-Varnish: 1025 **** v1 vsl| 1025 VCL_call c SYNTH **** v1 vsl| 1025 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1025 RespHeader c Retry-After: 5 **** v1 vsl| 1025 VCL_return c deliver **** v1 vsl| 1025 Timestamp c Process: 1754041972.265577 0.001362 0.001362 **** v1 vsl| 1025 RespHeader c Content-Length: 251 **** v1 vsl| 1025 Storage c malloc Transient **** v1 vsl| 1025 Filters c **** v1 vsl| 1025 RespHeader c Connection: close **** v1 vsl| 1025 Timestamp c Resp: 1754041972.268654 0.004439 0.003077 **** v1 vsl| 1025 ReqAcct c 67 0 67 194 251 445 **** v1 vsl| 1025 End c **** v1 vsl| 1024 SessClose c VCL_FAILURE 0.007 **** v1 vsl| 1024 End c **** v1 vsl| 1026 Begin c sess 0 HTTP/1 **** v1 vsl| 1026 SessOpen c 127.0.0.1 40457 a0 127.0.0.1 43255 1754041972.276928 17 **** v1 vsl| 1026 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1026 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:43255 **** v1 vsl| 1026 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1026 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:43255 **** v1 vsl| 1026 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:43255 **** v1 vsl| 1026 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1026 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1026 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:43255 **** v1 vsl| 1027 Begin c req 1026 rxreq **** v1 vsl| 1026 Link c req 1027 rxreq **** v1 vsl| 1027 Timestamp c Start: 1754041972.277682 0.000000 0.000000 **** v1 vsl| 1027 Timestamp c Req: 1754041972.277682 0.000000 0.000000 **** v1 vsl| 1027 VCL_use c vcl5 **** v1 vsl| 1027 ReqStart c 127.0.0.1 40457 a0 **** v1 vsl| 1027 ReqMethod c GET **** v1 vsl| 1027 ReqURL c /struct **** v1 vsl| 1027 ReqProtocol c HTTP/1.1 **** dT 29.622 **** v1 vsl| 1027 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1027 ReqHeader c User-Agent: c-struct **** v1 vsl| 1027 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1027 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1027 VCL_call c RECV **** v1 vsl| 1027 ReqHeader c vrt_blob: 12 **** v1 vsl| 1027 VCL_return c hash **** v1 vsl| 1027 VCL_call c HASH **** v1 vsl| 1027 VCL_return c lookup **** v1 vsl| 1027 VCL_call c MISS **** v1 vsl| 1027 ReqHeader c leave: 12 **** v1 vsl| 1027 VCL_Log c shrink **** v1 vsl| 1027 VCL_Error c Workspace overflow (req.hash) **** v1 vsl| 1027 VCL_return c fail **** v1 vsl| 1027 RespProtocol c HTTP/1.1 **** v1 vsl| 1027 RespStatus c 503 **** v1 vsl| 1027 RespReason c VCL failed **** v1 vsl| 1027 RespHeader c Date: Fri, 01 Aug 2025 09:52:52 GMT **** v1 vsl| 1027 RespHeader c Server: Varnish **** v1 vsl| 1027 RespHeader c X-Varnish: 1027 **** v1 vsl| 1027 VCL_call c SYNTH **** v1 vsl| 1027 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1027 RespHeader c Retry-After: 5 **** v1 vsl| 1027 VCL_return c deliver **** v1 vsl| 1027 Timestamp c Process: 1754041972.278953 0.001270 0.001270 **** v1 vsl| 1027 RespHeader c Content-Length: 251 **** v1 vsl| 1027 Storage c malloc Transient **** v1 vsl| 1027 Filters c **** v1 vsl| 1027 RespHeader c Connection: close **** v1 vsl| 1027 Timestamp c Resp: 1754041972.282406 0.004723 0.003453 **** v1 vsl| 1027 ReqAcct c 63 0 63 194 251 445 **** v1 vsl| 1027 End c **** v1 vsl| 1026 SessClose c VCL_FAILURE 0.007 **** v1 vsl| 1026 End c **** dT 29.655 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 29.656 *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 29.667 *** v1 debug|Info: Child (53215) said Child dies **** dT 29.668 *** v1 debug|Info: Child (53215) ended **** dT 29.670 *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** dT 29.677 **** v1 STDOUT EOF **** dT 29.729 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 29.813 ** v1 WAIT4 pid=53205 status=0x0000 (user 25.973867 sys 2.137637) **** dT 29.831 * top TEST ../../../vmod/tests/blob_b00011.vtc FAILED # top TEST ../../../vmod/tests/blob_b00011.vtc FAILED (29.841) exit=2 FAIL tests/blob_b00011.vtc (exit status: 2)