s00006

4bdf4ef

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 VTEST Check that Age is always less than max-age while not stale
[...]
**** c1    1.9 rxhdr|Via: 1.1 varnish (Varnish/6.1)\r
**** c1    1.9 rxhdr|Accept-Ranges: bytes\r
**** c1    1.9 rxhdr|Connection: keep-alive\r
**** c1    1.9 rxhdr|\r
**** c1    1.9 rxhdrlen = 209
**** c1    1.9 http[ 0] |HTTP/1.1
**** c1    1.9 http[ 1] |200
**** c1    1.9 http[ 2] |OK
**** c1    1.9 http[ 3] |Cache-control: max-age=2
**** c1    1.9 http[ 4] |Content-Length: 0
**** c1    1.9 http[ 5] |Date: Fri, 15 Mar 2019 06:47:35 GMT
**** c1    1.9 http[ 6] |X-Varnish: 1003 1002
**** c1    1.9 http[ 7] |Age: 1
**** c1    1.9 http[ 8] |Via: 1.1 varnish (Varnish/6.1)
**** c1    1.9 http[ 9] |Accept-Ranges: bytes
**** c1    1.9 http[10] |Connection: keep-alive
**** c1    1.9 bodylen = 0
**   c1    1.9 === expect resp.status == 200
**** c1    1.9 EXPECT resp.status (200) == "200" match
**   c1    1.9 === expect resp.http.Age == 0
---- c1    1.9 EXPECT resp.http.Age (1) == "0" failed
*    top   1.9 RESETTING after ../../../../bin/varnishtest/tests/s00006.vtc
**   s1    1.9 Waiting for server (3/-1)
**   v1    1.9 Wait
**** v1    1.9 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: 1552632456.997855 0.000000 0.000000
**** v1    1.9 vsl|       1003 Timestamp       c Req: 1552632456.997855 0.000000 0.000000
**** v1    1.9 vsl|       1003 VCL_use         c vcl1
**** v1    1.9 vsl|       1003 ReqStart        c 10.0.0.205 17286 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

76da811

1 @ Linux x86_64 4.20.13 1.04 gcc uplex

*    top   0.0 TEST ../../../../bin/varnishtest/tests/s00006.vtc starting
[...]
*    top   0.0 VTEST Check that Age is always less than max-age while not stale
[...]
**** c1    2.3 rxhdr|Age: 1\r
**** c1    2.3 rxhdr|Via: 1.1 varnish (Varnish/6.1)\r
**** c1    2.3 rxhdr|Accept-Ranges: bytes\r
**** c1    2.3 rxhdr|Connection: keep-alive\r
**** c1    2.3 rxhdr|\r
**** c1    2.3 rxhdrlen = 209
**** c1    2.3 http[ 0] |HTTP/1.1
**** c1    2.3 http[ 1] |200
**** c1    2.3 http[ 2] |OK
**** c1    2.3 http[ 3] |Cache-control: max-age=2
**** c1    2.3 http[ 4] |Content-Length: 0
**** c1    2.3 http[ 5] |Date: Fri, 15 Mar 2019 04:47:34 GMT
**** c1    2.3 http[ 6] |X-Varnish: 1003 1002
**** c1    2.3 http[ 7] |Age: 1
**** c1    2.3 http[ 8] |Via: 1.1 varnish (Varnish/6.1)
**** c1    2.3 http[ 9] |Accept-Ranges: bytes
**** c1    2.3 http[10] |Connection: keep-alive
**** c1    2.3 bodylen = 0
**   c1    2.3 === expect resp.status == 200
**** c1    2.3 EXPECT resp.status (200) == "200" match
**   c1    2.3 === expect resp.http.Age == 0
---- c1    2.3 EXPECT resp.http.Age (1) == "0" failed
*    top   2.3 RESETTING after ../../../../bin/varnishtest/tests/s00006.vtc
**   s1    2.3 Waiting for server (4/-1)
**   v1    2.3 Wait
**** v1    2.3 CLI TX|panic.clear
***  v1    2.3 CLI RX  300
**** v1    2.3 CLI RX|No panic to clear
***  v1    2.3 debug|Info: manager stopping child
***  v1    2.3 debug|Debug: Stopping Child
**** v1    2.4 vsl|          0 CLI             - EOF on CLI connection, worker stops
***  v1    3.3 debug|Info: Child (19693) ended
***  v1    3.3 debug|Info: Child (19693) said Child dies
***  v1    3.3 debug|Debug: Child cleanup complete
***  v1    3.3 debug|Info: manager dies
**** v1    3.3 STDOUT poll 0x10
**   v1    3.4 WAIT4 pid=19638 status=0x0000 (user 0.276207 sys 0.160348)
*    top   3.4 TEST ../../../../bin/varnishtest/tests/s00006.vtc FAILED
#    top  TEST ../../../../bin/varnishtest/tests/s00006.vtc FAILED (3.364) exit=2
FAIL tests/s00006.vtc (exit status: 2)