(This page was automatically generated by the tools in the opsboy project on 15:08:06 28-Dec-2023 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
0e769b76 2023-12-27 12:35:54 GMT 10 94 219 23009 3795 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

Compilation Errors

Unexpected Failures

File Name Details
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) ''
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)
failed to send http request: closed
)'
162-exit-worker.t TEST 6: skip in cache processes (with exit worker and privileged agent) - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:35:53 [error] 6259\#6259: exit_worker_by_lua error: exit_worker_by_lua(nginx.conf:25):4: ')' expected (to close '(' at line 3) near 'ngx'" (req 0) 2023/12/27 13:35:53 [debug] 6259\#6259: free: 00000000096ED640, unused: 0
2023/12/27 13:35:53 [debug] 6259\#6259: free: 00000000096ED3F0, unused: 0
2023/12/27 13:35:53 [debug] 6259\#6259: free: 00000000096ED150, unused: 0
2023/12/27 13:35:53 [debug] 6259\#6259: free: 00000000096ECB60, unused: 0
2023/12/27 13:35:53 [debug] 6259\#6259: run cleanup: 0000000009436700
2023/12/27 13:35:53 [debug] 6259\#6259: run cleanup: 000000000929B440
2023/12/27 13:35:53 [debug] 6259\#6259: lua decrementing the reference count for Lua VM: 1
2023/12/27 13:35:53 [debug] 6259\#6259: lua close the global Lua VM 000000000929B4F0
2023/12/27 13:35:53 [debug] 6259\#6259: run cleanup: 000000000929B390
'
162-exit-worker.t TEST 7: skipin cache processes (with init worker but without privileged agent) - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:35:56 [error] 6364\#6364: exit_worker_by_lua error: exit_worker_by_lua(nginx.conf:25):6: API disabled in the context of exit_worker_by_lua*" (req 0) stack traceback:
[C]: in function 'at'
exit_worker_by_lua(nginx.conf:25):6: in main chunk
2023/12/27 13:35:56 [debug] 6364\#6364: free: 0000000008EA01F0, unused: 0
2023/12/27 13:35:56 [debug] 6364\#6364: free: 0000000008E9F1B0, unused: 0
2023/12/27 13:35:56 [debug] 6364\#6364: free: 0000000008EEACF0, unused: 0
2023/12/27 13:35:56 [debug] 6364\#6364: free: 0000000008E9EF10, unused: 0
2023/12/27 13:35:56 [debug] 6364\#6364: run cleanup: 000000000859E5E0
2023/12/27 13:35:56 [debug] 6364\#6364: run cleanup: 0000000008AB1CB0
'
166-ssl-client-hello.t TEST 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:37:20 [error] 8311\#8311: send() failed (111: Connection refused) while logging to syslog, server: 127.0.0.1:12345" (req 0) 2023/12/27 13:37:20 [debug] 8311\#8311: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#11
2023/12/27 13:37:20 [debug] 8311\#8311: epoll del event: fd:7 op:2 ev:00000000
2023/12/27 13:37:20 [debug] 8311\#8311: close listening 0.0.0.0:1984 \#7
2023/12/27 13:37:20 [notice] 8311\#8311: exiting
2023/12/27 13:37:20 [debug] 8311\#8311: flush files
2023/12/27 13:37:20 [debug] 8311\#8311: run cleanup: 0000000008A4FA50
2023/12/27 13:37:20 [debug] 8311\#8311: run cleanup: 0000000009907900
2023/12/27 13:37:20 [debug] 8311\#8311: lua decrementing the reference count for Lua VM: 1
2023/12/27 13:37:20 [debug] 8311\#8311: lua close the global Lua VM 0000000008634530
'
Looks like you failed 1 test of 564.
167-server-rewrite.t TEST 19: syntax error server_rewrite_by_lua_block in http - failed to reload configuration after 200 failed test requests
167-server-rewrite.t TEST 11: sleep - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:41:41 [error] 15514\#15514: *569 failed to load inlined Lua code: server_rewrite_by_lua(nginx.conf:25):2: unexpected symbol near ''for end'', client: 127.0.0.1, server: test-nginx, request: \"GET /ver HTTP/1.1\", host: \"Test-Nginx\"" (req 0) 2023/12/27 13:41:41 [debug] 15514\#15514: *569 http finalize request: 500, "/ver?" a:1, c:1
2023/12/27 13:41:41 [debug] 15514\#15514: *569 http special response: 500, "/ver?"
2023/12/27 13:41:41 [debug] 15514\#15514: *569 http set discard body
2023/12/27 13:41:41 [debug] 15514\#15514: *569 lua capture header filter, uri "/ver"
2023/12/27 13:41:41 [debug] 15514\#15514: *569 malloc: 0000000008D8A100:80
2023/12/27 13:41:41 [debug] 15514\#15514: *569 malloc: 00000000091DE000:16
2023/12/27 13:41:41 [debug] 15514\#15514: *569 malloc: 0000000008D8A190:189
2023/12/27 13:41:41 [debug] 15514\#15514: *569 malloc: 00000000091DE050:16
2023/12/27 13:41:41 [debug] 15514\#15514: *569 HTTP/1.1 500 Internal Server Error
'
167-server-rewrite.t TEST 11: sleep - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:41:41 [error] 15514\#15514: *570 failed to load inlined Lua code: server_rewrite_by_lua(nginx.conf:25):2: unexpected symbol near ''for end'', client: 127.0.0.1, server: test-nginx, request: \"GET /ver HTTP/1.1\", host: \"Test-Nginx\"" (req 0) 2023/12/27 13:41:41 [debug] 15514\#15514: *570 http finalize request: 500, "/ver?" a:1, c:1
2023/12/27 13:41:41 [debug] 15514\#15514: *570 http special response: 500, "/ver?"
2023/12/27 13:41:41 [debug] 15514\#15514: *570 http set discard body
2023/12/27 13:41:41 [debug] 15514\#15514: *570 lua capture header filter, uri "/ver"
2023/12/27 13:41:41 [debug] 15514\#15514: *570 malloc: 0000000008D8C0C0:80
2023/12/27 13:41:41 [debug] 15514\#15514: *570 malloc: 00000000091DEF20:16
2023/12/27 13:41:41 [debug] 15514\#15514: *570 malloc: 0000000008D8C150:189
2023/12/27 13:41:41 [debug] 15514\#15514: *570 malloc: 00000000091DEF70:16
2023/12/27 13:41:41 [debug] 15514\#15514: *570 HTTP/1.1 500 Internal Server Error
'
167-server-rewrite.t TEST 11: sleep - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:41:41 [error] 15514\#15514: *571 failed to load inlined Lua code: server_rewrite_by_lua(nginx.conf:25):2: unexpected symbol near ''for end'', client: 127.0.0.1, server: test-nginx, request: \"GET /ver HTTP/1.1\", host: \"Test-Nginx\"" (req 0) 2023/12/27 13:41:41 [debug] 15514\#15514: *571 http finalize request: 500, "/ver?" a:1, c:1
2023/12/27 13:41:41 [debug] 15514\#15514: *571 http special response: 500, "/ver?"
2023/12/27 13:41:41 [debug] 15514\#15514: *571 http set discard body
2023/12/27 13:41:41 [debug] 15514\#15514: *571 lua capture header filter, uri "/ver"
2023/12/27 13:41:41 [debug] 15514\#15514: *571 malloc: 0000000008D8E080:80
2023/12/27 13:41:41 [debug] 15514\#15514: *571 malloc: 00000000091DFE40:16
2023/12/27 13:41:41 [debug] 15514\#15514: *571 malloc: 0000000008D8E110:189
2023/12/27 13:41:41 [debug] 15514\#15514: *571 malloc: 00000000091DFE90:16
2023/12/27 13:41:41 [debug] 15514\#15514: *571 HTTP/1.1 500 Internal Server Error
'
167-server-rewrite.t TEST 11: sleep - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:41:42 [error] 15514\#15514: *572 failed to load inlined Lua code: server_rewrite_by_lua(nginx.conf:25):2: unexpected symbol near ''for end'', client: 127.0.0.1, server: test-nginx, request: \"GET /ver HTTP/1.1\", host: \"Test-Nginx\"" (req 0) 2023/12/27 13:41:42 [debug] 15514\#15514: *572 http finalize request: 500, "/ver?" a:1, c:1
2023/12/27 13:41:42 [debug] 15514\#15514: *572 http special response: 500, "/ver?"
2023/12/27 13:41:42 [debug] 15514\#15514: *572 http set discard body
2023/12/27 13:41:42 [debug] 15514\#15514: *572 lua capture header filter, uri "/ver"
2023/12/27 13:41:42 [debug] 15514\#15514: *572 malloc: 0000000008D90040:80
2023/12/27 13:41:42 [debug] 15514\#15514: *572 malloc: 00000000091E0D60:16
2023/12/27 13:41:42 [debug] 15514\#15514: *572 malloc: 0000000008D900D0:189
2023/12/27 13:41:42 [debug] 15514\#15514: *572 malloc: 00000000091E0DB0:16
2023/12/27 13:41:42 [debug] 15514\#15514: *572 HTTP/1.1 500 Internal Server Error
'

