(This page was automatically generated by the tools in the opsboy project on 08:31:06 04-Jul-2023 GMT.)

Detailed Test Report for ngx_lua in linux i386 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
98f482bf 2020-10-29 15:50:02 GMT 138 119 207 21545 21560 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 29a66f77

Compilation Errors

Unexpected Failures

File Name Details
010-request_body.t TEST 10: on disk request body '
010-request_body.t TEST 10: on disk request body - status code ok got: ''
expected: '200'
010-request_body.t TEST 10: on disk request body '
010-request_body.t TEST 10: on disk request body - status code ok got: ''
expected: '200'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) '
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) '
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 80: avoid request smuggling 4/4 (POST capture w/ body + smuggle in body) - pattern "[error]" should not match any line in error.log but matches line "2020/10/29 16:41:15 [error] 18804\#0: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/29 16:41:15 [debug] 18804\#0: *1 lua tcp socket handle read error
2020/10/29 16:41:15 [debug] 18804\#0: *1 lua tcp socket waking up the current request
2020/10/29 16:41:15 [debug] 18804\#0: *1 lua tcp operation done, resuming lua thread
2020/10/29 16:41:15 [debug] 18804\#0: *1 lua tcp socket calling prepare retvals handler 081507CA, u:04B197E8
2020/10/29 16:41:15 [debug] 18804\#0: *1 lua tcp socket receive return value handler
2020/10/29 16:41:15 [debug] 18804\#0: *1 lua run thread, top:0 c:1
2020/10/29 16:41:15 [debug] 18804\#0: *1 malloc: 04B37148:8
2020/10/29 16:41:15 [debug] 18804\#0: *1 malloc: 04B37180:8
2020/10/29 16:41:15 [debug] 18804\#0: *1 lua allocate new chainlink and new buf of size 13, cl:04B37148
'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) '
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) '
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 79: avoid request smuggling 3/4 (POST capture w/ always_forward_body + smuggle in body) - pattern "[error]" should not match any line in error.log but matches line "2020/10/29 16:42:56 [error] 18822\#0: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/29 16:42:56 [debug] 18822\#0: *1 lua tcp socket handle read error
2020/10/29 16:42:56 [debug] 18822\#0: *1 lua tcp socket waking up the current request
2020/10/29 16:42:56 [debug] 18822\#0: *1 lua tcp operation done, resuming lua thread
2020/10/29 16:42:56 [debug] 18822\#0: *1 lua tcp socket calling prepare retvals handler 081507CA, u:04B19BF0
2020/10/29 16:42:56 [debug] 18822\#0: *1 lua tcp socket receive return value handler
2020/10/29 16:42:56 [debug] 18822\#0: *1 lua run thread, top:0 c:1
2020/10/29 16:42:56 [debug] 18822\#0: *1 malloc: 04B36980:8
2020/10/29 16:42:56 [debug] 18822\#0: *1 malloc: 04B369B8:8
2020/10/29 16:42:56 [debug] 18822\#0: *1 lua allocate new chainlink and new buf of size 13, cl:04B36980
'
020-subrequest.t TEST 66: leafo test case 1 for assertion failures '
020-subrequest.t TEST 66: leafo test case 1 for assertion failures - status code ok got: ''
expected: '200'
020-subrequest.t TEST 66: leafo test case 1 for assertion failures - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-hello
-hello
'
020-subrequest.t TEST 67: leafo test case 2 for assertion failures '
020-subrequest.t TEST 67: leafo test case 2 for assertion failures - status code ok got: ''
expected: '200'
020-subrequest.t TEST 67: leafo test case 2 for assertion failures - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-hello
-hello
-hello
'
020-subrequest.t TEST 67: leafo test case 2 for assertion failures '
020-subrequest.t TEST 67: leafo test case 2 for assertion failures - status code ok got: ''
expected: '200'
020-subrequest.t TEST 67: leafo test case 2 for assertion failures - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-hello
-hello
-hello
'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) '
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) '
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 205
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-18
-method: POST, uri: /foo
-
-0
'
020-subrequest.t TEST 78: avoid request smuggling 2/4 (POST capture + smuggle in body) - pattern "[error]" should not match any line in error.log but matches line "2020/10/29 16:44:44 [error] 18840\#0: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/29 16:44:44 [debug] 18840\#0: *1 lua tcp socket handle read error
2020/10/29 16:44:44 [debug] 18840\#0: *1 lua tcp socket waking up the current request
2020/10/29 16:44:44 [debug] 18840\#0: *1 lua tcp operation done, resuming lua thread
2020/10/29 16:44:44 [debug] 18840\#0: *1 lua tcp socket calling prepare retvals handler 081507CA, u:04B19630
2020/10/29 16:44:44 [debug] 18840\#0: *1 lua tcp socket receive return value handler
2020/10/29 16:44:44 [debug] 18840\#0: *1 lua run thread, top:0 c:1
2020/10/29 16:44:44 [debug] 18840\#0: *1 malloc: 04B363C0:8
2020/10/29 16:44:44 [debug] 18840\#0: *1 malloc: 04B363F8:8
2020/10/29 16:44:44 [debug] 18840\#0: *1 lua allocate new chainlink and new buf of size 13, cl:04B363C0
'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) '
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - response_body - response is expected (repeated req 0, req 0) @@ -1,22 +0,0 @@
-req bytes: 146
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-1f
-method: GET, uri: /foo, X: nil
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-2d
-method: GET, uri: /foo, X: GET /bar HTTP/1.0
-
-0
'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) '
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - response_body - response is expected (repeated req 1, req 0) @@ -1,22 +0,0 @@
-req bytes: 146
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-1f
-method: GET, uri: /foo, X: nil
-
-0
-
-HTTP/1.1 200 OK
-Server: nginx
-Content-Type: text/plain
-Transfer-Encoding: chunked
-Connection: keep-alive
-
-2d
-method: GET, uri: /foo, X: GET /bar HTTP/1.0
-
-0
'
020-subrequest.t TEST 77: avoid request smuggling 1/4 (default capture + smuggle in header) - pattern "[error]" should not match any line in error.log but matches line "2020/10/29 16:45:06 [error] 18845\#0: *1 lua tcp socket read timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/29 16:45:06 [debug] 18845\#0: *1 lua tcp socket handle read error
2020/10/29 16:45:06 [debug] 18845\#0: *1 lua tcp socket waking up the current request
2020/10/29 16:45:06 [debug] 18845\#0: *1 lua tcp operation done, resuming lua thread
2020/10/29 16:45:06 [debug] 18845\#0: *1 lua tcp socket calling prepare retvals handler 081507CA, u:04B194F8
2020/10/29 16:45:06 [debug] 18845\#0: *1 lua tcp socket receive return value handler
2020/10/29 16:45:06 [debug] 18845\#0: *1 lua run thread, top:0 c:1
2020/10/29 16:45:06 [debug] 18845\#0: *1 malloc: 04B33FE0:8
2020/10/29 16:45:06 [debug] 18845\#0: *1 malloc: 04B34018:8
2020/10/29 16:45:06 [debug] 18845\#0: *1 lua allocate new chainlink and new buf of size 13, cl:04B33FE0
'
023-rewrite/uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) '
023-rewrite/uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) - status code ok got: ''
expected: '200'
023-rewrite/uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-ok
-status: 404
-status: 404
-status: 404
-status: 404
-status: 404
'
023-rewrite/uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) '
023-rewrite/uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) - status code ok got: ''
expected: '200'
023-rewrite/uthread-spawn.t TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-ok
-status: 404
-status: 404
-status: 404
-status: 404
-status: 404
'
025-codecache.t TEST 41: same chunk from different directives produces different closures '
025-codecache.t TEST 41: same chunk from different directives produces different closures - status code ok got: ''
expected: '200'
025-codecache.t TEST 41: same chunk from different directives produces different closures - grep_error_log_out (req 0) @@ -4,25 +4,3 @@
code cache miss (key='balancer_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
code cache miss (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache hit (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache hit (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache lookup (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
'
025-codecache.t TEST 38: variables in header_filter_by_lua_file's file path '
025-codecache.t TEST 38: variables in header_filter_by_lua_file's file path - status code ok got: ''
expected: '200'
025-codecache.t TEST 38: variables in header_filter_by_lua_file's file path - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-a
-b
-a
-a
-b
'
025-codecache.t TEST 38: variables in header_filter_by_lua_file's file path '
025-codecache.t TEST 38: variables in header_filter_by_lua_file's file path - status code ok got: ''
expected: '200'
025-codecache.t TEST 38: variables in header_filter_by_lua_file's file path - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-a
-b
-a
-a
-b
'
025-codecache.t TEST 36: variables in access_by_lua_file's file path '
025-codecache.t TEST 36: variables in access_by_lua_file's file path - status code ok got: ''
expected: '200'
025-codecache.t TEST 36: variables in access_by_lua_file's file path - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-a
-b
-a
-a
-b
'
025-codecache.t TEST 36: variables in access_by_lua_file's file path '
025-codecache.t TEST 36: variables in access_by_lua_file's file path - status code ok got: ''
expected: '200'
025-codecache.t TEST 36: variables in access_by_lua_file's file path - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-a
-b
-a
-a
-b
'
028-req-header.t TEST 33: clear input header (just more than 20 headers, and add more) '
028-req-header.t TEST 33: clear input header (just more than 20 headers, and add more) - status code ok got: ''
expected: '200'
028-req-header.t TEST 33: clear input header (just more than 20 headers, and add more) - response_body - response is expected (repeated req 0, req 0) @@ -1,43 +0,0 @@
-GET /back HTTP/1.0
-Host: foo
-Connection: close
-User-Agent: curl
-A: a
-B: b
-C: c
-D: d
-E: e
-F: f
-G: g
-H: h
-I: i
-J: j
-K: k
-L: l
-M: m
-N: n
-O: o
-P: p
-Q: q
-foo-1: 1
-foo-2: 2
-foo-3: 3
-foo-4: 4
-foo-5: 5
-foo-6: 6
-foo-7: 7
-foo-8: 8
-foo-9: 9
-foo-10: 10
-foo-11: 11
-foo-12: 12
-foo-13: 13
-foo-14: 14
-foo-15: 15
-foo-16: 16
-foo-17: 17
-foo-18: 18
-foo-19: 19
-foo-20: 20
-foo-21: 21
-
'
028-req-header.t TEST 33: clear input header (just more than 20 headers, and add more) '
028-req-header.t TEST 33: clear input header (just more than 20 headers, and add more) - status code ok got: ''
expected: '200'
028-req-header.t TEST 33: clear input header (just more than 20 headers, and add more) - response_body - response is expected (repeated req 1, req 0) @@ -1,43 +0,0 @@
-GET /back HTTP/1.0
-Host: foo
-Connection: close
-User-Agent: curl
-A: a
-B: b
-C: c
-D: d
-E: e
-F: f
-G: g
-H: h
-I: i
-J: j
-K: k
-L: l
-M: m
-N: n
-O: o
-P: p
-Q: q
-foo-1: 1
-foo-2: 2
-foo-3: 3
-foo-4: 4
-foo-5: 5
-foo-6: 6
-foo-7: 7
-foo-8: 8
-foo-9: 9
-foo-10: 10
-foo-11: 11
-foo-12: 12
-foo-13: 13
-foo-14: 14
-foo-15: 15
-foo-16: 16
-foo-17: 17
-foo-18: 18
-foo-19: 19
-foo-20: 20
-foo-21: 21
-
'
028-req-header.t TEST 35: clear input header (just more than 21 headers) '
028-req-header.t TEST 35: clear input header (just more than 21 headers) - status code ok got: ''
expected: '200'
028-req-header.t TEST 35: clear input header (just more than 21 headers) - response_body - response is expected (repeated req 0, req 0) @@ -1,43 +0,0 @@
-GET /back HTTP/1.0
-Host: foo
-Connection: close
-User-Agent: curl
-Bah: bah
-A: a
-B: b
-C: c
-D: d
-E: e
-F: f
-G: g
-H: h
-I: i
-J: j
-K: k
-L: l
-M: m
-N: n
-O: o
-P: p
-foo-1: 1
-foo-2: 2
-foo-3: 3
-foo-4: 4
-foo-5: 5
-foo-6: 6
-foo-7: 7
-foo-8: 8
-foo-9: 9
-foo-10: 10
-foo-11: 11
-foo-12: 12
-foo-13: 13
-foo-14: 14
-foo-15: 15
-foo-16: 16
-foo-17: 17
-foo-18: 18
-foo-19: 19
-foo-20: 20
-foo-21: 21
-
'
028-req-header.t TEST 35: clear input header (just more than 21 headers) '
028-req-header.t TEST 35: clear input header (just more than 21 headers) - status code ok got: ''
expected: '200'
028-req-header.t TEST 35: clear input header (just more than 21 headers) - response_body - response is expected (repeated req 1, req 0) @@ -1,43 +0,0 @@
-GET /back HTTP/1.0
-Host: foo
-Connection: close
-User-Agent: curl
-Bah: bah
-A: a
-B: b
-C: c
-D: d
-E: e
-F: f
-G: g
-H: h
-I: i
-J: j
-K: k
-L: l
-M: m
-N: n
-O: o
-P: p
-foo-1: 1
-foo-2: 2
-foo-3: 3
-foo-4: 4
-foo-5: 5
-foo-6: 6
-foo-7: 7
-foo-8: 8
-foo-9: 9
-foo-10: 10
-foo-11: 11
-foo-12: 12
-foo-13: 13
-foo-14: 14
-foo-15: 15
-foo-16: 16
-foo-17: 17
-foo-18: 18
-foo-19: 19
-foo-20: 20
-foo-21: 21
-
'
028-req-header.t TEST 28: clear_header() does not duplicate subsequent headers (old bug) '
028-req-header.t TEST 28: clear_header() does not duplicate subsequent headers (old bug) - status code ok got: ''
expected: '200'
028-req-header.t TEST 28: clear_header() does not duplicate subsequent headers (old bug) - response_body_like - response is expected () ''
doesn't match '(?^:Bah: bah\r
Test-Header: 1\r
Foo1: foo1\r
Foo2: foo2\r
Foo3: foo3\r
Foo4: foo4\r
Foo5: foo5\r
Foo6: foo6\r
Foo7: foo7\r
Foo8: foo8\r
Foo9: foo9\r
Foo10: foo10\r
Foo11: foo11\r
Foo12: foo12\r
Foo13: foo13\r
Foo14: foo14\r
Foo15: foo15\r
Foo16: foo16\r
Foo17: foo17\r
Foo18: foo18\r
Foo19: foo19\r
Foo20: foo20\r
Foo21: foo21\r
Foo22: foo22\r
)'
028-req-header.t TEST 28: clear_header() does not duplicate subsequent headers (old bug) '
028-req-header.t TEST 28: clear_header() does not duplicate subsequent headers (old bug) - status code ok got: ''
expected: '200'
028-req-header.t TEST 28: clear_header() does not duplicate subsequent headers (old bug) - response_body_like - response is expected () ''
doesn't match '(?^:Bah: bah\r
Test-Header: 1\r
Foo1: foo1\r
Foo2: foo2\r
Foo3: foo3\r
Foo4: foo4\r
Foo5: foo5\r
Foo6: foo6\r
Foo7: foo7\r
Foo8: foo8\r
Foo9: foo9\r
Foo10: foo10\r
Foo11: foo11\r
Foo12: foo12\r
Foo13: foo13\r
Foo14: foo14\r
Foo15: foo15\r
Foo16: foo16\r
Foo17: foo17\r
Foo18: foo18\r
Foo19: foo19\r
Foo20: foo20\r
Foo21: foo21\r
Foo22: foo22\r
)'
067-req-socket.t TEST 18: receiveany - response_body - response is expected (repeated req 0, req 0) got: 'received: received: abchello world
'
expected: 'received: received: abc
'
067-req-socket.t TEST 18: receiveany - response_body - response is expected (repeated req 1, req 0) got: 'received: received: abchello world
'
expected: 'received: received: abc
'
068-socket-keepalive.t TEST 47: conn queuing: resume connect operation if resumed connect failed (connection refused) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-connection refused
+timeout
connected in uthread
ok
'
082-body-filter.t TEST 16: fully buffered output (string scalar, buffering to disk by ngx_proxy) '
082-body-filter.t TEST 16: fully buffered output (string scalar, buffering to disk by ngx_proxy) - status code ok got: ''
expected: '200'
082-body-filter.t TEST 16: fully buffered output (string scalar, buffering to disk by ngx_proxy) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb]'
082-body-filter.t TEST 16: fully buffered output (string scalar, buffering to disk by ngx_proxy) '
082-body-filter.t TEST 16: fully buffered output (string scalar, buffering to disk by ngx_proxy) - status code ok got: ''
expected: '200'
082-body-filter.t TEST 16: fully buffered output (string scalar, buffering to disk by ngx_proxy) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb]'
093-uthread-spawn.t TEST 29: multiple user threads + subrequests returning 404 remotely (wait) '
093-uthread-spawn.t TEST 29: multiple user threads + subrequests returning 404 remotely (wait) - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 29: multiple user threads + subrequests returning 404 remotely (wait) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-1: 404
-2: 404
-3: 404
-4: 404
-5: 404
-ok
'
093-uthread-spawn.t TEST 29: multiple user threads + subrequests returning 404 remotely (wait) '
093-uthread-spawn.t TEST 29: multiple user threads + subrequests returning 404 remotely (wait) - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 29: multiple user threads + subrequests returning 404 remotely (wait) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-1: 404
-2: 404
-3: 404
-4: 404
-5: 404
-ok
'
093-uthread-spawn.t TEST 30: multiple user threads + subrequests remotely (wait) '
093-uthread-spawn.t TEST 30: multiple user threads + subrequests remotely (wait) - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 30: multiple user threads + subrequests remotely (wait) - response_body - response is expected (repeated req 0, req 0) @@ -1,21 +0,0 @@
-1: 200
-2: 200
-3: 200
-4: 200
-5: 200
-6: 200
-7: 200
-8: 200
-9: 200
-10: 200
-11: 200
-12: 200
-13: 200
-14: 200
-15: 200
-16: 200
-17: 200
-18: 200
-19: 200
-20: 200
-ok
'
093-uthread-spawn.t TEST 30: multiple user threads + subrequests remotely (wait) '
093-uthread-spawn.t TEST 30: multiple user threads + subrequests remotely (wait) - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 30: multiple user threads + subrequests remotely (wait) - response_body - response is expected (repeated req 1, req 0) @@ -1,21 +0,0 @@
-1: 200
-2: 200
-3: 200
-4: 200
-5: 200
-6: 200
-7: 200
-8: 200
-9: 200
-10: 200
-11: 200
-12: 200
-13: 200
-14: 200
-15: 200
-16: 200
-17: 200
-18: 200
-19: 200
-20: 200
-ok
'
093-uthread-spawn.t TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) '
093-uthread-spawn.t TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-ok
-status: 404
-status: 404
-status: 404
-status: 404
-status: 404
'
093-uthread-spawn.t TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) '
093-uthread-spawn.t TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-ok
-status: 404
-status: 404
-status: 404
-status: 404
-status: 404
'
106-timer.t # Looks like you planned 704 tests but ran 698.
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) '
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - invalid chunked data received (not enought octets for the data section)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - status code ok got: ''
expected: '200'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'ok
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) '
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - no last chunk found -
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - status code ok got: ''
expected: '200'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'ok
'
143-ssl-session-fetch.t TEST 17: ssl_session_fetch_by_lua* can yield when reading early data - grep_error_log_out (req 1) ''
doesn't match '(?^:elapsed in ssl_session_fetch_by_lua\*: 0\.(?:09|1[01])\d+,)'
145-shdict-list.t TEST 16: list removed: forcibly '
145-shdict-list.t TEST 16: list removed: forcibly - status code ok got: ''
expected: '200'
145-shdict-list.t TEST 16: list removed: forcibly - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-two == number 2: true
-no one left: 0
-two == number 2: true
'
145-shdict-list.t TEST 15: list removed: expired '
145-shdict-list.t TEST 15: list removed: expired - status code ok got: ''
expected: '200'
145-shdict-list.t TEST 15: list removed: expired - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-max - 1 matched keys length: true
-keys all expired, left number: 0
-loop again, max matched: true
-loop again, max matched: true
'
147-tcp-socket-timeouts.t TEST 2: read timeout - response_body_like - response is expected (failed to send request: timeout) 'failed to send request: timeout
'
doesn't match '(?^s:failed to receive a line: timeout \[\]
)'
147-tcp-socket-timeouts.t TEST 2: read timeout - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 1: sanity - response_body_like - response is expected (failed to send request: timeout) 'failed to send request: timeout
'
doesn't match '(?^s:received: foo
)'
147-tcp-socket-timeouts.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/29 21:41:49 [error] 22517\#0: *1 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/29 21:41:49 [debug] 22517\#0: *1 lua tcp socket handle write error
2020/10/29 21:41:49 [debug] 22517\#0: *1 lua tcp socket waking up the current request
2020/10/29 21:41:49 [debug] 22517\#0: *1 lua tcp operation done, resuming lua thread
2020/10/29 21:41:49 [debug] 22517\#0: *1 lua tcp socket calling prepare retvals handler 0814E0D2, u:04B048F8
2020/10/29 21:41:49 [debug] 22517\#0: *1 lua tcp socket send return value handler
2020/10/29 21:41:49 [debug] 22517\#0: *1 poll del event: fd:9 ev:4
2020/10/29 21:41:49 [debug] 22517\#0: *1 poll del index: 3
2020/10/29 21:41:49 [debug] 22517\#0: *1 delete posted event 04AFEB64
2020/10/29 21:41:49 [debug] 22517\#0: *1 lua run thread, top:9 c:1
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "failed to receive data: timeout" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - pattern "[error]" should not match any line in error.log but matches line "2020/10/29 21:42:27 [error] 22523\#0: *1 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/29 21:42:27 [debug] 22523\#0: *1 lua tcp socket handle write error
2020/10/29 21:42:27 [debug] 22523\#0: *1 lua tcp socket waking up the current request
2020/10/29 21:42:27 [debug] 22523\#0: *1 lua tcp operation done, resuming lua thread
2020/10/29 21:42:27 [debug] 22523\#0: *1 lua tcp socket calling prepare retvals handler 0814E0D2, u:04B05FD0
2020/10/29 21:42:27 [debug] 22523\#0: *1 lua tcp socket send return value handler
2020/10/29 21:42:27 [debug] 22523\#0: *1 poll del event: fd:9 ev:4
2020/10/29 21:42:27 [debug] 22523\#0: *1 poll del index: 3
2020/10/29 21:42:27 [debug] 22523\#0: *1 delete posted event 04AFFDCC
2020/10/29 21:42:27 [debug] 22523\#0: *1 lua run thread, top:9 c:1
'
151-initby-hup.t TEST 5: error in init after HUP, not reloaded but foo have changed. - response_body - response is expected (repeated req 0, req 0) got: "hello, FOO\x{0a}"
length: 11
expected: "foo have changed\x{0a}"
length: 17
strings begin to differ at char 1 (line 1 column 1)
162-exit-worker.t TEST 6: skip in cache processes (with exit worker and privileged agent) - pattern "(?^:cache loader process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 6: skip in cache processes (with exit worker and privileged agent) - pattern "(?^:cache manager process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 6: skip in cache processes (with exit worker and privileged agent) - pattern "(?^:privileged agent process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 7: skipin cache processes (with init worker but without privileged agent) - pattern "(?^:cache loader process \d+ exited)" should match a line in error.log
162-exit-worker.t TEST 7: skipin cache processes (with init worker but without privileged agent) - pattern "(?^:cache manager process \d+ exited)" should match a line in error.log

Expected Failures

File Name Details
005-exit.t TEST 22: exit 201 in header filter - status code ok got: ''
expected: '201'
005-exit.t TEST 23: exit both in header filter and content handler - status code ok got: ''
expected: '201'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 24: exit 444 in header filter - status code ok got: ''
expected: '444'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) '
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) '
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
'
023-rewrite/client-abort.t TEST 6: subrequest + stop (proxy, ignore client abort) - pattern "client prematurely closed connection" should match a line in error.log (req 1)
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_session_fetch_by_lua_block:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_session_store_by_lua_block:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:set_by_lua:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:rewrite_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:access_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:header_filter_by_lua:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:body_filter_by_lua:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2020/10/29 17:51:46 [debug] 19706\#0: lua decrementing the reference count for Lua VM: 3" (req 0) 2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7E68, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7DF0, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7D78, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7C30, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7AC8, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7730, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC6B60, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: posted event 04AF5DA8
2020/10/29 17:51:46 [debug] 19706\#0: *1 delete posted event 04AF5DA8
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2020/10/29 17:51:46 [debug] 19706\#0: lua decrementing the reference count for Lua VM: 3" (req 1) 2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7E68, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7DF0, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7D78, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7C30, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7AC8, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC7730, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: free: 04BC6B60, unused: 0
2020/10/29 17:51:46 [debug] 19706\#0: posted event 04AF5DA8
2020/10/29 17:51:46 [debug] 19706\#0: *1 delete posted event 04AF5DA8
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2020/10/29 17:51:47 [debug] 19706\#0: lua decrementing the reference count for Lua VM: 3" (req 1) 2020/10/29 17:51:47 [debug] 19706\#0: free: 04C9A778, unused: 0
2020/10/29 17:51:47 [debug] 19706\#0: free: 04C9A700, unused: 0
2020/10/29 17:51:47 [debug] 19706\#0: free: 04C9A688, unused: 0
2020/10/29 17:51:47 [debug] 19706\#0: free: 04C9A540, unused: 0
2020/10/29 17:51:47 [debug] 19706\#0: free: 04C9A3D8, unused: 0
2020/10/29 17:51:47 [debug] 19706\#0: free: 04C9A040, unused: 0
2020/10/29 17:51:47 [debug] 19706\#0: free: 04C99470, unused: 0
2020/10/29 17:51:47 [debug] 19706\#0: posted event 04AF5DA8
2020/10/29 17:51:47 [debug] 19706\#0: *4 delete posted event 04AF5DA8
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2020/10/29 17:51:52 [debug] 19707\#0: lua tcp socket keepalive max idle timeout" (req 0) 2020/10/29 17:51:52 [debug] 19707\#0: lua tcp socket keepalive close handler: fd:9
2020/10/29 17:51:52 [debug] 19707\#0: poll del event: fd:9 ev:1
2020/10/29 17:51:52 [debug] 19707\#0: reusable connection: 0
2020/10/29 17:51:52 [debug] 19707\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2020/10/29 17:51:52 [debug] 19707\#0: posted event 04AFCCC8
2020/10/29 17:51:52 [debug] 19707\#0: *1 delete posted event 04AFCCC8
2020/10/29 17:51:52 [debug] 19707\#0: *1 http run request: "/t?"
2020/10/29 17:51:52 [debug] 19707\#0: *1 http writer handler: "/t?"
2020/10/29 17:51:52 [debug] 19707\#0: *1 http output filter "/t?"
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2020/10/29 17:51:52 [debug] 19707\#0: lua tcp socket keepalive max idle timeout" (req 1) 2020/10/29 17:51:52 [debug] 19707\#0: lua tcp socket keepalive close handler: fd:9
2020/10/29 17:51:52 [debug] 19707\#0: poll del event: fd:9 ev:1
2020/10/29 17:51:52 [debug] 19707\#0: reusable connection: 0
2020/10/29 17:51:52 [debug] 19707\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2020/10/29 17:51:52 [debug] 19707\#0: posted event 04AFCCC8
2020/10/29 17:51:52 [debug] 19707\#0: *1 delete posted event 04AFCCC8
2020/10/29 17:51:52 [debug] 19707\#0: *1 http run request: "/t?"
2020/10/29 17:51:52 [debug] 19707\#0: *1 http writer handler: "/t?"
2020/10/29 17:51:52 [debug] 19707\#0: *1 http output filter "/t?"
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2020/10/29 17:51:53 [debug] 19707\#0: lua tcp socket keepalive max idle timeout" (req 1) 2020/10/29 17:51:53 [debug] 19707\#0: lua tcp socket keepalive close handler: fd:9
2020/10/29 17:51:53 [debug] 19707\#0: poll del event: fd:9 ev:1
2020/10/29 17:51:53 [debug] 19707\#0: reusable connection: 0
2020/10/29 17:51:53 [debug] 19707\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2020/10/29 17:51:53 [debug] 19707\#0: posted event 04AFCCC8
2020/10/29 17:51:53 [debug] 19707\#0: *3 delete posted event 04AFCCC8
2020/10/29 17:51:53 [debug] 19707\#0: *3 http run request: "/t?"
2020/10/29 17:51:53 [debug] 19707\#0: *3 http writer handler: "/t?"
2020/10/29 17:51:53 [debug] 19707\#0: *3 http output filter "/t?"
'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
056-flush.t TEST 17: limit_rate - pattern "(?^:lua writes elapsed [12](?:\.\d+)? sec)" should match a line in error.log (req 0)
056-flush.t TEST 17: limit_rate - pattern "(?^:lua writes elapsed [12](?:\.\d+)? sec)" should match a line in error.log (req 1)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 1)
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false - Can't connect to 127.0.0.1:1984: Connection refused ==20974== Invalid read of size 4
==20974== at 0x80692AF: ngx_chain_update_chains (ngx_buf.c:191)
==20974== by 0x813EA83: ngx_http_lua_output_filter (ngx_http_lua_util.c:718)
==20974== by 0x813FAA4: ngx_http_lua_send_chain_link (ngx_http_lua_util.c:665)
==20974== by 0x813409B: ngx_http_lua_ngx_echo (ngx_http_lua_output.c:239)
==20974== by 0x8134112: ngx_http_lua_ngx_say (ngx_http_lua_output.c:34)
==20974== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==20974== by 0x4084A29: lua_resume (lj_api.c:1296)
==20974== by 0x8141274: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164)
==20974== by 0x8145A16: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:124)
==20974== by 0x8145C12: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:312)
==20974== by 0x8145525: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==20974== by 0x80A4FF1: ngx_http_core_content_phase (ngx_http_core_module.c:1257)
==20974== by 0x809FE32: ngx_http_core_run_phases (ngx_http_core_module.c:878)
==20974== by 0x809FF43: ngx_http_handler (ngx_http_core_module.c:861)
==20974== by 0x80AB091: ngx_http_process_request (ngx_http_request.c:2081)
==20974== by 0x80AB480: ngx_http_process_request_headers (ngx_http_request.c:1483)
==20974== by 0x80AB78B: ngx_http_process_request_line (ngx_http_request.c:1154)
==20974== by 0x80ABBE0: ngx_http_wait_request_handler (ngx_http_request.c:500)
==20974== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35)
==20974== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274)
==20974== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323)
==20974== by 0x8065F7E: main (nginx.c:382)
==20974== Address 0x9c is not stack'd, malloc'd or (recently) free'd
==20974==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_chain_update_chains
fun:ngx_http_lua_output_filter
fun:ngx_http_lua_send_chain_link
fun:ngx_http_lua_ngx_echo
fun:ngx_http_lua_ngx_say
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
072-conditional-get.t TEST 3: If-Unmodified-Since false - Can't connect to 127.0.0.1:1984: Connection refused ==20974==
==20974== Process terminating with default action of signal 11 (SIGSEGV)
==20974== Access not within mapped region at address 0x9C
==20974== at 0x80692AF: ngx_chain_update_chains (ngx_buf.c:191)
==20974== by 0x813EA83: ngx_http_lua_output_filter (ngx_http_lua_util.c:718)
==20974== by 0x813FAA4: ngx_http_lua_send_chain_link (ngx_http_lua_util.c:665)
==20974== by 0x813409B: ngx_http_lua_ngx_echo (ngx_http_lua_output.c:239)
==20974== by 0x8134112: ngx_http_lua_ngx_say (ngx_http_lua_output.c:34)
==20974== by 0x406C583: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==20974== by 0x4084A29: lua_resume (lj_api.c:1296)
==20974== by 0x8141274: ngx_http_lua_run_thread (ngx_http_lua_util.c:1164)
==20974== by 0x8145A16: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:124)
==20974== by 0x8145C12: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:312)
==20974== by 0x8145525: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==20974== by 0x80A4FF1: ngx_http_core_content_phase (ngx_http_core_module.c:1257)
==20974== by 0x809FE32: ngx_http_core_run_phases (ngx_http_core_module.c:878)
==20974== by 0x809FF43: ngx_http_handler (ngx_http_core_module.c:861)
==20974== by 0x80AB091: ngx_http_process_request (ngx_http_request.c:2081)
==20974== by 0x80AB480: ngx_http_process_request_headers (ngx_http_request.c:1483)
==20974== by 0x80AB78B: ngx_http_process_request_line (ngx_http_request.c:1154)
==20974== by 0x80ABBE0: ngx_http_wait_request_handler (ngx_http_request.c:500)
==20974== by 0x80859F0: ngx_event_process_posted (ngx_event_posted.c:35)
==20974== by 0x80853B3: ngx_process_events_and_timers (ngx_event.c:274)
==20974== by 0x808F8C1: ngx_single_process_cycle (ngx_process_cycle.c:323)
==20974== by 0x8065F7E: main (nginx.c:382)
==20974== If you believe this happened as a result of a stack
==20974== overflow in your program's main thread (unlikely but
==20974== possible), you can try to increase the size of the
==20974== main thread stack using the --main-stacksize= flag.
==20974== The main thread stack size used in this run was 8388608.

