c00043

4e1699f

EXPECT resp.bodylen (281) == "3" failed

1 @ FreeBSD amd64 11.1-REL-p4 1.04 phk

*    top   0.0 TEST ../../../../bin/varnishtest/tests/c00043.vtc starting
[...]
*    top   0.0 TEST predictive vary
[...]
**** c2    4.5 http[10] |Content-Length: 281
**** c2    4.5 http[11] |Connection: keep-alive
**** c2    4.5 body|<!DOCTYPE html>
**** c2    4.5 body|<html>
**** c2    4.5 body|  <head>
**** c2    4.5 body|    <title>503 Backend fetch failed</title>
**** c2    4.5 body|  </head>
**** c2    4.5 body|  <body>
**** c2    4.5 body|    <h1>Error 503 Backend fetch failed</h1>
**** c2    4.5 body|    <p>Backend fetch failed</p>
**** c2    4.5 body|    <h3>Guru Meditation:</h3>
**** c2    4.5 body|    <p>XID: 1007</p>
**** c2    4.5 body|    <hr>
**** c2    4.5 body|    <p>Varnish cache server</p>
**** c2    4.5 body|  </body>
**** c2    4.5 body|</html>
**** c2    4.5 bodylen = 281
**   c2    4.5 === barrier b1 sync
**** c2    4.5 Barrier(b1) wake 2
**   c2    4.5 === expect resp.bodylen == 3
---- c2    4.5 EXPECT resp.bodylen (281) == "3" failed
**   s1    4.5 === txresp -hdr "Vary: foo" -bodylen 2
**** s1    4.5 txresp|HTTP/1.1 200 OK\r
**** s1    4.5 txresp|Vary: foo\r
**** s1    4.5 txresp|Content-Length: 2\r
**** s1    4.5 txresp|\r
**** s1    4.5 txresp|!
***  s1    4.5 shutting fd 5
**   s1    4.5 Ending
**** c1    4.5 rxhdr|HTTP/1.1 200 OK\r
**** c1    4.5 rxhdr|Vary: foo\r
**** c1    4.5 rxhdr|Content-Length: 2\r
**** c1    4.5 rxhdr|Date: Wed, 06 Dec 2017 14:45:32 GMT\r
**** c1    4.5 rxhdr|X-Varnish: 1004\r
**** c1    4.5 rxhdr|Age: 0\r
**** c1    4.5 rxhdr|Via: 1.1 varnish (Varnish/5.2)\r
**** c1    4.5 rxhdr|Accept-Ranges: bytes\r
**** c1    4.5 rxhdr|Connection: keep-alive\r
**** c1    4.5 rxhdr|\r
**** c1    4.5 rxhdrlen = 189