c00048

7450697

EXPECT resp.status (503) == "200" failed

1 @ SunOS 5.11 i86pc 1.04 64_sun12.4 uplex

*    top   0.0 TEST ../../../bin/varnishtest/tests/c00048.vtc starting
[...]
*    top   0.0 TEST Forcing health of backends
[...]
**** c1    1.4 http[ 8] |Age: 0
**** c1    1.4 http[ 9] |Via: 1.1 varnish (Varnish/5.1)
**** c1    1.4 http[10] |Content-Length: 281
**** c1    1.4 http[11] |Connection: keep-alive
**** c1    1.4 body|<!DOCTYPE html>
**** c1    1.4 body|<html>
**** c1    1.4 body|  <head>
**** c1    1.4 body|    <title>503 Backend fetch failed</title>
**** c1    1.4 body|  </head>
**** c1    1.4 body|  <body>
**** c1    1.4 body|    <h1>Error 503 Backend fetch failed</h1>
**** c1    1.4 body|    <p>Backend fetch failed</p>
**** c1    1.4 body|    <h3>Guru Meditation:</h3>
**** c1    1.4 body|    <p>XID: 1008</p>
**** c1    1.4 body|    <hr>
**** c1    1.4 body|    <p>Varnish cache server</p>
**** c1    1.4 body|  </body>
**** c1    1.4 body|</html>
**** c1    1.4 bodylen = 281
**   c1    1.4 === expect resp.status == 200
---- c1    1.4 EXPECT resp.status (503) == "200" failed
*    top   1.4 RESETTING after ../../../bin/varnishtest/tests/c00048.vtc
**   s1    1.4 Waiting for server (3/-1)
**** s1    1.4 macro undef s1_addr
**** s1    1.4 macro undef s1_port
**** s1    1.4 macro undef s1_sock
**   v1    1.4 Wait
***  v1    1.4 debug|Debug: Stopping Child
**** v1    1.4 vsl|          0 CLI             - Rd vcl.list
**** v1    1.4 vsl|          0 CLI             - Wr 200 38 active      auto/warm          0 vcl1

**** v1    1.4 vsl|          0 CLI             - Rd backend.list -p
**** v1    1.4 vsl|          0 CLI             - Wr 200 644 Backend name                   Admin      Probe                Last updated
vcl1.s1                        probe      Healthy             8/8
Current states  good:  8 threshold:  8 window:  8
Average response time of good probes: 0.000128

**** v1    1.4 vsl|          0 CLI             - Rd backend.set_health s1 auto
**** v1    1.4 vsl|          0 CLI             - Wr 200 0
**** v1    1.4 vsl|          0 CLI             - Rd backend.list -p