(This page was automatically generated by the tools in the opsboy project on 09:46:46 03-Nov-2020 GMT.)

Detailed Test Report for lua-resty-mysql in linux x86_64 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
82059c13 2020-10-18 03:12:30 GMT 889 10 10 902 222 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

OpenSSL

OpenSSL 1.1.1d 10 Sep 2019

Compilation Errors

Unexpected Failures

File Name Details
auth.t TEST 1: test different auth plugin - status code ok got: '500'
expected: '200'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/t/servroot/html/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
'
auth.t TEST 1: test different auth plugin - status code ok got: '500'
expected: '200'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/t/servroot/html/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *2 http set discard body
'
auth.t TEST 1: test different auth plugin - status code ok got: '500'
expected: '200'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 2) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/t/servroot/html/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 2) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *2 http set discard body
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *3 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 2) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *3 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *3 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *3 http set discard body
'
auth.t TEST 1: test different auth plugin - status code ok got: '500'
expected: '200'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 3) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/t/servroot/html/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 3) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *2 http set discard body
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *3 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 3) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *3 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *3 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *3 http set discard body
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *4 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 3) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *4 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *4 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *4 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *4 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *4 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *4 http set discard body
'
auth.t TEST 1: test different auth plugin - status code ok got: '500'
expected: '200'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 4) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/t/servroot/html/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 4) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *2 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *2 http set discard body
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *3 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 4) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *3 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *3 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *3 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *3 http set discard body
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *4 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 4) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *4 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *4 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *4 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *4 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *4 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *4 http set discard body
'
auth.t TEST 1: test different auth plugin - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25308\#0: *5 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:154):3: attempt to index local 'test_suit' (a number value)" (req 4) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:154): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:03 [debug] 25308\#0: *5 lua request cleanup: forcible=0
2020/10/18 03:50:03 [debug] 25308\#0: *5 lua deleting light thread
2020/10/18 03:50:03 [debug] 25308\#0: *5 lua caching unused lua thread 00007EFD4D04B978 (ref 1)
2020/10/18 03:50:03 [debug] 25308\#0: *5 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:03 [debug] 25308\#0: *5 http special response: 500, "/t?"
2020/10/18 03:50:03 [debug] 25308\#0: *5 http set discard body
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:03 [error] 25319\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 2, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *3 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 2) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 3, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *4 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 3) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 4, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *5 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 4) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 5, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 5) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 6, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *7 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 6) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 7, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *8 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 7) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 8, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *9 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 8) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 9, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *10 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 9) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 10, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *11 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 10) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 11, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *12 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 11) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 12, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *13 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 12) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 13, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *14 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 13) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 14, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *15 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 14) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 15, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *16 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 15) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 16, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *17 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 16) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 17, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *18 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 17) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 18, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *19 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 18) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 19, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *20 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 19) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 20, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *21 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 20) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 21, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:04 [error] 25319\#0: *22 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 21) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 22, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *23 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 22) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 23, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *24 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 23) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 24, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *25 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 24) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 25, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *26 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 25) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 26, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *27 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 26) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 27, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *28 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 27) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 28, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *29 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 28) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 29, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *30 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 29) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 30, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *31 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 30) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 31, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *32 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 31) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 32, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *33 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 32) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 33, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *34 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 33) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 34, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *35 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 34) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 35, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *36 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 35) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 36, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *37 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 36) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 37, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *38 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 37) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 38, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *39 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 38) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 39, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *40 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 39) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 40, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *41 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 40) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 41, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *42 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 41) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 42, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *43 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 42) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 43, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:05 [error] 25319\#0: *44 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 43) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 44, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25319\#0: *45 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 44) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 45, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25319\#0: *46 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 45) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 46, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25319\#0: *47 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 46) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 47, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25319\#0: *48 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 47) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 48, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25319\#0: *49 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 48) stack traceback:
coroutine 0:
'
big.t TEST 1: big field value exceeding 256 - status code ok got: '500'
expected: '200'
big.t TEST 1: big field value exceeding 256 - response_body - response is expected (repeated req 49, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2215
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 1: big field value exceeding 256 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25319\#0: *50 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 49) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *73 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *74 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 2, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *75 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 2) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 3, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *76 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 3) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 4, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *77 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 4) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 5, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *78 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 5) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 6, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *79 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 6) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 7, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *80 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 7) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 8, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *81 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 8) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 9, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:06 [error] 25325\#0: *82 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 9) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 10, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *83 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 10) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 11, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *84 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 11) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 12, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *85 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 12) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 13, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *86 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 13) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 14, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *87 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 14) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 15, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *88 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 15) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 16, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *89 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 16) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 17, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *90 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 17) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 18, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *91 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 18) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 19, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *92 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 19) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 20, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *93 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 20) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 21, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *94 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 21) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 22, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *95 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 22) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 23, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *96 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 23) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 24, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *97 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 24) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 25, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *98 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 25) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 26, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *99 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 26) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 27, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *100 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 27) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 28, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *101 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 28) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 29, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *102 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 29) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 30, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *103 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 30) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 31, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:07 [error] 25325\#0: *104 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 31) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 32, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *105 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 32) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 33, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *106 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 33) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 34, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *107 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 34) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 35, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *108 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 35) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 36, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *109 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 36) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 37, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *110 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 37) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 38, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *111 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 38) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 39, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *112 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 39) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 40, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *113 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 40) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 41, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *114 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 41) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 42, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *115 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 42) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 43, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *116 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 43) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 44, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *117 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 44) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 45, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *118 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 45) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 46, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *119 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 46) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 47, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *120 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 47) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 48, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *121 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 48) stack traceback:
coroutine 0:
'
big.t TEST 2: big field value exceeding max packet size - status code ok got: '500'
expected: '200'
big.t TEST 2: big field value exceeding max packet size - response_body - response is expected (repeated req 49, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 154
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 2: big field value exceeding max packet size - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:08 [error] 25325\#0: *122 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:117):5: attempt to index local 'mysql' (a number value)" (req 49) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *145 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *146 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 2, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *147 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 2) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 3, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *148 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 3) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 4, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *149 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 4) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 5, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *150 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 5) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 6, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *151 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 6) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 7, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *152 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 7) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 8, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *153 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 8) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 9, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *154 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 9) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 10, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *155 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 10) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 11, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *156 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 11) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 12, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *157 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 12) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 13, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *158 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 13) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 14, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *159 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 14) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 15, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *160 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 15) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 16, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *161 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 16) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 17, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *162 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 17) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 18, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:09 [error] 25353\#0: *163 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 18) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 19, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *164 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 19) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 20, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *165 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 20) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 21, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *166 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 21) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 22, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *167 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 22) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 23, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *168 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 23) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 24, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *169 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 24) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 25, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *170 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 25) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 26, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *171 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 26) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 27, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *172 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 27) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 28, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *173 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 28) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 29, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *174 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 29) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 30, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *175 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 30) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 31, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *176 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 31) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 32, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *177 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 32) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 33, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *178 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 33) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 34, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *179 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 34) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 35, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *180 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 35) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 36, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *181 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 36) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 37, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *182 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 37) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 38, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *183 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 38) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 39, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *184 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 39) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 40, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:10 [error] 25353\#0: *185 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 40) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 41, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *186 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 41) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 42, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *187 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 42) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 43, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *188 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 43) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 44, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *189 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 44) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 45, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *190 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 45) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 46, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *191 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 46) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 47, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *192 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 47) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 48, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *193 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 48) stack traceback:
coroutine 0:
'
big.t TEST 3: big field value exceeding 256 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 3: big field value exceeding 256 (first field in rows) - response_body - response is expected (repeated req 49, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 2197
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 3: big field value exceeding 256 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25353\#0: *194 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 49) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25382\#0: *217 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25382\#0: *218 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 2, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25382\#0: *219 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 2) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 3, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25382\#0: *220 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 3) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 4, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25382\#0: *221 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 4) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 5, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25382\#0: *222 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 5) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 6, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:11 [error] 25382\#0: *223 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 6) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 7, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *224 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 7) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 8, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *225 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 8) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 9, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *226 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 9) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 10, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *227 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 10) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 11, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *228 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 11) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 12, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *229 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 12) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 13, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *230 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 13) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 14, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *231 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 14) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 15, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *232 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 15) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 16, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *233 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 16) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 17, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *234 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 17) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 18, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *235 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 18) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 19, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *236 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 19) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 20, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *237 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 20) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 21, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *238 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 21) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 22, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *239 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 22) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 23, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *240 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 23) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 24, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *241 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 24) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 25, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *242 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 25) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 26, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *243 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 26) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 27, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:12 [error] 25382\#0: *244 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 27) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 28, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *245 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 28) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 29, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *246 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 29) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 30, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *247 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 30) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 31, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *248 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 31) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 32, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *249 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 32) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 33, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *250 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 33) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 34, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *251 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 34) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 35, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *252 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 35) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 36, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *253 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 36) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 37, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *254 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 37) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 38, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *255 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 38) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 39, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *256 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 39) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 40, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *257 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 40) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 41, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *258 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 41) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 42, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *259 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 42) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 43, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *260 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 43) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 44, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *261 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 44) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 45, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *262 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 45) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 46, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:13 [error] 25382\#0: *263 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 46) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 47, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25382\#0: *264 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 47) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 48, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25382\#0: *265 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 48) stack traceback:
coroutine 0:
'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - status code ok got: '500'
expected: '200'
big.t TEST 4: big field value exceeding 65536 (first field in rows) - response_body - response is expected (repeated req 49, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "connected to mysql.\x{0a}table cats dropped.\x{0a}table cats"...
length: 131229
strings begin to differ at char 1 (line 1 column 1)
big.t TEST 4: big field value exceeding 65536 (first field in rows) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25382\#0: *266 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:114):5: attempt to index local 'mysql' (a number value)" (req 49) stack traceback:
coroutine 0:
'
bug.t TEST 1: message in ok packet (github \#61) - status code ok got: '500'
expected: '200'
bug.t TEST 1: message in ok packet (github \#61) - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'Rows matched: 1 Changed: 1 Warnings: 0
'
bug.t TEST 1: message in ok packet (github \#61) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25414\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
bug.t TEST 1: message in ok packet (github \#61) - status code ok got: '500'
expected: '200'
bug.t TEST 1: message in ok packet (github \#61) - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'Rows matched: 1 Changed: 1 Warnings: 0
'
bug.t TEST 1: message in ok packet (github \#61) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25414\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
bug.t TEST 1: message in ok packet (github \#61) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25414\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:98):18: attempt to index upvalue 'mysql_driver' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:98): in function 'query'
content_by_lua(nginx.conf:98):47: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:14 [debug] 25414\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:14 [debug] 25414\#0: *2 lua deleting light thread
2020/10/18 03:50:14 [debug] 25414\#0: *2 lua caching unused lua thread 00007FE4F8DEB288 (ref 1)
2020/10/18 03:50:14 [debug] 25414\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:14 [debug] 25414\#0: *2 http special response: 500, "/t?"
'
charset.t TEST 1: connect db using charset option (utf8) - status code ok got: '500'
expected: '200'
charset.t TEST 1: connect db using charset option (utf8) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"id":"1","name":"\x{e6}\x{84}\x{9b}\x{e9}\x{ba}\x{97}\x{e7}\x{b5}\x{b2}"}]\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
charset.t TEST 1: connect db using charset option (utf8) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25424\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
charset.t TEST 1: connect db using charset option (utf8) - status code ok got: '500'
expected: '200'
charset.t TEST 1: connect db using charset option (utf8) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"id":"1","name":"\x{e6}\x{84}\x{9b}\x{e9}\x{ba}\x{97}\x{e7}\x{b5}\x{b2}"}]\x{0a}"
length: 32
strings begin to differ at char 1 (line 1 column 1)
charset.t TEST 1: connect db using charset option (utf8) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25424\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
charset.t TEST 1: connect db using charset option (utf8) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25424\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:93):4: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:93): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:14 [debug] 25424\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:14 [debug] 25424\#0: *2 lua deleting light thread
2020/10/18 03:50:14 [debug] 25424\#0: *2 lua caching unused lua thread 00007FA379EEF248 (ref 1)
2020/10/18 03:50:14 [debug] 25424\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:14 [debug] 25424\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:14 [debug] 25424\#0: *2 http set discard body
'
charset.t TEST 2: connect db using charset option (big5) - status code ok got: '500'
expected: '200'
charset.t TEST 2: connect db using charset option (big5) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"id":"1","name":"\x{b7}R\x{c4}R\x{b5}\x{b7}"}]\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
charset.t TEST 2: connect db using charset option (big5) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25430\#0: *25 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
charset.t TEST 2: connect db using charset option (big5) - status code ok got: '500'
expected: '200'
charset.t TEST 2: connect db using charset option (big5) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"id":"1","name":"\x{b7}R\x{c4}R\x{b5}\x{b7}"}]\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
charset.t TEST 2: connect db using charset option (big5) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25430\#0: *25 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
charset.t TEST 2: connect db using charset option (big5) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:14 [error] 25430\#0: *26 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:93):4: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:93): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:14 [debug] 25430\#0: *26 lua request cleanup: forcible=0
2020/10/18 03:50:14 [debug] 25430\#0: *26 lua deleting light thread
2020/10/18 03:50:14 [debug] 25430\#0: *26 lua caching unused lua thread 00007FA379E8F548 (ref 1)
2020/10/18 03:50:14 [debug] 25430\#0: *26 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:14 [debug] 25430\#0: *26 http special response: 500, "/t?"
2020/10/18 03:50:14 [debug] 25430\#0: *26 http set discard body
'
charset.t TEST 3: connect db using charset option (gbk) - status code ok got: '500'
expected: '200'
charset.t TEST 3: connect db using charset option (gbk) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"id":"1","name":"\x{90}\x{db}\x{fb}\x{90}\x{bd}z"}]\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
charset.t TEST 3: connect db using charset option (gbk) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:15 [error] 25458\#0: *52 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
charset.t TEST 3: connect db using charset option (gbk) - status code ok got: '500'
expected: '200'
charset.t TEST 3: connect db using charset option (gbk) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"id":"1","name":"\x{90}\x{db}\x{fb}\x{90}\x{bd}z"}]\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
charset.t TEST 3: connect db using charset option (gbk) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:15 [error] 25458\#0: *52 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
charset.t TEST 3: connect db using charset option (gbk) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:15 [error] 25458\#0: *53 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:93):4: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:93): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:15 [debug] 25458\#0: *53 lua request cleanup: forcible=0
2020/10/18 03:50:15 [debug] 25458\#0: *53 lua deleting light thread
2020/10/18 03:50:15 [debug] 25458\#0: *53 lua caching unused lua thread 00007FA379EEF248 (ref 1)
2020/10/18 03:50:15 [debug] 25458\#0: *53 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:15 [debug] 25458\#0: *53 http special response: 500, "/t?"
2020/10/18 03:50:15 [debug] 25458\#0: *53 http set discard body
'
compact_arrays.t TEST 1: send query w/o result set - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 1: send query w/o result set - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: (?:{"insert_id":0,"server_status":2,"warning_count":[01],"affected_rows":0}|{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]})$)'
compact_arrays.t TEST 1: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:15 [error] 25493\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
compact_arrays.t TEST 1: send query w/o result set - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 1: send query w/o result set - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: (?:{"insert_id":0,"server_status":2,"warning_count":[01],"affected_rows":0}|{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]})$)'
compact_arrays.t TEST 1: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:15 [error] 25493\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:85):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:85): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:15 [debug] 25493\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:15 [debug] 25493\#0: *2 lua deleting light thread
2020/10/18 03:50:15 [debug] 25493\#0: *2 lua caching unused lua thread 00007FD9103BAAB8 (ref 1)
2020/10/18 03:50:15 [debug] 25493\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:15 [debug] 25493\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:15 [debug] 25493\#0: *2 http set discard body
'
compact_arrays.t TEST 2: select query with an non-empty result set - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 2: select query with an non-empty result set - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [["Bob","1"],["","2"],[null,"3"]]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [[null,"3"],["","2"],["Bob","1"]]
+</body>
+</html>
'
compact_arrays.t TEST 2: select query with an non-empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:15 [error] 25499\#0: *25 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
compact_arrays.t TEST 2: select query with an non-empty result set - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 2: select query with an non-empty result set - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [["Bob","1"],["","2"],[null,"3"]]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [[null,"3"],["","2"],["Bob","1"]]
+</body>
+</html>
'
compact_arrays.t TEST 2: select query with an non-empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25499\#0: *26 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:112):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:112): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:16 [debug] 25499\#0: *26 lua request cleanup: forcible=0
2020/10/18 03:50:16 [debug] 25499\#0: *26 lua deleting light thread
2020/10/18 03:50:16 [debug] 25499\#0: *26 lua caching unused lua thread 00007FD91035B950 (ref 1)
2020/10/18 03:50:16 [debug] 25499\#0: *26 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:16 [debug] 25499\#0: *26 http special response: 500, "/t?"
2020/10/18 03:50:16 [debug] 25499\#0: *26 http set discard body
'
compact_arrays.t TEST 3: select query with an empty result set - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 3: select query with an empty result set - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-result: []
+<center><h1>500 Internal Server Error</h1></center>
-result: []
+<hr><center>nginx/1.19.3 (no pool)</center>
+</body>
+</html>
'
compact_arrays.t TEST 3: select query with an empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25527\#0: *49 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
compact_arrays.t TEST 3: select query with an empty result set - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 3: select query with an empty result set - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-result: []
+<center><h1>500 Internal Server Error</h1></center>
-result: []
+<hr><center>nginx/1.19.3 (no pool)</center>
+</body>
+</html>
'
compact_arrays.t TEST 3: select query with an empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25527\#0: *50 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:104):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:104): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:16 [debug] 25527\#0: *50 lua request cleanup: forcible=0
2020/10/18 03:50:16 [debug] 25527\#0: *50 lua deleting light thread
2020/10/18 03:50:16 [debug] 25527\#0: *50 lua caching unused lua thread 00007FD9103B8450 (ref 1)
2020/10/18 03:50:16 [debug] 25527\#0: *50 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:16 [debug] 25527\#0: *50 http special response: 500, "/t?"
2020/10/18 03:50:16 [debug] 25527\#0: *50 http set discard body
'
compact_arrays.t TEST 4: select query with an non-empty result set - set_compact_arrays - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 4: select query with an non-empty result set - set_compact_arrays - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [["Bob","1"],["","2"],[null,"3"]]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"id":"3","name":null},{"id":"2","name":""},{"id":"1","name":"Bob"}]
+</body>
+</html>
'
compact_arrays.t TEST 4: select query with an non-empty result set - set_compact_arrays - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25555\#0: *72 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
compact_arrays.t TEST 4: select query with an non-empty result set - set_compact_arrays - status code ok got: '500'
expected: '200'
compact_arrays.t TEST 4: select query with an non-empty result set - set_compact_arrays - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [["Bob","1"],["","2"],[null,"3"]]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"id":"3","name":null},{"id":"2","name":""},{"id":"1","name":"Bob"}]
+</body>
+</html>
'
compact_arrays.t TEST 4: select query with an non-empty result set - set_compact_arrays - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25555\#0: *73 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:115):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:115): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:16 [debug] 25555\#0: *73 lua request cleanup: forcible=0
2020/10/18 03:50:16 [debug] 25555\#0: *73 lua deleting light thread
2020/10/18 03:50:16 [debug] 25555\#0: *73 lua caching unused lua thread 00007FD91035BA40 (ref 1)
2020/10/18 03:50:16 [debug] 25555\#0: *73 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:16 [debug] 25555\#0: *73 http special response: 500, "/t?"
2020/10/18 03:50:16 [debug] 25555\#0: *73 http set discard body
'
sanity.t TEST 1: bad user - status code ok got: '500'
expected: '200'
sanity.t TEST 1: bad user - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:failed to connect: Access denied for user 'user_not_found'@'[^\s]+' \(using password: YES\): 1045 28000
)'
sanity.t TEST 1: bad user - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25586\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 1: bad user - status code ok got: '500'
expected: '200'
sanity.t TEST 1: bad user - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:failed to connect: Access denied for user 'user_not_found'@'[^\s]+' \(using password: YES\): 1045 28000
)'
sanity.t TEST 1: bad user - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25586\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 1: bad user - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:16 [error] 25586\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:63):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:63): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:16 [debug] 25586\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:16 [debug] 25586\#0: *2 lua deleting light thread
2020/10/18 03:50:16 [debug] 25586\#0: *2 lua caching unused lua thread 00007F819C92E140 (ref 1)
2020/10/18 03:50:16 [debug] 25586\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:16 [debug] 25586\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:16 [debug] 25586\#0: *2 http set discard body
'
sanity.t TEST 2: bad host - status code ok got: '500'
expected: '200'
sanity.t TEST 2: bad host - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^failed to connect: failed to connect: host-not-found.org could not be resolved(?: \(3: Host not found\))?: nil nil$)'
sanity.t TEST 2: bad host - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:17 [error] 25592\#0: *25 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 2: bad host - status code ok got: '500'
expected: '200'
sanity.t TEST 2: bad host - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^failed to connect: failed to connect: host-not-found.org could not be resolved(?: \(3: Host not found\))?: nil nil$)'
sanity.t TEST 2: bad host - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:17 [error] 25592\#0: *25 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 2: bad host - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:17 [error] 25592\#0: *26 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:63):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:63): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:17 [debug] 25592\#0: *26 lua request cleanup: forcible=0
2020/10/18 03:50:17 [debug] 25592\#0: *26 lua deleting light thread
2020/10/18 03:50:17 [debug] 25592\#0: *26 lua caching unused lua thread 00007F819C8D32A8 (ref 1)
2020/10/18 03:50:17 [debug] 25592\#0: *26 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:17 [debug] 25592\#0: *26 http special response: 500, "/t?"
2020/10/18 03:50:17 [debug] 25592\#0: *26 http set discard body
'
sanity.t TEST 3: connected - status code ok got: '500'
expected: '200'
sanity.t TEST 3: connected - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:connected to mysql \d\.[^\s\x00]+
)'
sanity.t TEST 3: connected - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:17 [error] 25620\#0: *51 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 3: connected - status code ok got: '500'
expected: '200'
sanity.t TEST 3: connected - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:connected to mysql \d\.[^\s\x00]+
)'
sanity.t TEST 3: connected - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:17 [error] 25620\#0: *51 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 3: connected - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:17 [error] 25620\#0: *52 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:65):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:65): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:17 [debug] 25620\#0: *52 lua request cleanup: forcible=0
2020/10/18 03:50:17 [debug] 25620\#0: *52 lua deleting light thread
2020/10/18 03:50:17 [debug] 25620\#0: *52 lua caching unused lua thread 00007F819C9340A0 (ref 1)
2020/10/18 03:50:17 [debug] 25620\#0: *52 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:17 [debug] 25620\#0: *52 http special response: 500, "/t?"
2020/10/18 03:50:17 [debug] 25620\#0: *52 http set discard body
'
sanity.t TEST 4: send query w/o result set - status code ok got: '500'
expected: '200'
sanity.t TEST 4: send query w/o result set - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: \{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\}$)'
sanity.t TEST 4: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25650\#0: *77 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 4: send query w/o result set - status code ok got: '500'
expected: '200'
sanity.t TEST 4: send query w/o result set - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: \{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\}$)'
sanity.t TEST 4: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25650\#0: *77 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 4: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25650\#0: *78 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:84):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:84): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:18 [debug] 25650\#0: *78 lua request cleanup: forcible=0
2020/10/18 03:50:18 [debug] 25650\#0: *78 lua deleting light thread
2020/10/18 03:50:18 [debug] 25650\#0: *78 lua caching unused lua thread 00007F819C8CE3C0 (ref 1)
2020/10/18 03:50:18 [debug] 25650\#0: *78 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:18 [debug] 25650\#0: *78 http special response: 500, "/t?"
2020/10/18 03:50:18 [debug] 25650\#0: *78 http set discard body
'
sanity.t TEST 5: send bad query - status code ok got: '500'
expected: '200'
sanity.t TEST 5: send bad query - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 12 bytes\.
bad result: You have an error in your SQL syntax; check the manual that corresponds to your (?:MySQL|MariaDB) server version for the right syntax to use near 'bad SQL' at line 1: 1064: 42000\.$)'
sanity.t TEST 5: send bad query - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25680\#0: *102 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 5: send bad query - status code ok got: '500'
expected: '200'
sanity.t TEST 5: send bad query - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 12 bytes\.
bad result: You have an error in your SQL syntax; check the manual that corresponds to your (?:MySQL|MariaDB) server version for the right syntax to use near 'bad SQL' at line 1: 1064: 42000\.$)'
sanity.t TEST 5: send bad query - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25680\#0: *102 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 5: send bad query - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25680\#0: *103 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:85):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:85): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:18 [debug] 25680\#0: *103 lua request cleanup: forcible=0
2020/10/18 03:50:18 [debug] 25680\#0: *103 lua deleting light thread
2020/10/18 03:50:18 [debug] 25680\#0: *103 lua caching unused lua thread 00007F819C92E248 (ref 1)
2020/10/18 03:50:18 [debug] 25680\#0: *103 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:18 [debug] 25680\#0: *103 http special response: 500, "/t?"
2020/10/18 03:50:18 [debug] 25680\#0: *103 http set discard body
'
sanity.t TEST 6: select query with an non-empty result set - status code ok got: '500'
expected: '200'
sanity.t TEST 6: select query with an non-empty result set - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"id":"1","name":"Bob"},{"id":"2","name":""},{"id":"3","name":null}]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"id":"3","name":null},{"id":"2","name":""},{"id":"1","name":"Bob"}]
+</body>
+</html>
'
sanity.t TEST 6: select query with an non-empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25709\#0: *126 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 6: select query with an non-empty result set - status code ok got: '500'
expected: '200'
sanity.t TEST 6: select query with an non-empty result set - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"id":"1","name":"Bob"},{"id":"2","name":""},{"id":"3","name":null}]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"id":"3","name":null},{"id":"2","name":""},{"id":"1","name":"Bob"}]
+</body>
+</html>
'
sanity.t TEST 6: select query with an non-empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25709\#0: *126 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 6: select query with an non-empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:18 [error] 25709\#0: *127 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:111):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:111): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:18 [debug] 25709\#0: *127 lua request cleanup: forcible=0
2020/10/18 03:50:18 [debug] 25709\#0: *127 lua deleting light thread
2020/10/18 03:50:18 [debug] 25709\#0: *127 lua caching unused lua thread 00007F819C8D2FE0 (ref 1)
2020/10/18 03:50:18 [debug] 25709\#0: *127 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:18 [debug] 25709\#0: *127 http special response: 500, "/t?"
2020/10/18 03:50:18 [debug] 25709\#0: *127 http set discard body
'
sanity.t TEST 7: select query with an empty result set - status code ok got: '500'
expected: '200'
sanity.t TEST 7: select query with an empty result set - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-result: []
+<center><h1>500 Internal Server Error</h1></center>
-result: []
+<hr><center>nginx/1.19.3 (no pool)</center>
+</body>
+</html>
'
sanity.t TEST 7: select query with an empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:19 [error] 25737\#0: *154 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 7: select query with an empty result set - status code ok got: '500'
expected: '200'
sanity.t TEST 7: select query with an empty result set - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-result: []
+<center><h1>500 Internal Server Error</h1></center>
-result: []
+<hr><center>nginx/1.19.3 (no pool)</center>
+</body>
+</html>
'
sanity.t TEST 7: select query with an empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:19 [error] 25737\#0: *154 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 7: select query with an empty result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:19 [error] 25737\#0: *155 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:103):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:103): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:19 [debug] 25737\#0: *155 lua request cleanup: forcible=0
2020/10/18 03:50:19 [debug] 25737\#0: *155 lua deleting light thread
2020/10/18 03:50:19 [debug] 25737\#0: *155 lua caching unused lua thread 00007F819C9333E8 (ref 1)
2020/10/18 03:50:19 [debug] 25737\#0: *155 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:19 [debug] 25737\#0: *155 http special response: 500, "/t?"
2020/10/18 03:50:19 [debug] 25737\#0: *155 http set discard body
'
sanity.t TEST 8: numerical types - status code ok got: '500'
expected: '200'
sanity.t TEST 8: numerical types - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table foo dropped.
+<head><title>500 Internal Server Error</title></head>
-table foo created.
+<body>
-2 rows inserted into table foo (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"bah":3.14,"bar":3,"baz":4,"blah":5.16,"hah":256,"haha":1998,"id":"1","kah":"65535","lah":579},{"bah":null,"bar":null,"baz":null,"blah":null,"hah":null,"haha":null,"id":"2","kah":null,"lah":null}]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"bah":null,"bar":null,"baz":null,"blah":null,"hah":null,"haha":null,"id":"2","kah":null,"lah":null},{"bah":3.14,"bar":3,"baz":4,"blah":5.16,"hah":256,"haha":1998,"id":"1","kah":"65535","lah":579}]
+</body>
+</html>
'
sanity.t TEST 8: numerical types - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:19 [error] 25769\#0: *180 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 8: numerical types - status code ok got: '500'
expected: '200'
sanity.t TEST 8: numerical types - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table foo dropped.
+<head><title>500 Internal Server Error</title></head>
-table foo created.
+<body>
-2 rows inserted into table foo (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"bah":3.14,"bar":3,"baz":4,"blah":5.16,"hah":256,"haha":1998,"id":"1","kah":"65535","lah":579},{"bah":null,"bar":null,"baz":null,"blah":null,"hah":null,"haha":null,"id":"2","kah":null,"lah":null}]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"bah":null,"bar":null,"baz":null,"blah":null,"hah":null,"haha":null,"id":"2","kah":null,"lah":null},{"bah":3.14,"bar":3,"baz":4,"blah":5.16,"hah":256,"haha":1998,"id":"1","kah":"65535","lah":579}]
+</body>
+</html>
'
sanity.t TEST 8: numerical types - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:19 [error] 25769\#0: *180 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 8: numerical types - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:20 [error] 25769\#0: *181 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:111):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:111): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:20 [debug] 25769\#0: *181 lua request cleanup: forcible=0
2020/10/18 03:50:20 [debug] 25769\#0: *181 lua deleting light thread
2020/10/18 03:50:20 [debug] 25769\#0: *181 lua caching unused lua thread 00007F819C8D67D0 (ref 1)
2020/10/18 03:50:20 [debug] 25769\#0: *181 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:20 [debug] 25769\#0: *181 http special response: 500, "/t?"
2020/10/18 03:50:20 [debug] 25769\#0: *181 http set discard body
'
sanity.t TEST 9: multiple DDL statements - status code ok got: '500'
expected: '200'
sanity.t TEST 9: multiple DDL statements - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,7 @@
-connected to mysql.
+<html>
-result: {"affected_rows":0,"insert_id":0,"server_status":10,"warning_count":0}, err:again
+<head><title>500 Internal Server Error</title></head>
-bad result: failed to send query: cannot send query in the current context: 2: nil: nil.
+<body>
+<center><h1>500 Internal Server Error</h1></center>
+<hr><center>nginx/1.19.3 (no pool)</center>
+</body>
+</html>
'
sanity.t TEST 9: multiple DDL statements - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:20 [error] 25799\#0: *205 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 9: multiple DDL statements - status code ok got: '500'
expected: '200'
sanity.t TEST 9: multiple DDL statements - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,7 @@
-connected to mysql.
+<html>
-result: {"affected_rows":0,"insert_id":0,"server_status":10,"warning_count":0}, err:again
+<head><title>500 Internal Server Error</title></head>
-bad result: failed to send query: cannot send query in the current context: 2: nil: nil.
+<body>
+<center><h1>500 Internal Server Error</h1></center>
+<hr><center>nginx/1.19.3 (no pool)</center>
+</body>
+</html>
'
sanity.t TEST 9: multiple DDL statements - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:20 [error] 25799\#0: *205 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 9: multiple DDL statements - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:20 [error] 25799\#0: *206 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:107):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:107): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:20 [debug] 25799\#0: *206 lua request cleanup: forcible=0
2020/10/18 03:50:20 [debug] 25799\#0: *206 lua deleting light thread
2020/10/18 03:50:20 [debug] 25799\#0: *206 lua caching unused lua thread 00007F819C92E248 (ref 1)
2020/10/18 03:50:20 [debug] 25799\#0: *206 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:20 [debug] 25799\#0: *206 http special response: 500, "/t?"
2020/10/18 03:50:20 [debug] 25799\#0: *206 http set discard body
'
sanity.t TEST 10: multiple select queries - status code ok got: '500'
expected: '200'
sanity.t TEST 10: multiple select queries - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"id":"1","name":"Bob"},{"id":"2","name":""},{"id":"3","name":null}], err:again
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"id":"3","name":null},{"id":"2","name":""},{"id":"1","name":"Bob"}], err:nil
+</body>
+</html>
'
sanity.t TEST 10: multiple select queries - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:20 [error] 25828\#0: *231 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 10: multiple select queries - status code ok got: '500'
expected: '200'
sanity.t TEST 10: multiple select queries - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"id":"1","name":"Bob"},{"id":"2","name":""},{"id":"3","name":null}], err:again
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"id":"3","name":null},{"id":"2","name":""},{"id":"1","name":"Bob"}], err:nil
+</body>
+</html>
'
sanity.t TEST 10: multiple select queries - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:20 [error] 25828\#0: *231 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 10: multiple select queries - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:20 [error] 25828\#0: *232 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:118):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:118): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:20 [debug] 25828\#0: *232 lua request cleanup: forcible=0
2020/10/18 03:50:20 [debug] 25828\#0: *232 lua deleting light thread
2020/10/18 03:50:20 [debug] 25828\#0: *232 lua caching unused lua thread 00007F819C8CE3C0 (ref 1)
2020/10/18 03:50:20 [debug] 25828\#0: *232 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:20 [debug] 25828\#0: *232 http special response: 500, "/t?"
2020/10/18 03:50:20 [debug] 25828\#0: *232 http set discard body
'
sanity.t TEST 11: set_keepalive in the wrong state - status code ok got: '500'
expected: '200'
sanity.t TEST 11: set_keepalive in the wrong state - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"id":"1","name":"Bob"},{"id":"2","name":""},{"id":"3","name":null}], err:again
+<hr><center>nginx/1.19.3 (no pool)</center>
-failed to set keepalive: cannot be reused in the current connection state: 2
+</body>
+</html>
'
sanity.t TEST 11: set_keepalive in the wrong state - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:21 [error] 25858\#0: *256 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 11: set_keepalive in the wrong state - status code ok got: '500'
expected: '200'
sanity.t TEST 11: set_keepalive in the wrong state - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"id":"1","name":"Bob"},{"id":"2","name":""},{"id":"3","name":null}], err:again
+<hr><center>nginx/1.19.3 (no pool)</center>
-failed to set keepalive: cannot be reused in the current connection state: 2
+</body>
+</html>
'
sanity.t TEST 11: set_keepalive in the wrong state - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:21 [error] 25858\#0: *256 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 11: set_keepalive in the wrong state - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:21 [error] 25858\#0: *257 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:110):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:110): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:21 [debug] 25858\#0: *257 lua request cleanup: forcible=0
2020/10/18 03:50:21 [debug] 25858\#0: *257 lua deleting light thread
2020/10/18 03:50:21 [debug] 25858\#0: *257 lua caching unused lua thread 00007F819C936AA0 (ref 1)
2020/10/18 03:50:21 [debug] 25858\#0: *257 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:21 [debug] 25858\#0: *257 http special response: 500, "/t?"
2020/10/18 03:50:21 [debug] 25858\#0: *257 http set discard body
'
sanity.t TEST 12: set keepalive (tcp) - status code ok got: '500'
expected: '200'
sanity.t TEST 12: set keepalive (tcp) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":null\}\], err:nil$)'
sanity.t TEST 12: set keepalive (tcp) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:21 [error] 25887\#0: *280 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 12: set keepalive (tcp) - status code ok got: '500'
expected: '200'
sanity.t TEST 12: set keepalive (tcp) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":null\}\], err:nil$)'
sanity.t TEST 12: set keepalive (tcp) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:21 [error] 25887\#0: *280 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 12: set keepalive (tcp) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:21 [error] 25887\#0: *281 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:95):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:95): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:21 [debug] 25887\#0: *281 lua request cleanup: forcible=0
2020/10/18 03:50:21 [debug] 25887\#0: *281 lua deleting light thread
2020/10/18 03:50:21 [debug] 25887\#0: *281 lua caching unused lua thread 00007F819C8D44E0 (ref 1)
2020/10/18 03:50:21 [debug] 25887\#0: *281 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:21 [debug] 25887\#0: *281 http special response: 500, "/t?"
2020/10/18 03:50:21 [debug] 25887\#0: *281 http set discard body
'
sanity.t TEST 13: send query w/o result set (unix domain socket) - status code ok got: '500'
expected: '200'
sanity.t TEST 13: send query w/o result set (unix domain socket) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: (?:\{"insert_id":0,"server_status":2,"warning_count":1,"affected_rows":0}|{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\})$)'
sanity.t TEST 13: send query w/o result set (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:22 [error] 25915\#0: *304 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 13: send query w/o result set (unix domain socket) - status code ok got: '500'
expected: '200'
sanity.t TEST 13: send query w/o result set (unix domain socket) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: (?:\{"insert_id":0,"server_status":2,"warning_count":1,"affected_rows":0}|{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\})$)'
sanity.t TEST 13: send query w/o result set (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:22 [error] 25915\#0: *304 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 13: send query w/o result set (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:22 [error] 25915\#0: *305 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:83):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:83): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:22 [debug] 25915\#0: *305 lua request cleanup: forcible=0
2020/10/18 03:50:22 [debug] 25915\#0: *305 lua deleting light thread
2020/10/18 03:50:22 [debug] 25915\#0: *305 lua caching unused lua thread 00007F819C9334B8 (ref 1)
2020/10/18 03:50:22 [debug] 25915\#0: *305 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:22 [debug] 25915\#0: *305 http special response: 500, "/t?"
2020/10/18 03:50:22 [debug] 25915\#0: *305 http set discard body
'
sanity.t TEST 14: null at the beginning of a row - status code ok got: '500'
expected: '200'
sanity.t TEST 14: null at the beginning of a row - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"name":"Bob"},{"name":""},{"name":null}]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"name":null},{"name":""},{"name":"Bob"}]
+</body>
+</html>
'
sanity.t TEST 14: null at the beginning of a row - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:22 [error] 25943\#0: *328 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 14: null at the beginning of a row - status code ok got: '500'
expected: '200'
sanity.t TEST 14: null at the beginning of a row - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,7 @@
-connected to mysql.
+<html>
-table cats dropped.
+<head><title>500 Internal Server Error</title></head>
-table cats created.
+<body>
-3 rows inserted into table cats (last id: 1)
+<center><h1>500 Internal Server Error</h1></center>
-result: [{"name":"Bob"},{"name":""},{"name":null}]
+<hr><center>nginx/1.19.3 (no pool)</center>
-result: [{"name":null},{"name":""},{"name":"Bob"}]
+</body>
+</html>
'
sanity.t TEST 14: null at the beginning of a row - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:22 [error] 25943\#0: *328 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 14: null at the beginning of a row - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:22 [error] 25943\#0: *329 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:112):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:112): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:22 [debug] 25943\#0: *329 lua request cleanup: forcible=0
2020/10/18 03:50:22 [debug] 25943\#0: *329 lua deleting light thread
2020/10/18 03:50:22 [debug] 25943\#0: *329 lua caching unused lua thread 00007F819C8CE248 (ref 1)
2020/10/18 03:50:22 [debug] 25943\#0: *329 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:22 [debug] 25943\#0: *329 http special response: 500, "/t?"
2020/10/18 03:50:22 [debug] 25943\#0: *329 http set discard body
'
sanity.t TEST 15: set keepalive (uds) - status code ok got: '500'
expected: '200'
sanity.t TEST 15: set keepalive (uds) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":null\}\], err:nil$)'
sanity.t TEST 15: set keepalive (uds) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:23 [error] 25971\#0: *352 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 15: set keepalive (uds) - status code ok got: '500'
expected: '200'
sanity.t TEST 15: set keepalive (uds) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":null\}\], err:nil$)'
sanity.t TEST 15: set keepalive (uds) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:23 [error] 25971\#0: *352 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 15: set keepalive (uds) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:23 [error] 25971\#0: *353 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:94):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:94): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:23 [debug] 25971\#0: *353 lua request cleanup: forcible=0
2020/10/18 03:50:23 [debug] 25971\#0: *353 lua deleting light thread
2020/10/18 03:50:23 [debug] 25971\#0: *353 lua caching unused lua thread 00007F819C92E140 (ref 1)
2020/10/18 03:50:23 [debug] 25971\#0: *353 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:23 [debug] 25971\#0: *353 http special response: 500, "/t?"
2020/10/18 03:50:23 [debug] 25971\#0: *353 http set discard body
'
sanity.t TEST 16: set keepalive (explicit pool name) - status code ok got: '500'
expected: '200'
sanity.t TEST 16: set keepalive (explicit pool name) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":null\}\], err:nil$)'
sanity.t TEST 16: set keepalive (explicit pool name) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:24 [error] 25999\#0: *378 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 16: set keepalive (explicit pool name) - status code ok got: '500'
expected: '200'
sanity.t TEST 16: set keepalive (explicit pool name) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":null\}\], err:nil$)'
sanity.t TEST 16: set keepalive (explicit pool name) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:24 [error] 25999\#0: *378 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 16: set keepalive (explicit pool name) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:24 [error] 25999\#0: *379 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:97):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:97): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:24 [debug] 25999\#0: *379 lua request cleanup: forcible=0
2020/10/18 03:50:24 [debug] 25999\#0: *379 lua deleting light thread
2020/10/18 03:50:24 [debug] 25999\#0: *379 lua caching unused lua thread 00007F819C8D4210 (ref 1)
2020/10/18 03:50:24 [debug] 25999\#0: *379 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:24 [debug] 25999\#0: *379 http special response: 500, "/t?"
2020/10/18 03:50:24 [debug] 25999\#0: *379 http set discard body
'
sanity.t TEST 17: the mysql newdecimal type - status code ok got: '500'
expected: '200'
sanity.t TEST 17: the mysql newdecimal type - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"sum\(id\)":6\}\], err:nil$)'
sanity.t TEST 17: the mysql newdecimal type - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:25 [error] 26029\#0: *402 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 17: the mysql newdecimal type - status code ok got: '500'
expected: '200'
sanity.t TEST 17: the mysql newdecimal type - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql: [02]
connected to mysql: [13]
result: \[\{"sum\(id\)":6\}\], err:nil$)'
sanity.t TEST 17: the mysql newdecimal type - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:25 [error] 26029\#0: *402 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 17: the mysql newdecimal type - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:25 [error] 26029\#0: *403 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:97):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:97): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:25 [debug] 26029\#0: *403 lua request cleanup: forcible=0
2020/10/18 03:50:25 [debug] 26029\#0: *403 lua deleting light thread
2020/10/18 03:50:25 [debug] 26029\#0: *403 lua caching unused lua thread 00007F819C934138 (ref 1)
2020/10/18 03:50:25 [debug] 26029\#0: *403 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:25 [debug] 26029\#0: *403 http special response: 500, "/t?"
2020/10/18 03:50:25 [debug] 26029\#0: *403 http set discard body
'
sanity.t TEST 18: large insert_id exceeding a 32-bit integer value - status code ok got: '500'
expected: '200'
sanity.t TEST 18: large insert_id exceeding a 32-bit integer value - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: '5000000312
'
sanity.t TEST 18: large insert_id exceeding a 32-bit integer value - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:26 [error] 26058\#0: *426 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 18: large insert_id exceeding a 32-bit integer value - status code ok got: '500'
expected: '200'
sanity.t TEST 18: large insert_id exceeding a 32-bit integer value - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: '5000000312
'
sanity.t TEST 18: large insert_id exceeding a 32-bit integer value - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:26 [error] 26058\#0: *426 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 18: large insert_id exceeding a 32-bit integer value - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:26 [error] 26058\#0: *427 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:91):15: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:91): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:26 [debug] 26058\#0: *427 lua request cleanup: forcible=0
2020/10/18 03:50:26 [debug] 26058\#0: *427 lua deleting light thread
2020/10/18 03:50:26 [debug] 26058\#0: *427 lua caching unused lua thread 00007F819C8CE238 (ref 1)
2020/10/18 03:50:26 [debug] 26058\#0: *427 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:26 [debug] 26058\#0: *427 http special response: 500, "/t?"
2020/10/18 03:50:26 [debug] 26058\#0: *427 http set discard body
'
sanity.t TEST 19: fix packet number overflow - status code ok got: '500'
expected: '200'
sanity.t TEST 19: fix packet number overflow - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'success
'
sanity.t TEST 19: fix packet number overflow - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:26 [error] 26086\#0: *452 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 19: fix packet number overflow - status code ok got: '500'
expected: '200'
sanity.t TEST 19: fix packet number overflow - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'success
'
sanity.t TEST 19: fix packet number overflow - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:26 [error] 26086\#0: *452 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 19: fix packet number overflow - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:26 [error] 26086\#0: *453 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:100):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:100): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:26 [debug] 26086\#0: *453 lua request cleanup: forcible=0
2020/10/18 03:50:26 [debug] 26086\#0: *453 lua deleting light thread
2020/10/18 03:50:26 [debug] 26086\#0: *453 lua caching unused lua thread 00007F819C933288 (ref 1)
2020/10/18 03:50:26 [debug] 26086\#0: *453 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:26 [debug] 26086\#0: *453 http special response: 500, "/t?"
2020/10/18 03:50:26 [debug] 26086\#0: *453 http set discard body
'
sanity.t TEST 20: 251 columns - status code ok got: '500'
expected: '200'
sanity.t TEST 20: 251 columns - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'success
'
sanity.t TEST 20: 251 columns - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26116\#0: *477 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 20: 251 columns - status code ok got: '500'
expected: '200'
sanity.t TEST 20: 251 columns - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'success
'
sanity.t TEST 20: 251 columns - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26116\#0: *477 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 20: 251 columns - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26116\#0: *478 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:108):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:108): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:27 [debug] 26116\#0: *478 lua request cleanup: forcible=0
2020/10/18 03:50:27 [debug] 26116\#0: *478 lua deleting light thread
2020/10/18 03:50:27 [debug] 26116\#0: *478 lua caching unused lua thread 00007F819C8D2F28 (ref 1)
2020/10/18 03:50:27 [debug] 26116\#0: *478 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:27 [debug] 26116\#0: *478 http special response: 500, "/t?"
2020/10/18 03:50:27 [debug] 26116\#0: *478 http set discard body
'
sanity.t TEST 21: MySQL has hard limit of 4096 columns per table - status code ok got: '500'
expected: '200'
sanity.t TEST 21: MySQL has hard limit of 4096 columns per table - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:bad result: .*Too many columns.*.
)'
sanity.t TEST 21: MySQL has hard limit of 4096 columns per table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26145\#0: *503 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 21: MySQL has hard limit of 4096 columns per table - status code ok got: '500'
expected: '200'
sanity.t TEST 21: MySQL has hard limit of 4096 columns per table - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:bad result: .*Too many columns.*.
)'
sanity.t TEST 21: MySQL has hard limit of 4096 columns per table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26145\#0: *503 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 21: MySQL has hard limit of 4096 columns per table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26145\#0: *504 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:108):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:108): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:27 [debug] 26145\#0: *504 lua request cleanup: forcible=0
2020/10/18 03:50:27 [debug] 26145\#0: *504 lua deleting light thread
2020/10/18 03:50:27 [debug] 26145\#0: *504 lua caching unused lua thread 00007F819C936458 (ref 1)
2020/10/18 03:50:27 [debug] 26145\#0: *504 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:27 [debug] 26145\#0: *504 http special response: 500, "/t?"
2020/10/18 03:50:27 [debug] 26145\#0: *504 http set discard body
'
sanity.t TEST 22: InnoDB has a limit of 1017 columns per table - status code ok got: '500'
expected: '200'
sanity.t TEST 22: InnoDB has a limit of 1017 columns per table - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:bad result: .*?(?:Too many columns|Can't create table 'ngx_test\.test1018' \(errno: 139\)))'
sanity.t TEST 22: InnoDB has a limit of 1017 columns per table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26175\#0: *528 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 22: InnoDB has a limit of 1017 columns per table - status code ok got: '500'
expected: '200'
sanity.t TEST 22: InnoDB has a limit of 1017 columns per table - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:bad result: .*?(?:Too many columns|Can't create table 'ngx_test\.test1018' \(errno: 139\)))'
sanity.t TEST 22: InnoDB has a limit of 1017 columns per table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:27 [error] 26175\#0: *528 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 22: InnoDB has a limit of 1017 columns per table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:28 [error] 26175\#0: *529 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:108):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:108): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:28 [debug] 26175\#0: *529 lua request cleanup: forcible=0
2020/10/18 03:50:28 [debug] 26175\#0: *529 lua deleting light thread
2020/10/18 03:50:28 [debug] 26175\#0: *529 lua caching unused lua thread 00007F819C8CE248 (ref 1)
2020/10/18 03:50:28 [debug] 26175\#0: *529 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:28 [debug] 26175\#0: *529 http special response: 500, "/t?"
2020/10/18 03:50:28 [debug] 26175\#0: *529 http set discard body
'
sanity.t TEST 23: MyISAM columns per table > 1017 - status code ok got: '500'
expected: '200'
sanity.t TEST 23: MyISAM columns per table > 1017 - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'success
'
sanity.t TEST 23: MyISAM columns per table > 1017 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:28 [error] 26204\#0: *552 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 23: MyISAM columns per table > 1017 - status code ok got: '500'
expected: '200'
sanity.t TEST 23: MyISAM columns per table > 1017 - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'success
'
sanity.t TEST 23: MyISAM columns per table > 1017 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:28 [error] 26204\#0: *552 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 23: MyISAM columns per table > 1017 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:28 [error] 26204\#0: *553 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:108):5: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:108): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:28 [debug] 26204\#0: *553 lua request cleanup: forcible=0
2020/10/18 03:50:28 [debug] 26204\#0: *553 lua deleting light thread
2020/10/18 03:50:28 [debug] 26204\#0: *553 lua caching unused lua thread 00007F819C933238 (ref 1)
2020/10/18 03:50:28 [debug] 26204\#0: *553 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:28 [debug] 26204\#0: *553 http special response: 500, "/t?"
2020/10/18 03:50:28 [debug] 26204\#0: *553 http set discard body
'
sanity.t TEST 24: connected with no error when pool opts are provided - status code ok got: '500'
expected: '200'
sanity.t TEST 24: connected with no error when pool opts are provided - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:connected to mysql \d\.[^\s\x00]+
)'
sanity.t TEST 24: connected with no error when pool opts are provided - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:28 [error] 26232\#0: *576 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 24: connected with no error when pool opts are provided - status code ok got: '500'
expected: '200'
sanity.t TEST 24: connected with no error when pool opts are provided - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:connected to mysql \d\.[^\s\x00]+
)'
sanity.t TEST 24: connected with no error when pool opts are provided - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:28 [error] 26232\#0: *576 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 24: connected with no error when pool opts are provided - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:28 [error] 26232\#0: *577 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:69):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:69): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:28 [debug] 26232\#0: *577 lua request cleanup: forcible=0
2020/10/18 03:50:28 [debug] 26232\#0: *577 lua deleting light thread
2020/10/18 03:50:28 [debug] 26232\#0: *577 lua caching unused lua thread 00007F819C8D40E0 (ref 1)
2020/10/18 03:50:28 [debug] 26232\#0: *577 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:28 [debug] 26232\#0: *577 http special response: 500, "/t?"
2020/10/18 03:50:28 [debug] 26232\#0: *577 http set discard body
'
sanity.t TEST 25: set pool_size option no backlog option - status code ok got: '500'
expected: '200'
sanity.t TEST 25: set pool_size option no backlog option - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:connected to mysql
)'
sanity.t TEST 25: set pool_size option no backlog option - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:29 [error] 26260\#0: *600 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 25: set pool_size option no backlog option - status code ok got: '500'
expected: '200'
sanity.t TEST 25: set pool_size option no backlog option - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:connected to mysql
)'
sanity.t TEST 25: set pool_size option no backlog option - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:29 [error] 26260\#0: *600 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
sanity.t TEST 25: set pool_size option no backlog option - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:29 [error] 26260\#0: *601 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:74):5: attempt to index upvalue 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:74): in function 'mysql_conn'
content_by_lua(nginx.conf:74):24: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:29 [debug] 26260\#0: *601 lua request cleanup: forcible=0
2020/10/18 03:50:29 [debug] 26260\#0: *601 lua deleting light thread
2020/10/18 03:50:29 [debug] 26260\#0: *601 lua caching unused lua thread 00007F819C934008 (ref 1)
2020/10/18 03:50:29 [debug] 26260\#0: *601 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:29 [debug] 26260\#0: *601 http special response: 500, "/t?"
'
sanity.t TEST 26: set the pool_size and backlog options at the same time - status code ok got: '500'
expected: '200'
sanity.t TEST 26: set the pool_size and backlog options at the same time - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: timeout
failed to connect: timeout
failed to connect: timeout
failed to connect: timeout
failed to connect: timeout
)'
sanity.t TEST 26: set the pool_size and backlog options at the same time - response_body_like - response is expected () ''
doesn't match '(?^s:failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: too many waiting connect operations
failed to connect: timeout
failed to connect: timeout
failed to connect: timeout
failed to connect: timeout
failed to connect: timeout
)'
ssl.t TEST 1: send query w/o result set - status code ok got: '500'
expected: '200'
ssl.t TEST 1: send query w/o result set - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: \{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\}$)'
ssl.t TEST 1: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:29 [error] 26322\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
ssl.t TEST 1: send query w/o result set - status code ok got: '500'
expected: '200'
ssl.t TEST 1: send query w/o result set - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: \{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\}$)'
ssl.t TEST 1: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:29 [error] 26322\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
ssl.t TEST 1: send query w/o result set - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:50:29 [error] 26322\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:86):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:86): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:50:29 [debug] 26322\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:50:29 [debug] 26322\#0: *2 lua deleting light thread
2020/10/18 03:50:29 [debug] 26322\#0: *2 lua caching unused lua thread 00007FCC42677000 (ref 1)
2020/10/18 03:50:29 [debug] 26322\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:50:29 [debug] 26322\#0: *2 http special response: 500, "/t?"
2020/10/18 03:50:29 [debug] 26322\#0: *2 http set discard body
'
ssl.t TEST 2: send query w/o result set (verify) - failed to reload configuration after 200 failed test requests
ssl.t TEST 2: send query w/o result set (verify) - status code ok got: '500'
expected: '200'
ssl.t TEST 2: send query w/o result set (verify) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: \{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\}$)'
ssl.t TEST 2: send query w/o result set (verify) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:44 [error] 26322\#0: *203 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:86):3: attempt to index local 'mysql' (a number value)" (req 0) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:86): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:53:44 [debug] 26322\#0: *203 lua request cleanup: forcible=0
2020/10/18 03:53:44 [debug] 26322\#0: *203 lua deleting light thread
2020/10/18 03:53:44 [debug] 26322\#0: *203 lua caching unused lua thread 00007FCC42677000 (ref 1)
2020/10/18 03:53:44 [debug] 26322\#0: *203 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:53:44 [debug] 26322\#0: *203 http special response: 500, "/t?"
2020/10/18 03:53:44 [debug] 26322\#0: *203 http set discard body
'
ssl.t TEST 2: send query w/o result set (verify) - status code ok got: '500'
expected: '200'
ssl.t TEST 2: send query w/o result set (verify) - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^connected to mysql \d\.[^\s\x00]+\.
sent 30 bytes\.
result: \{"affected_rows":0,"insert_id":0,"server_status":2,"warning_count":[01]\}$)'
ssl.t TEST 2: send query w/o result set (verify) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:44 [error] 26322\#0: *203 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:86):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:86): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:53:44 [debug] 26322\#0: *203 lua request cleanup: forcible=0
2020/10/18 03:53:44 [debug] 26322\#0: *203 lua deleting light thread
2020/10/18 03:53:44 [debug] 26322\#0: *203 lua caching unused lua thread 00007FCC42677000 (ref 1)
2020/10/18 03:53:44 [debug] 26322\#0: *203 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:53:44 [debug] 26322\#0: *203 http special response: 500, "/t?"
2020/10/18 03:53:44 [debug] 26322\#0: *203 http set discard body
'
ssl.t TEST 2: send query w/o result set (verify) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:44 [error] 26322\#0: *204 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:86):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:86): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:53:44 [debug] 26322\#0: *204 lua request cleanup: forcible=0
2020/10/18 03:53:44 [debug] 26322\#0: *204 lua deleting light thread
2020/10/18 03:53:44 [debug] 26322\#0: *204 lua caching unused lua thread 00007FCC42677000 (ref 1)
2020/10/18 03:53:44 [debug] 26322\#0: *204 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:53:44 [debug] 26322\#0: *204 http special response: 500, "/t?"
2020/10/18 03:53:44 [debug] 26322\#0: *204 http set discard body
'
ssl.t TEST 3: send query w/o result set (verify, failed) - status code ok got: '500'
expected: '200'
ssl.t TEST 3: send query w/o result set (verify, failed) - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'failed to connect: failed to do ssl handshake: 18: self signed certificate: nil nil
'
ssl.t TEST 3: send query w/o result set (verify, failed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
ssl.t TEST 3: send query w/o result set (verify, failed) - status code ok got: '500'
expected: '200'
ssl.t TEST 3: send query w/o result set (verify, failed) - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
expected: 'failed to connect: failed to do ssl handshake: 18: self signed certificate: nil nil
'
ssl.t TEST 3: send query w/o result set (verify, failed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
stream.t TEST 1: connected (support in stream module) - response_body_like - response is expected () ''
doesn't match '(?^s:connected to mysql \d\.[^\s\x00]+
)'
stream.t TEST 1: connected (support in stream module) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:44 [error] 26578\#0: *3 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
stream.t TEST 1: connected (support in stream module) - response_body_like - response is expected () ''
doesn't match '(?^s:connected to mysql \d\.[^\s\x00]+
)'
stream.t TEST 1: connected (support in stream module) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:44 [error] 26578\#0: *3 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
stream.t TEST 1: connected (support in stream module) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:45 [error] 26578\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:46):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:46): in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985
2020/10/18 03:53:45 [debug] 26578\#0: *6 lua request cleanup: forcible=0
2020/10/18 03:53:45 [debug] 26578\#0: *6 finalize stream request: 500
2020/10/18 03:53:45 [debug] 26578\#0: *6 finalize stream session: 500
2020/10/18 03:53:45 [debug] 26578\#0: *6 stream log handler
2020/10/18 03:53:45 [debug] 26578\#0: *6 close stream connection: 13
2020/10/18 03:53:45 [debug] 26578\#0: *6 reusable connection: 0
'
version.t TEST 1: basic - status code ok got: '500'
expected: '200'
version.t TEST 1: basic - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^\d+\.\d+$)'
version.t TEST 1: basic - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:45 [error] 26589\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
no file '/opt/luajit/share/lua/5.1/resty/sha256.lua'
'
version.t TEST 1: basic - status code ok got: '500'
expected: '200'
version.t TEST 1: basic - 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.19.3 (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.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^\d+\.\d+$)'
version.t TEST 1: basic - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:45 [error] 26589\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:45):3: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:45): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:53:45 [debug] 26589\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:53:45 [debug] 26589\#0: *2 lua deleting light thread
2020/10/18 03:53:45 [debug] 26589\#0: *2 lua caching unused lua thread 00007F39135D3210 (ref 1)
2020/10/18 03:53:45 [debug] 26589\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:53:45 [debug] 26589\#0: *2 http special response: 500, "/t?"
2020/10/18 03:53:45 [debug] 26589\#0: *2 http set discard body
'
world.t TEST 1: test an old bug in table.new() on i386 in luajit v2.1 - status code ok got: '500'
expected: '200'
world.t TEST 1: test an old bug in table.new() on i386 in luajit v2.1 - response_body - response is expected (repeated req 0, req 0) @@ -1,50 +1,7 @@
-ncols: 5
+<html>
-ncols: 5
+<head><title>500 Internal Server Error</title></head>
-ncols: 5
+<body>
-ncols: 5
+<center><h1>500 Internal Server Error</h1></center>
-ncols: 5
+<hr><center>nginx/1.19.3 (no pool)</center>
-ncols: 5
+</body>
-ncols: 5
+</html>
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
'
world.t TEST 1: test an old bug in table.new() on i386 in luajit v2.1 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:45 [error] 26599\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 0) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
world.t TEST 1: test an old bug in table.new() on i386 in luajit v2.1 - status code ok got: '500'
expected: '200'
world.t TEST 1: test an old bug in table.new() on i386 in luajit v2.1 - response_body - response is expected (repeated req 1, req 0) @@ -1,50 +1,7 @@
-ncols: 5
+<html>
-ncols: 5
+<head><title>500 Internal Server Error</title></head>
-ncols: 5
+<body>
-ncols: 5
+<center><h1>500 Internal Server Error</h1></center>
-ncols: 5
+<hr><center>nginx/1.19.3 (no pool)</center>
-ncols: 5
+</body>
-ncols: 5
+</html>
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
-ncols: 5
'
world.t TEST 1: test an old bug in table.new() on i386 in luajit v2.1 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:45 [error] 26599\#0: *1 lua entry thread aborted: runtime error: /home/ec2-user/git/lua-resty-mysql/lib/resty/mysql.lua:5: module 'resty.sha256' not found:" (req 1) no field package.preload['resty.sha256']
no file '/home/ec2-user/git/lua-resty-mysql/lib/resty/sha256.lua'
no file '/home/ec2-user/git/lua-resty-mysql/t/lib/resty/sha256.lua'
no file '../lua-resty-core/lib/resty/sha256.lua'
no file '../lua-resty-lrucache/lib/resty/sha256.lua'
no file './resty/sha256.lua'
no file '/opt/luajit/share/luajit-2.1.0-beta3/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256.lua'
no file '/usr/local/share/lua/5.1/resty/sha256/init.lua'
'
world.t TEST 1: test an old bug in table.new() on i386 in luajit v2.1 - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 03:53:45 [error] 26599\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:84):4: attempt to index local 'mysql' (a number value)" (req 1) stack traceback:
coroutine 0:
content_by_lua(nginx.conf:84): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/18 03:53:45 [debug] 26599\#0: *2 lua request cleanup: forcible=0
2020/10/18 03:53:45 [debug] 26599\#0: *2 lua deleting light thread
2020/10/18 03:53:45 [debug] 26599\#0: *2 lua caching unused lua thread 00007F08EB7034D0 (ref 1)
2020/10/18 03:53:45 [debug] 26599\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/18 03:53:45 [debug] 26599\#0: *2 http special response: 500, "/t?"
2020/10/18 03:53:45 [debug] 26599\#0: *2 http set discard body
'

