(This page was automatically generated by the tools in the opsboy project on 05:23:53 23-Feb-2019 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
ee47e55e 2019-02-22 02:01:38 GMT 42 314 199 20499 1485 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b5

OpenSSL

OpenSSL 1.1.0j 20 Nov 2018

Compilation Errors

Unexpected Failures

File Name Details
013-base64.t TEST 18: base64 encode with wrong 2nd parameter - pattern "(?^:bad argument \\#2 to 'encode_base64' \(boolean expected, got number\)|\[error\] .*? boolean argument only)" should match a line in error.log (req 0)
013-base64.t TEST 18: base64 encode with wrong 2nd parameter - pattern "(?^:bad argument \\#2 to 'encode_base64' \(boolean expected, got number\)|\[error\] .*? boolean argument only)" should match a line in error.log (req 1)
023-rewrite/on-abort.t TEST 6: ngx.exit(0) with pending subrequest - pattern "(?^:lua user thread aborted: runtime error: rewrite_by_lua\(nginx\.conf:\d+\):4: attempt to abort with pending subrequests)" should match a line in error.log (req 0)
023-rewrite/on-abort.t TEST 6: ngx.exit(0) with pending subrequest - pattern "(?^:lua user thread aborted: runtime error: rewrite_by_lua\(nginx\.conf:\d+\):4: attempt to abort with pending subrequests)" should match a line in error.log (req 1)
024-access/on-abort.t TEST 6: ngx.exit(0) with pending subrequest - pattern "(?^:lua user thread aborted: runtime error: access_by_lua\(nginx\.conf:\d+\):4: attempt to abort with pending subrequests)" should match a line in error.log (req 0)
024-access/on-abort.t TEST 6: ngx.exit(0) with pending subrequest - pattern "(?^:lua user thread aborted: runtime error: access_by_lua\(nginx\.conf:\d+\):4: attempt to abort with pending subrequests)" should match a line in error.log (req 1)
035-gmatch.t TEST 19: gmatch iterator used by another request - response_body - response is expected (repeated req 0, req 0) got: "matched\x{0a}matched\x{0a}"
length: 16
expected: "matched\x{0a}sr failed: 500\x{0a}"
length: 23
strings begin to differ at char 9 (line 2 column 1)
035-gmatch.t TEST 19: gmatch iterator used by another request - pattern "attempt to use ngx.re.gmatch iterator in a request that did not create it" should match a line in error.log (req 0)
035-gmatch.t TEST 19: gmatch iterator used by another request - response_body - response is expected (repeated req 1, req 0) got: "matched\x{0a}matched\x{0a}"
length: 16
expected: "matched\x{0a}sr failed: 500\x{0a}"
length: 23
strings begin to differ at char 9 (line 2 column 1)
035-gmatch.t TEST 19: gmatch iterator used by another request - pattern "attempt to use ngx.re.gmatch iterator in a request that did not create it" should match a line in error.log (req 1)
035-gmatch.t TEST 19: gmatch iterator used by another request - response_body - response is expected (repeated req 2, req 0) got: "matched\x{0a}matched\x{0a}"
length: 16
expected: "matched\x{0a}sr failed: 500\x{0a}"
length: 23
strings begin to differ at char 9 (line 2 column 1)
035-gmatch.t TEST 19: gmatch iterator used by another request - pattern "attempt to use ngx.re.gmatch iterator in a request that did not create it" should match a line in error.log (req 2)
035-gmatch.t TEST 19: gmatch iterator used by another request - response_body - response is expected (repeated req 3, req 0) got: "matched\x{0a}matched\x{0a}"
length: 16
expected: "matched\x{0a}sr failed: 500\x{0a}"
length: 23
strings begin to differ at char 9 (line 2 column 1)
035-gmatch.t TEST 19: gmatch iterator used by another request - pattern "attempt to use ngx.re.gmatch iterator in a request that did not create it" should match a line in error.log (req 3)
035-gmatch.t TEST 19: gmatch iterator used by another request - response_body - response is expected (repeated req 4, req 0) got: "matched\x{0a}matched\x{0a}"
length: 16
expected: "matched\x{0a}sr failed: 500\x{0a}"
length: 23
strings begin to differ at char 9 (line 2 column 1)
035-gmatch.t TEST 19: gmatch iterator used by another request - pattern "attempt to use ngx.re.gmatch iterator in a request that did not create it" should match a line in error.log (req 4)
062-count.t TEST 12: shdict metatable - response_body - response is expected (repeated req 0, req 0) got: 'n = 22
'
expected: 'n = 18
'
Looks like you failed 1 test of 69.
101-on-abort.t TEST 6: ngx.exit(0) with pending subrequest - pattern "(?^:lua user thread aborted: runtime error: content_by_lua\(nginx\.conf:\d+\):4: attempt to abort with pending subrequests)" should match a line in error.log (req 0)
101-on-abort.t TEST 6: ngx.exit(0) with pending subrequest - pattern "(?^:lua user thread aborted: runtime error: content_by_lua\(nginx\.conf:\d+\):4: attempt to abort with pending subrequests)" should match a line in error.log (req 1)
107-timer-errors.t TEST 34: ngx.headers_sent - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 34: ngx.headers_sent - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 25: ngx.req.set_method - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 25: ngx.req.set_method - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 2: reading ngx.status - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 2: reading ngx.status - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 1: accessing nginx variables - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 1: accessing nginx variables - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 6: ngx.req.set_header - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 6: ngx.req.set_header - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 5: ngx.req.get_headers - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 5: ngx.req.get_headers - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 7: ngx.req.clear_header - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 7: ngx.req.clear_header - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 24: ngx.req.get_method - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 24: ngx.req.get_method - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 20: ngx.header - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 20: ngx.header - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 16: ngx.req.get_uri_args() - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 16: ngx.req.get_uri_args() - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
107-timer-errors.t TEST 3: writing ngx.status - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 0)
107-timer-errors.t TEST 3: writing ngx.status - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf:\d+\):3: API disabled in the current context)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: unsupported ssl protocol - pattern "[emerg]" should not match any line in error.log but matches line "2019/02/22 04:58:13 [emerg] 11556\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) 2019/02/22 04:58:13 [notice] 11556\#0: start worker processes
2019/02/22 04:58:13 [debug] 11556\#0: channel 3:5
2019/02/22 04:58:13 [notice] 11556\#0: start worker process 11687
2019/02/22 04:58:13 [debug] 11556\#0: pass channel s:0 pid:11687 fd:3 to s:1 pid:11671 fd:4
2019/02/22 04:58:13 [debug] 11671\#0: epoll: fd:7 ev:0001 d:0000000002463D40
2019/02/22 04:58:13 [debug] 11671\#0: channel handler
2019/02/22 04:58:13 [debug] 11671\#0: channel: 32
2019/02/22 04:58:13 [debug] 11671\#0: channel command: 1
2019/02/22 04:58:13 [debug] 11671\#0: get channel s:0 pid:11687 fd:5
'

