(This page was automatically generated by the tools in the opsboy project on 15:56:37 13-May-2026 GMT.)

Detailed Test Report for lua-resty-shell in linux x86_64 (v)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
9b1be3e5 2026-05-13 10:49:21 GMT 36 0 4 36 36 sec

LuaJIT

LuaJIT 2.1.1776221388, commit 7fcf52f5

Compilation Errors

Segmentation Faults

Unexpected Failures

File Name Details
status.t TEST 1: exit 1 - status code ok got: '500'
expected: '200'
status.t TEST 1: exit 1 - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-ok: false
+<html>
-stdout: yes
+<head><title>500 Internal Server Error</title></head>
-stderr: he
+<body>
-
+<center><h1>500 Internal Server Error</h1></center>
-reason: exit
+<hr><center>nginx/1.29.8 (no pool)</center>
-status: 1
+</body>
+</html>
status.t TEST 1: exit 1 - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:11 [error] 2331#2331: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
status.t TEST 2: exit 255 - status code ok got: '500'
expected: '200'
status.t TEST 2: exit 255 - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-ok: false
+<html>
-stdout: yes
+<head><title>500 Internal Server Error</title></head>
-stderr: Died at -e line 1.
+<body>
-
+<center><h1>500 Internal Server Error</h1></center>
-reason: exit
+<hr><center>nginx/1.29.8 (no pool)</center>
-status: 255
+</body>
+</html>
status.t TEST 2: exit 255 - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:14 [error] 2334#2334: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stderr.t TEST 1: too much stderr data (1 byte more) - status code ok got: '500'
expected: '200'
stderr.t TEST 1: too much stderr data (1 byte more) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-ok: nil
+<html>
-stdout: yes
+<head><title>500 Internal Server Error</title></head>
-stderr: hel
+<body>
-
+<center><h1>500 Internal Server Error</h1></center>
-reason: failed to read stderr: too much data
+<hr><center>nginx/1.29.8 (no pool)</center>
-status: nil
+</body>
+</html>
stderr.t TEST 1: too much stderr data (1 byte more) - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:17 [error] 2340#2340: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stderr.t TEST 2: too much stderr data (several bytes more) - status code ok got: '500'
expected: '200'
stderr.t TEST 2: too much stderr data (several bytes more) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,7 @@
-ok: nil
+<html>
-stdout: yes
+<head><title>500 Internal Server Error</title></head>
-stderr: hell
+<body>
-reason: failed to read stderr: too much data
+<center><h1>500 Internal Server Error</h1></center>
-status: nil
+<hr><center>nginx/1.29.8 (no pool)</center>
+</body>
+</html>
stderr.t TEST 2: too much stderr data (several bytes more) - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:20 [error] 2343#2343: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stderr.t TEST 3: stderr timeout - status code ok got: '500'
expected: '200'
stderr.t TEST 3: stderr timeout - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,7 @@
-ok: nil
+<html>
-stdout: ''
+<head><title>500 Internal Server Error</title></head>
-stderr: ''
+<body>
-reason: failed to wait for process: timeout
+<center><h1>500 Internal Server Error</h1></center>
-status: nil
+<hr><center>nginx/1.29.8 (no pool)</center>
+</body>
+</html>
stderr.t TEST 3: stderr timeout - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:23 [error] 2348#2348: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stdin.t TEST 1: good case - status code ok got: '500'
expected: '200'
stdin.t TEST 1: good case - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,7 @@
-ok: true
+<html>
-stdout: hello
+<head><title>500 Internal Server Error</title></head>
-stderr:
+<body>
-reason: exit
+<center><h1>500 Internal Server Error</h1></center>
-status: 0
+<hr><center>nginx/1.29.8 (no pool)</center>
+</body>
+</html>
stdin.t TEST 1: good case - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:26 [error] 2354#2354: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stdout.t TEST 3: too much stdout data (1 byte more) - status code ok got: '500'
expected: '200'
stdout.t TEST 3: too much stdout data (1 byte more) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-ok: nil
+<html>
-stdout: yes!
+<head><title>500 Internal Server Error</title></head>
-stderr: he
+<body>
-
+<center><h1>500 Internal Server Error</h1></center>
-reason: failed to read stdout: too much data
+<hr><center>nginx/1.29.8 (no pool)</center>
-status: nil
+</body>
+</html>
stdout.t TEST 3: too much stdout data (1 byte more) - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:29 [error] 2360#2360: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stdout.t TEST 5: stdout timeout - status code ok got: '500'
expected: '200'
stdout.t TEST 5: stdout timeout - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.29.8 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.29.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:\Aok: nil
stdout: ''
stderr: '(?:|he
)'
reason: failed to wait for process: timeout
status: nil
\z)'
stdout.t TEST 5: stdout timeout - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:32 [error] 2363#2363: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stdout.t TEST 1: good case (single shell cmd string) - status code ok got: '500'
expected: '200'
stdout.t TEST 1: good case (single shell cmd string) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-ok: true
+<html>
-stdout: yes
+<head><title>500 Internal Server Error</title></head>
-stderr: he
+<body>
-
+<center><h1>500 Internal Server Error</h1></center>
-reason: exit
+<hr><center>nginx/1.29.8 (no pool)</center>
-status: 0
+</body>
+</html>
stdout.t TEST 1: good case (single shell cmd string) - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:35 [error] 2366#2366: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stdout.t TEST 6: clean up the sub-process when failed to wait - status code ok got: '500'
expected: '200'
stdout.t TEST 6: clean up the sub-process when failed to wait - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,7 @@
-ok: nil
+<html>
-stdout: 'aaaa'
+<head><title>500 Internal Server Error</title></head>
-stderr: ''
+<body>
-reason: failed to wait for process: timeout
+<center><h1>500 Internal Server Error</h1></center>
-status: nil
+<hr><center>nginx/1.29.8 (no pool)</center>
+</body>
+</html>
stdout.t TEST 6: clean up the sub-process when failed to wait - pattern "lua pipe SIGCHLD fd read pid:" should match a line in error.log (req 0)
stdout.t TEST 4: too much stdout data (several bytes more) - status code ok got: '500'
expected: '200'
stdout.t TEST 4: too much stdout data (several bytes more) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-ok: nil
+<html>
-stdout: yes!
+<head><title>500 Internal Server Error</title></head>
-stderr: he
+<body>
-
+<center><h1>500 Internal Server Error</h1></center>
-reason: failed to read stdout: too much data
+<hr><center>nginx/1.29.8 (no pool)</center>
-status: nil
+</body>
+</html>
stdout.t TEST 4: too much stdout data (several bytes more) - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:41 [error] 2373#2373: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
stdout.t TEST 2: good case (shell cmd arg vector) - status code ok got: '500'
expected: '200'
stdout.t TEST 2: good case (shell cmd arg vector) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-ok: true
+<html>
-stdout: yes
+<head><title>500 Internal Server Error</title></head>
-stderr: he
+<body>
-
+<center><h1>500 Internal Server Error</h1></center>
-reason: exit
+<hr><center>nginx/1.29.8 (no pool)</center>
-status: 0
+</body>
+</html>
stdout.t TEST 2: good case (shell cmd arg vector) - pattern "[error]" should not match any line in error.log but matches line "2026/05/13 14:30:44 [error] 2377#2377: *1 lua entry thread aborted: runtime error: could not load librestysignal.so from the following paths:" (req 0) ../lua-resty-signal/librestysignal.so
./librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
/opt/luajit-sysm/lib/lua/5.1/librestysignal.so
/usr/local/lib/lua/5.1/librestysignal.so
stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:46):3: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'

Expected Failures

(none)

Warnings

(none)

Go back to the index page.