s00006

ef8ffbd

EXPECT resp.http.Age (1) == "0" failed

1 @ FreeBSD amd64 11.2-REL 1.04 phk

*    top   0.0 TEST ../../../../bin/varnishtest/tests/s00006.vtc starting
[...]
*    top   0.0 TEST Check that Age is always less than max-age while not stale
[...]
**** c1    1.8 rxhdr|Via: 1.1 varnish (Varnish/6.0)\r
**** c1    1.8 rxhdr|Accept-Ranges: bytes\r
**** c1    1.8 rxhdr|Connection: keep-alive\r
**** c1    1.8 rxhdr|\r
**** c1    1.8 rxhdrlen = 209
**** c1    1.8 http[ 0] |HTTP/1.1
**** c1    1.8 http[ 1] |200
**** c1    1.8 http[ 2] |OK
**** c1    1.8 http[ 3] |Cache-control: max-age=2
**** c1    1.8 http[ 4] |Content-Length: 0
**** c1    1.8 http[ 5] |Date: Fri, 27 Jul 2018 21:09:29 GMT
**** c1    1.8 http[ 6] |X-Varnish: 1003 1002
**** c1    1.8 http[ 7] |Age: 1
**** c1    1.8 http[ 8] |Via: 1.1 varnish (Varnish/6.0)
**** c1    1.8 http[ 9] |Accept-Ranges: bytes
**** c1    1.8 http[10] |Connection: keep-alive
**** c1    1.8 bodylen = 0
**   c1    1.8 === expect resp.status == 200
**** c1    1.8 EXPECT resp.status (200) == "200" match
**   c1    1.8 === expect resp.http.Age == 0
---- c1    1.8 EXPECT resp.http.Age (1) == "0" failed
*    top   1.8 RESETTING after ../../../../bin/varnishtest/tests/s00006.vtc
**   s1    1.8 Waiting for server (3/-1)
**   v1    1.8 Wait
**** v1    1.8 CLI TX|panic.clear
**** v1    1.9 vsl|       1000 Link            c req 1003 rxreq
**** v1    1.9 vsl|       1003 Begin           c req 1000 rxreq
**** v1    1.9 vsl|       1003 Timestamp       c Start: 1532725770.144108 0.000000 0.000000
**** v1    1.9 vsl|       1003 Timestamp       c Req: 1532725770.144108 0.000000 0.000000
**** v1    1.9 vsl|       1003 ReqStart        c 10.0.0.205 14398 a0
**** v1    1.9 vsl|       1003 ReqMethod       c GET
**** v1    1.9 vsl|       1003 ReqURL          c /
**** v1    1.9 vsl|       1003 ReqProtocol     c HTTP/1.1
**** v1    1.9 vsl|       1003 ReqHeader       c Host: 10.0.0.205
**** v1    1.9 vsl|       1003 ReqHeader       c X-Forwarded-For: 10.0.0.205
**** v1    1.9 vsl|       1003 VCL_call        c RECV
**** v1    1.9 vsl|       1003 VCL_return      c hash
**** v1    1.9 vsl|       1003 VCL_call        c HASH
**** v1    1.9 vsl|       1003 VCL_return      c lookup
**** v1    1.9 vsl|       1003 Hit             c 1002 0.868185 10.000000 0.000000