v00014

5dfa83b

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

1 @ SunOS 5.11 i86pc 1.04 32_sun12.4 uplex

*    top   0.0 TEST ../../../bin/varnishtest/tests/v00014.vtc starting
[...]
*    top   0.0 TEST Check req.backend.healthy
[...]
**** c1    3.2 http[ 6] |Content-Type: text/html; charset=utf-8
**** c1    3.2 http[ 7] |Retry-After: 5
**** c1    3.2 http[ 8] |Content-Length: 257
**** c1    3.2 http[ 9] |Connection: keep-alive
**** c1    3.2 body|<!DOCTYPE html>
**** c1    3.2 body|<html>
**** c1    3.2 body|  <head>
**** c1    3.2 body|    <title>500 Backend sick</title>
**** c1    3.2 body|  </head>
**** c1    3.2 body|  <body>
**** c1    3.2 body|    <h1>Error 500 Backend sick</h1>
**** c1    3.2 body|    <p>Backend sick</p>
**** c1    3.2 body|    <h3>Guru Meditation:</h3>
**** c1    3.2 body|    <p>XID: 1003</p>
**** c1    3.2 body|    <hr>
**** c1    3.2 body|    <p>Varnish cache server</p>
**** c1    3.2 body|  </body>
**** c1    3.2 body|</html>
**** c1    3.2 bodylen = 257
**   c1    3.2 === expect resp.status == 200
---- c1    3.2 EXPECT resp.status (500) == "200" failed
*    top   3.2 RESETTING after ../../../bin/varnishtest/tests/v00014.vtc
**   s1    3.2 Waiting for server (3/-1)
**** s1    3.2 macro undef s1_addr
**** s1    3.2 macro undef s1_port
**** s1    3.2 macro undef s1_sock
**   v1    3.2 Wait
***  v1    3.2 debug|Debug: Stopping Child
**** v1    3.3 vsl|          0 Backend_health  - vcl1.default Still sick 4--X--- 1 2 3 0.000000 0.001182
**** v1    3.3 vsl|       1000 Link            c req 1003 rxreq
**** v1    3.3 vsl|       1003 Begin           c req 1000 rxreq
**** v1    3.3 vsl|       1003 Timestamp       c Start: 1493072469.602037 0.000000 0.000000
**** v1    3.3 vsl|       1003 Timestamp       c Req: 1493072469.602037 0.000000 0.000000
**** v1    3.3 vsl|       1003 ReqStart        c 127.0.0.1 40276
**** v1    3.3 vsl|       1003 ReqMethod       c GET
**** v1    3.3 vsl|       1003 ReqURL          c /
**** v1    3.3 vsl|       1003 ReqProtocol     c HTTP/1.1
**** v1    3.3 vsl|       1003 ReqHeader       c X-Forwarded-For: 127.0.0.1
**** v1    3.3 vsl|       1003 VCL_call        c RECV
**** v1    3.3 vsl|       1003 VCL_return      c synth