v00044

a32fb96

bad| dispatch failed (-2)

1 @ SunOS 5.11 i86pc 1.04 32_sun12.4 uplex

*    top   0.0 TEST ../../../bin/varnishtest/tests/v00044.vtc starting
[...]
*    top   0.0 TEST vcl.state coverage tests
[...]
**   top  14.0 === varnish v1 -expect VBE.vcl2.default.happy >= 0
**   v1   14.0 as expected: VBE.vcl2.default.happy (16) >= 0
**   top  14.0 === varnish v1 -clierr 300 "vcl.state vcl2 cold"
**** v1   14.0 CLI TX|vcl.state vcl2 cold
***  v1   14.0 CLI RX  300
**** v1   14.0 CLI RX|Cannot set the active VCL cold.
**   v1   14.0 CLI 300 <vcl.state vcl2 cold>
**   top  14.0 === logexpect l1 -v v1 -g raw {
**   l1   14.0 === expect * 0 Debug "vcl1: VCL_EVENT_COLD"
**   l1   14.0 === expect * 0 Debug "vcl1: VCL_EVENT_WARM"
**   top  14.0 === varnish v1 -cliok "vcl.state vcl1 cold"
**** v1   14.0 CLI TX|vcl.state vcl1 cold
**** l1   14.0 begin|
***  l1   14.0 expecting| expect * 0 Debug vcl1: VCL_EVENT_COLD
***  v1   14.0 CLI RX  200
**   v1   14.0 CLI 200 <vcl.state vcl1 cold>
**   top  14.0 === varnish v1 -cliok "vcl.use vcl1"
**** v1   14.0 CLI TX|vcl.use vcl1
**** l1   14.0 match|          0 Debug           - vcl1: VCL_EVENT_COLD
***  l1   14.0 expecting| expect * 0 Debug vcl1: VCL_EVENT_WARM
---- l1   14.0 bad| dispatch failed (-2)
***  v1   14.0 CLI RX  200
**** v1   14.0 CLI RX|VCL 'vcl1' now active
**   v1   14.0 CLI 200 <vcl.use vcl1>
*    top  14.0 RESETTING after ../../../bin/varnishtest/tests/v00044.vtc
**   s1   14.0 Waiting for server (3/-1)
**** s1   14.0 macro undef s1_addr
**** s1   14.0 macro undef s1_port
**** s1   14.0 macro undef s1_sock
**   v1   14.0 Wait
***  v1   14.0 debug|Debug: Stopping Child
**** v1   14.1 vsl|          0 Backend_health  - vcl2.default Still sick ------- 1 3 8 0.000000 0.000000
**** v1   14.1 vsl|          0 CLI             - Rd vcl.state vcl1 0auto
**** v1   14.1 vsl|          0 Debug           - vcl1: VCL_EVENT_COLD
**** v1   14.1 vsl|          0 Backend_health  - vcl1.default Still sick ------H 1 3 8 0.000000 0.000000
**** v1   14.1 vsl|          0 CLI             - Wr 200 0
**** v1   14.1 vsl|          0 CLI             - Rd vcl.state vcl1 1auto
**** v1   14.1 vsl|          0 Debug           - vcl1: VCL_EVENT_WARM
**** v1   14.1 vsl|          0 Backend_health  - vcl1.default Still sick ------H 1 3 8 0.000000 0.000000
**** v1   14.1 vsl|          0 CLI             - Wr 200 0