Expected Failures

File Name Details
sanity.t TEST 12: set keepalive (tcp) - pattern "(?^:lua tcp socket keepalive create connection pool for key "ngx_test:ngx_test:[^\s:]+:\d+")" should match a line in error.log (req 0)
sanity.t TEST 12: set keepalive (tcp) - pattern "(?^:lua tcp socket keepalive create connection pool for key "ngx_test:ngx_test:[^\s:]+:\d+")" should match a line in error.log (req 1)
sanity.t TEST 15: set keepalive (uds) - pattern "(?^:lua tcp socket keepalive create connection pool for key "ngx_test:ngx_test:[^\s:]+")" should match a line in error.log (req 0)
sanity.t TEST 15: set keepalive (uds) - pattern "(?^:lua tcp socket keepalive create connection pool for key "ngx_test:ngx_test:[^\s:]+")" should match a line in error.log (req 1)
sanity.t TEST 16: set keepalive (explicit pool name) - pattern "(?^:lua tcp socket keepalive create connection pool for key "my_pool")" should match a line in error.log (req 0)
sanity.t TEST 16: set keepalive (explicit pool name) - pattern "(?^:lua tcp socket keepalive create connection pool for key "my_pool")" should match a line in error.log (req 1)
sanity.t TEST 17: the mysql newdecimal type - pattern "(?^:lua tcp socket keepalive create connection pool for key "my_pool")" should match a line in error.log (req 0)
sanity.t TEST 17: the mysql newdecimal type - pattern "(?^:lua tcp socket keepalive create connection pool for key "my_pool")" should match a line in error.log (req 1)
sanity.t TEST 26: set the pool_size and backlog options at the same time - pattern "lua tcp socket queued connect timed out" should match a line in error.log (req 0)
sanity.t TEST 26: set the pool_size and backlog options at the same time - pattern "lua tcp socket queued connect timed out" should match a line in error.log (req 1)

Warnings

Go back to the index page.