s00009

1fa6b74

EXPECT resp.http.X-ttl (6.574) >= "8" failed

1 @ FreeBSD arm 11.1-REL 1.04 phk

*    top   0.0 TEST ../../../../bin/varnishtest/tests/s00009.vtc starting
[...]
*    top   0.0 TEST Correct obj.ttl is when backend and processing are slow
[...]
**** c1    8.0 http[ 0] |HTTP/1.1
**** c1    8.0 http[ 1] |200
**** c1    8.0 http[ 2] |OK
**** c1    8.0 http[ 3] |Content-Length: 3
**** c1    8.0 http[ 4] |Date: Sat, 12 May 2018 04:22:51 GMT
**** c1    8.0 http[ 5] |X-Varnish: 1001
**** c1    8.0 http[ 6] |Age: 3
**** c1    8.0 http[ 7] |Via: 1.1 varnish (Varnish/6.0)
**** c1    8.0 http[ 8] |X-ttl: 6.574
**** c1    8.0 http[ 9] |Accept-Ranges: bytes
**** c1    8.0 http[10] |Connection: keep-alive
**** c1    8.0 body|foo
**** c1    8.0 bodylen = 3
**   c1    8.0 === expect resp.status == 200
**** c1    8.0 EXPECT resp.status (200) == "200" match
**   c1    8.0 === expect resp.body == "foo"
**** c1    8.0 EXPECT resp.body (foo) == "foo" match
**   c1    8.0 === expect resp.http.X-ttl <= 9
**** c1    8.0 EXPECT resp.http.X-ttl (6.574) <= "9" match
**   c1    8.0 === expect resp.http.X-ttl >= 8
---- c1    8.0 EXPECT resp.http.X-ttl (6.574) >= "8" failed
*    top   8.0 RESETTING after ../../../../bin/varnishtest/tests/s00009.vtc
**   s1    8.1 Waiting for server (5/-1)
**   v1    8.1 Wait
**** v1    8.1 CLI TX|panic.clear
**** v1    8.1 vsl|          0 ExpKill         - EXP_Inbox flg=1e p=0x20d81000 e=0.000000000 f=0x0
**** v1    8.1 vsl|          0 ExpKill         - EXP_When p=0x20d81000 e=1526098991.848398209 f=0x1e
**** v1    8.1 vsl|          0 ExpKill         - EXP_expire p=0x20d81000 e=16.574390173 f=0x0
**** v1    8.1 vsl|       1002 Begin           b bereq 1001 fetch
**** v1    8.1 vsl|       1002 Timestamp       b Start: 1526098969.820608 0.000000 0.000000
**** v1    8.1 vsl|       1002 BereqMethod     b GET
**** v1    8.1 vsl|       1002 BereqURL        b /
**** v1    8.1 vsl|       1002 BereqProtocol   b HTTP/1.1
**** v1    8.1 vsl|       1002 BereqHeader     b Host: 127.0.0.1
**** v1    8.1 vsl|       1002 BereqHeader     b X-Forwarded-For: 127.0.0.1
**** v1    8.1 vsl|       1002 BereqHeader     b Accept-Encoding: gzip
**** v1    8.1 vsl|       1002 BereqHeader     b X-Varnish: 1002
**** v1    8.1 vsl|       1002 VCL_call        b BACKEND_FETCH
**** v1    8.1 vsl|       1002 VCL_return      b fetch
**** v1    8.1 vsl|       1002 BackendOpen     b 28 s1 127.0.0.1 55038 127.0.0.1 31290