(This page was automatically generated by the tools in the opsboy project on 20:25:06 06-Feb-2019 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (w)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
b2af4d36 2019-02-06 07:45:34 GMT 17 52 199 20489 1160 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b5

Compilation Errors

Unexpected Failures

File Name Details
058-tcp-socket.t TEST 67: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 67: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 68: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 68: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 64: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 64: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
068-socket-keepalive.t TEST 46: conn queuing: resume connect operation if resumed connect failed (could not be resolved) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-agentzh.org could not be resolved (110: Operation timed out)
+timeout
connected in uthread
ok
'
Looks like you failed 1 test of 229.
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
-received: HTTP/1.1 404 Not Found
+received: HTTP/1.1 502 Bad Gateway
close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,5 @@
connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
-received: HTTP/1.1 404 Not Found
+received: HTTP/1.1 502 Bad Gateway
close: 1 nil
'
159-sa-restart.t TEST 2: lua_sa_restart off - does not set SA_RESTART - status code ok got: ''
expected: '200'
159-sa-restart.t TEST 5: lua_sa_restart on (default) - SA_RESTART is effective in access_by_lua* - status code ok got: ''
expected: '200'
159-sa-restart.t TEST 1: lua_sa_restart default - sets SA_RESTART in init_worker_by_lua* - status code ok got: ''
expected: '200'
159-sa-restart.t TEST 8: lua_sa_restart on (default) - SA_RESTART is effective in body_filter_by_lua* - status code ok got: ''
expected: '200'
159-sa-restart.t TEST 6: lua_sa_restart on (default) - SA_RESTART is effective in content_by_lua* - status code ok got: ''
expected: '200'
159-sa-restart.t TEST 7: lua_sa_restart on (default) - SA_RESTART is effective in header_filter_by_lua* - status code ok got: ''
expected: '200'
159-sa-restart.t TEST 3: lua_sa_restart on (default) - sets SA_RESTART if no init_worker_by_lua* phase is defined - status code ok got: ''
expected: '200'
159-sa-restart.t TEST 4: lua_sa_restart on (default) - SA_RESTART is effective in rewrite_by_lua* - status code ok got: ''
expected: '200'

Expected Failures

File Name Details
005-exit.t TEST 22: exit 201 in header filter - status code ok got: ''
expected: '201'
005-exit.t TEST 24: exit 444 in header filter - status code ok got: ''
expected: '444'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 23: exit both in header filter and content handler - status code ok got: ''
expected: '201'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive max idle timeout" (req 0) 2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive close handler: fd:8
2019/02/06 07:54:00 [debug] 14047\#0: poll del event: fd:8 ev:1
2019/02/06 07:54:00 [debug] 14047\#0: reusable connection: 0
2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2019/02/06 07:54:00 [debug] 14047\#0: posted event 00000000012E8F00
2019/02/06 07:54:00 [debug] 14047\#0: *1 delete posted event 00000000012E8F00
2019/02/06 07:54:00 [debug] 14047\#0: *1 http run request: "/t?"
2019/02/06 07:54:00 [debug] 14047\#0: *1 http writer handler: "/t?"
2019/02/06 07:54:00 [debug] 14047\#0: *1 http output filter "/t?"
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive max idle timeout" (req 1) 2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive close handler: fd:8
2019/02/06 07:54:00 [debug] 14047\#0: poll del event: fd:8 ev:1
2019/02/06 07:54:00 [debug] 14047\#0: reusable connection: 0
2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2019/02/06 07:54:00 [debug] 14047\#0: posted event 00000000012E8F00
2019/02/06 07:54:00 [debug] 14047\#0: *1 delete posted event 00000000012E8F00
2019/02/06 07:54:00 [debug] 14047\#0: *1 http run request: "/t?"
2019/02/06 07:54:00 [debug] 14047\#0: *1 http writer handler: "/t?"
2019/02/06 07:54:00 [debug] 14047\#0: *1 http output filter "/t?"
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive max idle timeout" (req 1) 2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive close handler: fd:8
2019/02/06 07:54:00 [debug] 14047\#0: poll del event: fd:8 ev:1
2019/02/06 07:54:00 [debug] 14047\#0: reusable connection: 0
2019/02/06 07:54:00 [debug] 14047\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2019/02/06 07:54:00 [debug] 14047\#0: posted event 00000000012E8F00
2019/02/06 07:54:00 [debug] 14047\#0: *3 delete posted event 00000000012E8F00
2019/02/06 07:54:00 [debug] 14047\#0: *3 http run request: "/t?"
2019/02/06 07:54:00 [debug] 14047\#0: *3 http writer handler: "/t?"
2019/02/06 07:54:00 [debug] 14047\#0: *3 http output filter "/t?"
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2019/02/06 07:54:05 [debug] 14080\#0: lua decrementing the reference count for Lua VM: 3" (req 0) 2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D05D0, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D0590, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D00E0, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017C6E90, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017C6E70, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017C6E50, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D2B10, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: posted event 00000000017E2FF0
2019/02/06 07:54:05 [debug] 14080\#0: *1 delete posted event 00000000017E2FF0
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2019/02/06 07:54:05 [debug] 14080\#0: lua decrementing the reference count for Lua VM: 3" (req 1) 2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D05D0, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D0590, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D00E0, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017C6E90, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017C6E70, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017C6E50, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: free: 00000000017D2B10, unused: 0
2019/02/06 07:54:05 [debug] 14080\#0: posted event 00000000017E2FF0
2019/02/06 07:54:05 [debug] 14080\#0: *1 delete posted event 00000000017E2FF0
'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
056-flush.t TEST 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)
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2019/02/06 08:00:57 [warn] 18074\#0: *1 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2019/02/06 08:00:57 [debug] 18074\#0: *1 lua resume returned 0
2019/02/06 08:00:57 [debug] 18074\#0: *1 lua light thread ended normally
2019/02/06 08:00:57 [debug] 18074\#0: *1 lua deleting light thread
2019/02/06 08:00:57 [debug] 18074\#0: *1 lua run thread returned 0
2019/02/06 08:00:57 [debug] 18074\#0: *1 http finalize request: 0, "/t?" a:1, c:1
2019/02/06 08:00:57 [debug] 18074\#0: *1 event timer add: 7: 60000:1048650
2019/02/06 08:00:57 [debug] 18074\#0: *1 poll add event: fd:7 ev:4
2019/02/06 08:00:57 [debug] 18074\#0: worker cycle
2019/02/06 08:00:57 [debug] 18074\#0: poll timer: 60000
'
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2019/02/06 08:00:57 [warn] 18074\#0: *2 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2019/02/06 08:00:57 [debug] 18074\#0: *2 lua resume returned 0
2019/02/06 08:00:57 [debug] 18074\#0: *2 lua light thread ended normally
2019/02/06 08:00:57 [debug] 18074\#0: *2 lua deleting light thread
2019/02/06 08:00:57 [debug] 18074\#0: *2 lua run thread returned 0
2019/02/06 08:00:57 [debug] 18074\#0: *2 http finalize request: 0, "/t?" a:1, c:1
2019/02/06 08:00:57 [debug] 18074\#0: *2 event timer add: 7: 60000:1049002
2019/02/06 08:00:57 [debug] 18074\#0: *2 poll add event: fd:7 ev:4
2019/02/06 08:00:57 [debug] 18074\#0: worker cycle
2019/02/06 08:00:57 [debug] 18074\#0: poll timer: 60000
'
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
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
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

Warnings

Go back to the index page.