v00014

34b01c4

T resp.status (500) == "200" failed

1 @ SunOS i86pc 5.11 1.04 32_gcc4.7 uplex

*    top  TEST ../../../bin/varnishtest/tests/v00014.vtc starting
[...]
*    top  VTEST Check req.backend.healthy
[...]
**** c1   http[ 6] |Content-Type: text/html; charset=utf-8
**** c1   http[ 7] |Retry-After: 5
**** c1   http[ 8] |Content-Length: 257
**** c1   http[ 9] |Connection: keep-alive
**** c1   c-l|<!DOCTYPE html>
**** c1   c-l|<html>
**** c1   c-l|  <head>
**** c1   c-l|    <title>500 Backend sick</title>
**** c1   c-l|  </head>
**** c1   c-l|  <body>
**** c1   c-l|    <h1>Error 500 Backend sick</h1>
**** c1   c-l|    <p>Backend sick</p>
**** c1   c-l|    <h3>Guru Meditation:</h3>
**** c1   c-l|    <p>XID: 1003</p>
**** c1   c-l|    <hr>
**** c1   c-l|    <p>Varnish cache server</p>
**** c1   c-l|  </body>
**** c1   c-l|</html>
**** c1   bodylen = 257
**   c1   === expect resp.status == 200
---- c1   EXPECT resp.status (500) == "200" failed
*    top  RESETTING after ../../../bin/varnishtest/tests/v00014.vtc
**   s1   Waiting for server (3/-1)
**   v1   Wait
**** v1   CLI TX|panic.clear
***  v1   CLI RX  300
**** v1   CLI RX|No panic to clear
***  v1   debug|Info: manager stopping child
***  v1   debug|Debug: Stopping Child
**** dT   3.544
**** v1   vsl|          0 Backend_health  - default Still sick 4---X--- 1 2 3 0.000000 0.001488 Empty response
**** v1   vsl|       1000 Link            c req 1003 rxreq
**** v1   vsl|       1003 Begin           c req 1000 rxreq
**** v1   vsl|       1003 Timestamp       c Start: 1565701940.283318 0.000000 0.000000
**** v1   vsl|       1003 Timestamp       c Req: 1565701940.283318 0.000000 0.000000
**** v1   vsl|       1003 VCL_use         c vcl1
**** v1   vsl|       1003 ReqStart        c 127.0.0.1 63743 a0
**** v1   vsl|       1003 ReqMethod       c GET
**** v1   vsl|       1003 ReqURL          c /
**** v1   vsl|       1003 ReqProtocol     c HTTP/1.1