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

Detailed Test Report for lua-resty-core in linux x86_64 (r)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
5af64033 2021-03-17 14:20:17 GMT 0 48 79 8734 292 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

OpenSSL

OpenSSL 1.1.1h 22 Sep 2020

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
errlog-raw-log.t nginx: [error] hello world from init_by_lua
errlog.t nginx: [emerg] invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25
errlog.t nginx: [emerg] invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25
pipe-stderr.t TEST 7: read stderr, pattern is read any - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-hello
+h
-world
+e
'
pipe-stderr.t TEST 7: read stderr, pattern is read any - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
-hello
+h
-world
+e
'
pipe-stdin.t TEST 8: write and read process - response_body - response is expected (repeated req 0, req 0) got: 'a
'
expected: 'payload
'
pipe-stdin.t TEST 8: write and read process - response_body - response is expected (repeated req 1, req 0) got: 'a
'
expected: 'payload
'
pipe-stdin.t TEST 1: write process - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
0
5
6
-hello world
+h
'
pipe-stdin.t TEST 1: write process - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
0
5
6
-hello world
+h
'
pipe-stdin.t TEST 9: write process, support table, number and boolean arguments - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
2
11
-10hello world
+1
'
pipe-stdin.t TEST 9: write process, support table, number and boolean arguments - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
2
11
-10hello world
+1
'
pipe-stdout.t TEST 10: read process, pattern is read any, with limited, limit larger than read data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-hello
+h
-world
+e
'
pipe-stdout.t TEST 10: read process, pattern is read any, with limited, limit larger than read data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
-hello
+h
-world
+e
'
pipe-stdout.t TEST 8: read process, pattern is read any - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-hello
+h
-world
+e
'
pipe-stdout.t TEST 8: read process, pattern is read any - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
-hello
+h
-world
+e
'
pipe-stdout.t TEST 11: read process, pattern is read any, with limited, limit smaller than read data - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-hell
+h
-o
+e
-world
+l
'
pipe-stdout.t TEST 11: read process, pattern is read any, with limited, limit smaller than read data - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
-hell
+h
-o
+e
-world
+l
'
pipe-stdout.t TEST 30: user case with read and wait - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-ok
exit
'
pipe-stdout.t TEST 30: user case with read and wait - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-ok
exit
'
pipe-stdout.t TEST 21: read process, mix read pattern - response_body - response is expected (repeated req 0, req 0) @@ -1,13 +1,13 @@
reading any
-hello
+h
reading 3
-wor
+ell
reading line
-ld
+oworld
reading 2
mo
reading any
-re
-
+r
reading all
+e
data
'
pipe-stdout.t TEST 21: read process, mix read pattern - response_body - response is expected (repeated req 1, req 0) @@ -1,13 +1,13 @@
reading any
-hello
+h
reading 3
-wor
+ell
reading line
-ld
+oworld
reading 2
mo
reading any
-re
-
+r
reading all
+e
data
'
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - grep_error_log_out (req 0) ''
doesn't match '(?^s:^ssl_session_store_by_lua_block:\d+: session id: [a-fA-F\d]+$)'
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 0)
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2021/03/17 22:42:50 [error] 20960\#0: *1 [lua] content_by_lua(nginx.conf:114):33: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2021/03/17 22:42:50 [debug] 20960\#0: *1 lua resume returned 0
2021/03/17 22:42:50 [debug] 20960\#0: *1 lua light thread ended normally
2021/03/17 22:42:50 [debug] 20960\#0: *1 lua deleting light thread 00007FE727BAF6B8 (ref 1)
2021/03/17 22:42:50 [debug] 20960\#0: *1 lua caching unused lua thread 00007FE727BAF6B8 (ref 1)
2021/03/17 22:42:50 [debug] 20960\#0: *1 lua capture header filter, uri "/t"
2021/03/17 22:42:50 [debug] 20960\#0: *1 malloc: 0000000001D8ABC0:16
2021/03/17 22:42:50 [debug] 20960\#0: *1 malloc: 0000000001D6C3D0:16
2021/03/17 22:42:50 [debug] 20960\#0: *1 malloc: 0000000001D8F610:80
2021/03/17 22:42:50 [debug] 20960\#0: *1 malloc: 0000000001D8F670:16
'
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - grep_error_log_out (req 1) ''
doesn't match '(?^s:^ssl_session_fetch_by_lua_block:\d+: session id: [a-fA-F\d]+
failed to resume session: failed to de-serialize session
ssl_session_store_by_lua_block:\d+: session id: [a-fA-F\d]+
$)'
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 1)
ssl-session-fetch.t TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2021/03/17 22:42:52 [error] 20960\#0: *3 [lua] content_by_lua(nginx.conf:114):33: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2021/03/17 22:42:52 [debug] 20960\#0: *3 lua resume returned 0
2021/03/17 22:42:52 [debug] 20960\#0: *3 lua light thread ended normally
2021/03/17 22:42:52 [debug] 20960\#0: *3 lua deleting light thread 00007FE727BAF6B8 (ref 1)
2021/03/17 22:42:52 [debug] 20960\#0: *3 lua caching unused lua thread 00007FE727BAF6B8 (ref 1)
2021/03/17 22:42:52 [debug] 20960\#0: *3 lua capture header filter, uri "/t"
2021/03/17 22:42:52 [debug] 20960\#0: *3 malloc: 0000000001D8D710:16
2021/03/17 22:42:52 [debug] 20960\#0: *3 malloc: 0000000001D89C30:16
2021/03/17 22:42:52 [debug] 20960\#0: *3 malloc: 0000000001D8AB80:80
2021/03/17 22:42:52 [debug] 20960\#0: *3 malloc: 0000000001D8ABE0:16
'
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 0)
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 0)
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2021/03/17 22:43:00 [error] 21016\#0: *1 [lua] content_by_lua(nginx.conf:111):25: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2021/03/17 22:43:00 [debug] 21016\#0: *1 lua resume returned 0
2021/03/17 22:43:00 [debug] 21016\#0: *1 lua light thread ended normally
2021/03/17 22:43:00 [debug] 21016\#0: *1 lua deleting light thread 00007F75F329FD48 (ref 1)
2021/03/17 22:43:00 [debug] 21016\#0: *1 lua caching unused lua thread 00007F75F329FD48 (ref 1)
2021/03/17 22:43:00 [debug] 21016\#0: *1 lua capture header filter, uri "/t"
2021/03/17 22:43:00 [debug] 21016\#0: *1 malloc: 0000000001E36A10:16
2021/03/17 22:43:00 [debug] 21016\#0: *1 malloc: 0000000001E369F0:16
2021/03/17 22:43:00 [debug] 21016\#0: *1 malloc: 0000000001E4D330:80
2021/03/17 22:43:00 [debug] 21016\#0: *1 malloc: 0000000001E4D390:16
'
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 1)
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 1)
ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2021/03/17 22:43:02 [error] 21016\#0: *3 [lua] content_by_lua(nginx.conf:111):25: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2021/03/17 22:43:02 [debug] 21016\#0: *3 lua resume returned 0
2021/03/17 22:43:02 [debug] 21016\#0: *3 lua light thread ended normally
2021/03/17 22:43:02 [debug] 21016\#0: *3 lua deleting light thread 00007F75F329FD48 (ref 1)
2021/03/17 22:43:02 [debug] 21016\#0: *3 lua caching unused lua thread 00007F75F329FD48 (ref 1)
2021/03/17 22:43:02 [debug] 21016\#0: *3 lua capture header filter, uri "/t"
2021/03/17 22:43:02 [debug] 21016\#0: *3 malloc: 0000000001E70560:16
2021/03/17 22:43:02 [debug] 21016\#0: *3 malloc: 0000000001E6BD80:16
2021/03/17 22:43:02 [debug] 21016\#0: *3 malloc: 0000000001E69BB0:80
2021/03/17 22:43:02 [debug] 21016\#0: *3 malloc: 0000000001E70580:16
'
stream/errlog-raw-log.t nginx: [error] hello world from init_by_lua
stream/errlog.t nginx: [emerg] invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17
stream/errlog.t nginx: [emerg] invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 0)
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 0)
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2021/03/17 22:44:16 [error] 22127\#0: *3 stream [lua] content_by_lua(nginx.conf:89):25: openssl client handshake timeout, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2021/03/17 22:44:16 [debug] 22127\#0: *3 lua resume returned 0
2021/03/17 22:44:16 [debug] 22127\#0: *3 lua light thread ended normally
2021/03/17 22:44:16 [debug] 22127\#0: *3 lua deleting light thread
2021/03/17 22:44:16 [debug] 22127\#0: *3 lua run thread returned 0
2021/03/17 22:44:16 [debug] 22127\#0: *3 finalize stream request: 0
2021/03/17 22:44:16 [debug] 22127\#0: *3 finalize stream session: 200
2021/03/17 22:44:16 [debug] 22127\#0: *3 stream log handler
2021/03/17 22:44:16 [debug] 22127\#0: *3 close stream connection: 11
2021/03/17 22:44:16 [debug] 22127\#0: *3 reusable connection: 0
'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 1)
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 1)
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2021/03/17 22:44:18 [error] 22127\#0: *7 stream [lua] content_by_lua(nginx.conf:89):25: openssl client handshake timeout, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2021/03/17 22:44:18 [debug] 22127\#0: *7 lua resume returned 0
2021/03/17 22:44:18 [debug] 22127\#0: *7 lua light thread ended normally
2021/03/17 22:44:18 [debug] 22127\#0: *7 lua deleting light thread
2021/03/17 22:44:18 [debug] 22127\#0: *7 lua run thread returned 0
2021/03/17 22:44:18 [debug] 22127\#0: *7 finalize stream request: 0
2021/03/17 22:44:18 [debug] 22127\#0: *7 finalize stream session: 200
2021/03/17 22:44:18 [debug] 22127\#0: *7 stream log handler
2021/03/17 22:44:18 [debug] 22127\#0: *7 close stream connection: 11
2021/03/17 22:44:18 [debug] 22127\#0: *7 reusable connection: 0
'

Warnings

Go back to the index page.