(This page was automatically generated by the tools in the opsboy project on 14:29:51 30-Jun-2023 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
4143dae8 | 2021-04-23 14:35:06 GMT | 701 | 0 | 40 | 1465 | 71 sec |
File | Name | Details |
---|---|---|
access.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
access.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
access.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
bugs.t | TEST 3: flush all - status code ok |
got: '502' expected: '200' |
bugs.t | TEST 3: flush all - header Content-Length ok |
got: '167' expected: '4' |
bugs.t | TEST 3: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
bugs.t | TEST 3: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
bugs.t | TEST 6: flush all - status code ok |
got: '502' expected: '200' |
bugs.t | TEST 6: flush all - header Content-Length ok |
got: '167' expected: '4' |
bugs.t | TEST 6: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
bugs.t | TEST 6: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
bugs.t | TEST 8: internal redirect in store subrequest (check if value has been stored) - status code ok |
got: '200' expected: '201' |
bugs.t | TEST 8: internal redirect in store subrequest (check if value has been stored) - header Content-Length ok |
got: '' expected: '3' |
bugs.t | TEST 8: internal redirect in store subrequest (check if value has been stored) - header Content-Type ok |
got: 'text/css' expected: 'text/blah' |
bugs.t | TEST 8: internal redirect in store subrequest (check if value has been stored) - response_body - response is expected (repeated req 0, req 0) |
got: 'blah ' expected: 'bar' |
conditional-get.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
conditional-get.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
conditional-get.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
conditional-get.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
conditional-get.t | TEST 1: flush all - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13147\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /flush HTTP/1.1\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13147\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13147\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13147\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13147\#0: *1 finalize http memcached request 2021/04/23 17:46:27 [debug] 13147\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13147\#0: *1 event timer del: 8: 11649118 2021/04/23 17:46:27 [debug] 13147\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13147\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13147\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13150\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13150\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13150\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13150\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13150\#0: *1 finalize http memcached request 2021/04/23 17:46:27 [debug] 13150\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13150\#0: *1 event timer del: 8: 11649214 2021/04/23 17:46:27 [debug] 13150\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13150\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13150\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13150\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13150\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13150\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13150\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13150\#0: *1 finalize http memcached request 2021/04/23 17:46:27 [debug] 13150\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13150\#0: *1 event timer del: 8: 11649214 2021/04/23 17:46:27 [debug] 13150\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13150\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13150\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13150\#0: *1 srcache_store subrequest failed: rc=502 status=0 while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13150\#0: *1 malloc: 0000000001B691E0:16 2021/04/23 17:46:27 [debug] 13150\#0: *1 malloc: 0000000001B69200:16 2021/04/23 17:46:27 [debug] 13150\#0: *1 http wake parent request: "/cats?" 2021/04/23 17:46:27 [debug] 13150\#0: *1 http posted request: "/cats?" 2021/04/23 17:46:27 [debug] 13150\#0: *1 http writer handler: "/cats?" 2021/04/23 17:46:27 [debug] 13150\#0: *1 http output filter "/cats?" 2021/04/23 17:46:27 [debug] 13150\#0: *1 http copy filter: "/cats?" 2021/04/23 17:46:27 [debug] 13150\#0: *1 lua capture body filter, uri "/cats" 2021/04/23 17:46:27 [debug] 13150\#0: *1 http postpone filter "/cats?" 0000000000000000 ' |
conditional-get.t | TEST 3: cache hit - status code ok |
got: '502' expected: '200' |
conditional-get.t | TEST 3: cache hit - header Last-Modified ok |
got: '' expected: 'Thu, 10 May 2012 07:50:59 GMT' |
conditional-get.t | TEST 3: cache hit - header Content-Length ok |
got: '167' expected: '6' |
conditional-get.t | TEST 3: cache hit - header Content-Type ok |
got: 'text/html' expected: 'application/json' |
conditional-get.t | TEST 3: cache hit - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
conditional-get.t | TEST 3: cache hit - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13153\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13153\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13153\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13153\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13153\#0: *1 finalize http memcached request 2021/04/23 17:46:27 [debug] 13153\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13153\#0: *1 event timer del: 8: 11649354 2021/04/23 17:46:27 [debug] 13153\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13153\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13153\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 3: cache hit - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13153\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13153\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13153\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13153\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13153\#0: *1 finalize http proxy request 2021/04/23 17:46:27 [debug] 13153\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13153\#0: *1 event timer del: 8: 11649354 2021/04/23 17:46:27 [debug] 13153\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13153\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13153\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 4: cache hit (I-M-S conditional GET, exact) - status code ok |
got: '502' expected: '304' |
conditional-get.t | TEST 4: cache hit (I-M-S conditional GET, exact) - header Last-Modified ok |
got: '' expected: 'Thu, 10 May 2012 07:50:59 GMT' |
conditional-get.t | TEST 4: cache hit (I-M-S conditional GET, exact) - header Content-Length not present in the raw headers |
'HTTP/1.1 502 Bad Gateway Server: nginx/1.19.9 (no pool) Date: Fri, 23 Apr 2021 17:46:27 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Length\s*:)' |
conditional-get.t | TEST 4: cache hit (I-M-S conditional GET, exact) - header Content-Type not present in the raw headers |
'HTTP/1.1 502 Bad Gateway Server: nginx/1.19.9 (no pool) Date: Fri, 23 Apr 2021 17:46:27 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
conditional-get.t | TEST 4: cache hit (I-M-S conditional GET, exact) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "" length: 0 strings begin to differ at char 1 (line 1 column 1) |
conditional-get.t | TEST 4: cache hit (I-M-S conditional GET, exact) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13156\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13156\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13156\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13156\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13156\#0: *1 finalize http memcached request 2021/04/23 17:46:27 [debug] 13156\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13156\#0: *1 event timer del: 8: 11649474 2021/04/23 17:46:27 [debug] 13156\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13156\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13156\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 4: cache hit (I-M-S conditional GET, exact) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13156\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13156\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13156\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13156\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13156\#0: *1 finalize http proxy request 2021/04/23 17:46:27 [debug] 13156\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13156\#0: *1 event timer del: 8: 11649474 2021/04/23 17:46:27 [debug] 13156\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13156\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13156\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 5: cache hit (I-M-S conditional GET, exact failed) - status code ok |
got: '502' expected: '200' |
conditional-get.t | TEST 5: cache hit (I-M-S conditional GET, exact failed) - header Last-Modified ok |
got: '' expected: 'Thu, 10 May 2012 07:50:59 GMT' |
conditional-get.t | TEST 5: cache hit (I-M-S conditional GET, exact failed) - header Content-Length ok |
got: '167' expected: '6' |
conditional-get.t | TEST 5: cache hit (I-M-S conditional GET, exact failed) - header Content-Type ok |
got: 'text/html' expected: 'application/json' |
conditional-get.t | TEST 5: cache hit (I-M-S conditional GET, exact failed) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
conditional-get.t | TEST 5: cache hit (I-M-S conditional GET, exact failed) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13159\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13159\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13159\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13159\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13159\#0: *1 finalize http memcached request 2021/04/23 17:46:27 [debug] 13159\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13159\#0: *1 event timer del: 8: 11649590 2021/04/23 17:46:27 [debug] 13159\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13159\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13159\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 5: cache hit (I-M-S conditional GET, exact failed) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:27 [error] 13159\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:27 [debug] 13159\#0: *1 http next upstream, 2 2021/04/23 17:46:27 [debug] 13159\#0: *1 free rr peer 1 4 2021/04/23 17:46:27 [debug] 13159\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:27 [debug] 13159\#0: *1 finalize http proxy request 2021/04/23 17:46:27 [debug] 13159\#0: *1 close http upstream connection: 8 2021/04/23 17:46:27 [debug] 13159\#0: *1 event timer del: 8: 11649590 2021/04/23 17:46:27 [debug] 13159\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:27 [debug] 13159\#0: *1 poll del index: 3 2021/04/23 17:46:27 [debug] 13159\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 6: cache hit (I-M-S conditional GET, exact failed, before suceeded) - status code ok |
got: '502' expected: '304' |
conditional-get.t | TEST 6: cache hit (I-M-S conditional GET, exact failed, before suceeded) - header Last-Modified ok |
got: '' expected: 'Thu, 10 May 2012 07:50:59 GMT' |
conditional-get.t | TEST 6: cache hit (I-M-S conditional GET, exact failed, before suceeded) - header Content-Length not present in the raw headers |
'HTTP/1.1 502 Bad Gateway Server: nginx/1.19.9 (no pool) Date: Fri, 23 Apr 2021 17:46:28 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Length\s*:)' |
conditional-get.t | TEST 6: cache hit (I-M-S conditional GET, exact failed, before suceeded) - header Content-Type not present in the raw headers |
'HTTP/1.1 502 Bad Gateway Server: nginx/1.19.9 (no pool) Date: Fri, 23 Apr 2021 17:46:28 GMT Content-Type: text/html Content-Length: 167 Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
conditional-get.t | TEST 6: cache hit (I-M-S conditional GET, exact failed, before suceeded) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "" length: 0 strings begin to differ at char 1 (line 1 column 1) |
conditional-get.t | TEST 6: cache hit (I-M-S conditional GET, exact failed, before suceeded) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13162\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13162\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13162\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13162\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13162\#0: *1 finalize http memcached request 2021/04/23 17:46:28 [debug] 13162\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13162\#0: *1 event timer del: 8: 11649710 2021/04/23 17:46:28 [debug] 13162\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13162\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13162\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 6: cache hit (I-M-S conditional GET, exact failed, before suceeded) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13162\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13162\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13162\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13162\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13162\#0: *1 finalize http proxy request 2021/04/23 17:46:28 [debug] 13162\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13162\#0: *1 event timer del: 8: 11649710 2021/04/23 17:46:28 [debug] 13162\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13162\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13162\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 7: cache hit (I-U-S conditional GET, 412) - status code ok |
got: '502' expected: '412' |
conditional-get.t | TEST 7: cache hit (I-U-S conditional GET, 412) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>openresty</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>openresty</center> </body> </html> ' doesn't match '(?^s:412 Precondition Failed)' |
conditional-get.t | TEST 7: cache hit (I-U-S conditional GET, 412) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13165\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13165\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13165\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13165\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13165\#0: *1 finalize http memcached request 2021/04/23 17:46:28 [debug] 13165\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13165\#0: *1 event timer del: 8: 11649826 2021/04/23 17:46:28 [debug] 13165\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13165\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13165\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 7: cache hit (I-U-S conditional GET, 412) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13165\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13165\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13165\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13165\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13165\#0: *1 finalize http proxy request 2021/04/23 17:46:28 [debug] 13165\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13165\#0: *1 event timer del: 8: 11649826 2021/04/23 17:46:28 [debug] 13165\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13165\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13165\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 8: cache hit (I-U-S conditional GET, precondition succeeded) - status code ok |
got: '502' expected: '200' |
conditional-get.t | TEST 8: cache hit (I-U-S conditional GET, precondition succeeded) - header Last-Modified ok |
got: '' expected: 'Thu, 10 May 2012 07:50:59 GMT' |
conditional-get.t | TEST 8: cache hit (I-U-S conditional GET, precondition succeeded) - header Content-Length ok |
got: '167' expected: '6' |
conditional-get.t | TEST 8: cache hit (I-U-S conditional GET, precondition succeeded) - header Content-Type ok |
got: 'text/html' expected: 'application/json' |
conditional-get.t | TEST 8: cache hit (I-U-S conditional GET, precondition succeeded) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
conditional-get.t | TEST 8: cache hit (I-U-S conditional GET, precondition succeeded) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13168\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13168\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13168\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13168\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13168\#0: *1 finalize http memcached request 2021/04/23 17:46:28 [debug] 13168\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13168\#0: *1 event timer del: 8: 11649946 2021/04/23 17:46:28 [debug] 13168\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13168\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13168\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 8: cache hit (I-U-S conditional GET, precondition succeeded) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13168\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13168\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13168\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13168\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13168\#0: *1 finalize http proxy request 2021/04/23 17:46:28 [debug] 13168\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13168\#0: *1 event timer del: 8: 11649946 2021/04/23 17:46:28 [debug] 13168\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13168\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13168\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 9: cache hit (I-U-S conditional GET, precondition succeeded, newer) - status code ok |
got: '502' expected: '200' |
conditional-get.t | TEST 9: cache hit (I-U-S conditional GET, precondition succeeded, newer) - header Last-Modified ok |
got: '' expected: 'Thu, 10 May 2012 07:50:59 GMT' |
conditional-get.t | TEST 9: cache hit (I-U-S conditional GET, precondition succeeded, newer) - header Content-Length ok |
got: '167' expected: '6' |
conditional-get.t | TEST 9: cache hit (I-U-S conditional GET, precondition succeeded, newer) - header Content-Type ok |
got: 'text/html' expected: 'application/json' |
conditional-get.t | TEST 9: cache hit (I-U-S conditional GET, precondition succeeded, newer) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
conditional-get.t | TEST 9: cache hit (I-U-S conditional GET, precondition succeeded, newer) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13171\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13171\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13171\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13171\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13171\#0: *1 finalize http memcached request 2021/04/23 17:46:28 [debug] 13171\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13171\#0: *1 event timer del: 8: 11650066 2021/04/23 17:46:28 [debug] 13171\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13171\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13171\#0: *1 poll del event: fd:8 ev:4 ' |
conditional-get.t | TEST 9: cache hit (I-U-S conditional GET, precondition succeeded, newer) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13171\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13171\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13171\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13171\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13171\#0: *1 finalize http proxy request 2021/04/23 17:46:28 [debug] 13171\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13171\#0: *1 event timer del: 8: 11650066 2021/04/23 17:46:28 [debug] 13171\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13171\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13171\#0: *1 poll del event: fd:8 ev:4 ' |
content-length.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
content-length.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
content-length.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
content-length.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
content-length.t | TEST 1: flush all - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13176\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /flush HTTP/1.1\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13176\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13176\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13176\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13176\#0: *1 finalize http memcached request 2021/04/23 17:46:28 [debug] 13176\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13176\#0: *1 event timer del: 8: 11650266 2021/04/23 17:46:28 [debug] 13176\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13176\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13176\#0: *1 poll del event: fd:8 ev:4 ' |
content-length.t | TEST 3: basic fetch (cache miss) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13182\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13182\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13182\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13182\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13182\#0: *1 finalize http memcached request 2021/04/23 17:46:28 [debug] 13182\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13182\#0: *1 event timer del: 8: 11650462 2021/04/23 17:46:28 [debug] 13182\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13182\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13182\#0: *1 poll del event: fd:8 ev:4 ' |
content-length.t | TEST 3: basic fetch (cache miss) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13182\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13182\#0: *1 http next upstream, 2 2021/04/23 17:46:28 [debug] 13182\#0: *1 free rr peer 1 4 2021/04/23 17:46:28 [debug] 13182\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:28 [debug] 13182\#0: *1 finalize http memcached request 2021/04/23 17:46:28 [debug] 13182\#0: *1 close http upstream connection: 8 2021/04/23 17:46:28 [debug] 13182\#0: *1 event timer del: 8: 11650462 2021/04/23 17:46:28 [debug] 13182\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:28 [debug] 13182\#0: *1 poll del index: 3 2021/04/23 17:46:28 [debug] 13182\#0: *1 poll del event: fd:8 ev:4 ' |
content-length.t | TEST 3: basic fetch (cache miss) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:28 [error] 13182\#0: *1 srcache_store subrequest failed: rc=502 status=0 while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:28 [debug] 13182\#0: *1 malloc: 0000000000C31390:16 2021/04/23 17:46:28 [debug] 13182\#0: *1 malloc: 0000000000C313B0:16 2021/04/23 17:46:28 [debug] 13182\#0: *1 http wake parent request: "/foo?" 2021/04/23 17:46:28 [debug] 13182\#0: *1 http posted request: "/foo?" 2021/04/23 17:46:28 [debug] 13182\#0: *1 http writer handler: "/foo?" 2021/04/23 17:46:28 [debug] 13182\#0: *1 http output filter "/foo?" 2021/04/23 17:46:28 [debug] 13182\#0: *1 http copy filter: "/foo?" 2021/04/23 17:46:28 [debug] 13182\#0: *1 http postpone filter "/foo?" 0000000000000000 2021/04/23 17:46:28 [debug] 13182\#0: *1 http postpone filter output "/foo?" ' |
content-type.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
content-type.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
content-type.t | TEST 3: basic fetch (cache hit) - header Content-Type ok |
got: 'text/css' expected: 'application/x-javascript; charset=UTF-8' |
content-type.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "bar(hello\x{0a});" length: 12 strings begin to differ at char 1 (line 1 column 1) |
disk.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
disk.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
drizzle-main.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
drizzle-main.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
drizzle-main.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
drizzle-main.t | TEST 1: flush all - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:29 [error] 13209\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /flush HTTP/1.1\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:29 [debug] 13209\#0: *1 http next upstream, 2 2021/04/23 17:46:29 [debug] 13209\#0: *1 free rr peer 1 4 2021/04/23 17:46:29 [debug] 13209\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:29 [debug] 13209\#0: *1 finalize http memcached request 2021/04/23 17:46:29 [debug] 13209\#0: *1 close http upstream connection: 8 2021/04/23 17:46:29 [debug] 13209\#0: *1 event timer del: 8: 11651366 2021/04/23 17:46:29 [debug] 13209\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:29 [debug] 13209\#0: *1 poll del index: 3 2021/04/23 17:46:29 [debug] 13209\#0: *1 poll del event: fd:8 ev:4 ' |
drizzle-main.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:29 [error] 13212\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:29 [debug] 13212\#0: *1 http next upstream, 2 2021/04/23 17:46:29 [debug] 13212\#0: *1 free rr peer 1 4 2021/04/23 17:46:29 [debug] 13212\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:29 [debug] 13212\#0: *1 finalize http memcached request 2021/04/23 17:46:29 [debug] 13212\#0: *1 close http upstream connection: 8 2021/04/23 17:46:29 [debug] 13212\#0: *1 event timer del: 8: 11651462 2021/04/23 17:46:29 [debug] 13212\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:29 [debug] 13212\#0: *1 poll del index: 3 2021/04/23 17:46:29 [debug] 13212\#0: *1 poll del event: fd:8 ev:4 ' |
drizzle-main.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:29 [error] 13212\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:29 [debug] 13212\#0: *1 http next upstream, 2 2021/04/23 17:46:29 [debug] 13212\#0: *1 free rr peer 1 4 2021/04/23 17:46:29 [debug] 13212\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:29 [debug] 13212\#0: *1 finalize http memcached request 2021/04/23 17:46:29 [debug] 13212\#0: *1 close http upstream connection: 8 2021/04/23 17:46:29 [debug] 13212\#0: *1 event timer del: 8: 11651470 2021/04/23 17:46:29 [debug] 13212\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:29 [debug] 13212\#0: *1 poll del index: 3 2021/04/23 17:46:29 [debug] 13212\#0: *1 poll del event: fd:8 ev:4 ' |
drizzle-main.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:29 [error] 13212\#0: *1 srcache_store subrequest failed: rc=502 status=0 while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:29 [debug] 13212\#0: *1 malloc: 0000000001FC9260:16 2021/04/23 17:46:29 [debug] 13212\#0: *1 malloc: 0000000001FC9280:16 2021/04/23 17:46:29 [debug] 13212\#0: *1 http wake parent request: "/cats?" 2021/04/23 17:46:29 [debug] 13212\#0: *1 http posted request: "/cats?" 2021/04/23 17:46:29 [debug] 13212\#0: *1 http writer handler: "/cats?" 2021/04/23 17:46:29 [debug] 13212\#0: *1 http output filter "/cats?" 2021/04/23 17:46:29 [debug] 13212\#0: *1 http copy filter: "/cats?" 2021/04/23 17:46:29 [debug] 13212\#0: *1 rds json body filter, "/cats" 2021/04/23 17:46:29 [debug] 13212\#0: *1 http postpone filter "/cats?" 0000000000000000 ' |
drizzle-main.t | TEST 3: cache hit - status code ok |
got: '500' expected: '200' |
drizzle-main.t | TEST 3: cache hit - header Content-Type ok |
got: 'text/html' expected: 'application/json' |
drizzle-main.t | TEST 3: cache hit - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 expected: "[{"id":2,"name":null},{"id":3,"name":"bob"}]" length: 44 strings begin to differ at char 1 (line 1 column 1) |
drizzle-main.t | TEST 3: cache hit - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:29 [error] 13216\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:29 [debug] 13216\#0: *1 http next upstream, 2 2021/04/23 17:46:29 [debug] 13216\#0: *1 free rr peer 1 4 2021/04/23 17:46:29 [debug] 13216\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:29 [debug] 13216\#0: *1 finalize http memcached request 2021/04/23 17:46:29 [debug] 13216\#0: *1 close http upstream connection: 8 2021/04/23 17:46:29 [debug] 13216\#0: *1 event timer del: 8: 11651570 2021/04/23 17:46:29 [debug] 13216\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:29 [debug] 13216\#0: *1 poll del index: 3 2021/04/23 17:46:29 [debug] 13216\#0: *1 poll del event: fd:8 ev:4 ' |
drizzle-main.t | TEST 3: cache hit - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:29 [error] 13216\#0: *1 failed to send query: 17 (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'invalid sql here' at line 1 while sending query to drizzle upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", upstream: \"drizzle://127.0.0.1:3307\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:29 [debug] 13216\#0: *1 finalize http upstream request: 500 2021/04/23 17:46:29 [debug] 13216\#0: *1 drizzle free peer 2021/04/23 17:46:29 [debug] 13216\#0: free: 00000000011556C0 2021/04/23 17:46:29 [debug] 13216\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:29 [debug] 13216\#0: *1 poll del index: 3 2021/04/23 17:46:29 [debug] 13216\#0: *1 poll del event: fd:8 ev:4 2021/04/23 17:46:29 [debug] 13216\#0: *1 delete posted event 00000000011512E0 2021/04/23 17:46:29 [debug] 13216\#0: *1 http finalize request: 500, "/cats?" a:1, c:1 2021/04/23 17:46:29 [debug] 13216\#0: *1 http special response: 500, "/cats?" ' |
empty-resp.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
empty-resp.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
empty-resp.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
empty-resp.t | TEST 1: flush all - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:30 [error] 13223\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /flush HTTP/1.1\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:30 [debug] 13223\#0: *1 http next upstream, 2 2021/04/23 17:46:30 [debug] 13223\#0: *1 free rr peer 1 4 2021/04/23 17:46:30 [debug] 13223\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:30 [debug] 13223\#0: *1 finalize http memcached request 2021/04/23 17:46:30 [debug] 13223\#0: *1 close http upstream connection: 8 2021/04/23 17:46:30 [debug] 13223\#0: *1 event timer del: 8: 11651834 2021/04/23 17:46:30 [debug] 13223\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:30 [debug] 13223\#0: *1 poll del index: 3 2021/04/23 17:46:30 [debug] 13223\#0: *1 poll del event: fd:8 ev:4 ' |
empty-resp.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:30 [error] 13226\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:30 [debug] 13226\#0: *1 http next upstream, 2 2021/04/23 17:46:30 [debug] 13226\#0: *1 free rr peer 1 4 2021/04/23 17:46:30 [debug] 13226\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:30 [debug] 13226\#0: *1 finalize http memcached request 2021/04/23 17:46:30 [debug] 13226\#0: *1 close http upstream connection: 8 2021/04/23 17:46:30 [debug] 13226\#0: *1 event timer del: 8: 11651930 2021/04/23 17:46:30 [debug] 13226\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:30 [debug] 13226\#0: *1 poll del index: 3 2021/04/23 17:46:30 [debug] 13226\#0: *1 poll del event: fd:8 ev:4 ' |
empty-resp.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:30 [error] 13226\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:30 [debug] 13226\#0: *1 http next upstream, 2 2021/04/23 17:46:30 [debug] 13226\#0: *1 free rr peer 1 4 2021/04/23 17:46:30 [debug] 13226\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:30 [debug] 13226\#0: *1 finalize http memcached request 2021/04/23 17:46:30 [debug] 13226\#0: *1 close http upstream connection: 8 2021/04/23 17:46:30 [debug] 13226\#0: *1 event timer del: 8: 11651930 2021/04/23 17:46:30 [debug] 13226\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:30 [debug] 13226\#0: *1 poll del index: 3 2021/04/23 17:46:30 [debug] 13226\#0: *1 poll del event: fd:8 ev:4 ' |
empty-resp.t | TEST 2: cache miss - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:30 [error] 13226\#0: *1 srcache_store subrequest failed: rc=502 status=0 while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:30 [debug] 13226\#0: *1 malloc: 0000000000F64BE0:16 2021/04/23 17:46:30 [debug] 13226\#0: *1 malloc: 0000000000F64C00:16 2021/04/23 17:46:30 [debug] 13226\#0: *1 http wake parent request: "/cats?" 2021/04/23 17:46:30 [debug] 13226\#0: *1 http posted request: "/cats?" 2021/04/23 17:46:30 [debug] 13226\#0: *1 http writer handler: "/cats?" 2021/04/23 17:46:30 [debug] 13226\#0: *1 http output filter "/cats?" 2021/04/23 17:46:30 [debug] 13226\#0: *1 http copy filter: "/cats?" 2021/04/23 17:46:30 [debug] 13226\#0: *1 http postpone filter "/cats?" 0000000000000000 2021/04/23 17:46:30 [debug] 13226\#0: *1 http postpone filter output "/cats?" ' |
empty-resp.t | TEST 3: cache hit - header Content-Length ok |
got: '' expected: '0' |
empty-resp.t | TEST 3: cache hit - header Content-Type ok |
got: 'text/css' expected: 'application/json' |
empty-resp.t | TEST 3: cache hit - response_body - response is expected (repeated req 0, req 0) |
got: "hello\x{0a}" length: 6 expected: "" length: 0 strings begin to differ at char 1 (line 1 column 1) |
empty-resp.t | TEST 3: cache hit - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:30 [error] 13229\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:30 [debug] 13229\#0: *1 http next upstream, 2 2021/04/23 17:46:30 [debug] 13229\#0: *1 free rr peer 1 4 2021/04/23 17:46:30 [debug] 13229\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:30 [debug] 13229\#0: *1 finalize http memcached request 2021/04/23 17:46:30 [debug] 13229\#0: *1 close http upstream connection: 8 2021/04/23 17:46:30 [debug] 13229\#0: *1 event timer del: 8: 11652026 2021/04/23 17:46:30 [debug] 13229\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:30 [debug] 13229\#0: *1 poll del index: 3 2021/04/23 17:46:30 [debug] 13229\#0: *1 poll del event: fd:8 ev:4 ' |
empty-resp.t | TEST 3: cache hit - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:30 [error] 13229\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:30 [debug] 13229\#0: *1 http next upstream, 2 2021/04/23 17:46:30 [debug] 13229\#0: *1 free rr peer 1 4 2021/04/23 17:46:30 [debug] 13229\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:30 [debug] 13229\#0: *1 finalize http memcached request 2021/04/23 17:46:30 [debug] 13229\#0: *1 close http upstream connection: 8 2021/04/23 17:46:30 [debug] 13229\#0: *1 event timer del: 8: 11652026 2021/04/23 17:46:30 [debug] 13229\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:30 [debug] 13229\#0: *1 poll del index: 3 2021/04/23 17:46:30 [debug] 13229\#0: *1 poll del event: fd:8 ev:4 ' |
empty-resp.t | TEST 3: cache hit - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:30 [error] 13229\#0: *1 srcache_store subrequest failed: rc=502 status=0 while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /cats HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:30 [debug] 13229\#0: *1 malloc: 0000000001E5A390:16 2021/04/23 17:46:30 [debug] 13229\#0: *1 malloc: 0000000001E5A3B0:16 2021/04/23 17:46:30 [debug] 13229\#0: *1 http wake parent request: "/cats?" 2021/04/23 17:46:30 [debug] 13229\#0: *1 http posted request: "/cats?" 2021/04/23 17:46:30 [debug] 13229\#0: *1 http writer handler: "/cats?" 2021/04/23 17:46:30 [debug] 13229\#0: *1 http output filter "/cats?" 2021/04/23 17:46:30 [debug] 13229\#0: *1 http copy filter: "/cats?" 2021/04/23 17:46:30 [debug] 13229\#0: *1 http postpone filter "/cats?" 0000000000000000 2021/04/23 17:46:30 [debug] 13229\#0: *1 http postpone filter output "/cats?" ' |
err-page.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
err-page.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
etag.t | TEST 1: flush all (not using ngx_srcache) - status code ok |
got: '502' expected: '200' |
etag.t | TEST 1: flush all (not using ngx_srcache) - header Content-Length ok |
got: '167' expected: '4' |
etag.t | TEST 1: flush all (not using ngx_srcache) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
etag.t | TEST 1: flush all (not using ngx_srcache) - header X-Store-Status ok |
got: '' expected: 'BYPASS' |
etag.t | TEST 1: flush all (not using ngx_srcache) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
etag.t | TEST 1: flush all (not using ngx_srcache) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
etag.t | TEST 2: basic fetch (cache miss) - pattern "srcache_store: subrequest returned status 201" should match a line in error.log (req 0) | |
etag.t | TEST 3: basic fetch (cache hit) - status code ok |
got: '200' expected: '304' |
etag.t | TEST 3: basic fetch (cache hit) - header Last-Modified ok |
got: '' expected: 'Sat, 01 Mar 2014 01:02:38 GMT' |
etag.t | TEST 3: basic fetch (cache hit) - header ETag ok |
got: '' expected: '"abcd1234"' |
etag.t | TEST 3: basic fetch (cache hit) - header X-Store-Status ok |
got: 'STORE' expected: 'BYPASS' |
etag.t | TEST 3: basic fetch (cache hit) - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
etag.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "" length: 0 strings begin to differ at char 1 (line 1 column 1) |
etag.t | TEST 4: flush all (not using ngx_srcache) - status code ok |
got: '502' expected: '200' |
etag.t | TEST 4: flush all (not using ngx_srcache) - header Content-Length ok |
got: '167' expected: '4' |
etag.t | TEST 4: flush all (not using ngx_srcache) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
etag.t | TEST 4: flush all (not using ngx_srcache) - header X-Store-Status ok |
got: '' expected: 'BYPASS' |
etag.t | TEST 4: flush all (not using ngx_srcache) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
etag.t | TEST 4: flush all (not using ngx_srcache) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
etag.t | TEST 6: basic fetch (cache hit) - status code ok |
got: '502' expected: '404' |
etag.t | TEST 6: basic fetch (cache hit) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
eval.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
eval.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
eval.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
eval.t | TEST 1: flush all - response_body - response is expected (repeated req 1, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
eval.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
eval.t | TEST 1: flush all - response_body - response is expected (repeated req 2, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 3: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 3: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "60" length: 2 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 6: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 6: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "12" length: 2 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 9: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 9: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "11" length: 2 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 12: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 12: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "12" length: 2 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 13: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 13: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 15: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 15: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "12" length: 2 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 16: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 16: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 16: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 16: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 18: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 18: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "6" length: 1 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 19: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 19: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 19: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 19: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 21: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 21: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "7" length: 1 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 22: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 22: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 22: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 22: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 24: check memcached key - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 24: check memcached key - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "6" length: 1 strings begin to differ at char 1 (line 1 column 1) |
expire-var.t | TEST 25: flush all - status code ok |
got: '502' expected: '200' |
expire-var.t | TEST 25: flush all - header Content-Length ok |
got: '167' expected: '4' |
expire-var.t | TEST 25: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expire-var.t | TEST 25: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expires.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
expires.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
expires.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expires.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expires.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
expires.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
expires.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expires.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expires.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
expires.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
expires.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expires.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expires.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
expires.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
expires.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expires.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expires.t | TEST 12: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
expires.t | TEST 12: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
expires.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
expires.t | TEST 13: flush all - header Content-Length ok |
got: '167' expected: '4' |
expires.t | TEST 13: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
expires.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
expires.t | TEST 15: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
expires.t | TEST 15: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
fetch-header.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
fetch-header.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
fetch-header.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
fetch-header.t | TEST 1: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-header.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-header.t | TEST 2: set key in memcached (good content) - status code ok |
got: '502' expected: '201' |
fetch-header.t | TEST 2: set key in memcached (good content) - header Content-Length ok |
got: '167' expected: '8' |
fetch-header.t | TEST 2: set key in memcached (good content) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
fetch-header.t | TEST 2: set key in memcached (good content) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "STORED\x{0d}\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
fetch-header.t | TEST 3: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '5' |
fetch-header.t | TEST 3: basic fetch (cache hit) - header Content-Type ok |
got: 'text/css' expected: 'foo/bar' |
fetch-header.t | TEST 3: basic fetch (cache hit) - header Foo ok |
got: '' expected: 'Bar' |
fetch-header.t | TEST 3: basic fetch (cache hit) - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
fetch-header.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello" length: 5 strings begin to differ at char 1 (line 1 column 1) |
fetch-header.t | TEST 4: set key in memcached (bad content, syntax error in status line) - status code ok |
got: '502' expected: '201' |
fetch-header.t | TEST 4: set key in memcached (bad content, syntax error in status line) - header Content-Length ok |
got: '167' expected: '8' |
fetch-header.t | TEST 4: set key in memcached (bad content, syntax error in status line) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
fetch-header.t | TEST 4: set key in memcached (bad content, syntax error in status line) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "STORED\x{0d}\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
fetch-header.t | TEST 6: set key in memcached (bad content, unexpected eof in status line) - status code ok |
got: '502' expected: '201' |
fetch-header.t | TEST 6: set key in memcached (bad content, unexpected eof in status line) - header Content-Length ok |
got: '167' expected: '8' |
fetch-header.t | TEST 6: set key in memcached (bad content, unexpected eof in status line) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
fetch-header.t | TEST 6: set key in memcached (bad content, unexpected eof in status line) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "STORED\x{0d}\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
fetch-header.t | TEST 8: set key in memcached (bad content, unexpected eof in header) - status code ok |
got: '502' expected: '201' |
fetch-header.t | TEST 8: set key in memcached (bad content, unexpected eof in header) - header Content-Length ok |
got: '167' expected: '8' |
fetch-header.t | TEST 8: set key in memcached (bad content, unexpected eof in header) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
fetch-header.t | TEST 8: set key in memcached (bad content, unexpected eof in header) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "STORED\x{0d}\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 1: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 3: check if /memc was invoked (just equal) - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 3: check if /memc was invoked (just equal) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 3: check if /memc was invoked (just equal) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello" length: 5 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 4: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 6: check if /memc was invoked (less than) - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 6: check if /memc was invoked (less than) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 6: check if /memc was invoked (less than) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello" length: 5 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 7: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 9: check if /memc was invoked (more than) - status code ok |
got: '502' expected: '404' |
fetch-skip.t | TEST 9: check if /memc was invoked (more than) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
fetch-skip.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 10: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 12: check if /memc was invoked (explicit "true" string) - status code ok |
got: '502' expected: '404' |
fetch-skip.t | TEST 12: check if /memc was invoked (explicit "true" string) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
fetch-skip.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 13: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 15: check if /memc was invoked (server-level config) - status code ok |
got: '502' expected: '404' |
fetch-skip.t | TEST 15: check if /memc was invoked (server-level config) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
fetch-skip.t | TEST 16: flush all - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 16: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 16: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 18: check if /memc was invoked (overriding server config) - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 18: check if /memc was invoked (overriding server config) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 18: check if /memc was invoked (overriding server config) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello" length: 5 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 19: flush all - status code ok |
got: '502' expected: '200' |
fetch-skip.t | TEST 19: flush all - header Content-Length ok |
got: '167' expected: '4' |
fetch-skip.t | TEST 19: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
fetch-skip.t | TEST 19: flush all - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
fetch-skip.t | TEST 19: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 21: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
fetch-skip.t | TEST 21: basic fetch (cache hit) - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
fetch-skip.t | TEST 21: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
fetch-skip.t | TEST 23: basic fetch (cache hit again) - header Content-Length ok |
got: '' expected: '6' |
fetch-skip.t | TEST 23: basic fetch (cache hit again) - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
gzip.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
gzip.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
gzip.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
gzip.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
gzip.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
gzip.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
gzip.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
gzip.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
gzip.t | TEST 6: basic fetch (cache miss again, not stored in the previous case) - header Content-Length ok |
got: '' expected: '6' |
gzip.t | TEST 6: basic fetch (cache miss again, not stored in the previous case) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
header-buf-size.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
header-buf-size.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
header-buf-size.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
header-buf-size.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
header-buf-size.t | TEST 2: set key in memcached (header buf overflown) - status code ok |
got: '502' expected: '201' |
header-buf-size.t | TEST 2: set key in memcached (header buf overflown) - header Content-Length ok |
got: '167' expected: '8' |
header-buf-size.t | TEST 2: set key in memcached (header buf overflown) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
header-buf-size.t | TEST 2: set key in memcached (header buf overflown) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "STORED\x{0d}\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
header-buf-size.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
header-buf-size.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
header-buf-size.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
header-buf-size.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
header-buf-size.t | TEST 5: set key in memcached - status code ok |
got: '502' expected: '201' |
header-buf-size.t | TEST 5: set key in memcached - header Content-Length ok |
got: '167' expected: '8' |
header-buf-size.t | TEST 5: set key in memcached - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
header-buf-size.t | TEST 5: set key in memcached - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "STORED\x{0d}\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
header-buf-size.t | TEST 6: basic fetch (cache hit, just enough big header buffer) - header Content-Length ok |
got: '' expected: '5' |
header-buf-size.t | TEST 6: basic fetch (cache hit, just enough big header buffer) - header Content-Type ok |
got: 'text/css' expected: 'foo/bar' |
header-buf-size.t | TEST 6: basic fetch (cache hit, just enough big header buffer) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello" length: 5 strings begin to differ at char 1 (line 1 column 1) |
main-req.t | TEST 1: flush all (not using ngx_srcache) - status code ok |
got: '502' expected: '200' |
main-req.t | TEST 1: flush all (not using ngx_srcache) - header Content-Length ok |
got: '167' expected: '4' |
main-req.t | TEST 1: flush all (not using ngx_srcache) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
main-req.t | TEST 1: flush all (not using ngx_srcache) - header X-Store-Status ok |
got: '' expected: 'BYPASS' |
main-req.t | TEST 1: flush all (not using ngx_srcache) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
main-req.t | TEST 1: flush all (not using ngx_srcache) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
main-req.t | TEST 2: basic fetch (cache miss) - pattern "srcache_store: subrequest returned status 201" should match a line in error.log (req 0) | |
main-req.t | TEST 3: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
main-req.t | TEST 3: basic fetch (cache hit) - header X-Store-Status ok |
got: 'STORE' expected: 'BYPASS' |
main-req.t | TEST 3: basic fetch (cache hit) - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
main-req.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
main-req.t | TEST 4: rewrite directives run before srcache directives - header Content-Length ok |
got: '' expected: '6' |
main-req.t | TEST 4: rewrite directives run before srcache directives - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
main-req.t | TEST 4: rewrite directives run before srcache directives - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
max-age.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
max-age.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
max-age.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
max-age.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
max-age.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
max-age.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
max-age.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
max-age.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
max-age.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
max-age.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
max-age.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
max-age.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
max-age.t | TEST 9: basic fetch (cache miss because not stored before) - header Content-Length ok |
got: '' expected: '6' |
max-age.t | TEST 9: basic fetch (cache miss because not stored before) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
max-age.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
max-age.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
max-age.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
max-age.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
max-age.t | TEST 12: basic fetch (cache miss because not stored before) - header Content-Length ok |
got: '' expected: '6' |
max-age.t | TEST 12: basic fetch (cache miss because not stored before) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
methods.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
methods.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
methods.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 3: basic fetch (cache hit) - status code ok |
got: '502' expected: '200' |
methods.t | TEST 3: basic fetch (cache hit) - header Content-Length ok |
got: '167' expected: '6' |
methods.t | TEST 3: basic fetch (cache hit) - header Content-Type ok |
got: 'text/html' expected: 'text/css' |
methods.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 5: basic fetch (POST cache hit if we enable POST explicitly) - status code ok |
got: '502' expected: '200' |
methods.t | TEST 5: basic fetch (POST cache hit if we enable POST explicitly) - header Content-Length ok |
got: '167' expected: '6' |
methods.t | TEST 5: basic fetch (POST cache hit if we enable POST explicitly) - header Content-Type ok |
got: 'text/html' expected: 'text/css' |
methods.t | TEST 5: basic fetch (POST cache hit if we enable POST explicitly) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 6: basic fetch (GET still cache hit if we enable POST and PUT explicitly) - status code ok |
got: '502' expected: '200' |
methods.t | TEST 6: basic fetch (GET still cache hit if we enable POST and PUT explicitly) - header Content-Length ok |
got: '167' expected: '6' |
methods.t | TEST 6: basic fetch (GET still cache hit if we enable POST and PUT explicitly) - header Content-Type ok |
got: 'text/html' expected: 'text/css' |
methods.t | TEST 6: basic fetch (GET still cache hit if we enable POST and PUT explicitly) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 7: basic fetch (HEAD still cache hit if we enable POST explicitly) - status code ok |
got: '502' expected: '200' |
methods.t | TEST 7: basic fetch (HEAD still cache hit if we enable POST explicitly) - header Content-Length ok |
got: '167' expected: '6' |
methods.t | TEST 7: basic fetch (HEAD still cache hit if we enable POST explicitly) - header Content-Type ok |
got: 'text/html' expected: 'text/css' |
methods.t | TEST 7: basic fetch (HEAD still cache hit if we enable POST explicitly) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:43 [error] 13614\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"HEAD /foo HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:43 [debug] 13614\#0: *1 http next upstream, 2 2021/04/23 17:46:43 [debug] 13614\#0: *1 free rr peer 1 4 2021/04/23 17:46:43 [debug] 13614\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:43 [debug] 13614\#0: *1 finalize http memcached request 2021/04/23 17:46:43 [debug] 13614\#0: *1 close http upstream connection: 8 2021/04/23 17:46:43 [debug] 13614\#0: *1 event timer del: 8: 11664710 2021/04/23 17:46:43 [debug] 13614\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:43 [debug] 13614\#0: *1 poll del index: 3 2021/04/23 17:46:43 [debug] 13614\#0: *1 poll del event: fd:8 ev:4 ' |
methods.t | TEST 7: basic fetch (HEAD still cache hit if we enable POST explicitly) - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:43 [error] 13614\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"HEAD /foo HTTP/1.1\", upstream: \"http://138.68.231.133:12345/\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:43 [debug] 13614\#0: *1 http next upstream, 2 2021/04/23 17:46:43 [debug] 13614\#0: *1 free rr peer 1 4 2021/04/23 17:46:43 [debug] 13614\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:43 [debug] 13614\#0: *1 finalize http proxy request 2021/04/23 17:46:43 [debug] 13614\#0: *1 close http upstream connection: 8 2021/04/23 17:46:43 [debug] 13614\#0: *1 event timer del: 8: 11664710 2021/04/23 17:46:43 [debug] 13614\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:43 [debug] 13614\#0: *1 poll del index: 3 2021/04/23 17:46:43 [debug] 13614\#0: *1 poll del event: fd:8 ev:4 ' |
methods.t | TEST 8: flush all - status code ok |
got: '502' expected: '200' |
methods.t | TEST 8: flush all - header Content-Length ok |
got: '167' expected: '4' |
methods.t | TEST 8: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
methods.t | TEST 8: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 11: flush all - status code ok |
got: '502' expected: '200' |
methods.t | TEST 11: flush all - header Content-Length ok |
got: '167' expected: '4' |
methods.t | TEST 11: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
methods.t | TEST 11: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 13: basic fetch (cache hit) - status code ok |
got: '502' expected: '200' |
methods.t | TEST 13: basic fetch (cache hit) - header Content-Length ok |
got: '167' expected: '6' |
methods.t | TEST 13: basic fetch (cache hit) - header Content-Type ok |
got: 'text/html' expected: 'text/css' |
methods.t | TEST 13: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 14: flush all - status code ok |
got: '502' expected: '200' |
methods.t | TEST 14: flush all - header Content-Length ok |
got: '167' expected: '4' |
methods.t | TEST 14: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
methods.t | TEST 14: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
methods.t | TEST 15: basic fetch (cache miss) - HEAD - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 17:46:43 [error] 13638\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"HEAD /foo HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) |
2021/04/23 17:46:43 [debug] 13638\#0: *1 http next upstream, 2 2021/04/23 17:46:43 [debug] 13638\#0: *1 free rr peer 1 4 2021/04/23 17:46:43 [debug] 13638\#0: *1 finalize http upstream request: 502 2021/04/23 17:46:43 [debug] 13638\#0: *1 finalize http memcached request 2021/04/23 17:46:43 [debug] 13638\#0: *1 close http upstream connection: 8 2021/04/23 17:46:43 [debug] 13638\#0: *1 event timer del: 8: 11665502 2021/04/23 17:46:43 [debug] 13638\#0: *1 poll del event: fd:8 ev:1 2021/04/23 17:46:43 [debug] 13638\#0: *1 poll del index: 3 2021/04/23 17:46:43 [debug] 13638\#0: *1 poll del event: fd:8 ev:4 ' |
no-cache.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
no-cache.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-cache.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-cache.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
no-cache.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
no-cache.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-cache.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-cache.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
no-cache.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
no-cache.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-cache.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-cache.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
no-cache.t | TEST 9: basic fetch (cache miss again, not stored in the previous case) - header Content-Length ok |
got: '' expected: '6' |
no-cache.t | TEST 9: basic fetch (cache miss again, not stored in the previous case) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
no-cache.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
no-cache.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-cache.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-cache.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
no-store.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
no-store.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-store.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-store.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
no-store.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
no-store.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-store.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-store.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
no-store.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
no-store.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-store.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-store.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
no-store.t | TEST 9: basic fetch (cache miss again, not stored in the previous case) - header Content-Length ok |
got: '' expected: '6' |
no-store.t | TEST 9: basic fetch (cache miss again, not stored in the previous case) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
no-store.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
no-store.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
no-store.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
no-store.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
postgres-main.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
postgres-main.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
postgres-main.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
postgres-main.t | TEST 3: cache hit - status code ok |
got: '500' expected: '200' |
postgres-main.t | TEST 3: cache hit - header Content-Type ok |
got: 'text/html' expected: 'application/json' |
postgres-main.t | TEST 3: cache hit - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"... length: 187 expected: "[{"id":2,"name":null},{"id":3,"name":"bob"}]" length: 44 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
private.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
private.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
private.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
private.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
private.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
private.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
private.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
private.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
private.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 9: basic fetch (cache miss again, not stored in the previous case) - header Content-Length ok |
got: '' expected: '6' |
private.t | TEST 9: basic fetch (cache miss again, not stored in the previous case) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
private.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
private.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
private.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
private.t | TEST 13: flush all - header Content-Length ok |
got: '167' expected: '4' |
private.t | TEST 13: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
private.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 16: flush all - status code ok |
got: '502' expected: '200' |
private.t | TEST 16: flush all - header Content-Length ok |
got: '167' expected: '4' |
private.t | TEST 16: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
private.t | TEST 16: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 19: flush all - status code ok |
got: '502' expected: '200' |
private.t | TEST 19: flush all - header Content-Length ok |
got: '167' expected: '4' |
private.t | TEST 19: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
private.t | TEST 19: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
private.t | TEST 21: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
private.t | TEST 21: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
proxy.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
proxy.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
proxy.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
ranges.t | TEST 1: flush all (not using ngx_srcache) - status code ok |
got: '502' expected: '200' |
ranges.t | TEST 1: flush all (not using ngx_srcache) - header Content-Length ok |
got: '167' expected: '4' |
ranges.t | TEST 1: flush all (not using ngx_srcache) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
ranges.t | TEST 1: flush all (not using ngx_srcache) - header X-Store-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 1: flush all (not using ngx_srcache) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 1: flush all (not using ngx_srcache) - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
ranges.t | TEST 2: range fetch (cache miss) - pattern "srcache_store: subrequest returned status 201" should match a line in error.log (req 0) | |
ranges.t | TEST 3: range fetch (cache hit) - status code ok |
got: '200' expected: '206' |
ranges.t | TEST 3: range fetch (cache hit) - header Content-Length ok |
got: '' expected: '4' |
ranges.t | TEST 3: range fetch (cache hit) - header X-Store-Status ok |
got: 'STORE' expected: 'BYPASS' |
ranges.t | TEST 3: range fetch (cache hit) - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
ranges.t | TEST 3: range fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: 'world ' expected: 'tml>' |
ranges.t | TEST 5: flush all (not using ngx_srcache) - status code ok |
got: '502' expected: '200' |
ranges.t | TEST 5: flush all (not using ngx_srcache) - header Content-Length ok |
got: '167' expected: '4' |
ranges.t | TEST 5: flush all (not using ngx_srcache) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
ranges.t | TEST 5: flush all (not using ngx_srcache) - header X-Store-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 5: flush all (not using ngx_srcache) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 5: flush all (not using ngx_srcache) - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
ranges.t | TEST 6: full fetch (cache miss) - pattern "srcache_store: subrequest returned status 201" should match a line in error.log (req 0) | |
ranges.t | TEST 7: range fetch (cache hit) - status code ok |
got: '200' expected: '206' |
ranges.t | TEST 7: range fetch (cache hit) - header Content-Length ok |
got: '' expected: '4' |
ranges.t | TEST 7: range fetch (cache hit) - header X-Store-Status ok |
got: 'STORE' expected: 'BYPASS' |
ranges.t | TEST 7: range fetch (cache hit) - header X-Fetch-Status ok |
got: 'MISS' expected: 'HIT' |
ranges.t | TEST 7: range fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: 'world ' expected: 'tml>' |
ranges.t | TEST 8: flush all (not using ngx_srcache) - status code ok |
got: '502' expected: '200' |
ranges.t | TEST 8: flush all (not using ngx_srcache) - header Content-Length ok |
got: '167' expected: '4' |
ranges.t | TEST 8: flush all (not using ngx_srcache) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
ranges.t | TEST 8: flush all (not using ngx_srcache) - header X-Store-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 8: flush all (not using ngx_srcache) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 8: flush all (not using ngx_srcache) - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
ranges.t | TEST 11: flush all (not using ngx_srcache) - status code ok |
got: '502' expected: '200' |
ranges.t | TEST 11: flush all (not using ngx_srcache) - header Content-Length ok |
got: '167' expected: '4' |
ranges.t | TEST 11: flush all (not using ngx_srcache) - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
ranges.t | TEST 11: flush all (not using ngx_srcache) - header X-Store-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 11: flush all (not using ngx_srcache) - header X-Fetch-Status ok |
got: '' expected: 'BYPASS' |
ranges.t | TEST 11: flush all (not using ngx_srcache) - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
req-cache-control.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
req-cache-control.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
req-cache-control.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
req-cache-control.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 3: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
req-cache-control.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 5: basic fetch (cache hit again) - header Content-Length ok |
got: '' expected: '6' |
req-cache-control.t | TEST 6: flush all - status code ok |
got: '502' expected: '200' |
req-cache-control.t | TEST 6: flush all - header Content-Length ok |
got: '167' expected: '4' |
req-cache-control.t | TEST 6: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
req-cache-control.t | TEST 6: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 8: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
req-cache-control.t | TEST 8: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 10: basic fetch (cache hit again) - header Content-Length ok |
got: '' expected: '6' |
req-cache-control.t | TEST 10: basic fetch (cache hit again) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 11: flush all - status code ok |
got: '502' expected: '200' |
req-cache-control.t | TEST 11: flush all - header Content-Length ok |
got: '167' expected: '4' |
req-cache-control.t | TEST 11: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
req-cache-control.t | TEST 11: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 13: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
req-cache-control.t | TEST 13: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 14: request cache-control: no-store - header Content-Length ok |
got: '' expected: '6' |
req-cache-control.t | TEST 14: request cache-control: no-store - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
req-cache-control.t | TEST 15: basic fetch (cache hit again) - header Content-Length ok |
got: '' expected: '6' |
req-cache-control.t | TEST 15: basic fetch (cache hit again) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
satisfy.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
satisfy.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
satisfy.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
satisfy.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
satisfy.t | TEST 4: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
satisfy.t | TEST 4: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
static.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
static.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
static.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
static.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
static.t | TEST 3: basic fetch (cache hit) - header Last-Modified ok |
got: '' expected: 'Fri, 04 Mar 2011 05:21:59 GMT' |
static.t | TEST 3: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
static.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
static.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
static.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
static.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
static.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
static.t | TEST 6: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
static.t | TEST 6: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
status.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 3: inspect the cached item - status code ok |
got: '502' expected: '200' |
status.t | TEST 3: inspect the cached item - header Content-Length ok |
got: '167' expected: '49' |
status.t | TEST 3: inspect the cached item - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 3: inspect the cached item - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,7 @@ -HTTP/1.1 200 OK +<html> -Content-Type: text/css +<head><title>502 Bad Gateway</title></head> - +<body> -hello +<center><h1>502 Bad Gateway</h1></center> +<hr><center>nginx/1.19.9 (no pool)</center> +</body> +</html> ' |
status.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 6: inspect the cached item - status code ok |
got: '502' expected: '200' |
status.t | TEST 6: inspect the cached item - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 6: inspect the cached item - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:^HTTP/1\.1 404 Not Found\r Content-Type: text/html\r \r .*?404 Not Found.* )' |
status.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 9: inspect the cached item - status code ok |
got: '502' expected: '404' |
status.t | TEST 9: inspect the cached item - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
status.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 12: inspect the cached item - status code ok |
got: '502' expected: '200' |
status.t | TEST 12: inspect the cached item - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 12: inspect the cached item - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:^HTTP/1\.1 301 Moved Permanently\r Content-Type: text/html\r Location: /bah\r \r .*?301 Moved Permanently.* )' |
status.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 13: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 13: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 15: inspect the cached item - status code ok |
got: '502' expected: '200' |
status.t | TEST 15: inspect the cached item - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 15: inspect the cached item - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:^HTTP/1\.1 302 Moved Temporarily\r Content-Type: text/html\r Location: /bah\r \r .*?302 Found.* )' |
status.t | TEST 16: cache hit - status code ok |
got: '200' expected: '302' |
status.t | TEST 16: cache hit - header Content-Type ok |
got: 'text/css' expected: 'text/html' |
status.t | TEST 16: cache hit - header Location ok |
got: '' expected: '/bah' |
status.t | TEST 16: cache hit - response_body_like - response is expected (hi) |
'hi ' doesn't match '(?^s:302 Found)' |
status.t | TEST 17: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 17: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 17: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 17: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 19: inspect the cached item - status code ok |
got: '502' expected: '404' |
status.t | TEST 19: inspect the cached item - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
status.t | TEST 20: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 20: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 20: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 20: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 22: inspect the cached item - status code ok |
got: '502' expected: '404' |
status.t | TEST 22: inspect the cached item - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
status.t | TEST 23: flush all - status code ok |
got: '502' expected: '200' |
status.t | TEST 23: flush all - header Content-Length ok |
got: '167' expected: '4' |
status.t | TEST 23: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
status.t | TEST 23: flush all - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' expected: 'OK ' |
status.t | TEST 25: inspect the cached item - status code ok |
got: '502' expected: '404' |
status.t | TEST 25: inspect the cached item - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
store-hide-headers.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
store-hide-headers.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
store-hide-headers.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
store-hide-headers.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 3: basic fetch (cache hit) - header Foo-Bar ok |
got: '' expected: 'hi world' |
store-hide-headers.t | TEST 3: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
store-hide-headers.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
store-hide-headers.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
store-hide-headers.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
store-hide-headers.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 6: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
store-hide-headers.t | TEST 6: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
store-hide-headers.t | TEST 7: flush all - header Content-Length ok |
got: '167' expected: '4' |
store-hide-headers.t | TEST 7: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
store-hide-headers.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 9: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
store-hide-headers.t | TEST 9: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
store-hide-headers.t | TEST 10: flush all - header Content-Length ok |
got: '167' expected: '4' |
store-hide-headers.t | TEST 10: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
store-hide-headers.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 12: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
store-hide-headers.t | TEST 12: basic fetch (cache hit) - header Content-Type not present in the raw headers |
'HTTP/1.1 200 OK Server: nginx/1.19.9 (no pool) Date: Fri, 23 Apr 2021 17:46:57 GMT Content-Type: text/css Transfer-Encoding: chunked Connection: close ' matches '(?^ms:^\s*Content\-Type\s*:)' |
store-hide-headers.t | TEST 12: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
store-hide-headers.t | TEST 13: flush all - header Content-Length ok |
got: '167' expected: '4' |
store-hide-headers.t | TEST 13: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
store-hide-headers.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-hide-headers.t | TEST 15: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
store-hide-headers.t | TEST 15: basic fetch (cache hit) - header Content-Type ok |
got: 'text/blah' expected: 'text/css' |
store-hide-headers.t | TEST 15: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 3: check if /memc was invoked (just equal) - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 3: check if /memc was invoked (just equal) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "HTTP/1.1 200 OK\x{0d}\x{0a}Content-Type: text/css\x{0d}\x{0a}\x{0d}\x{0a}hello\x{0a}" length: 49 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 6: check if /memc was invoked (less than) - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 6: check if /memc was invoked (less than) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "HTTP/1.1 200 OK\x{0d}\x{0a}Content-Type: text/css\x{0d}\x{0a}\x{0d}\x{0a}hello\x{0a}" length: 49 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 9: check if /memc was invoked (more than) - status code ok |
got: '502' expected: '404' |
store-max-size.t | TEST 9: check if /memc was invoked (more than) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
store-max-size.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 12: check if /memc was invoked (more than) - status code ok |
got: '502' expected: '404' |
store-max-size.t | TEST 12: check if /memc was invoked (more than) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
store-max-size.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 15: check if /memc was invoked (server-level config) - status code ok |
got: '502' expected: '404' |
store-max-size.t | TEST 15: check if /memc was invoked (server-level config) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
store-max-size.t | TEST 16: flush all - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 16: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-max-size.t | TEST 18: check if /memc was invoked (explicit unlimited) - status code ok |
got: '502' expected: '200' |
store-max-size.t | TEST 18: check if /memc was invoked (explicit unlimited) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^:^HTTP/1.1 200 OK\r Content-Type: text/css\r Last-Modified: Sat, 17 Jan 1998 19:35:33 GMT\r X-SRCache-Allow-Ranges: 1\r (?:ETag: "[^"]+"\r )?\r hello, world$)' |
store-pass-headers.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
store-pass-headers.t | TEST 1: flush all - header Content-Length ok |
got: '167' expected: '4' |
store-pass-headers.t | TEST 1: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
store-pass-headers.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-pass-headers.t | TEST 3: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
store-pass-headers.t | TEST 3: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
store-pass-headers.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
store-pass-headers.t | TEST 4: flush all - header Content-Length ok |
got: '167' expected: '4' |
store-pass-headers.t | TEST 4: flush all - header Content-Type ok |
got: 'text/html' expected: 'text/plain' |
store-pass-headers.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-pass-headers.t | TEST 6: basic fetch (cache hit) - header Content-Length ok |
got: '' expected: '6' |
store-pass-headers.t | TEST 6: basic fetch (cache hit) - header Set-Cookie ok |
got: '' expected: 'foo=baz' |
store-pass-headers.t | TEST 6: basic fetch (cache hit) - header Proxy-Authenticate ok |
got: '' expected: 'blah' |
store-pass-headers.t | TEST 6: basic fetch (cache hit) - response_body - response is expected (repeated req 0, req 0) |
got: "world\x{0a}" length: 6 expected: "hello\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 1: flush all - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 1: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 3: check if /memc was invoked (just equal) - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 3: check if /memc was invoked (just equal) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "HTTP/1.1 200 OK\x{0d}\x{0a}Content-Type: text/css\x{0d}\x{0a}\x{0d}\x{0a}hello\x{0a}" length: 49 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 4: flush all - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 4: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 6: check if /memc was invoked (less than) - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 6: check if /memc was invoked (less than) - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "HTTP/1.1 200 OK\x{0d}\x{0a}Content-Type: text/css\x{0d}\x{0a}\x{0d}\x{0a}hello\x{0a}" length: 49 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 7: flush all - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 7: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 9: check if /memc was invoked (more than) - status code ok |
got: '502' expected: '404' |
store-skip.t | TEST 9: check if /memc was invoked (more than) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
store-skip.t | TEST 10: flush all - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 10: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 12: check if /memc was invoked (explicit "true" string) - status code ok |
got: '502' expected: '404' |
store-skip.t | TEST 12: check if /memc was invoked (explicit "true" string) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
store-skip.t | TEST 13: flush all - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 13: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 15: check if /memc was invoked (server-level config) - status code ok |
got: '502' expected: '404' |
store-skip.t | TEST 15: check if /memc was invoked (server-level config) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
store-skip.t | TEST 16: flush all - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 16: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 18: check if /memc was invoked (overriding server config) - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 18: check if /memc was invoked (overriding server config) - response_body - like (repeated req 0, req 0) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^:HTTP/1.1 200 OK\r Content-Type: text/css\r Last-Modified: Fri, 24 Dec 2010 03:10:03 GMT\r X-SRCache-Allow-Ranges: 1\r (?:ETag: "4d140f0b-d"\r )?\r hello, world$)' |
store-skip.t | TEST 19: check the response - status code ok |
got: '404' expected: '200' |
store-skip.t | TEST 19: check the response - header Content-Length ok |
got: '163' expected: '13' |
store-skip.t | TEST 19: check the response - header Last-Modified ok |
got: '' expected: 'Fri, 24 Dec 2010 03:10:03 GMT' |
store-skip.t | TEST 19: check the response - header Accept-Ranges ok |
got: '' expected: 'bytes' |
store-skip.t | TEST 19: check the response - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>404 Not Found</title></head>\x{0d}"... length: 163 expected: "hello, world\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 20: flush all - status code ok |
got: '502' expected: '200' |
store-skip.t | TEST 20: flush all - response_body - response is expected (repeated req 0, req 0) |
got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"... length: 167 expected: "OK\x{0d}\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
store-skip.t | TEST 22: check if /memc was invoked - status code ok |
got: '502' expected: '404' |
store-skip.t | TEST 22: check if /memc was invoked - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html>) |
'<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.9 (no pool)</center> </body> </html> ' doesn't match '(?^s:404 Not Found)' |
Go back to the index page.