**** dT 0.001 * top TEST ../../../../bin/varnishtest/tests/b00084.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/root/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:53557 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/root/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/root/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** dT 0.002 **** top macro def testdir=/root/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/root/VT/_vtest_tmp/vtc.97386.42fc4c4c **** top macro def vtcid=vtc.97386.42fc4c4c **** dT 0.003 ** top === varnishtest "make sure an already setup secret file remains ... * top VTEST make sure an already setup secret file remains protected ** top === varnish v1 -vcl { backend default none; } -start **** dT 0.037 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /root/VT/_vtest_tmp/vtc.97386.42fc4c4c/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 54113' -P /root/VT/_vtest_tmp/vtc.97386.42fc4c4c/v1/varnishd.pid -p vmod_path=/root/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 CMD: cd /root/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /root/VT/_vtest_tmp/vtc.97386.42fc4c4c/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 54113' -P /root/VT/_vtest_tmp/vtc.97386.42fc4c4c/v1/varnishd.pid -p vmod_path=/root/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs **** dT 0.040 *** v1 PID: 97402 **** v1 macro def v1_pid=97402 **** v1 macro def v1_name=/root/VT/_vtest_tmp/vtc.97386.42fc4c4c/v1 **** dT 0.178 *** v1 debug|Debug: Version: varnish-trunk revision 52a6d38c5709cf1a92896d5dc2e984962ce10446 **** dT 0.179 *** v1 debug|Debug: Platform: FreeBSD,13.4-RC3,arm,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|200 308 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|FreeBSD,13.4-RC3,arm,-jnone,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision 52a6d38c5709cf1a92896d5dc2e984962ce10446 *** 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.262 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 4 **** dT 0.264 *** v1 CLI RX 107 **** v1 CLI RX|mwcyzopapxvqdtjftgbtlgrbcjvkyjxt **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.267 **** v1 CLI TX|auth 4ec94b1116458dcad3d053c7e8d924708bba84fb6c42c4167069b4e8c71203a8 **** dT 0.271 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|FreeBSD,13.4-RC3,arm,-jnone,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision 52a6d38c5709cf1a92896d5dc2e984962ce10446 **** 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.272 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| backend default none; **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.376 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.477 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.579 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.681 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.783 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.885 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.987 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.088 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.190 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.362 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.463 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.565 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.667 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.769 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.871 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.973 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.075 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.177 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.279 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.381 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.483 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.585 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.692 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.795 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.897 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 2.998 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.100 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.202 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.303 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.405 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.507 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.627 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.729 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.831 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 3.933 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.035 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.137 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.239 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.341 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.443 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.544 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.645 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.747 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.849 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 4.951 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.053 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.155 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.179 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 5.221 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 5.263 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.304 *** v1 debug|Debug: Child (97411) Started **** dT 5.365 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 5.696 *** v1 debug|Child launched OK **** dT 5.714 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status **** dT 5.715 *** v1 debug|Info: Child (97411) said Child starts **** dT 5.756 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 5.779 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1730003658.483186/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1730003658.483186/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:39493 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:39493 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:39493 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:39493 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:39493 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:39493 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:39493 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:39493 **** v1 vsl| 0 Error - Kernel filtering: sock=3, errno=2 No such file or directory **** v1 vsl| 0 CLI - Wr 200 0 **** dT 5.800 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39493 **** v1 CLI TX|debug.xid 1000 **** dT 5.843 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 5.881 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39493 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 5.886 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39493 ** v1 Listen on 127.0.0.1 39493 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=39493 **** v1 macro def v1_sock=127.0.0.1:39493 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=39493 **** v1 macro def v1_a0_sock=127.0.0.1:39493 ** top === shell -match _.secret { **** dT 5.888 **** top shell_cmd|exec 2>&1 ; **** top shell_cmd|\tfind "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v1/_.secret -perm 0640 -size 256c **** dT 5.913 **** top shell_out|/root/VT/_vtest_tmp/vtc.97386.42fc4c4c/v1/_.secret **** top shell_status = 0x0000 **** top shell_match succeeded ** top === varnish v1 -stop -wait ** v1 Stop **** v1 CLI TX|stop **** dT 5.956 *** v1 debug|Debug: Stopping Child **** dT 5.988 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39493 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 6.065 *** v1 debug|Info: Child (97411) said Child dies *** v1 debug|Info: Child (97411) ended **** dT 6.067 *** v1 debug|Debug: Child cleanup complete **** dT 6.068 *** v1 CLI RX 200 *** v1 wait-stopped **** v1 CLI TX|status **** dT 6.167 *** v1 CLI RX 200 **** v1 CLI RX|Child in state stopped **** dT 6.168 ** v1 Wait **** v1 CLI TX|backend.list **** dT 6.211 *** v1 CLI RX 101 **** v1 CLI RX|Unknown request in manager process (child not running). **** v1 CLI RX|Type 'help' for more info. ** v1 Stop **** v1 CLI TX|stop **** dT 6.253 *** v1 CLI RX 300 **** v1 CLI RX|Child in state stopped *** v1 wait-stopped **** v1 CLI TX|status **** dT 6.296 *** v1 CLI RX 200 **** v1 CLI RX|Child in state stopped **** v1 CLI TX|panic.show **** dT 6.338 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 6.339 *** v1 debug|Info: manager stopping child *** v1 debug|Info: manager dies **** dT 6.343 **** v1 STDOUT EOF **** dT 6.376 ** v1 WAIT4 pid=97402 status=0x0000 (user 4.588424 sys 0.601629) ** top === shell { **** top shell_cmd|exec 2>&1 ; **** top shell_cmd|\ttest ! -f "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v1/_.secret **** dT 6.390 **** top shell_status = 0x0000 ** top === shell -match _.secret { **** dT 6.391 **** top shell_cmd|exec 2>&1 ; **** top shell_cmd|\tset -e **** top shell_cmd|\tmkdir -p "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v2/ **** top shell_cmd|\ttouch "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v2/_.secret **** top shell_cmd|\tchmod 0666 "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v2/_.secret **** top shell_cmd|\tfind "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v2/_.secret -perm 0666 -size 0c **** dT 6.443 **** top shell_out|/root/VT/_vtest_tmp/vtc.97386.42fc4c4c/v2/_.secret **** top shell_status = 0x0000 **** top shell_match succeeded ** top === process p1 "exec varnishd -n ${tmpdir}/v2 -F -f '' -a :0" -s... **** dT 6.485 **** p1 CMD: exec varnishd -n /root/VT/_vtest_tmp/vtc.97386.42fc4c4c/v2 -F -f '' -a :0 **** dT 6.491 *** p1 PID: 97421 **** dT 6.494 **** p1 macro def p1_pid=97421 **** p1 macro def p1_dir=/root/VT/_vtest_tmp/vtc.97386.42fc4c4c/p1 **** p1 macro def p1_out=/root/VT/_vtest_tmp/vtc.97386.42fc4c4c/p1/term **** p1 macro def p1_err=/root/VT/_vtest_tmp/vtc.97386.42fc4c4c/p1/stderr **** dT 6.495 ** top === shell -match _.secret { **** dT 6.496 **** top shell_cmd|exec 2>&1 ; **** top shell_cmd|\tset -e **** top shell_cmd|\tt=50 **** top shell_cmd|\twhile [ "$t" -gt 0 ] && [ ! -d "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v2/_.vsm_mgt ]; do **** top shell_cmd|\t sleep 0.1 **** top shell_cmd|\t t=$(($t - 1)) **** top shell_cmd|\tdone **** top shell_cmd|\tfind "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v2/_.secret -perm 0640 -size 256c **** dT 6.683 **** p1 stderr|Debug: Version: varnish-trunk revision 52a6d38c5709cf1a92896d5dc2e984962ce10446 **** dT 6.689 **** p1 stderr|Debug: Platform: FreeBSD,13.4-RC3,arm,-jnone,-sdefault,-sdefault,-hcritbit **** dT 6.709 **** top shell_out|/root/VT/_vtest_tmp/vtc.97386.42fc4c4c/v2/_.secret **** top shell_status = 0x0000 **** top shell_match succeeded ** top === process p1 -stop -wait **** dT 6.713 **** p1 stdout read 0 **** p1 stderr read 0 ** p1 WAIT4 pid=97421 status=0x000f (user 0.037430 sys 0.089833) **** p1 macro undef p1_pid **** dT 6.714 **** p1 Sent signal 15 **** dT 7.749 **** p1 stdout 0 bytes, stderr 155 bytes ** top === shell { **** top shell_cmd|exec 2>&1 ; **** top shell_cmd|\ttest ! -f "/root/VT/_vtest_tmp/vtc.97386.42fc4c4c"/v2/_.secret **** dT 7.763 **** top shell_status = 0x0001 ---- top shell_exit not as expected: got 0x0001 wanted 0x0000 * top RESETTING after ../../../../bin/varnishtest/tests/b00084.vtc **** dT 7.764 * top TEST ../../../../bin/varnishtest/tests/b00084.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/b00084.vtc FAILED (7.772) exit=2 FAIL tests/b00084.vtc (exit status: 2)