Expected Failures

File Name Details
004-require.t TEST 3: expand default path (after) - response_body_like - response is expected (/home/ec2-user/git/lua-resty-core/lib/?.lua;/home/ec2-user/git/lua-resty-lrucache/lib/?.lua;/home/ec2-user/git/lua-nginx-module/t/servroot/html/?.lua;./?.lua;/opt/luajit/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/opt/luajit/share/lua/5.1/?.lua;/opt/luajit/share/lua/5.1/?/init.lua;) '/home/ec2-user/git/lua-resty-core/lib/?.lua;/home/ec2-user/git/lua-resty-lrucache/lib/?.lua;/home/ec2-user/git/lua-nginx-module/t/servroot/html/?.lua;./?.lua;/opt/luajit/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/opt/luajit/share/lua/5.1/?.lua;/opt/luajit/share/lua/5.1/?/init.lua;'
doesn't match '(?^s:^[^;]+/servroot(_\d+)?/html/\?\.lua;(.+\.lua)?;*$)'
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:41:55 [debug] 9793\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2019/02/22 04:41:55 [debug] 9793\#0: *164 http keepalive handler
2019/02/22 04:41:55 [debug] 9793\#0: *164 close http connection: 5
2019/02/22 04:41:55 [debug] 9793\#0: *164 event timer del: 5: 9744038
2019/02/22 04:41:55 [debug] 9793\#0: *164 reusable connection: 0
2019/02/22 04:41:55 [debug] 9793\#0: *164 free: 0000000000AB3030, unused: 0
2019/02/22 04:41:55 [debug] 9793\#0: *164 free: 0000000000ACAFC0, unused: 0
2019/02/22 04:41:55 [debug] 9793\#0: *164 free: 0000000000AC9690, unused: 0
2019/02/22 04:41:55 [debug] 9793\#0: *164 free: 0000000000AA3170, unused: 0
2019/02/22 04:41:55 [debug] 9793\#0: *164 free: 0000000000AA1F60, unused: 0
'
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
043-shdict.t TEST 49: list all keys in a shdict - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
-2
+3
bah
bar
+foo
'
043-shdict.t TEST 47: flush_expires an empty dict - response_body - response is expected (repeated req 0, req 0) got: '11
'
expected: '0
'
043-shdict.t TEST 51: list all keys in a shdict with expires - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '2
'
043-shdict.t TEST 57: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) got: '2049
'
expected: '2048
'
043-shdict.t TEST 6: expired entries (can be auto-removed by get) - response_body - response is expected (repeated req 0, req 0) got: '32
'
expected: 'nil
'
043-shdict.t TEST 52: list keys in a shdict with limit larger than number of keys - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '2
'
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)
059-unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:31 [debug] 31768\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2019/02/22 04:51:31 [debug] 31768\#0: *169 http keepalive handler
2019/02/22 04:51:31 [debug] 31768\#0: *169 close http connection: 7
2019/02/22 04:51:31 [debug] 31768\#0: *169 event timer del: 7: 10320004
2019/02/22 04:51:31 [debug] 31768\#0: *169 reusable connection: 0
2019/02/22 04:51:31 [debug] 31768\#0: *169 free: 00000000014913E0, unused: 0
2019/02/22 04:51:31 [debug] 31768\#0: *169 free: 0000000001491360, unused: 0
2019/02/22 04:51:31 [debug] 31768\#0: *169 free: 0000000001491680, unused: 0
2019/02/22 04:51:31 [debug] 31768\#0: *169 free: 0000000001491610, unused: 0
2019/02/22 04:51:31 [debug] 31768\#0: *169 free: 000000000149C350, unused: 0
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:32 [debug] 31844\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2019/02/22 04:51:32 [debug] 31844\#0: lua tcp socket keepalive close handler: fd:7
2019/02/22 04:51:32 [debug] 31844\#0: event timer del: 7: 10314596
2019/02/22 04:51:32 [debug] 31844\#0: reusable connection: 0
2019/02/22 04:51:32 [debug] 31844\#0: lua tcp socket keepalive: free connection pool for "B"
2019/02/22 04:51:32 [notice] 31844\#0: exiting
2019/02/22 04:51:32 [debug] 31844\#0: flush files
2019/02/22 04:51:32 [debug] 31844\#0: run cleanup: 000000000145D5C0
2019/02/22 04:51:32 [debug] 31844\#0: run cleanup: 00000000014BB670
2019/02/22 04:51:32 [debug] 31844\#0: lua decrementing the reference count for Lua VM: 1
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:32 [debug] 31844\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2019/02/22 04:51:32 [notice] 31844\#0: exiting
2019/02/22 04:51:32 [debug] 31844\#0: flush files
2019/02/22 04:51:32 [debug] 31844\#0: run cleanup: 000000000145D5C0
2019/02/22 04:51:32 [debug] 31844\#0: run cleanup: 00000000014BB670
2019/02/22 04:51:32 [debug] 31844\#0: lua decrementing the reference count for Lua VM: 1
2019/02/22 04:51:32 [debug] 31844\#0: lua close the global Lua VM 00007F262EEAF378
2019/02/22 04:51:32 [debug] 31844\#0: run cleanup: 00000000014BB630
2019/02/22 04:51:32 [debug] 31844\#0: run cleanup: 00000000014BB5F0
2019/02/22 04:51:32 [debug] 31844\#0: run cleanup: 0000000001499F90
'
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:33 [debug] 31862\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2019/02/22 04:51:33 [notice] 31862\#0: exiting
2019/02/22 04:51:33 [debug] 31862\#0: flush files
2019/02/22 04:51:33 [debug] 31862\#0: run cleanup: 000000000144BF70
2019/02/22 04:51:33 [debug] 31862\#0: run cleanup: 0000000001479810
2019/02/22 04:51:33 [debug] 31862\#0: lua decrementing the reference count for Lua VM: 1
2019/02/22 04:51:33 [debug] 31862\#0: lua close the global Lua VM 00007F262EE4F378
2019/02/22 04:51:33 [debug] 31862\#0: run cleanup: 00000000014797D0
2019/02/22 04:51:33 [debug] 31862\#0: run cleanup: 0000000001479790
2019/02/22 04:51:33 [debug] 31862\#0: run cleanup: 0000000001462450
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-connected: 1, reused: 0
+failed to connect: no such file or directory
-connected: 1, reused: 1
+failed to connect: no such file or directory
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:33 [debug] 31881\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2019/02/22 04:51:33 [debug] 31881\#0: lua tcp socket keepalive close handler: fd:7
2019/02/22 04:51:33 [debug] 31881\#0: event timer del: 7: 10315300
2019/02/22 04:51:33 [debug] 31881\#0: reusable connection: 0
2019/02/22 04:51:33 [debug] 31881\#0: lua tcp socket keepalive: free connection pool for "B"
2019/02/22 04:51:33 [debug] 31881\#0: worker cycle
2019/02/22 04:51:33 [debug] 31881\#0: epoll timer: 59772
2019/02/22 04:51:33 [debug] 31881\#0: epoll: fd:3 ev:2011 d:00000000014DAF11
2019/02/22 04:51:33 [debug] 31881\#0: epoll_wait() error on fd:3 ev:2011
2019/02/22 04:51:33 [debug] 31881\#0: *269 http wait request handler
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:33 [debug] 31881\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2019/02/22 04:51:33 [debug] 31881\#0: worker cycle
2019/02/22 04:51:33 [debug] 31881\#0: epoll timer: 59772
2019/02/22 04:51:33 [debug] 31881\#0: epoll: fd:3 ev:2011 d:00000000014DAF11
2019/02/22 04:51:33 [debug] 31881\#0: epoll_wait() error on fd:3 ev:2011
2019/02/22 04:51:33 [debug] 31881\#0: *269 http wait request handler
2019/02/22 04:51:33 [debug] 31881\#0: *269 malloc: 00000000014BD650:80
2019/02/22 04:51:33 [debug] 31881\#0: *269 malloc: 000000000149D400:16
2019/02/22 04:51:33 [debug] 31881\#0: *269 malloc: 0000000001458A70:1024
2019/02/22 04:51:33 [debug] 31881\#0: *269 malloc: 0000000001480920:16
'
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:38 [debug] 32065\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2019/02/22 04:51:38 [notice] 32065\#0: exiting
2019/02/22 04:51:38 [debug] 32065\#0: flush files
2019/02/22 04:51:38 [debug] 32065\#0: run cleanup: 000000000145D5C0
2019/02/22 04:51:38 [debug] 32065\#0: run cleanup: 00000000014B5D80
2019/02/22 04:51:38 [debug] 32065\#0: lua decrementing the reference count for Lua VM: 1
2019/02/22 04:51:38 [debug] 32065\#0: lua close the global Lua VM 00007F262EEAF378
2019/02/22 04:51:38 [debug] 32065\#0: run cleanup: 00000000014B5D40
2019/02/22 04:51:38 [debug] 32065\#0: run cleanup: 00000000014B5D00
2019/02/22 04:51:38 [debug] 32065\#0: run cleanup: 0000000001491060
'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2019/02/22 04:51:38 [debug] 32086\#0: lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2019/02/22 04:51:38 [debug] 32086\#0: worker cycle
2019/02/22 04:51:38 [debug] 32086\#0: epoll timer: 59760
2019/02/22 04:51:38 [debug] 32086\#0: epoll: fd:3 ev:2011 d:00000000014DA0C0
2019/02/22 04:51:38 [debug] 32086\#0: epoll_wait() error on fd:3 ev:2011
2019/02/22 04:51:38 [debug] 32086\#0: *454 http wait request handler
2019/02/22 04:51:38 [debug] 32086\#0: *454 malloc: 000000000147AF00:80
2019/02/22 04:51:38 [debug] 32086\#0: *454 malloc: 0000000001494500:16
2019/02/22 04:51:38 [debug] 32086\#0: *454 malloc: 000000000146B910:1024
2019/02/22 04:51:38 [debug] 32086\#0: *454 malloc: 000000000148A4B0:16
'
068-socket-keepalive.t TEST 50: conn queuing: increase the counter for connections created before creating the pool with setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2019/02/22 04:51:46 [error] 32354\#0: *696 lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2019/02/22 04:51:46 [debug] 32354\#0: *696 lua tcp socket waking up the current request
2019/02/22 04:51:46 [debug] 32354\#0: *696 lua tcp operation done, resuming lua thread
2019/02/22 04:51:46 [debug] 32354\#0: *696 lua tcp socket calling prepare retvals handler 000000000050AF7C, u:00007F262EE7ADC0
2019/02/22 04:51:46 [debug] 32354\#0: *696 lua run thread, top:8 c:1
2019/02/22 04:51:46 [debug] 32354\#0: *696 malloc: 00000000014B3270:16
2019/02/22 04:51:46 [debug] 32354\#0: *696 malloc: 00000000014696B0:16
2019/02/22 04:51:46 [debug] 32354\#0: *696 lua allocate new chainlink and new buf of size 8, cl:00000000014B3270
2019/02/22 04:51:46 [debug] 32354\#0: *696 malloc: 00000000014CB300:80
2019/02/22 04:51:46 [debug] 32354\#0: *696 malloc: 00000000014618C0:16
'
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
123-lua-path.t TEST 1: LUA_PATH & LUA_CPATH env (code cache on) - response_body - response is expected (repeated req 0, req 0) got: "/home/ec2-user/git/lua-resty-core/lib/?.lua;/home/"...
length: 118
expected: "/foo/bar/baz\x{0a}/baz/bar/foo\x{0a}"
length: 26
strings begin to differ at char 2 (line 1 column 2)
123-lua-path.t TEST 1: LUA_PATH & LUA_CPATH env (code cache on) - response_body - response is expected (repeated req 1, req 0) got: "/home/ec2-user/git/lua-resty-core/lib/?.lua;/home/"...
length: 118
expected: "/foo/bar/baz\x{0a}/baz/bar/foo\x{0a}"
length: 26
strings begin to differ at char 2 (line 1 column 2)
123-lua-path.t TEST 2: LUA_PATH & LUA_CPATH env (code cache off) - response_body - response is expected (repeated req 0, req 0) got: "/home/ec2-user/git/lua-resty-core/lib/?.lua;/home/"...
length: 210
expected: "/foo/bar/baz\x{0a}/baz/bar/foo\x{0a}"
length: 26
strings begin to differ at char 2 (line 1 column 2)
123-lua-path.t TEST 2: LUA_PATH & LUA_CPATH env (code cache off) - response_body - response is expected (repeated req 1, req 0) got: "/home/ec2-user/git/lua-resty-core/lib/?.lua;/home/"...
length: 210
expected: "/foo/bar/baz\x{0a}/baz/bar/foo\x{0a}"
length: 26
strings begin to differ at char 2 (line 1 column 2)
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
126-shdict-frag.t TEST 7: merge big slabs (less than max slab size) backward - 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
-successfully safe set baz
+failed to safe set baz: no memory
'
Looks like you failed 1 test of 39.
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 18: self signed certificate
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 18: self signed certificate
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
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] "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
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2019/02/22 04:58:53 [emerg] 12933\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) 2019/02/22 04:58:53 [notice] 12933\#0: start worker processes
2019/02/22 04:58:53 [debug] 12933\#0: channel 4:6
2019/02/22 04:58:53 [notice] 12933\#0: start worker process 12974
2019/02/22 04:58:53 [debug] 12933\#0: pass channel s:1 pid:12974 fd:4 to s:0 pid:12956 fd:3
2019/02/22 04:58:53 [debug] 12956\#0: epoll: fd:5 ev:0001 d:0000000000BD75D0
2019/02/22 04:58:53 [debug] 12956\#0: channel handler
2019/02/22 04:58:53 [debug] 12956\#0: channel: 32
2019/02/22 04:58:53 [debug] 12956\#0: channel command: 1
2019/02/22 04:58:53 [debug] 12956\#0: get channel s:1 pid:12974 fd:6
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "[emerg]" should not match any line in error.log but matches line "2019/02/22 04:58:55 [emerg] 12933\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) 2019/02/22 04:58:55 [notice] 12933\#0: start worker processes
2019/02/22 04:58:55 [debug] 12933\#0: channel 3:5
2019/02/22 04:58:55 [notice] 12933\#0: start worker process 13025
2019/02/22 04:58:55 [debug] 12933\#0: pass channel s:0 pid:13025 fd:3 to s:1 pid:13008 fd:4
2019/02/22 04:58:55 [debug] 13008\#0: epoll: fd:6 ev:0001 d:0000000000B70A30
2019/02/22 04:58:55 [debug] 13008\#0: channel handler
2019/02/22 04:58:55 [debug] 13008\#0: channel: 32
2019/02/22 04:58:55 [debug] 13008\#0: channel command: 1
2019/02/22 04:58:55 [debug] 13008\#0: get channel s:0 pid:13025 fd:5
'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 0) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 15: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 1) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 15: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 2) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 15: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: subrequests disabled - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2019/02/22 04:58:58 [emerg] 12933\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) 2019/02/22 04:58:58 [notice] 12933\#0: start worker processes
2019/02/22 04:58:58 [debug] 12933\#0: channel 4:6
2019/02/22 04:58:58 [notice] 12933\#0: start worker process 13149
2019/02/22 04:58:58 [debug] 12933\#0: pass channel s:1 pid:13149 fd:4 to s:0 pid:13132 fd:3
2019/02/22 04:58:58 [debug] 13132\#0: epoll: fd:5 ev:0001 d:0000000000C01110
2019/02/22 04:58:58 [debug] 13132\#0: channel handler
2019/02/22 04:58:58 [debug] 13132\#0: channel: 32
2019/02/22 04:58:58 [debug] 13132\#0: channel command: 1
2019/02/22 04:58:58 [debug] 13132\#0: get channel s:1 pid:13149 fd:6
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "(?^:\[error\] .*? send\(\) failed)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "(?^:\[error\] .*? send\(\) failed)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "(?^:\[error\] .*? send\(\) failed)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 18: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "[emerg]" should not match any line in error.log but matches line "2019/02/22 04:59:01 [emerg] 12933\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) 2019/02/22 04:59:01 [notice] 12933\#0: start worker processes
2019/02/22 04:59:01 [debug] 12933\#0: channel 3:5
2019/02/22 04:59:01 [notice] 12933\#0: start worker process 13279
2019/02/22 04:59:01 [debug] 12933\#0: pass channel s:0 pid:13279 fd:3 to s:1 pid:13261 fd:4
2019/02/22 04:59:01 [debug] 13261\#0: epoll: fd:6 ev:0001 d:0000000000BFA3A0
2019/02/22 04:59:01 [debug] 13261\#0: channel handler
2019/02/22 04:59:01 [debug] 13261\#0: channel: 32
2019/02/22 04:59:01 [debug] 13261\#0: channel command: 1
2019/02/22 04:59:01 [debug] 13261\#0: get channel s:0 pid:13279 fd:5
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
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
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 0) 'reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" 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 TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
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 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
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 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 2)
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!,
)'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!,
)'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 1) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 2) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 1) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 2) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 1) got: ''
expected: 'lua exit with code 0
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 2) got: ''
expected: 'lua exit with code 0
'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
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+,)'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 2) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - pattern "[emerg]" should not match any line in error.log but matches line "2019/02/22 04:59:15 [emerg] 13614\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/http.sock failed (2: No such file or directory)" (req 0) 2019/02/22 04:59:15 [notice] 13614\#0: start worker processes
2019/02/22 04:59:15 [debug] 13614\#0: channel 4:8
2019/02/22 04:59:15 [notice] 13614\#0: start worker process 13808
2019/02/22 04:59:15 [debug] 13614\#0: pass channel s:1 pid:13808 fd:4 to s:0 pid:13791 fd:3
2019/02/22 04:59:15 [debug] 13791\#0: epoll: fd:5 ev:0001 d:0000000002476BA0
2019/02/22 04:59:15 [debug] 13791\#0: channel handler
2019/02/22 04:59:15 [debug] 13791\#0: channel: 32
2019/02/22 04:59:15 [debug] 13791\#0: channel command: 1
2019/02/22 04:59:15 [debug] 13791\#0: get channel s:1 pid:13808 fd:8
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 1) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 2) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 1) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 2) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to connect: no such file or directory) 'failed to connect: no such file or directory
'
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 1) got: ''
expected: 'old foo: 1
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to connect: no such file or directory) 'failed to connect: no such file or directory
'
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 2) @@ -1,2 +0,0 @@
-old bar: 1
-old foo: 2
'
145-shdict-list.t TEST 13: lpush and rpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-1
+push err: value not a list
-2
+pop err: value not a list
-3
'
145-shdict-list.t TEST 2: get operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-push success
+push err: value not a list
-nil value is a list
+bar nil
'
145-shdict-list.t TEST 12: lpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-3
+push err: value not a list
-2
+pop err: value not a list
-1
'
145-shdict-list.t TEST 14: rpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
+push err: nil
+bar
1
-2
+pop err: nil
-3
'
145-shdict-list.t TEST 17: expire on all types - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-keys number: 2
+keys number: 3
keys number: 0
'
146-malloc-trim.t TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 8: malloc_trim() every 1 req - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
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,10 @@
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
'
146-malloc-trim.t TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 6: zero count means off - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 1
'
expected: ''
146-malloc-trim.t TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
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
148-fake-shm-zone.t TEST 4: multiply zones - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1,7 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
name=x2
size=2097152
isinit=true
'
Looks like you failed 1 test of 14.
153-semaphore-hup.t TEST 1: timer + reload - grep_error_log_out (req 0) @@ -1,5 +1,2 @@
created semaphore object
created semaphore object
-try to reload nginx
-created semaphore object
-created semaphore object
'
Looks like you failed 1 test of 6.

Warnings

Go back to the index page.