m00047

43935f4

1 @ FreeBSD amd64 11.2-REL 1.04 GCOV phk

*    top   0.0 TEST ./tests/m00047.vtc starting
[...]
*    top   0.0 VTEST VMOD unix
[...]
**** v1   24.3 vsl|       1001 VCL_return      c deliver
**** v1   24.3 vsl|       1001 Timestamp       c Process: 1541446974.246248 0.027245 0.000076
**** v1   24.3 vsl|       1001 RespHeader      c Accept-Ranges: bytes
**** v1   24.3 vsl|       1001 RespHeader      c Connection: keep-alive
**** v1   24.3 vsl|       1001 Timestamp       c Resp: 1541446974.246299 0.027297 0.000051
**** v1   24.3 vsl|       1001 ReqAcct         c 39 0 39 264 0 264
**** v1   24.3 vsl|       1001 End             c
**** v1   24.3 vsl|       1000 SessClose       c REM_CLOSE 0.028
**** v1   24.3 vsl|       1000 End             c
***  v1   46.4 CLI RX  300
**** v1   46.4 CLI RX|VCL compiled.
**** v1   46.4 CLI RX|VCL "vcl2" Failed initialization
**** v1   46.4 CLI RX|Message:
**** v1   46.4 CLI RX|\tvmod unix failure: may not be called in vcl_init or vcl_fini
**   v1   46.4 VCL compilation failed (as expected)
***  v1   46.4 Found expected string: ("vmod unix failure: may not be called in vcl_init or vcl_fini")
**   top  46.4 === varnish v1 -errvcl {vmod unix failure: may not be called in ...
**** v1   46.4 CLI TX|vcl.inline vcl3 << %XJEIFLH|)Xspa8P
**** v1   46.4 CLI TX|vcl 4.1;
**** v1   46.4 CLI TX|
**** v1   46.4 CLI TX|\timport unix;
**** v1   46.4 CLI TX|\timport std;
**** v1   46.4 CLI TX|\tbackend b { .host = "192.0.2.255"; }
**** v1   46.4 CLI TX|
**** v1   46.4 CLI TX|\tsub vcl_init {
**** v1   46.4 CLI TX|\t\tstd.log(unix.gid());
**** v1   46.4 CLI TX|\t}
**** v1   46.4 CLI TX|
**** v1   46.4 CLI TX|%XJEIFLH|)Xspa8P
**** v1   46.5 vsl|          0 CLI             - Rd vcl.load vcl2 vcl_vcl2.1541446974.247710/vgc.so 1auto
**** v1   46.5 vsl|          0 VCL_Log         - -1
**** v1   46.5 vsl|          0 CLI             - Wr 300 104 VCL "vcl2" Failed initialization
Message:
vmod unix failure: may not be called in vcl_init or vcl_fini

**** v1   46.5 vsl|          0 CLI             - Rd ping
**** v1   46.5 vsl|          0 CLI             - Wr 200 19 PONG 1541446996 1.0
#    top  TEST ./tests/m00047.vtc TIMED OUT (kill -9)
#    top  TEST ./tests/m00047.vtc FAILED (60.507) signal=9
FAIL tests/m00047.vtc (exit status: 2)