072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2020/10/29 20:20:29 [warn] 21522\#0: *1 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/10/29 20:20:29 [debug] 21522\#0: *1 lua resume returned 0
2020/10/29 20:20:29 [debug] 21522\#0: *1 lua light thread ended normally
2020/10/29 20:20:29 [debug] 21522\#0: *1 lua deleting light thread 04AF8460 (ref 1)
2020/10/29 20:20:29 [debug] 21522\#0: *1 lua caching unused lua thread 04AF8460 (ref 1)
2020/10/29 20:20:29 [debug] 21522\#0: *1 lua run thread returned 0
2020/10/29 20:20:29 [debug] 21522\#0: *1 http finalize request: 0, "/t?" a:1, c:1
2020/10/29 20:20:29 [debug] 21522\#0: *1 event timer add: 8: 60000:16330132
2020/10/29 20:20:29 [debug] 21522\#0: *1 poll add event: fd:8 ev:4
2020/10/29 20:20:29 [debug] 21522\#0: worker cycle
'
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2020/10/29 20:20:30 [warn] 21522\#0: *2 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/10/29 20:20:30 [debug] 21522\#0: *2 lua resume returned 0
2020/10/29 20:20:30 [debug] 21522\#0: *2 lua light thread ended normally
2020/10/29 20:20:30 [debug] 21522\#0: *2 lua deleting light thread 04AF8460 (ref 1)
2020/10/29 20:20:30 [debug] 21522\#0: *2 lua caching unused lua thread 04AF8460 (ref 1)
2020/10/29 20:20:30 [debug] 21522\#0: *2 lua run thread returned 0
2020/10/29 20:20:30 [debug] 21522\#0: *2 http finalize request: 0, "/t?" a:1, c:1
2020/10/29 20:20:30 [debug] 21522\#0: *2 event timer add: 8: 60000:16330472
2020/10/29 20:20:30 [debug] 21522\#0: *2 poll add event: fd:8 ev:4
2020/10/29 20:20:30 [debug] 21522\#0: worker cycle
'
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[0-6]?))" should match a line in error.log (req 0)
106-timer.t TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1)
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 1)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 0) got: ''
expected: 'lua found 1 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8179 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8170 pending timers
'
expected: 'lua found 8191 pending timers
'
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 0, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 1, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1\d)\d+,)" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
142-ssl-session-store.t nginx: [emerg] "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 1) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
146-malloc-trim.t TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) @@ -1,3 +1,3 @@
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
152-timer-every.t TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'
152-timer-every.t TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
153-semaphore-hup.t TEST 2: timer + reload (lua code cache off) - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
created semaphore object
-created semaphore object
try to reload nginx
+created semaphore object
created semaphore object
created semaphore object
'
153-semaphore-hup.t TEST 1: timer + reload - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
created semaphore object
-created semaphore object
try to reload nginx
+created semaphore object
created semaphore object
created semaphore object
'
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

Warnings

Go back to the index page.