d00013

f06ed26

Not true: MAIN.n_backend (1) == 2 (2)

1 @ FreeBSD arm 11.1-REL 1.04 phk

*    top   0.0 TEST ../../../../bin/varnishtest/tests/d00013.vtc starting
[...]
*    top   0.0 TEST Test a dynamic backend hot swap after it was hinted to a req
[...]
**** v1    2.6 vsl|          0 CLI             - Rd debug.listen_address
**** v1    2.6 vsl|          0 CLI             - Wr 200 16 127.0.0.1 62627

***  v1    2.7 CLI RX  200
**** v1    2.7 CLI RX|XID is 999
**** v1    2.7 CLI TX|debug.listen_address
**** v1    2.7 vsl|          0 CLI             - Rd debug.xid 999
**** v1    2.7 vsl|          0 CLI             - Wr 200 10 XID is 999
***  v1    2.8 CLI RX  200
**** v1    2.8 CLI RX|127.0.0.1 62627
**   v1    2.8 Listen on 127.0.0.1 62627
**** v1    2.8 macro def v1_addr=127.0.0.1
**** v1    2.8 macro def v1_port=62627
**** v1    2.8 macro def v1_sock=127.0.0.1 62627
**   top   2.8 === varnish v1 -expect MAIN.n_backend == 2
**** v1    2.9 vsl|          0 CLI             - Rd debug.listen_address
**** v1    2.9 vsl|          0 CLI             - Wr 200 16 127.0.0.1 62627

**** v1    5.1 vsl|          0 CLI             - Rd ping
**** v1    5.1 vsl|          0 CLI             - Wr 200 19 PONG 1518337629 1.0
---- v1    8.1 Not true: MAIN.n_backend (1) == 2 (2)
*    top   8.1 RESETTING after ../../../../bin/varnishtest/tests/d00013.vtc
**   s1    8.1 Waiting for server (3/-1)
**   s2    8.1 Waiting for server (4/-1)
**   v1    8.1 Wait
**** v1    8.1 CLI TX|panic.clear
**** v1    8.2 vsl|          0 CLI             - Rd ping
**** v1    8.2 vsl|          0 CLI             - Wr 200 19 PONG 1518337632 1.0
***  v1    8.3 CLI RX  300
**** v1    8.3 CLI RX|No panic to clear
***  v1    8.3 debug|Info: manager stopping child
***  v1    8.3 debug|Debug: Stopping Child
**** v1    8.3 vsl|          0 CLI             - EOF on CLI connection, worker stops
***  v1    9.3 debug|Info: Child (71611) ended
***  v1    9.3 debug|Info: Child (71611) said Child dies
***  v1    9.3 debug|Debug: Child cleanup complete
***  v1    9.3 debug|Info: manager dies
**** v1    9.3 STDOUT poll 0x11
**   v1    9.3 R 71603 Status: 0000 (u 1.312446 s 0.392133)
*    top   9.4 TEST ../../../../bin/varnishtest/tests/d00013.vtc FAILED