Expected Failures

File Name Details
014-bugs.t nginx: [emerg] unexpected "A" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
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 "2023/12/27 12:51:22 [debug] 16047\#16047: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2023/12/27 12:51:22 [debug] 16047\#16047: *264 http keepalive handler
2023/12/27 12:51:22 [debug] 16047\#16047: *264 close http connection: 5
2023/12/27 12:51:22 [debug] 16047\#16047: *264 event timer del: 5: 1047003
2023/12/27 12:51:22 [debug] 16047\#16047: *264 reusable connection: 0
2023/12/27 12:51:22 [debug] 16047\#16047: *264 free: 0000000009039280, unused: 0
2023/12/27 12:51:22 [debug] 16047\#16047: *264 free: 00000000090318F0, unused: 0
2023/12/27 12:51:22 [debug] 16047\#16047: *264 free: 0000000009031840, unused: 0
2023/12/27 12:51:22 [debug] 16047\#16047: *264 free: 0000000009031770, unused: 0
2023/12/27 12:51:22 [debug] 16047\#16047: *264 free: 000000000902EBD0, unused: 0
'
043-shdict.t TEST 28: add key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-add: true nil false
+add: false exists false
-foo = 10502
+foo = 32
'
043-shdict.t TEST 54: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) got: '4
'
expected: '0
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+false
-nil
+false
'
043-shdict.t TEST 53: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '2
'
expected: '0
'
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: '2051
'
expected: '2048
'
043-shdict.t TEST 51: list all keys in a shdict with expires - response_body - response is expected (repeated req 0, req 0) got: '1024
'
expected: '2
'
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)
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 "2023/12/27 13:14:30 [debug] 2473\#2473: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2023/12/27 13:14:30 [debug] 2473\#2473: *270 http keepalive handler
2023/12/27 13:14:30 [debug] 2473\#2473: *270 close http connection: 7
2023/12/27 13:14:30 [debug] 2473\#2473: *270 event timer del: 7: 2435171
2023/12/27 13:14:30 [debug] 2473\#2473: *270 reusable connection: 0
2023/12/27 13:14:30 [debug] 2473\#2473: *270 free: 0000000008882B60, unused: 0
2023/12/27 13:14:30 [debug] 2473\#2473: *270 free: 0000000008882A80, unused: 0
2023/12/27 13:14:30 [debug] 2473\#2473: *270 free: 00000000089FA800, unused: 0
2023/12/27 13:14:30 [debug] 2473\#2473: *270 free: 00000000089FA730, unused: 0
2023/12/27 13:14:30 [debug] 2473\#2473: *270 free: 00000000097F7870, 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 "2023/12/27 13:14:34 [debug] 2621\#2621: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/27 13:14:34 [debug] 2621\#2621: lua tcp socket keepalive close handler: fd:7
2023/12/27 13:14:34 [debug] 2621\#2621: event timer del: 7: 2431498
2023/12/27 13:14:34 [debug] 2621\#2621: reusable connection: 0
2023/12/27 13:14:34 [debug] 2621\#2621: lua tcp socket keepalive: free connection pool for "B"
2023/12/27 13:14:34 [notice] 2621\#2621: exiting
2023/12/27 13:14:34 [debug] 2621\#2621: flush files
2023/12/27 13:14:34 [debug] 2621\#2621: run cleanup: 00000000089800B0
2023/12/27 13:14:34 [debug] 2621\#2621: run cleanup: 0000000009853620
2023/12/27 13:14:34 [debug] 2621\#2621: 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 "2023/12/27 13:14:34 [debug] 2621\#2621: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2023/12/27 13:14:34 [notice] 2621\#2621: exiting
2023/12/27 13:14:34 [debug] 2621\#2621: flush files
2023/12/27 13:14:34 [debug] 2621\#2621: run cleanup: 00000000089800B0
2023/12/27 13:14:34 [debug] 2621\#2621: run cleanup: 0000000009853620
2023/12/27 13:14:34 [debug] 2621\#2621: lua decrementing the reference count for Lua VM: 1
2023/12/27 13:14:34 [debug] 2621\#2621: lua close the global Lua VM 0000000009815DD0
2023/12/27 13:14:34 [debug] 2621\#2621: run cleanup: 0000000009853570
2023/12/27 13:14:34 [debug] 2621\#2621: run cleanup: 0000000009849010
2023/12/27 13:14:34 [debug] 2621\#2621: run cleanup: 0000000008EDD990
'
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 "2023/12/27 13:14:34 [debug] 2658\#2658: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2023/12/27 13:14:34 [notice] 2658\#2658: exiting
2023/12/27 13:14:34 [debug] 2658\#2658: flush files
2023/12/27 13:14:34 [debug] 2658\#2658: run cleanup: 0000000008E8ACE0
2023/12/27 13:14:34 [debug] 2658\#2658: run cleanup: 0000000009341BD0
2023/12/27 13:14:34 [debug] 2658\#2658: lua decrementing the reference count for Lua VM: 1
2023/12/27 13:14:34 [debug] 2658\#2658: lua close the global Lua VM 000000000865AAE0
2023/12/27 13:14:34 [debug] 2658\#2658: run cleanup: 000000000932D910
2023/12/27 13:14:34 [debug] 2658\#2658: run cleanup: 000000000932D860
2023/12/27 13:14:34 [debug] 2658\#2658: run cleanup: 000000000975CE80
'
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 "2023/12/27 13:14:35 [debug] 2695\#2695: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/27 13:14:35 [debug] 2695\#2695: lua tcp socket keepalive close handler: fd:7
2023/12/27 13:14:35 [debug] 2695\#2695: event timer del: 7: 2433038
2023/12/27 13:14:35 [debug] 2695\#2695: reusable connection: 0
2023/12/27 13:14:35 [debug] 2695\#2695: lua tcp socket keepalive: free connection pool for "B"
2023/12/27 13:14:35 [debug] 2695\#2695: worker cycle
2023/12/27 13:14:35 [debug] 2695\#2695: epoll timer: 922
2023/12/27 13:14:35 [debug] 2695\#2695: epoll: fd:3 ev:2011 d:0000000009055221
2023/12/27 13:14:35 [debug] 2695\#2695: epoll_wait() error on fd:3 ev:2011
2023/12/27 13:14:35 [debug] 2695\#2695: *432 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 "2023/12/27 13:14:35 [debug] 2695\#2695: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2023/12/27 13:14:35 [debug] 2695\#2695: worker cycle
2023/12/27 13:14:35 [debug] 2695\#2695: epoll timer: 922
2023/12/27 13:14:35 [debug] 2695\#2695: epoll: fd:3 ev:2011 d:0000000009055221
2023/12/27 13:14:35 [debug] 2695\#2695: epoll_wait() error on fd:3 ev:2011
2023/12/27 13:14:35 [debug] 2695\#2695: *432 http wait request handler
2023/12/27 13:14:35 [debug] 2695\#2695: *432 malloc: 00000000089892A0:80
2023/12/27 13:14:35 [debug] 2695\#2695: *432 malloc: 0000000008989330:16
2023/12/27 13:14:35 [debug] 2695\#2695: *432 malloc: 00000000084F3F80:1024
2023/12/27 13:14:35 [debug] 2695\#2695: *432 malloc: 0000000008989380:16
'
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2023/12/27 13:14:36 [debug] 2732\#2732: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/27 13:14:36 [debug] 2732\#2732: worker cycle
2023/12/27 13:14:36 [debug] 2732\#2732: epoll timer: 928
2023/12/27 13:14:36 [debug] 2732\#2732: epoll: fd:3 ev:2011 d:0000000009456FF1
2023/12/27 13:14:36 [debug] 2732\#2732: epoll_wait() error on fd:3 ev:2011
2023/12/27 13:14:36 [debug] 2732\#2732: *460 http wait request handler
2023/12/27 13:14:36 [debug] 2732\#2732: *460 malloc: 00000000097B9D70:80
2023/12/27 13:14:36 [debug] 2732\#2732: *460 malloc: 00000000097B9E00:16
2023/12/27 13:14:36 [debug] 2732\#2732: *460 malloc: 0000000008A78400:1024
2023/12/27 13:14:36 [debug] 2732\#2732: *460 malloc: 00000000097B9E50: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 "2023/12/27 13:14:44 [debug] 3061\#3061: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2023/12/27 13:14:44 [notice] 3061\#3061: exiting
2023/12/27 13:14:44 [debug] 3061\#3061: flush files
2023/12/27 13:14:44 [debug] 3061\#3061: run cleanup: 0000000008ADC7B0
2023/12/27 13:14:44 [debug] 3061\#3061: run cleanup: 000000000894C4E0
2023/12/27 13:14:44 [debug] 3061\#3061: lua decrementing the reference count for Lua VM: 1
2023/12/27 13:14:44 [debug] 3061\#3061: lua close the global Lua VM 0000000008604760
2023/12/27 13:14:44 [debug] 3061\#3061: run cleanup: 0000000008670C40
2023/12/27 13:14:44 [debug] 3061\#3061: run cleanup: 000000000865C530
2023/12/27 13:14:44 [debug] 3061\#3061: run cleanup: 0000000008952700
'
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 "2023/12/27 13:14:45 [debug] 3097\#3097: lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2023/12/27 13:14:45 [debug] 3097\#3097: worker cycle
2023/12/27 13:14:45 [debug] 3097\#3097: epoll timer: 925
2023/12/27 13:14:45 [debug] 3097\#3097: epoll: fd:3 ev:2011 d:0000000008865040
2023/12/27 13:14:45 [debug] 3097\#3097: epoll_wait() error on fd:3 ev:2011
2023/12/27 13:14:45 [debug] 3097\#3097: *729 http wait request handler
2023/12/27 13:14:45 [debug] 3097\#3097: *729 malloc: 0000000008BE2540:80
2023/12/27 13:14:45 [debug] 3097\#3097: *729 malloc: 0000000008AD76B0:16
2023/12/27 13:14:45 [debug] 3097\#3097: *729 malloc: 00000000097EA990:1024
2023/12/27 13:14:45 [debug] 3097\#3097: *729 malloc: 0000000008C39040:16
'
086-init-by.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):2: failed to init
086-init-by.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):4: ')' expected (to close '(' at line 3) near 'ngx'
086-init-by.t nginx: [error] init_by_lua_file error: ...e/ec2-user/git/lua-nginx-module/t/servroot/html/init.lua:3: ')' expected (to close '(' at line 2) near 'ngx'
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):7: init_by_lua(nginx.conf:25):4: something went wrong
094-uthread-exit.t TEST 17: exit(444) in user thread (entry thread is still pending on ngx.location.capture), with pending output - pattern "[alert]" should not match any line in error.log but matches line "2023/12/27 13:20:05 [alert] 14069\#14069: send() failed (1: Operation not permitted) while resolving, resolver: 127.0.0.2:12345" (req 0) 2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E0E830:16
2023/12/27 13:20:05 [debug] 14069\#14069: reusable connection: 0
2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E0FD40:72
2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E0FDD0:16
2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E0FE20:48
2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E0FE90:16
2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E151D0:128
2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E15290:16
2023/12/27 13:20:05 [debug] 14011\#14011: malloc: 0000000008E152E0:24
'
094-uthread-exit.t TEST 13: exit(0) in user thread (entry thread is still pending on ngx.location.capture), with pending output - pattern "[alert]" should not match any line in error.log but matches line "2023/12/27 13:20:10 [alert] 14069\#14069: send() failed (1: Operation not permitted) while resolving, resolver: 127.0.0.2:12345" (req 0) 2023/12/27 13:20:10 [debug] 14069\#14069: reusable connection: 0
2023/12/27 13:20:10 [debug] 14069\#14069: event timer add: -1: 5000:2713413
2023/12/27 13:20:10 [debug] 14069\#14069: worker cycle
2023/12/27 13:20:10 [debug] 14069\#14069: epoll timer: 1999
2023/12/27 13:20:10 [debug] 14399\#14399: timer delta: 162
2023/12/27 13:20:10 [debug] 14399\#14399: *294 event timer del: 0: 2708394
2023/12/27 13:20:10 [debug] 14399\#14399: *294 lua sleep timer expired: "/lua?"
2023/12/27 13:20:10 [debug] 14399\#14399: *294 lua run thread, top:9 c:2
2023/12/27 13:20:10 [debug] 14399\#14399: *294 lua resume returned 2
'
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[1-3]))" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[0-6]?))" should match a line in error.log (req 0)
106-timer.t TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8188 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8187 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 2: multiple timers - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 1!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 2!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 3!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 4!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 5!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 6!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 7!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 8!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 9!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 10!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
126-shdict-frag.t TEST 3: merge 3 single-page free slabs (actively deleted, merge backward AND forward) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,11 @@
successfully set foo.
-successfully set bar.
+successfully set bar with force.
successfully set baz.
found foo: 4000
found bar: 4001
found baz: 4002
failed to safe set blah: no memory
-failed to safe set blah: no memory
+successfully safe set blah
successfully safe set blah
successfully set foo with force.
successfully set bar.
'
126-shdict-frag.t TEST 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-successfully set foo.
+successfully set foo with force.
successfully set bar.
successfully set baz with force.
foo not found
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1
ssl handshake: cdata
-set keepalive: 1 nil
+set keepalive: nil connection in dubious state
connected: 1
ssl handshake: cdata
set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) 'lua ssl save session: 000000000904B1E0
lua ssl save session: 00000000093365F0
lua ssl save session: 00000000093365F0
lua ssl free session: 00000000093365F0
lua ssl free session: 00000000093365F0
lua ssl free session: 000000000904B1E0
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1
ssl handshake: cdata
-set keepalive: 1 nil
+set keepalive: nil connection in dubious state
connected: 1
ssl handshake: cdata
set keepalive: 1 nil
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) 'lua ssl save session: 0000000008A01400
lua ssl set session: 0000000008A01400
lua ssl save session: 0000000008E4C5C0
lua ssl free session: 0000000008E4C5C0
lua ssl free session: 0000000008A01400
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]", the inlined Lua code may be too long 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 "]==]", the inlined Lua code may be too long 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 "]]", the inlined Lua code may be too long 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 "]=]", the inlined Lua code may be too long in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
139-ssl-cert-by.t TEST 3: timer - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:31:22 [error] 32435\#32435: send() failed (111: Connection refused) while logging to syslog, server: 127.0.0.1:12345" (req 0) 2023/12/27 13:31:22 [debug] 32435\#32435: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#11
2023/12/27 13:31:22 [debug] 32435\#32435: epoll del event: fd:7 op:2 ev:00000000
2023/12/27 13:31:22 [debug] 32435\#32435: close listening 0.0.0.0:1984 \#7
2023/12/27 13:31:22 [notice] 32435\#32435: exiting
2023/12/27 13:31:22 [debug] 32435\#32435: flush files
2023/12/27 13:31:22 [debug] 32435\#32435: run cleanup: 0000000008467A70
2023/12/27 13:31:22 [debug] 32435\#32435: run cleanup: 0000000008E5A9D0
2023/12/27 13:31:22 [debug] 32435\#32435: lua decrementing the reference count for Lua VM: 1
2023/12/27 13:31:22 [debug] 32435\#32435: lua close the global Lua VM 0000000008653F90
'
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
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 1: lpush & lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
-push success
+push err: value not a list
-1 nil
+nil value not a list
-bar nil
+nil value not a list
-0 nil
+nil value not a list
-nil nil
+nil value not a list
'
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
'
145-shdict-list.t TEST 8: get_keys 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
key: foo
'
145-shdict-list.t TEST 5: add operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-push success
+push err: value not a list
false exists
-nil value is a list
+bar nil
'
145-shdict-list.t TEST 4: replace operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-push success
+push err: value not a list
true nil
bar nil
'
145-shdict-list.t TEST 14: rpush and lpop - 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
'
146-malloc-trim.t TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_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 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
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 6: zero count means off - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
expected: ''
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,13 @@
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
'
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
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'
153-semaphore-hup.t TEST 1: timer + reload - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
created semaphore object
-created semaphore object
try to reload nginx
+created semaphore object
created semaphore object
created semaphore object
'
153-semaphore-hup.t TEST 2: timer + reload (lua code cache off) - 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
'
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

Warnings

Go back to the index page.