**** dT 0.000 * top TEST ../../../../bin/vinyltest/tests/r01918.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest **** 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:36299 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/root/vinyl-cache/vinyl-cache-trunk/_build/sub **** top extmacro def topsrc=/root/vinyl-cache/vinyl-cache-trunk/_build/sub/../.. **** top macro def testdir=/root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/../../../../bin/vinyltest/tests **** top macro def tmpdir=/root/_vtest_tmp/vtc.176578.1edd4c1f **** top macro def vtcid=vtc.176578.1edd4c1f ** top === vtest "Check EOF responses work with HTTP/1.1" * top VTEST Check EOF responses work with HTTP/1.1 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=45023 **** s1 macro def s1_sock=127.0.0.1:45023 * s1 Listen on 127.0.0.1:45023 ** top === vinyl v1 -vcl+backend { **** dT 0.001 ** s1 Started on 127.0.0.1:45023 (1 iterations) **** dT 0.005 ** v1 Launch *** v1 CMD: cd ${pwd} && exec vinyld -d -n /root/_vtest_tmp/vtc.176578.1edd4c1f/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 34847' -P /root/_vtest_tmp/vtc.176578.1edd4c1f/v1/vinyld.pid -p vmod_path=/root/vinyl-cache/vinyl-cache-trunk/_build/sub/vmod/.libs: *** v1 CMD: cd /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest && exec vinyld -d -n /root/_vtest_tmp/vtc.176578.1edd4c1f/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 34847' -P /root/_vtest_tmp/vtc.176578.1edd4c1f/v1/vinyld.pid -p vmod_path=/root/vinyl-cache/vinyl-cache-trunk/_build/sub/vmod/.libs: *** v1 PID: 176606 **** v1 macro def v1_pid=176606 **** v1 macro def v1_name=/root/_vtest_tmp/vtc.176578.1edd4c1f/v1 **** dT 0.016 *** v1 debug|Debug: Version: vinyl-cache-trunk revision 378893eb92c16da57f73dde24fe740a5e1cf4ba0 *** v1 debug|Debug: Platform: Linux,6.12.95+deb13-cloud-amd64,x86_64,-jnone,-sdefault,-sdefault,-ssynth,-hcritbit *** v1 debug|200 336 *** v1 debug|----------------------------- *** v1 debug|Vinyl Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,6.12.95+deb13-cloud-amd64,x86_64,-jnone,-sdefault,-sdefault,-ssynth,-hcritbit *** v1 debug|vinyl-cache-trunk revision 378893eb92c16da57f73dde24fe740a5e1cf4ba0 *** 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.115 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 6 *** v1 CLI RX 107 **** v1 CLI RX|alkujfgbpbodzbzobdijmvzwqziaczct **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 76bb2fe3e80cc25c779d065973cf4304cb77dae4eb31829df2fc3f2803eea5fc **** dT 0.116 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Vinyl Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,6.12.95+deb13-cloud-amd64,x86_64,-jnone,-sdefault,-sdefault,-ssynth,-hcritbit **** v1 CLI RX|vinyl-cache-trunk revision 378893eb92c16da57f73dde24fe740a5e1cf4ba0 **** 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. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "45023"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.216 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.316 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.416 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.517 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.572 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 0.573 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 0.617 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.622 *** v1 debug|Debug: Child (176697) Started **** dT 0.645 *** v1 debug|Child launched OK **** dT 0.647 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status *** v1 debug|Info: Child (176697) said Child starts **** dT 0.691 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 0.718 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1783919570.846523/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1783919570.846523/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:39659 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:39659 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:39659 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:39659 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:39659 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:39659 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:39659 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:39659 **** v1 vsl| 0 CLI - Wr 200 0 **** dT 0.739 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39659 **** v1 CLI TX|debug.xid 1000 **** dT 0.783 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 0.818 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39659 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 0.827 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39659 ** v1 Listen on 127.0.0.1 39659 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=39659 **** v1 macro def v1_sock=127.0.0.1:39659 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=39659 **** v1 macro def v1_a0_sock=127.0.0.1:39659 ** top === client c1 { ** c1 Starting client ** c1 Waiting for client ** c1 Started on 127.0.0.1:39659 (1 iterations) *** c1 Connect to 127.0.0.1:39659 *** c1 connected fd 16 from 127.0.0.1 55942 to 127.0.0.1:39659 ** c1 === txreq **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 0.831 *** s1 accepted fd 4 127.0.0.1 38700 ** s1 === rxreq **** dT 0.833 **** s1 rxhdr|GET / HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Vinyl-Cache/trunk)\r **** s1 rxhdr|Accept-Encoding: gzip\r **** s1 rxhdr|X-Vinyl: 1002\r **** s1 rxhdr|\r **** s1 rxhdrlen = 150 **** s1 http[ 0] |GET **** s1 http[ 1] |/ **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Vinyl-Cache/trunk) **** s1 http[ 7] |Accept-Encoding: gzip **** s1 http[ 8] |X-Vinyl: 1002 **** s1 bodylen = 0 ** s1 === txresp -nolen -bodylen 10 **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Date: Mon, 13 Jul 2026 05:12:51 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|\r **** s1 txresp|!"#$%&'() ** s1 === close **** dT 0.835 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|Date: Mon, 13 Jul 2026 05:12:51 GMT\r **** c1 rxhdr|Server: s1\r **** c1 rxhdr|X-Vinyl: 1001\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Vinyl-Cache/trunk)\r **** c1 rxhdr|Accept-Ranges: bytes\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|Transfer-Encoding: chunked\r **** c1 rxhdr|\r **** c1 rxhdrlen = 198 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |Date: Mon, 13 Jul 2026 05:12:51 GMT **** c1 http[ 4] |Server: s1 **** c1 http[ 5] |X-Vinyl: 1001 **** c1 http[ 6] |Age: 0 **** c1 http[ 7] |Via: 1.1 v1 (Vinyl-Cache/trunk) **** c1 http[ 8] |Accept-Ranges: bytes **** c1 http[ 9] |Connection: keep-alive **** c1 http[10] |Transfer-Encoding: chunked **** c1 len|00a\r **** c1 chunk|!"#$%&'() **** c1 len|0\r **** c1 chunked|!"#$%&'() **** c1 bodylen = 10 ** c1 === expect resp.status == 200 **** c1 EXPECT resp.status (200) == "200" match **** dT 0.836 ** c1 === expect resp.bodylen == 10 **** c1 EXPECT resp.bodylen (10) == "10" match *** c1 closing fd 16 ** c1 Ending **** s1 Closed * top RESETTING after ../../../../bin/vinyltest/tests/r01918.vtc * s1 Aborting execution, test ended *** s1 shutting fd -1 (server run) ** s1 Waiting for server (3/-1) ---- s1 Assert error in VTCP_close(), ../../../../lib/libvinyl/vtcp.c line 341: Condition(VTCP_Check(i)) not true. Errno=9 Bad file descriptor Backtrace: 0x55f7707ba26d: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest(+0x5226d) [0x55f7707ba26d] 0x55f7707ba4cb: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest(+0x524cb) [0x55f7707ba4cb] 0x55f7707ba536: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest(+0x52536) [0x55f7707ba536] 0x55f77079a0cc: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest(+0x320cc) [0x55f77079a0cc] 0x7fbe7f94cab7: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/lib/libvinylapi/.libs/libvinylapi.so.3(VAS_Fail+0x4f) [0x7fbe7f94cab7] 0x55f7707c58c9: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest(+0x5d8c9) [0x55f7707c58c9] 0x55f7707aa0bb: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest(+0x420bb) [0x55f7707aa0bb] 0x55f7707ac004: /root/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/.libs/vinyltest(+0x44004) [0x55f7707ac004] 0x7fbe7f623b7b: /lib/x86_64-linux-gnu/libc.so.6(+0x92b7b) [0x7fbe7f623b7b] 0x7fbe7f6a17f8: /lib/x86_64-linux-gnu/libc.so.6(+0x1107f8) [0x7fbe7f6a17f8] **** dT 0.838 ** v1 Wait **** v1 CLI TX|panic.show **** dT 0.887 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 0.921 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39659 **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 55942 a0 127.0.0.1 39659 1783919571.560951 20 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:39659 **** v1 vsl| 1000 Link c req 1001 rxreq **** v1 vsl| 1002 Begin b bereq 1001 fetch **** v1 vsl| 1002 VCL_use b vcl1 **** v1 vsl| 1002 Timestamp b Start: 1783919571.561166 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** v1 vsl| 1002 BereqURL b / **** v1 vsl| 1002 BereqProtocol b HTTP/1.1 **** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b User-Agent: c1 **** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b Via: 1.1 v1 (Vinyl-Cache/trunk) **** v1 vsl| 1002 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1002 BereqHeader b X-Vinyl: 1002 **** v1 vsl| 1002 VCL_call b BACKEND_FETCH **** v1 vsl| 1002 VCL_return b fetch **** v1 vsl| 1002 Timestamp b Fetch: 1783919571.561201 0.000035 0.000035 **** v1 vsl| 1002 Timestamp b Connected: 1783919571.561354 0.000187 0.000152 **** v1 vsl| 1002 BackendOpen b 23 s1 127.0.0.1 45023 127.0.0.1 38700 connect **** v1 vsl| 1002 Timestamp b Bereq: 1783919571.561418 0.000252 0.000064 **** v1 vsl| 1002 BerespProtocol b HTTP/1.1 **** v1 vsl| 1002 BerespStatus b 200 **** v1 vsl| 1002 BerespReason b OK **** v1 vsl| 1002 BerespHeader b Date: Mon, 13 Jul 2026 05:12:51 GMT **** v1 vsl| 1002 BerespHeader b Server: s1 **** v1 vsl| 1002 Timestamp b Beresp: 1783919571.563283 0.002117 0.001865 **** v1 vsl| 1002 TTL b RFC 120 10 0 1783919572 1783919572 1783919571 0 0 cacheable **** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1002 VCL_return b deliver **** v1 vsl| 1002 Debug b Missing content-range header or unknown range unit **** v1 vsl| 1002 Timestamp b Process: 1783919571.563333 0.002166 0.000049 **** v1 vsl| 1002 Filters b **** v1 vsl| 1002 Storage b malloc s0 **** v1 vsl| 1002 Fetch_Body b 4 eof stream **** v1 vsl| 1002 BackendClose b 23 s1 close RESP_CLOSE **** v1 vsl| 1002 Timestamp b BerespBody: 1783919571.563475 0.002309 0.000142 **** v1 vsl| 1002 Length b 10 **** v1 vsl| 1002 BereqAcct b 150 0 150 68 10 78 **** v1 vsl| 1002 End b **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1001 Timestamp c Start: 1783919571.561019 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1783919571.561019 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 55942 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c / **** v1 vsl| 1001 ReqProtocol c HTTP/1.1 **** v1 vsl| 1001 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c User-Agent: c1 **** v1 vsl| 1001 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c Via: 1.1 v1 (Vinyl-Cache/trunk) **** v1 vsl| 1001 VCL_call c RECV **** v1 vsl| 1001 VCL_return c hash **** v1 vsl| 1001 VCL_call c HASH **** v1 vsl| 1001 VCL_return c lookup **** v1 vsl| 1001 VCL_call c MISS **** v1 vsl| 1001 VCL_return c fetch **** v1 vsl| 1001 Link c bereq 1002 fetch **** v1 vsl| 1001 Timestamp c Fetch: 1783919571.563392 0.002373 0.002373 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 200 **** v1 vsl| 1001 RespReason c OK **** v1 vsl| 1001 RespHeader c Date: Mon, 13 Jul 2026 05:12:51 GMT **** v1 vsl| 1001 RespHeader c Server: s1 **** v1 vsl| 1001 RespHeader c X-Vinyl: 1001 **** v1 vsl| 1001 RespHeader c Age: 0 **** v1 vsl| 1001 RespHeader c Via: 1.1 v1 (Vinyl-Cache/trunk) **** v1 vsl| 1001 RespHeader c Accept-Ranges: bytes **** v1 vsl| 1001 VCL_call c DELIVER **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1783919571.563421 0.002402 0.000028 **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: keep-alive **** v1 vsl| 1001 RespHeader c Transfer-Encoding: chunked **** v1 vsl| 1001 Timestamp c Resp: 1783919571.563573 0.002554 0.000151 **** v1 vsl| 1001 ReqAcct c 51 0 51 198 10 208 **** v1 vsl| 1001 End c **** v1 vsl| 1000 SessClose c REM_CLOSE 0.005 **** v1 vsl| 1000 End c **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 1.724 **** v1 vsl| 0 Debug - Kill Pool 0x7f6458000b70 **** dT 1.891 *** v1 debug|Info: Child (176697) said shutdown waiting for 1 reference on vcl1 **** dT 1.991 *** v1 debug|Info: Child (176697) said Child dies usr=0.003590 sys=0.014363 *** v1 debug|Info: Child (176697) ended *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** dT 1.992 **** v1 STDOUT EOF **** dT 2.025 ** v1 WAIT4 pid=176606 status=0x0000 (user 0.417608 sys 0.071699) **** dT 2.026 * top TEST ../../../../bin/vinyltest/tests/r01918.vtc FAILED