**** dT 0.000
* top TEST ../../../../bin/varnishtest/tests/r00861.vtc starting
**** top extmacro def pwd=/Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest
**** top extmacro def date(...)
**** top extmacro def string(...)
**** top extmacro def localhost=127.0.0.1
**** top extmacro def bad_backend=127.0.0.1:63326
**** top extmacro def listen_addr=127.0.0.1:0
**** top extmacro def bad_ip=192.0.2.255
**** top extmacro def topbuild=/Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub
**** top macro def testdir=/Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests
**** top macro def tmpdir=/var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d
** top === varnishtest "Regression test for ESI/Gzip issues in #861"
* top VTEST Regression test for ESI/Gzip issues in #861
** top === server s1 {
** s1 Starting server
**** s1 macro def s1_addr=127.0.0.1
**** s1 macro def s1_port=63327
**** s1 macro def s1_sock=127.0.0.1:63327
* s1 Listen on 127.0.0.1:63327
** top === varnish v1 \
** s1 Started on 127.0.0.1:63327 (1 iterations)
**** dT 0.005
** v1 Launch
*** v1 CMD: cd ${pwd} && exec varnishd -d -n /var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/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 -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 63328' -P /var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/v1/varnishd.pid -p vmod_path=/Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs
*** v1 CMD: cd /Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/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 -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 63328' -P /var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/v1/varnishd.pid -p vmod_path=/Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs
*** v1 PID: 30263
**** v1 macro def v1_pid=30263
**** v1 macro def v1_name=/var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/v1
**** dT 0.016
*** v1 debug|Debug: Version: varnish-trunk revision 5424da941529503c724911d8141e6824db756f88
*** v1 debug|Debug: Platform: Darwin,20.5.0,arm64,-jnone,-sdefault,-sdefault,-hcritbit
*** v1 debug|200 307
*** v1 debug|-----------------------------
*** v1 debug|Varnish Cache CLI 1.0
*** v1 debug|-----------------------------
*** v1 debug|Darwin,20.5.0,arm64,-jnone,-sdefault,-sdefault,-hcritbit
*** v1 debug|varnish-trunk revision 5424da941529503c724911d8141e6824db756f88
*** 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.116
**** v1 CLIPOLL 1 0x1 0x0 0x0
*** v1 CLI connection fd = 6
*** v1 CLI RX 107
**** v1 CLI RX|kavnpiytepeqwtafsijpheggcrpevkvu
**** v1 CLI RX|
**** v1 CLI RX|Authentication required.
**** dT 0.117
**** v1 CLI TX|auth ca8b1191eeb0a407e112cdcf0ca7ce35cdd65b45c2c1a54086992dc1c3c99920
**** dT 0.118
*** v1 CLI RX 200
**** v1 CLI RX|-----------------------------
**** v1 CLI RX|Varnish Cache CLI 1.0
**** v1 CLI RX|-----------------------------
**** v1 CLI RX|Darwin,20.5.0,arm64,-jnone,-sdefault,-sdefault,-hcritbit
**** v1 CLI RX|varnish-trunk revision 5424da941529503c724911d8141e6824db756f88
**** 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 = "63327"; }
**** v1 CLI TX|
**** v1 CLI TX|
**** v1 CLI TX|\t\tsub vcl_backend_response {
**** v1 CLI TX|\t\t\tif (bereq.url == "/1" || bereq.url == "/2") {
**** v1 CLI TX|\t\t\t\tset beresp.do_esi = true;
**** v1 CLI TX|\t\t\t\tset beresp.do_gzip = true;
**** v1 CLI TX|\t\t\t}
**** v1 CLI TX|\t\t}
**** v1 CLI TX|\t
**** v1 CLI TX|%XJEIFLH|)Xspa8P
**** dT 0.228
*** v1 vsl|No VSL chunk found (child not started ?)
**** dT 0.292
*** v1 CLI RX 200
**** v1 CLI RX|VCL compiled.
**** v1 CLI TX|vcl.use vcl1
*** v1 CLI RX 200
**** v1 CLI RX|VCL 'vcl1' now active
** v1 Start
**** v1 CLI TX|start
**** dT 0.294
*** v1 debug|Debug: Child (30388) Started
**** dT 0.311
*** v1 debug|Child launched OK
**** dT 0.312
*** v1 debug|Info: Child (30388) said Child starts
*** v1 CLI RX 200
*** v1 wait-running
**** v1 CLI TX|status
*** v1 CLI RX 200
**** v1 CLI RX|Child in state running
**** v1 CLI TX|debug.listen_address
*** v1 CLI RX 200
**** v1 CLI RX|a0 127.0.0.1 63329
**** v1 CLI TX|debug.xid 999
*** v1 CLI RX 200
**** v1 CLI RX|XID is 999 chunk 1
**** v1 CLI TX|debug.listen_address
*** v1 CLI RX 200
**** v1 CLI RX|a0 127.0.0.1 63329
** v1 Listen on 127.0.0.1 63329
**** v1 macro def v1_addr=127.0.0.1
**** v1 macro def v1_port=63329
**** v1 macro def v1_sock=127.0.0.1:63329
**** v1 macro def v1_a0_addr=127.0.0.1
**** v1 macro def v1_a0_port=63329
**** v1 macro def v1_a0_sock=127.0.0.1:63329
**** dT 0.337
**** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1648339928.641748/vgc.so 1auto
**** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1648339928.641748/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:63329
**** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:63329
**** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:63329
**** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:63329
**** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:63329
**** v1 vsl| 0 CLI - Wr 200 0
**** v1 vsl| 0 CLI - Rd debug.listen_address
**** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 63329
**** v1 vsl| 0 CLI - Rd debug.xid 999
**** v1 vsl| 0 CLI - Wr 200 18 XID is 999 chunk 1
**** v1 vsl| 0 CLI - Rd debug.listen_address
**** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 63329
**** dT 0.414
** top === client c1 {
** c1 Starting client
** c1 Waiting for client
** c1 Started on 127.0.0.1:63329 (1 iterations)
*** c1 Connect to 127.0.0.1:63329
*** c1 connected fd 16 from 127.0.0.1 63372 to 127.0.0.1:63329
** c1 === txreq -url "/1"
**** c1 txreq|GET /1 HTTP/1.1\r
**** c1 txreq|Host: 127.0.0.1\r
**** c1 txreq|\r
** c1 === rxresp
**** dT 0.415
*** s1 accepted fd 17 127.0.0.1 63373
** s1 === rxreq
**** s1 rxhdr|GET /1 HTTP/1.1\r
**** s1 rxhdr|Host: 127.0.0.1\r
**** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r
**** s1 rxhdr|Accept-Encoding: gzip\r
**** s1 rxhdr|X-Varnish: 1002\r
**** s1 rxhdr|\r
**** s1 rxhdrlen = 104
**** s1 http[ 0] |GET
**** s1 http[ 1] |/1
**** s1 http[ 2] |HTTP/1.1
**** s1 http[ 3] |Host: 127.0.0.1
**** s1 http[ 4] |X-Forwarded-For: 127.0.0.1
**** s1 http[ 5] |Accept-Encoding: gzip
**** s1 http[ 6] |X-Varnish: 1002
**** s1 bodylen = 0
** s1 === expect req.url == "/1"
**** s1 EXPECT req.url (/1) == "/1" match
** s1 === txresp -body {
** s1 === rxreq
**** dT 0.430
**** s1 rxhdr|GET /foo HTTP/1.1\r
**** s1 rxhdr|Host: 127.0.0.1\r
**** s1 rxhdr|Accept-Encoding: gzip\r
**** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r
**** s1 rxhdr|X-Varnish: 1004\r
**** s1 rxhdr|\r
**** s1 rxhdrlen = 106
**** s1 http[ 0] |GET
**** s1 http[ 1] |/foo
**** s1 http[ 2] |HTTP/1.1
**** s1 http[ 3] |Host: 127.0.0.1
**** s1 http[ 4] |Accept-Encoding: gzip
**** s1 http[ 5] |X-Forwarded-For: 127.0.0.1
**** s1 http[ 6] |X-Varnish: 1004
**** s1 bodylen = 0
** s1 === expect req.url == "/foo"
**** s1 EXPECT req.url (/foo) == "/foo" match
** s1 === txresp -body
**** s1 txresp|HTTP/1.1 200 OK\r
**** s1 txresp|Content-Length: 5\r
**** s1 txresp|\r
**** s1 txresp|
** s1 === rxreq
**** dT 0.442
**** v1 vsl| 1000 Begin c sess 0 HTTP/1
**** v1 vsl| 1000 SessOpen c 127.0.0.1 63372 a0 127.0.0.1 63329 1648339928.938142 25
**** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_KEEPALIVE non heredity for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_SNDTIMEO non heredity for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: Test confirmed SO_RCVTIMEO non heredity for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: Test confirmed TCP_NODELAY non heredity for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:63329
**** v1 vsl| 1000 Debug c sockopt: Setting TCP_NODELAY for a0=127.0.0.1:63329
**** 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: 1648339928.938329 0.000000 0.000000
**** v1 vsl| 1002 BereqMethod b GET
**** v1 vsl| 1002 BereqURL b /1
**** v1 vsl| 1002 BereqProtocol b HTTP/1.1
**** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1
**** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1
**** v1 vsl| 1002 BereqHeader b Accept-Encoding: gzip
**** v1 vsl| 1002 BereqHeader b X-Varnish: 1002
**** v1 vsl| 1002 VCL_call b BACKEND_FETCH
**** v1 vsl| 1002 VCL_return b fetch
**** v1 vsl| 1002 Timestamp b Fetch: 1648339928.938451 0.000122 0.000122
**** v1 vsl| 1002 Timestamp b Connected: 1648339928.938597 0.000267 0.000145
**** v1 vsl| 1002 BackendOpen b 26 s1 127.0.0.1 63327 127.0.0.1 63373 connect
**** v1 vsl| 1002 Timestamp b Bereq: 1648339928.938636 0.000307 0.000039
**** v1 vsl| 1002 Timestamp b Beresp: 1648339928.938860 0.000530 0.000223
**** 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 Content-Length: 62
**** v1 vsl| 1002 BerespHeader b Date: Sun, 27 Mar 2022 00:12:08 GMT
**** v1 vsl| 1002 TTL b RFC 120 10 0 1648339929 1648339929 1648339928 0 0 cacheable
**** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE
**** v1 vsl| 1002 VCL_return b deliver
**** v1 vsl| 1002 Timestamp b Process: 1648339928.938994 0.000664 0.000133
**** v1 vsl| 1002 Filters b esi_gzip
**** v1 vsl| 1002 BerespUnset b Content-Length: 62
**** v1 vsl| 1002 BerespHeader b Content-Encoding: gzip
**** v1 vsl| 1002 BerespHeader b Vary: Accept-Encoding
**** v1 vsl| 1002 Storage b malloc s0
**** v1 vsl| 1002 Fetch_Body b 3 length -
**** v1 vsl| 1002 Gzip b G F E 62 122 80 896 906
**** v1 vsl| 1002 BackendClose b 26 s1 recycle
**** v1 vsl| 1002 Timestamp b BerespBody: 1648339928.953933 0.015604 0.014939
**** v1 vsl| 1002 Length b 122
**** v1 vsl| 1002 BereqAcct b 104 0 104 39 62 101
**** v1 vsl| 1002 End b
**** dT 0.446
**** s1 rxhdr|GET /bar HTTP/1.1\r
**** s1 rxhdr|Host: 127.0.0.1\r
**** s1 rxhdr|Accept-Encoding: gzip\r
**** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r
**** s1 rxhdr|X-Varnish: 1006\r
**** s1 rxhdr|\r
**** s1 rxhdrlen = 106
**** s1 http[ 0] |GET
**** s1 http[ 1] |/bar
**** s1 http[ 2] |HTTP/1.1
**** s1 http[ 3] |Host: 127.0.0.1
**** s1 http[ 4] |Accept-Encoding: gzip
**** s1 http[ 5] |X-Forwarded-For: 127.0.0.1
**** s1 http[ 6] |X-Varnish: 1006
**** s1 bodylen = 0
** s1 === expect req.url == "/bar"
**** s1 EXPECT req.url (/bar) == "/bar" match
** s1 === txresp -body
**** s1 txresp|HTTP/1.1 200 OK\r
**** s1 txresp|Content-Length: 5\r
**** s1 txresp|\r
**** s1 txresp|
** s1 === rxreq
**** dT 0.460
**** c1 rxhdr|HTTP/1.1 200 OK\r
**** c1 rxhdr|Date: Sun, 27 Mar 2022 00:12:08 GMT\r
**** c1 rxhdr|Vary: Accept-Encoding\r
**** c1 rxhdr|X-Varnish: 1001\r
**** c1 rxhdr|Age: 0\r
**** c1 rxhdr|Via: 1.1 varnish (Varnish/7.1)\r
**** c1 rxhdr|Accept-Ranges: bytes\r
**** c1 rxhdr|Connection: keep-alive\r
**** c1 rxhdr|Transfer-Encoding: chunked\r
**** c1 rxhdr|\r
**** c1 rxhdrlen = 210
**** c1 http[ 0] |HTTP/1.1
**** c1 http[ 1] |200
**** c1 http[ 2] |OK
**** c1 http[ 3] |Date: Sun, 27 Mar 2022 00:12:08 GMT
**** c1 http[ 4] |Vary: Accept-Encoding
**** c1 http[ 5] |X-Varnish: 1001
**** c1 http[ 6] |Age: 0
**** c1 http[ 7] |Via: 1.1 varnish (Varnish/7.1)
**** c1 http[ 8] |Accept-Ranges: bytes
**** c1 http[ 9] |Connection: keep-alive
**** c1 http[10] |Transfer-Encoding: chunked
**** c1 len|0016\r
**** c1 chunk|
**** c1 len|0\r
**** c1 chunked|
**** c1 bodylen = 22
** c1 === expect resp.http.Content-Encoding ==
**** c1 EXPECT resp.http.Content-Encoding () == "" match
** c1 === expect resp.bodylen == 22
**** c1 EXPECT resp.bodylen (22) == "22" match
** c1 === txreq -url "/barf" -hdr "Accept-Encoding: gzip"
**** c1 txreq|GET /barf HTTP/1.1\r
**** c1 txreq|Accept-Encoding: gzip\r
**** c1 txreq|Host: 127.0.0.1\r
**** c1 txreq|\r
** c1 === rxresp
**** s1 rxhdr|GET /barf HTTP/1.1\r
**** s1 rxhdr|Accept-Encoding: gzip\r
**** s1 rxhdr|Host: 127.0.0.1\r
**** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r
**** s1 rxhdr|X-Varnish: 1008\r
**** s1 rxhdr|\r
**** s1 rxhdrlen = 107
**** s1 http[ 0] |GET
**** s1 http[ 1] |/barf
**** s1 http[ 2] |HTTP/1.1
**** s1 http[ 3] |Accept-Encoding: gzip
**** s1 http[ 4] |Host: 127.0.0.1
**** s1 http[ 5] |X-Forwarded-For: 127.0.0.1
**** s1 http[ 6] |X-Varnish: 1008
**** s1 bodylen = 0
** s1 === expect req.url == "/barf"
**** s1 EXPECT req.url (/barf) == "/barf" match
** s1 === txresp -body {[{"program":true,"id":972389,"vendorId":"15451...
**** s1 txresp|HTTP/1.1 200 OK\r
**** s1 txresp|Content-Length: 909\r
**** s1 txresp|\r
**** s1 txresp|[{"program":true,"id":972389,"vendorId":"15451701","starttime":1297777500000,"endtime":1297783500000,"title":"Swimming Pool","oTitle":"true","genre":"0x10x0","timeshiftEnabled":true},{"program":true,"id":972391,"vendorId":"15451702","starttime":1297783500000,"endtime":1297785000000,"title":"Fashion -Trends","oTitle":null,"genre":"0x30x0","timeshiftEnabled":true},{"program":true,"id":972384,"vendorId":"15451703","starttime":1297785000000,"endtime":1297786500000,"title":"Fashion - m\xc3\xa6nd","oTitle":null,"genre":"0x30x0","timeshiftEnabled":true},{"program":true,"id":972388,"vendorId":"15451704","starttime":1297786500000,"endtime":1297789800000,"title":"The Day Before","oTitle":"true","genre":"0x30x0","timeshiftEnabled":true},{"program":true,"id":972393,"vendorId":"15451705","starttime":1297789800000,"endtime":1297793100000,"title":"Kessels \xc3\xb8je","oTitle":null,"genre":"0x20x3","timeshiftEnabled":true}]
** s1 === rxreq
**** dT 0.461
**** c1 rxhdr|HTTP/1.1 200 OK\r
**** c1 rxhdr|Content-Length: 909\r
**** c1 rxhdr|Date: Sun, 27 Mar 2022 00:12:08 GMT\r
**** c1 rxhdr|X-Varnish: 1007\r
**** c1 rxhdr|Age: 0\r
**** c1 rxhdr|Via: 1.1 varnish (Varnish/7.1)\r
**** c1 rxhdr|Accept-Ranges: bytes\r
**** c1 rxhdr|Connection: keep-alive\r
**** c1 rxhdr|\r
**** c1 rxhdrlen = 180
**** c1 http[ 0] |HTTP/1.1
**** c1 http[ 1] |200
**** c1 http[ 2] |OK
**** c1 http[ 3] |Content-Length: 909
**** c1 http[ 4] |Date: Sun, 27 Mar 2022 00:12:08 GMT
**** c1 http[ 5] |X-Varnish: 1007
**** c1 http[ 6] |Age: 0
**** c1 http[ 7] |Via: 1.1 varnish (Varnish/7.1)
**** c1 http[ 8] |Accept-Ranges: bytes
**** c1 http[ 9] |Connection: keep-alive
**** c1 c-l|[{"program":true,"id":972389,"vendorId":"15451701","starttime":1297777500000,"endtime":1297783500000,"title":"Swimming Pool","oTitle":"true","genre":"0x10x0","timeshiftEnabled":true},{"program":true,"id":972391,"vendorId":"15451702","starttime":1297783500000,"endtime":1297785000000,"title":"Fashion -Trends","oTitle":null,"genre":"0x30x0","timeshiftEnabled":true},{"program":true,"id":972384,"vendorId":"15451703","starttime":1297785000000,"endtime":1297786500000,"title":"Fashion - m\xc3\xa6nd","oTitle":null,"genre":"0x30x0","timeshiftEnabled":true},{"program":true,"id":972388,"vendorId":"15451704","starttime":1297786500000,"endtime":1297789800000,"title":"The Day Before","oTitle":"true","genre":"0x30x0","timeshiftEnabled":true},{"program":true,"id":972393,"vendorId":"15451705","starttime":1297789800000,"endtime":1297793100000,"title":"Kessels \xc3\xb8je","oTitle":null,"genre":"0x20x3","timeshiftEnabled":true}]
**** c1 bodylen = 909
** c1 === expect resp.http.Content-Encoding ==
**** c1 EXPECT resp.http.Content-Encoding () == "" match
** c1 === expect resp.bodylen == 909
**** c1 EXPECT resp.bodylen (909) == "909" match
** c1 === txreq -url "/2" -hdr "Accept-Encoding: gzip"
**** c1 txreq|GET /2 HTTP/1.1\r
**** c1 txreq|Accept-Encoding: gzip\r
**** c1 txreq|Host: 127.0.0.1\r
**** c1 txreq|\r
** c1 === rxresp
**** dT 0.475
**** s1 rxhdr|GET /2 HTTP/1.1\r
**** s1 rxhdr|Accept-Encoding: gzip\r
**** s1 rxhdr|Host: 127.0.0.1\r
**** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r
**** s1 rxhdr|X-Varnish: 1010\r
**** s1 rxhdr|\r
**** s1 rxhdrlen = 104
**** s1 http[ 0] |GET
**** s1 http[ 1] |/2
**** s1 http[ 2] |HTTP/1.1
**** s1 http[ 3] |Accept-Encoding: gzip
**** s1 http[ 4] |Host: 127.0.0.1
**** s1 http[ 5] |X-Forwarded-For: 127.0.0.1
**** s1 http[ 6] |X-Varnish: 1010
**** s1 bodylen = 0
** s1 === expect req.url == "/2"
**** s1 EXPECT req.url (/2) == "/2" match
** s1 === txresp -body { }
**** s1 txresp|HTTP/1.1 200 OK\r
**** s1 txresp|Content-Length: 28\r
**** s1 txresp|\r
**** s1 txresp|
*** s1 shutting fd 17
** s1 Ending
**** dT 0.477
**** c1 rxhdrlen = 0
---- c1 HTTP header is incomplete
*** v1 debug|Error: Child (30388) died signal=6
* top RESETTING after ../../../../bin/varnishtest/tests/r00861.vtc
** s1 Waiting for server (4/-1)
** v1 Wait
**** v1 CLI TX|panic.show
*** v1 debug|Error: Child (30388) Panic at: Sun, 27 Mar 2022 00:12:09 GMT
*** v1 debug|Assert error in Lck_CondWaitUntil(), ../../../../bin/varnishd/cache/cache_lck.c line 275:
*** v1 debug| Condition(errno == 0 || errno == ETIMEDOUT || errno == EINTR) not true.
*** v1 debug|version = varnish-trunk revision 5424da941529503c724911d8141e6824db756f88, vrt api = 15.0
*** v1 debug|ident = Darwin,20.5.0,arm64,-jnone,-sdefault,-sdefault,-hcritbit,kqueue
*** v1 debug|now = 11424885.852690 (mono), 1648339928.998934 (real)
*** v1 debug|Backtrace:
*** v1 debug| ip=0xaf4580010077e814 sp=0x16fd55e80
*** v1 debug| ip=0x2d010001008242f8 sp=0x16fd55fc0
*** v1 debug| ip=0xb717000100778dbc sp=0x16fd56030
*** v1 debug| ip=0xf623000100758148 sp=0x16fd56090
*** v1 debug| ip=0xdf3380010074a73c sp=0x16fd560d0
*** v1 debug| ip=0xbd7000010075a4d8 sp=0x16fd56140
*** v1 debug| ip=0x509000100767804 sp=0x16fd56210
*** v1 debug| ip=0x231c80010076695c sp=0x16fd56280
*** v1 debug| ip=0x1c3f8001007b19a4 sp=0x16fd563c0
*** v1 debug| ip=0x64020001007b11d8 sp
*** v1 debug|=0x16fd56460
*** v1 debug| ip=0x134f0001007b0f90 sp=0x16fd56fa0
*** v1 debug| ip=0x9e6f80019bfb3878 sp=0x16fd56fd0 <_pthread_start+0x140>
*** v1 debug|errno = 22 (Invalid argument)
*** v1 debug|argv = {
*** v1 debug| [0] = \"varnishd\",
*** v1 debug| [1] = \"-d\",
*** v1 debug| [2] = \"-n\",
*** v1 debug| [3] = \"/var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/v1\",
*** v1 debug| [4] = \"-l\",
*** v1 debug| [5] = \"2m\",
*** v1 debug| [6] = \"-p\",
*** v1 debug| [7] = \"auto_restart=off\",
*** v1 debug| [8] = \"-p\",
*** v1 debug| [9] = \"syslog_cli_traffic=off\",
*** v1 debug| [10] = \"-p\",
*** v1 debug| [11] = \"thread_pool_min=10\",
*** v1 debug| [12] = \"-p\",
*** v1 debug| [13] = \"debug=+vtc_mode\",
*** v1 debug| [14] = \"-p\",
*** v1 debug| [15] = \"vsl_mask=+Debug\",
*** v1 debug| [16] = \"-p\",
*** v1 debug| [17] = \"h2_initial_window_size=1m\",
*** v1 debug| [18] = \"-p\",
*** v1 debug| [19] = \"h2_rx_window_low_water=64k\",
*** v1 debug| [20] = \"-a\",
*** v1 debug| [21] = \"127.0.0.1:0\",
*** v1 debug| [22] = \"-M\",
*** v1 debug| [23] = \"127.0.0.1 63328\",
*** v1 debug| [24] = \"-P\",
*** v1 debug| [25] = \"/var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/v1/varnishd.pid\",
*** v1 debug| [26] = \"-p\",
*** v1 debug| [27] = \"vmod_path=/Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub/vmod
*** v1 debug|/.libs\",
*** v1 debug|}
*** v1 debug|pthread.self = 0x16fd57000
*** v1 debug|pthread.name = (cache-worker)
*** v1 debug|thr.req = NULL
*** v1 debug|thr.busyobj = 0x158008020 {
*** v1 debug| end = 0x158020000,
*** v1 debug| retries = 0,
*** v1 debug| sess = 0x12be094f0 {
*** v1 debug| fd = 25, vxid = 1000,
*** v1 debug| t_open = 1648339928.938142,
*** v1 debug| t_idle = 1648339928.998137,
*** v1 debug| ws = 0x12be09530 {
*** v1 debug| id = \"ses\",
*** v1 debug| {s, f, r, e} = {0x12be09588, +96, 0x0, +576},
*** v1 debug| },
*** v1 debug| transport = HTTP/1 {
*** v1 debug| state = HTTP1::Proc
*** v1 debug| }
*** v1 debug| client = 127.0.0.1 63372 127.0.0.1:63329,
*** v1 debug| local.endpoint = 127.0.0.1:63329,
*** v1 debug| local.socket = a0,
*** v1 debug| local.ip = 127.0.0.1:63329,
*** v1 debug| remote.ip = 127.0.0.1:63372,
*** v1 debug| server.ip = 127.0.0.1:63329,
*** v1 debug| client.ip = 127.0.0.1:63372,
*** v1 debug| },
*** v1 debug| worker = 0x16fd56eb8 {
*** v1 debug| ws = 0x16fd56f40 {
*** v1 debug| id = \"wrk\",
*** v1 debug| {s, f, r, e} = {0x16fd56460, +0, 0x0, +2040},
*** v1 debug| },
*** v1 debug| VCL::method = BACKEND_FETCH,
*** v1 debug| VCL::return = 0x0,
*** v1 debug| VCL::methods = {BACKEND_FETCH},
*** v1 debug| },
*** v1 debug| vfc = 0x15800cf38 {
*** v1 debug| failed = 0,
*** v1 debug| req = 0x158008648,
*** v1 debug| resp = 0x158008ac0,
*** v1 debug| wrk = 0x16fd56eb8,
*** v1 debug| oc = 0x100e04100,
*** v1 debug| ob
*** v1 debug|j_flags = 0x0,
*** v1 debug| },
*** v1 debug| ws = 0x158008060 {
*** v1 debug| id = \"bo\",
*** v1 debug| {s, f, r, e} = {0x15800cf80, +224, 0x0, +77944},
*** v1 debug| },
*** v1 debug| ws_bo = 0x15800cfe8,
*** v1 debug| http[bereq] = 0x158008648 {
*** v1 debug| ws = 0x158008060 {
*** v1 debug| [Already dumped, see above]
*** v1 debug| },
*** v1 debug| hdrs {
*** v1 debug| \"GET\",
*** v1 debug| \"/2\",
*** v1 debug| \"HTTP/1.1\",
*** v1 debug| \"Accept-Encoding: gzip\",
*** v1 debug| \"Host: 127.0.0.1\",
*** v1 debug| \"X-Forwarded-For: 127.0.0.1\",
*** v1 debug| \"X-Varnish: 1010\",
*** v1 debug| },
*** v1 debug| },
*** v1 debug| http[beresp] = 0x158008ac0 {
*** v1 debug| ws = 0x158008060 {
*** v1 debug| [Already dumped, see above]
*** v1 debug| },
*** v1 debug| hdrs {
*** v1 debug| },
*** v1 debug| },
*** v1 debug| objcore[fetch] = 0x100e04100 {
*** v1 debug| refcnt = 2,
*** v1 debug| flags = {busy},
*** v1 debug| exp_flags = {},
*** v1 debug| boc = 0x100e040a0 {
*** v1 debug| refcnt = 2,
*** v1 debug| state = req_done,
*** v1 debug| vary = 0x0,
*** v1 debug| stevedore_priv = 0x0,
*** v1 debug| },
*** v1 debug| exp = {0.000000, 0.000000, 0.000000, 0.000000},
*** v1 debug| objhead = 0x100e04210,
*** v1 debug| stevedore = 0x0,
*** v1 debug| },
*** v1 debug| http_conn = 0x15800cff8 {
*** v1 debug| fd = 26 (@0x12be09a64),
*** v1 debug| doclose = null(Not Closing)
*** v1 debug| ws = NULL
*** v1 debug| {rxbuf_b, rxbuf_e} = {0x0, 0x0},
*** v1 debug| {pipeline_b, pipeli
*** v1 debug|ne_e} = {0x0, 0x0},
*** v1 debug| content_length = 0,
*** v1 debug| body_status = NULL,
*** v1 debug| first_byte_timeout = 60.000000,
*** v1 debug| between_bytes_timeout = 60.000000,
*** v1 debug| },
*** v1 debug| flags = {do_stream},
*** v1 debug| director_req = 0x12bf07680 {
*** v1 debug| cli_name = vcl1.s1,
*** v1 debug| admin_health = healthy, changed = 1648339928.835294,
*** v1 debug| type = backend {
*** v1 debug| conn_pool = 0x12bf074d0 {
*** v1 debug| ident = 0x5fb2a2c15ce97208260cf9dfad279277dae05f02e1c0c30982877d2cba079e80,
*** v1 debug| vrt_endpoint = 0x12bf07570 {
*** v1 debug| ipv4 = 127.0.0.1, port = 63327,
*** v1 debug| },
*** v1 debug| },
*** v1 debug| hosthdr = 127.0.0.1,
*** v1 debug| n_conn = 1,
*** v1 debug| },
*** v1 debug| },
*** v1 debug| director_resp = director_req,
*** v1 debug| vcl[vcl] = 0x12bf070b0 {
*** v1 debug| name = \"vcl1\",
*** v1 debug| busy = 2,
*** v1 debug| discard = 0,
*** v1 debug| state = auto,
*** v1 debug| temp = warm,
*** v1 debug| conf = 0x100d98010 {
*** v1 debug| syntax = \"41\",
*** v1 debug| srcname = {
*** v1 debug| \"\",
*** v1 debug| \"\",
*** v1 debug| },
*** v1 debug| instances = {
*** v1 debug| },
*** v1 debug| },
*** v1 debug| },
*** v1 debug|},
*** v1 debug|thr.worker = 0x16fd56eb8 {
*** v1 debug| [Already dumped, see above]
*** v1 debug|},
*** v1 debug|vmods = {
*** v1 debug|},
*** v1 debug|pools = {
*** v1 debug| pool = 0x10be04080 {
*** v1 debug| nidle = 9,
*** v1 debug| nthr = 1
*** v1 debug|0,
*** v1 debug| lqueue = 0
*** v1 debug| },
*** v1 debug| pool = 0x10be04c60 {
*** v1 debug| nidle = 7,
*** v1 debug| nthr = 10,
*** v1 debug| lqueue = 0
*** v1 debug| },
*** v1 debug|},
*** v1 debug|
*** v1 debug|
*** v1 debug|Debug: Child cleanup complete
*** v1 CLI RX 200
**** v1 CLI RX|Panic at: Sun, 27 Mar 2022 00:12:09 GMT
**** v1 CLI RX|Assert error in Lck_CondWaitUntil(), ../../../../bin/varnishd/cache/cache_lck.c line 275:
**** v1 CLI RX| Condition(errno == 0 || errno == ETIMEDOUT || errno == EINTR) not true.
**** v1 CLI RX|version = varnish-trunk revision 5424da941529503c724911d8141e6824db756f88, vrt api = 15.0
**** v1 CLI RX|ident = Darwin,20.5.0,arm64,-jnone,-sdefault,-sdefault,-hcritbit,kqueue
**** v1 CLI RX|now = 11424885.852690 (mono), 1648339928.998934 (real)
**** v1 CLI RX|Backtrace:
**** v1 CLI RX| ip=0xaf4580010077e814 sp=0x16fd55e80
**** v1 CLI RX| ip=0x2d010001008242f8 sp=0x16fd55fc0
**** v1 CLI RX| ip=0xb717000100778dbc sp=0x16fd56030
**** v1 CLI RX| ip=0xf623000100758148 sp=0x16fd56090
**** v1 CLI RX| ip=0xdf3380010074a73c sp=0x16fd560d0
**** v1 CLI RX| ip=0xbd7000010075a4d8 sp=0x16fd56140
**** v1 CLI RX| ip=0x509000100767804 sp=0x16fd56210
**** v1 CLI RX| ip=0x231c80010076695c sp=0x16fd56280
**** v1 CLI RX| ip=0x1c3f8001007b19a4 sp=0x16fd563c0
**** v1 CLI RX| ip=0x64020001007b11d8 sp=0x16fd56460
**** v1 CLI RX| ip=0x134f0001007b0f90 sp=0x16fd56fa0
**** v1 CLI RX| ip=0x9e6f80019bfb3878 sp=0x16fd56fd0 <_pthread_start+0x140>
**** v1 CLI RX|errno = 22 (Invalid argument)
**** v1 CLI RX|argv = {
**** v1 CLI RX| [0] = \"varnishd\",
**** v1 CLI RX| [1] = \"-d\",
**** v1 CLI RX| [2] = \"-n\",
**** v1 CLI RX| [3] = \"/var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/v1\",
**** v1 CLI RX| [4] = \"-l\",
**** v1 CLI RX| [5] = \"2m\",
**** v1 CLI RX| [6] = \"-p\",
**** v1 CLI RX| [7] = \"auto_restart=off\",
**** v1 CLI RX| [8] = \"-p\",
**** v1 CLI RX| [9] = \"syslog_cli_traffic=off\",
**** v1 CLI RX| [10] = \"-p\",
**** v1 CLI RX| [11] = \"thread_pool_min=10\",
**** v1 CLI RX| [12] = \"-p\",
**** v1 CLI RX| [13] = \"debug=+vtc_mode\",
**** v1 CLI RX| [14] = \"-p\",
**** v1 CLI RX| [15] = \"vsl_mask=+Debug\",
**** v1 CLI RX| [16] = \"-p\",
**** v1 CLI RX| [17] = \"h2_initial_window_size=1m\",
**** v1 CLI RX| [18] = \"-p\",
**** v1 CLI RX| [19] = \"h2_rx_window_low_water=64k\",
**** v1 CLI RX| [20] = \"-a\",
**** v1 CLI RX| [21] = \"127.0.0.1:0\",
**** v1 CLI RX| [22] = \"-M\",
**** v1 CLI RX| [23] = \"127.0.0.1 63328\",
**** v1 CLI RX| [24] = \"-P\",
**** v1 CLI RX| [25] = \"/var/folders/rb/fsxkcbqj5gg0fr2_qqqgqsr80000gn/T//vtc.30245.5fe7f22d/v1/varnishd.pid\",
**** v1 CLI RX| [26] = \"-p\",
**** v1 CLI RX| [27] = \"vmod_path=/Users/bsdphk/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs\",
**** v1 CLI RX|}
**** v1 CLI RX|pthread.self = 0x16fd57000
**** v1 CLI RX|pthread.name = (cache-worker)
**** v1 CLI RX|thr.req = NULL
**** v1 CLI RX|thr.busyobj = 0x158008020 {
**** v1 CLI RX| end = 0x158020000,
**** v1 CLI RX| retries = 0,
**** v1 CLI RX| sess = 0x12be094f0 {
**** v1 CLI RX| fd = 25, vxid = 1000,
**** v1 CLI RX| t_open = 1648339928.938142,
**** v1 CLI RX| t_idle = 1648339928.998137,
**** v1 CLI RX| ws = 0x12be09530 {
**** v1 CLI RX| id = \"ses\",
**** v1 CLI RX| {s, f, r, e} = {0x12be09588, +96, 0x0, +576},
**** v1 CLI RX| },
**** v1 CLI RX| transport = HTTP/1 {
**** v1 CLI RX| state = HTTP1::Proc
**** v1 CLI RX| }
**** v1 CLI RX| client = 127.0.0.1 63372 127.0.0.1:63329,
**** v1 CLI RX| local.endpoint = 127.0.0.1:63329,
**** v1 CLI RX| local.socket = a0,
**** v1 CLI RX| local.ip = 127.0.0.1:63329,
**** v1 CLI RX| remote.ip = 127.0.0.1:63372,
**** v1 CLI RX| server.ip = 127.0.0.1:63329,
**** v1 CLI RX| client.ip = 127.0.0.1:63372,
**** v1 CLI RX| },
**** v1 CLI RX| worker = 0x16fd56eb8 {
**** v1 CLI RX| ws = 0x16fd56f40 {
**** v1 CLI RX| id = \"wrk\",
**** v1 CLI RX| {s, f, r, e} = {0x16fd56460, +0, 0x0, +2040},
**** v1 CLI RX| },
**** v1 CLI RX| VCL::method = BACKEND_FETCH,
**** v1 CLI RX| VCL::return = 0x0,
**** v1 CLI RX| VCL::methods = {BACKEND_FETCH},
**** v1 CLI RX| },
**** v1 CLI RX| vfc = 0x15800cf38 {
**** v1 CLI RX| failed = 0,
**** v1 CLI RX| req = 0x158008648,
**** v1 CLI RX| resp = 0x158008ac0,
**** v1 CLI RX| wrk = 0x16fd56eb8,
**** v1 CLI RX| oc = 0x100e04100,
**** v1 CLI RX| obj_flags = 0x0,
**** v1 CLI RX| },
**** v1 CLI RX| ws = 0x158008060 {
**** v1 CLI RX| id = \"bo\",
**** v1 CLI RX| {s, f, r, e} = {0x15800cf80, +224, 0x0, +77944},
**** v1 CLI RX| },
**** v1 CLI RX| ws_bo = 0x15800cfe8,
**** v1 CLI RX| http[bereq] = 0x158008648 {
**** v1 CLI RX| ws = 0x158008060 {
**** v1 CLI RX| [Already dumped, see above]
**** v1 CLI RX| },
**** v1 CLI RX| hdrs {
**** v1 CLI RX| \"GET\",
**** v1 CLI RX| \"/2\",
**** v1 CLI RX| \"HTTP/1.1\",
**** v1 CLI RX| \"Accept-Encoding: gzip\",
**** v1 CLI RX| \"Host: 127.0.0.1\",
**** v1 CLI RX| \"X-Forwarded-For: 127.0.0.1\",
**** v1 CLI RX| \"X-Varnish: 1010\",
**** v1 CLI RX| },
**** v1 CLI RX| },
**** v1 CLI RX| http[beresp] = 0x158008ac0 {
**** v1 CLI RX| ws = 0x158008060 {
**** v1 CLI RX| [Already dumped, see above]
**** v1 CLI RX| },
**** v1 CLI RX| hdrs {
**** v1 CLI RX| },
**** v1 CLI RX| },
**** v1 CLI RX| objcore[fetch] = 0x100e04100 {
**** v1 CLI RX| refcnt = 2,
**** v1 CLI RX| flags = {busy},
**** v1 CLI RX| exp_flags = {},
**** v1 CLI RX| boc = 0x100e040a0 {
**** v1 CLI RX| refcnt = 2,
**** v1 CLI RX| state = req_done,
**** v1 CLI RX| vary = 0x0,
**** v1 CLI RX| stevedore_priv = 0x0,
**** v1 CLI RX| },
**** v1 CLI RX| exp = {0.000000, 0.000000, 0.000000, 0.000000},
**** v1 CLI RX| objhead = 0x100e04210,
**** v1 CLI RX| stevedore = 0x0,
**** v1 CLI RX| },
**** v1 CLI RX| http_conn = 0x15800cff8 {
**** v1 CLI RX| fd = 26 (@0x12be09a64),
**** v1 CLI RX| doclose = null(Not Closing)
**** v1 CLI RX| ws = NULL
**** v1 CLI RX| {rxbuf_b, rxbuf_e} = {0x0, 0x0},
**** v1 CLI RX| {pipeline_b, pipeline_e} = {0x0, 0x0},
**** v1 CLI RX| content_length = 0,
**** v1 CLI RX| body_status = NULL,
**** v1 CLI RX| first_byte_timeout = 60.000000,
**** v1 CLI RX| between_bytes_timeout = 60.000000,
**** v1 CLI RX| },
**** v1 CLI RX| flags = {do_stream},
**** v1 CLI RX| director_req = 0x12bf07680 {
**** v1 CLI RX| cli_name = vcl1.s1,
**** v1 CLI RX| admin_health = healthy, changed = 1648339928.835294,
**** v1 CLI RX| type = backend {
**** v1 CLI RX| conn_pool = 0x12bf074d0 {
**** v1 CLI RX| ident = 0x5fb2a2c15ce97208260cf9dfad279277dae05f02e1c0c30982877d2cba079e80,
**** v1 CLI RX| vrt_endpoint = 0x12bf07570 {
**** v1 CLI RX| ipv4 = 127.0.0.1, port = 63327,
**** v1 CLI RX| },
**** v1 CLI RX| },
**** v1 CLI RX| hosthdr = 127.0.0.1,
**** v1 CLI RX| n_conn = 1,
**** v1 CLI RX| },
**** v1 CLI RX| },
**** v1 CLI RX| director_resp = director_req,
**** v1 CLI RX| vcl[vcl] = 0x12bf070b0 {
**** v1 CLI RX| name = \"vcl1\",
**** v1 CLI RX| busy = 2,
**** v1 CLI RX| discard = 0,
**** v1 CLI RX| state = auto,
**** v1 CLI RX| temp = warm,
**** v1 CLI RX| conf = 0x100d98010 {
**** v1 CLI RX| syntax = \"41\",
**** v1 CLI RX| srcname = {
**** v1 CLI RX| \"\",
**** v1 CLI RX| \"\",
**** v1 CLI RX| },
**** v1 CLI RX| instances = {
**** v1 CLI RX| },
**** v1 CLI RX| },
**** v1 CLI RX| },
**** v1 CLI RX|},
**** v1 CLI RX|thr.worker = 0x16fd56eb8 {
**** v1 CLI RX| [Already dumped, see above]
**** v1 CLI RX|},
**** v1 CLI RX|vmods = {
**** v1 CLI RX|},
**** v1 CLI RX|pools = {
**** v1 CLI RX| pool = 0x10be04080 {
**** v1 CLI RX| nidle = 9,
**** v1 CLI RX| nthr = 10,
**** v1 CLI RX| lqueue = 0
**** v1 CLI RX| },
**** v1 CLI RX| pool = 0x10be04c60 {
**** v1 CLI RX| nidle = 7,
**** v1 CLI RX| nthr = 10,
**** v1 CLI RX| lqueue = 0
**** v1 CLI RX| },
**** v1 CLI RX|},
**** v1 CLI RX|
**** v1 CLI RX|
---- v1 Unexpected panic
* top failure during reset
# top TEST ../../../../bin/varnishtest/tests/r00861.vtc FAILED (0.478) exit=2
FAIL tests/r00861.vtc (exit status: 2)