(This page was automatically generated by the tools in the opsboy project on 08:27:38 31-Jan-2023 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
028c0d49 2020-01-28 22:50:32 GMT 63 544 200 21012 6798 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

Compilation Errors

Unexpected Failures

File Name Details
001-set.t TEST 42: server scope (file) ==23224== Syscall param write(buf) points to uninitialised byte(s)
==23224== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23224== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23224== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23224== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23224== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23224== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23224== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23224== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23224== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23224== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23224== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23224== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23224== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23224== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23224== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23224== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23224== by 0x42332B: main (nginx.c:382)
==23224== Address 0x1ffeffea6c is on thread 1's stack
==23224== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23224==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 42: server scope (file) ==23224== Use of uninitialised value of size 8
==23224== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23224== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23224== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23224== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23224== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23224== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23224== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23224== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23224== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23224== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23224== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23224== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23224== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23224== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23224== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23224== by 0x42332B: main (nginx.c:382)
==23224==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 42: server scope (file) ==23224== Use of uninitialised value of size 8
==23224== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23224== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23224== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23224== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23224== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23224== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23224== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23224== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23224== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23224== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23224== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23224== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23224== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23224== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23224== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23224== by 0x42332B: main (nginx.c:382)
==23224==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 42: server scope (file) ==23224== Syscall param write(buf) points to uninitialised byte(s)
==23224== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23224== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23224== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23224== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23224== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23224== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23224== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23224== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23224== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23224== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23224== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23224== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23224== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23224== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23224== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23224== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23224== by 0x42332B: main (nginx.c:382)
==23224== Address 0x1ffeffea6a is on thread 1's stack
==23224== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23224==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 44: location if scope (file) ==23228== Syscall param write(buf) points to uninitialised byte(s)
==23228== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23228== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23228== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23228== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23228== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23228== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23228== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23228== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23228== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23228== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23228== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23228== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23228== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23228== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23228== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23228== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23228== by 0x42332B: main (nginx.c:382)
==23228== Address 0x1ffeffea6c is on thread 1's stack
==23228== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23228==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 44: location if scope (file) ==23228== Use of uninitialised value of size 8
==23228== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23228== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23228== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23228== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23228== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23228== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23228== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23228== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23228== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23228== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23228== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23228== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23228== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23228== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23228== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23228== by 0x42332B: main (nginx.c:382)
==23228==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 44: location if scope (file) ==23228== Use of uninitialised value of size 8
==23228== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23228== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23228== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23228== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23228== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23228== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23228== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23228== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23228== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23228== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23228== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23228== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23228== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23228== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23228== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23228== by 0x42332B: main (nginx.c:382)
==23228==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 44: location if scope (file) ==23228== Syscall param write(buf) points to uninitialised byte(s)
==23228== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23228== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23228== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23228== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23228== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23228== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23228== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23228== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23228== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23228== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23228== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23228== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23228== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23228== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23228== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23228== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23228== by 0x42332B: main (nginx.c:382)
==23228== Address 0x1ffeffea6a is on thread 1's stack
==23228== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23228==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 33: external script files with arguments ==23233== Syscall param write(buf) points to uninitialised byte(s)
==23233== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23233== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23233== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23233== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23233== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23233== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23233== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23233== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23233== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23233== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23233== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23233== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23233== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23233== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23233== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23233== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23233== by 0x42332B: main (nginx.c:382)
==23233== Address 0x1ffeffea6c is on thread 1's stack
==23233== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23233==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 33: external script files with arguments ==23233== Use of uninitialised value of size 8
==23233== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23233== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23233== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23233== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23233== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23233== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23233== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23233== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23233== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23233== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23233== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23233== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23233== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23233== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23233== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23233== by 0x42332B: main (nginx.c:382)
==23233==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 33: external script files with arguments ==23233== Use of uninitialised value of size 8
==23233== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23233== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23233== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23233== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23233== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23233== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23233== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23233== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23233== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23233== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23233== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23233== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23233== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23233== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23233== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23233== by 0x42332B: main (nginx.c:382)
==23233==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 33: external script files with arguments ==23233== Syscall param write(buf) points to uninitialised byte(s)
==23233== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23233== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23233== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23233== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23233== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23233== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23233== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23233== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23233== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23233== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23233== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23233== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23233== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23233== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23233== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23233== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23233== by 0x42332B: main (nginx.c:382)
==23233== Address 0x1ffeffea6a is on thread 1's stack
==23233== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23233==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 46: Lua file does not exist ==23240== Syscall param write(buf) points to uninitialised byte(s)
==23240== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23240== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23240== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23240== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23240== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23240== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23240== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23240== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23240== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23240== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23240== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23240== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23240== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23240== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23240== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23240== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23240== by 0x42332B: main (nginx.c:382)
==23240== Address 0x1ffeffea6c is on thread 1's stack
==23240== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23240==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 46: Lua file does not exist ==23240== Use of uninitialised value of size 8
==23240== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23240== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23240== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23240== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23240== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23240== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23240== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23240== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23240== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23240== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23240== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23240== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23240== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23240== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23240== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23240== by 0x42332B: main (nginx.c:382)
==23240==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 46: Lua file does not exist ==23240== Use of uninitialised value of size 8
==23240== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23240== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23240== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23240== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23240== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23240== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23240== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23240== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23240== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23240== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23240== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23240== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23240== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23240== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23240== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23240== by 0x42332B: main (nginx.c:382)
==23240==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 46: Lua file does not exist ==23240== Syscall param write(buf) points to uninitialised byte(s)
==23240== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23240== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23240== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23240== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23240== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23240== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23240== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23240== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23240== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23240== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23240== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23240== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23240== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23240== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23240== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23240== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23240== by 0x42332B: main (nginx.c:382)
==23240== Address 0x1ffeffea6a is on thread 1's stack
==23240== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23240==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 43: server if scope (file) ==23241== Syscall param write(buf) points to uninitialised byte(s)
==23241== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23241== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23241== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23241== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23241== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23241== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23241== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23241== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23241== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23241== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23241== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23241== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23241== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23241== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23241== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23241== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23241== by 0x42332B: main (nginx.c:382)
==23241== Address 0x1ffeffea6c is on thread 1's stack
==23241== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23241==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 43: server if scope (file) ==23241== Use of uninitialised value of size 8
==23241== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23241== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23241== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23241== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23241== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23241== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23241== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23241== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23241== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23241== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23241== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23241== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23241== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23241== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23241== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23241== by 0x42332B: main (nginx.c:382)
==23241==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 43: server if scope (file) ==23241== Use of uninitialised value of size 8
==23241== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23241== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23241== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23241== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23241== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23241== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23241== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23241== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23241== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23241== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23241== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23241== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23241== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23241== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23241== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23241== by 0x42332B: main (nginx.c:382)
==23241==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 43: server if scope (file) ==23241== Syscall param write(buf) points to uninitialised byte(s)
==23241== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23241== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23241== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23241== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23241== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23241== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23241== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23241== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23241== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23241== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23241== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23241== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23241== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23241== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23241== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23241== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23241== by 0x42332B: main (nginx.c:382)
==23241== Address 0x1ffeffea6a is on thread 1's stack
==23241== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23241==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 32: symbol $ in lua code of set_by_lua_file ==23248== Syscall param write(buf) points to uninitialised byte(s)
==23248== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23248== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23248== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23248== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23248== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23248== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23248== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23248== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23248== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23248== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23248== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23248== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23248== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23248== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23248== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23248== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23248== by 0x42332B: main (nginx.c:382)
==23248== Address 0x1ffeffea6c is on thread 1's stack
==23248== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23248==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 32: symbol $ in lua code of set_by_lua_file ==23248== Use of uninitialised value of size 8
==23248== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23248== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23248== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23248== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23248== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23248== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23248== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23248== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23248== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23248== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23248== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23248== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23248== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23248== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23248== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23248== by 0x42332B: main (nginx.c:382)
==23248==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 32: symbol $ in lua code of set_by_lua_file ==23248== Use of uninitialised value of size 8
==23248== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23248== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23248== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23248== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23248== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23248== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23248== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23248== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23248== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23248== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23248== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23248== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23248== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23248== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23248== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23248== by 0x42332B: main (nginx.c:382)
==23248==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
001-set.t TEST 32: symbol $ in lua code of set_by_lua_file ==23248== Syscall param write(buf) points to uninitialised byte(s)
==23248== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23248== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23248== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23248== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23248== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23248== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23248== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23248== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23248== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23248== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23248== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23248== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23248== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23248== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23248== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23248== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23248== by 0x42332B: main (nginx.c:382)
==23248== Address 0x1ffeffea6a is on thread 1's stack
==23248== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23248==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 2: syntax error in lua file ==23314== Syscall param write(buf) points to uninitialised byte(s)
==23314== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23314== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23314== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23314== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23314== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23314== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23314== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23314== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23314== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23314== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23314== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23314== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23314== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23314== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23314== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23314== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23314== by 0x42332B: main (nginx.c:382)
==23314== Address 0x1ffeffea6c is on thread 1's stack
==23314== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23314==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 2: syntax error in lua file ==23314== Use of uninitialised value of size 8
==23314== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23314== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23314== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23314== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23314== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23314== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23314== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23314== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23314== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23314== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23314== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23314== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23314== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23314== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23314== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23314== by 0x42332B: main (nginx.c:382)
==23314==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 2: syntax error in lua file ==23314== Use of uninitialised value of size 8
==23314== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23314== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23314== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23314== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23314== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23314== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23314== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23314== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23314== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23314== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23314== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23314== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23314== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23314== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23314== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23314== by 0x42332B: main (nginx.c:382)
==23314==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 2: syntax error in lua file ==23314== Syscall param write(buf) points to uninitialised byte(s)
==23314== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23314== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23314== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23314== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23314== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23314== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23314== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23314== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23314== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23314== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23314== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23314== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23314== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23314== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23314== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23314== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23314== by 0x42332B: main (nginx.c:382)
==23314== Address 0x1ffeffea6a is on thread 1's stack
==23314== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23314==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 3: syntax error in lua file (from Guang Feng) ==23317== Syscall param write(buf) points to uninitialised byte(s)
==23317== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23317== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23317== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23317== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==23317== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23317== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23317== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23317== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23317== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23317== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23317== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23317== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23317== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23317== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23317== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23317== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23317== by 0x42332B: main (nginx.c:382)
==23317== Address 0x1ffeffea6c is on thread 1's stack
==23317== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23317==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 3: syntax error in lua file (from Guang Feng) ==23317== Use of uninitialised value of size 8
==23317== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==23317== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23317== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23317== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23317== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23317== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23317== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23317== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23317== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23317== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23317== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23317== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23317== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23317== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23317== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23317== by 0x42332B: main (nginx.c:382)
==23317==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 3: syntax error in lua file (from Guang Feng) ==23317== Use of uninitialised value of size 8
==23317== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==23317== by 0x5478256: lua_rawgeti (lj_api.c:823)
==23317== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==23317== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23317== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23317== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23317== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23317== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23317== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23317== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23317== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23317== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23317== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23317== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23317== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23317== by 0x42332B: main (nginx.c:382)
==23317==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
003-errors.t TEST 3: syntax error in lua file (from Guang Feng) ==23317== Syscall param write(buf) points to uninitialised byte(s)
==23317== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==23317== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==23317== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==23317== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==23317== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==23317== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==23317== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==23317== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==23317== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==23317== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==23317== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==23317== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==23317== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==23317== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==23317== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==23317== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==23317== by 0x42332B: main (nginx.c:382)
==23317== Address 0x1ffeffea6a is on thread 1's stack
==23317== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==23317==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 41: same chunk from different directives produces different closures - grep_error_log_out (req 0) @@ -2,27 +2,3 @@
code cache miss (key='content_by_lua_nhli_56ca4388611109b6ecfdeada050c8024', ref=-1)
code cache lookup (key='balancer_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
code cache miss (key='balancer_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache hit (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache hit (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache lookup (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
'
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "[error]" should not match any line in error.log but matches line "2020/01/28 23:33:44 [error] 24470\#0: *1 [lua] content_by_lua(nginx.conf:120):15: failed to do SSL handshake: handshake failed while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/28 23:33:44 [debug] 24470\#0: *1 lua resume returned 0
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua light thread ended normally
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua deleting light thread
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua header filter for user lua code, uri "/t"
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua capture header filter, uri "/t"
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC130:16
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC180:16
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC1D0:80
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC260:16
'
025-codecache.t TEST 41: same chunk from different directives produces different closures - grep_error_log_out (req 1) @@ -2,55 +2,7 @@
code cache miss (key='content_by_lua_nhli_56ca4388611109b6ecfdeada050c8024', ref=-1)
code cache lookup (key='balancer_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
code cache miss (key='balancer_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache hit (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache hit (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache lookup (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache lookup (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
-code cache miss (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=-1)
code cache lookup (key='content_by_lua_nhli_56ca4388611109b6ecfdeada050c8024', ref=1)
code cache hit (key='content_by_lua_nhli_56ca4388611109b6ecfdeada050c8024', ref=1)
code cache lookup (key='balancer_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=2)
code cache hit (key='balancer_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=2)
-code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache hit (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache hit (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache lookup (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=5)
-code cache hit (key='ssl_session_fetch_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=5)
-code cache lookup (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache hit (key='ssl_certificate_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=3)
-code cache lookup (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache hit (key='ssl_session_store_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=4)
-code cache lookup (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=6)
-code cache hit (key='set_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=6)
-code cache lookup (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=7)
-code cache hit (key='rewrite_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=7)
-code cache lookup (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=8)
-code cache hit (key='access_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=8)
-code cache lookup (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=9)
-code cache hit (key='content_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=9)
-code cache lookup (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=10)
-code cache hit (key='header_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=10)
-code cache lookup (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=11)
-code cache hit (key='body_filter_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=11)
-code cache lookup (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=12)
-code cache hit (key='log_by_lua_nhli_8a9441d0a30531ba8bb34ab11c55cfc3', ref=12)
'
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "[error]" should not match any line in error.log but matches line "2020/01/28 23:33:44 [error] 24470\#0: *1 [lua] content_by_lua(nginx.conf:120):15: failed to do SSL handshake: handshake failed while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/01/28 23:33:44 [debug] 24470\#0: *1 lua resume returned 0
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua light thread ended normally
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua deleting light thread
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua header filter for user lua code, uri "/t"
2020/01/28 23:33:44 [debug] 24470\#0: *1 lua capture header filter, uri "/t"
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC130:16
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC180:16
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC1D0:80
2020/01/28 23:33:44 [debug] 24470\#0: *1 malloc: 00000000088FC260:16
'
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "[error]" should not match any line in error.log but matches line "2020/01/28 23:33:44 [error] 24470\#0: *6 [lua] content_by_lua(nginx.conf:120):15: failed to do SSL handshake: handshake failed while sending to client, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/01/28 23:33:44 [debug] 24470\#0: *6 lua resume returned 0
2020/01/28 23:33:44 [debug] 24470\#0: *6 lua light thread ended normally
2020/01/28 23:33:44 [debug] 24470\#0: *6 lua deleting light thread
2020/01/28 23:33:44 [debug] 24470\#0: *6 lua header filter for user lua code, uri "/t"
2020/01/28 23:33:44 [debug] 24470\#0: *6 lua capture header filter, uri "/t"
2020/01/28 23:33:44 [debug] 24470\#0: *6 malloc: 000000000891DB60:16
2020/01/28 23:33:44 [debug] 24470\#0: *6 malloc: 000000000891DBB0:16
2020/01/28 23:33:44 [debug] 24470\#0: *6 malloc: 000000000891DC00:80
2020/01/28 23:33:44 [debug] 24470\#0: *6 malloc: 000000000891DC90:16
'
025-codecache.t TEST 10: code cache explicitly off + set_by_lua_file ==24481== Syscall param write(buf) points to uninitialised byte(s)
==24481== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24481== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24481== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24481== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==24481== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24481== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24481== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24481== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24481== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24481== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24481== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24481== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24481== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24481== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24481== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24481== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24481== by 0x42332B: main (nginx.c:382)
==24481== Address 0x1ffeffe9bc is on thread 1's stack
==24481== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24481==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 10: code cache explicitly off + set_by_lua_file ==24481== Use of uninitialised value of size 8
==24481== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==24481== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24481== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24481== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24481== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24481== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24481== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24481== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24481== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24481== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24481== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24481== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24481== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24481== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24481== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24481== by 0x42332B: main (nginx.c:382)
==24481==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 10: code cache explicitly off + set_by_lua_file ==24481== Use of uninitialised value of size 8
==24481== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==24481== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24481== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24481== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24481== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24481== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24481== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24481== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24481== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24481== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24481== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24481== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24481== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24481== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24481== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24481== by 0x42332B: main (nginx.c:382)
==24481==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 10: code cache explicitly off + set_by_lua_file ==24481== Syscall param write(buf) points to uninitialised byte(s)
==24481== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24481== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24481== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24481== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==24481== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24481== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24481== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24481== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24481== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24481== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24481== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24481== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24481== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24481== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24481== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24481== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24481== by 0x42332B: main (nginx.c:382)
==24481== Address 0x1ffeffe9ba is on thread 1's stack
==24481== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24481==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 22: set by lua file ==24482== Syscall param write(buf) points to uninitialised byte(s)
==24482== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24482== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24482== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24482== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==24482== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24482== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24482== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24482== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24482== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24482== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24482== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24482== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==24482== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==24482== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24482== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24482== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24482== by 0x42332B: main (nginx.c:382)
==24482== Address 0x1ffeffe9ac is on thread 1's stack
==24482== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24482==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 22: set by lua file ==24482== Use of uninitialised value of size 8
==24482== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==24482== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24482== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24482== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24482== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24482== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24482== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24482== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24482== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24482== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24482== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==24482== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==24482== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24482== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24482== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24482== by 0x42332B: main (nginx.c:382)
==24482==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 22: set by lua file ==24482== Use of uninitialised value of size 8
==24482== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==24482== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24482== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24482== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24482== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24482== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24482== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24482== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24482== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24482== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24482== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==24482== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==24482== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24482== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24482== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24482== by 0x42332B: main (nginx.c:382)
==24482==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 22: set by lua file ==24482== Syscall param write(buf) points to uninitialised byte(s)
==24482== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24482== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24482== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24482== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==24482== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24482== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24482== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24482== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24482== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24482== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24482== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24482== by 0x46647E: ngx_http_process_request (ngx_http_request.c:1954)
==24482== by 0x466AA9: ngx_http_process_request_headers (ngx_http_request.c:1379)
==24482== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24482== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24482== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24482== by 0x42332B: main (nginx.c:382)
==24482== Address 0x1ffeffe9aa is on thread 1's stack
==24482== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24482==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 9: code cache explicitly on (affects require) + set_by_lua_file ==24486== Syscall param write(buf) points to uninitialised byte(s)
==24486== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24486== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24486== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24486== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==24486== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24486== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24486== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24486== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24486== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24486== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24486== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24486== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24486== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24486== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24486== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24486== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24486== by 0x42332B: main (nginx.c:382)
==24486== Address 0x1ffeffe9bc is on thread 1's stack
==24486== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24486==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 9: code cache explicitly on (affects require) + set_by_lua_file ==24486== Use of uninitialised value of size 8
==24486== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==24486== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24486== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24486== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24486== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24486== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24486== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24486== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24486== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24486== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24486== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24486== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24486== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24486== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24486== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24486== by 0x42332B: main (nginx.c:382)
==24486==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 9: code cache explicitly on (affects require) + set_by_lua_file ==24486== Use of uninitialised value of size 8
==24486== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==24486== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24486== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24486== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24486== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24486== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24486== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24486== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24486== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24486== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24486== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24486== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24486== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24486== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24486== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24486== by 0x42332B: main (nginx.c:382)
==24486==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 9: code cache explicitly on (affects require) + set_by_lua_file ==24486== Syscall param write(buf) points to uninitialised byte(s)
==24486== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24486== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24486== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24486== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==24486== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24486== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24486== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24486== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24486== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24486== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24486== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24486== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24486== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24486== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24486== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24486== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24486== by 0x42332B: main (nginx.c:382)
==24486== Address 0x1ffeffe9ba is on thread 1's stack
==24486== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24486==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 11: code cache explicitly on + set_by_lua_file ==24489== Syscall param write(buf) points to uninitialised byte(s)
==24489== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24489== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24489== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24489== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==24489== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24489== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24489== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24489== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24489== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24489== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24489== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24489== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24489== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24489== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24489== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24489== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24489== by 0x42332B: main (nginx.c:382)
==24489== Address 0x1ffeffe9bc is on thread 1's stack
==24489== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24489==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 11: code cache explicitly on + set_by_lua_file ==24489== Use of uninitialised value of size 8
==24489== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==24489== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24489== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24489== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24489== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24489== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24489== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24489== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24489== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24489== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24489== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24489== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24489== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24489== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24489== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24489== by 0x42332B: main (nginx.c:382)
==24489==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 11: code cache explicitly on + set_by_lua_file ==24489== Use of uninitialised value of size 8
==24489== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==24489== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24489== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24489== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24489== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24489== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24489== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24489== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24489== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24489== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24489== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24489== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24489== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24489== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24489== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24489== by 0x42332B: main (nginx.c:382)
==24489==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 11: code cache explicitly on + set_by_lua_file ==24489== Syscall param write(buf) points to uninitialised byte(s)
==24489== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24489== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24489== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24489== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==24489== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24489== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24489== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24489== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24489== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24489== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24489== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24489== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24489== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24489== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24489== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24489== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24489== by 0x42332B: main (nginx.c:382)
==24489== Address 0x1ffeffe9ba is on thread 1's stack
==24489== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24489==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 8: code cache explicitly off (affects require) + set_by_lua_file ==24497== Syscall param write(buf) points to uninitialised byte(s)
==24497== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24497== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24497== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24497== by 0x4FDF7B: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==24497== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24497== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24497== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24497== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24497== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24497== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24497== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24497== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24497== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24497== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24497== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24497== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24497== by 0x42332B: main (nginx.c:382)
==24497== Address 0x1ffeffe9bc is on thread 1's stack
==24497== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24497==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 8: code cache explicitly off (affects require) + set_by_lua_file ==24497== Use of uninitialised value of size 8
==24497== at 0x546A320: lj_tab_getinth (lj_tab.c:411)
==24497== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24497== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24497== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24497== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24497== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24497== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24497== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24497== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24497== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24497== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24497== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24497== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24497== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24497== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24497== by 0x42332B: main (nginx.c:382)
==24497==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 8: code cache explicitly off (affects require) + set_by_lua_file ==24497== Use of uninitialised value of size 8
==24497== at 0x546A341: lj_tab_getinth (lj_tab.c:413)
==24497== by 0x5478256: lua_rawgeti (lj_api.c:823)
==24497== by 0x4FE054: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:84)
==24497== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24497== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24497== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24497== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24497== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24497== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24497== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24497== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24497== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24497== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24497== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24497== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24497== by 0x42332B: main (nginx.c:382)
==24497==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_tab_getinth
fun:lua_rawgeti
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
025-codecache.t TEST 8: code cache explicitly off (affects require) + set_by_lua_file ==24497== Syscall param write(buf) points to uninitialised byte(s)
==24497== at 0x524A690: __write_nocancel (in /lib64/libpthread-2.17.so)
==24497== by 0x423FAD: ngx_write_fd (ngx_files.h:147)
==24497== by 0x423FAD: ngx_log_error_core (ngx_log.c:195)
==24497== by 0x4FE0E8: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:128)
==24497== by 0x4FE3EA: ngx_http_lua_cache_loadfile (ngx_http_lua_cache.c:286)
==24497== by 0x4F6AEC: ngx_http_lua_filter_set_by_lua_file (ngx_http_lua_directive.c:457)
==24497== by 0x4D9513: ndk_set_var_multi_value_data_code (ndk_set_var.c:215)
==24497== by 0x4A8DA8: ngx_http_rewrite_handler (ngx_http_rewrite_module.c:180)
==24497== by 0x45EF89: ngx_http_core_rewrite_phase (ngx_http_core_module.c:922)
==24497== by 0x45AEE2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==24497== by 0x45AFF1: ngx_http_handler (ngx_http_core_module.c:851)
==24497== by 0x463A49: ngx_http_run_posted_requests (ngx_http_request.c:2283)
==24497== by 0x466AEE: ngx_http_process_request_headers (ngx_http_request.c:1400)
==24497== by 0x443C85: ngx_event_process_posted (ngx_event_posted.c:34)
==24497== by 0x443683: ngx_process_events_and_timers (ngx_event.c:269)
==24497== by 0x44D1C5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==24497== by 0x42332B: main (nginx.c:382)
==24497== Address 0x1ffeffe9ba is on thread 1's stack
==24497== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==24497==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadfile
fun:ngx_http_lua_filter_set_by_lua_file
fun:ndk_set_var_multi_value_data_code
fun:ngx_http_rewrite_handler
fun:ngx_http_core_rewrite_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_run_posted_requests
fun:ngx_http_process_request_headers
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
139-ssl-cert-by.t TEST 26: uthread (kill) - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-uthread: hello from f()
-uthread: killed
-uthread: failed to kill: already waited or killed
'
139-ssl-cert-by.t TEST 26: uthread (kill) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: hello from f()
-uthread: killed
-uthread: failed to kill: already waited or killed
'
139-ssl-cert-by.t TEST 26: uthread (kill) - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: hello from f()
-uthread: killed
-uthread: failed to kill: already waited or killed
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 0) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'

Expected Failures

File Name Details
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - pattern "[alert]" should not match any line in error.log but matches line "2020/01/28 23:01:35 [alert] 23498\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock:/foo\", host: \"localhost\"" (req 0) 2020/01/28 23:01:35 [debug] 23498\#0: *1 SSL_do_handshake: -1
2020/01/28 23:01:35 [debug] 23498\#0: *1 SSL_get_error: 1
2020/01/28 23:01:35 [crit] 23498\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", upstream: "https://unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock:/foo", host: "localhost"
2020/01/28 23:01:35 [debug] 23498\#0: *1 http next upstream, 2
2020/01/28 23:01:35 [debug] 23498\#0: *1 free rr peer 1 4
2020/01/28 23:01:35 [debug] 23498\#0: *1 finalize http upstream request: 502
2020/01/28 23:01:35 [debug] 23498\#0: *1 finalize http proxy request
2020/01/28 23:01:35 [debug] 23498\#0: *1 close http upstream connection: 9
2020/01/28 23:01:35 [debug] 23498\#0: *1 free: 00000000088B3B90, unused: 0
'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_session_fetch_by_lua_block:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_certificate_by_lua:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_session_store_by_lua_block:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:set_by_lua:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:rewrite_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:access_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:header_filter_by_lua:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:body_filter_by_lua:\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_session_fetch_by_lua_block:\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_certificate_by_lua:\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:ssl_session_store_by_lua_block:\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:set_by_lua:\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:rewrite_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:access_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:header_filter_by_lua:\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:body_filter_by_lua:\d+: hello)" should match a line in error.log (req 1)
025-codecache.t TEST 41: same chunk from different directives produces different closures - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1)
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0)
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 7: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" should match a line in error.log (req 0)
106-timer.t TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[0-6]?))" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
108-timer-safe.t TEST 5: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8187 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8189 pending timers
'
expected: 'lua found 8191 pending timers
'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:35:44 [alert] 26738\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:35:44 [debug] 26738\#0: *1 SSL_do_handshake: -1
2020/01/29 00:35:44 [debug] 26738\#0: *1 SSL_get_error: 1
2020/01/29 00:35:44 [crit] 26738\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:35:44 [debug] 26738\#0: *1 lua tcp socket error retval handler
2020/01/29 00:35:44 [debug] 26738\#0: *1 lua finalize socket
2020/01/29 00:35:44 [debug] 26738\#0: *1 lua http cleanup free: 0000000008875390
2020/01/29 00:35:44 [debug] 26738\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:35:44 [debug] 26738\#0: *1 lua close socket connection
2020/01/29 00:35:44 [debug] 26738\#0: *1 free: 0000000008876240, unused: 0
'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 80 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:35:46 [alert] 26739\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:35:46 [debug] 26739\#0: *1 SSL_do_handshake: -1
2020/01/29 00:35:46 [debug] 26739\#0: *1 SSL_get_error: 1
2020/01/29 00:35:46 [crit] 26739\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:35:46 [debug] 26739\#0: *1 lua tcp socket error retval handler
2020/01/29 00:35:46 [debug] 26739\#0: *1 lua finalize socket
2020/01/29 00:35:46 [debug] 26739\#0: *1 lua http cleanup free: 0000000008873F90
2020/01/29 00:35:46 [debug] 26739\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:35:46 [debug] 26739\#0: *1 lua close socket connection
2020/01/29 00:35:46 [debug] 26739\#0: *1 free: 0000000008874E40, unused: 0
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 80 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 25: handshake timed out - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 25: handshake timed out - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:35:48 [alert] 26740\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:35:48 [debug] 26740\#0: *1 SSL_do_handshake: -1
2020/01/29 00:35:48 [debug] 26740\#0: *1 SSL_get_error: 1
2020/01/29 00:35:48 [crit] 26740\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:35:48 [debug] 26740\#0: *1 lua tcp socket error retval handler
2020/01/29 00:35:48 [debug] 26740\#0: *1 lua finalize socket
2020/01/29 00:35:48 [debug] 26740\#0: *1 lua http cleanup free: 0000000008872770
2020/01/29 00:35:48 [debug] 26740\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:35:48 [debug] 26740\#0: *1 lua close socket connection
2020/01/29 00:35:48 [debug] 26740\#0: *1 free: 0000000008873620, unused: 0
'
129-ssl-socket.t TEST 25: handshake timed out - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send http request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 24: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 24: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 24: multiple handshake calls - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:35:59 [alert] 26745\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:35:59 [debug] 26745\#0: *1 SSL_do_handshake: -1
2020/01/29 00:35:59 [debug] 26745\#0: *1 SSL_get_error: 1
2020/01/29 00:35:59 [crit] 26745\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:35:59 [debug] 26745\#0: *1 lua tcp socket error retval handler
2020/01/29 00:35:59 [debug] 26745\#0: *1 lua finalize socket
2020/01/29 00:35:59 [debug] 26745\#0: *1 lua http cleanup free: 0000000008874000
2020/01/29 00:35:59 [debug] 26745\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:35:59 [debug] 26745\#0: *1 lua close socket connection
2020/01/29 00:35:59 [debug] 26745\#0: *1 free: 0000000008874EB0, unused: 0
'
129-ssl-socket.t TEST 24: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 24: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 53 bytes.
-received: HTTP/1.1 201 Created
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:08 [alert] 26749\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:08 [debug] 26749\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:08 [debug] 26749\#0: *1 SSL_get_error: 1
2020/01/29 00:36:08 [crit] 26749\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:08 [debug] 26749\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:08 [debug] 26749\#0: *1 lua finalize socket
2020/01/29 00:36:08 [debug] 26749\#0: *1 lua http cleanup free: 00000000088A8D60
2020/01/29 00:36:08 [debug] 26749\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:08 [debug] 26749\#0: *1 index: copy event 5 to 4
2020/01/29 00:36:08 [debug] 26749\#0: *1 lua close socket connection
'
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 53 bytes.
-received: HTTP/1.1 201 Created
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (keepalive) - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:10 [alert] 26750\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:10 [debug] 26750\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:10 [debug] 26750\#0: *1 SSL_get_error: 1
2020/01/29 00:36:10 [crit] 26750\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:10 [debug] 26750\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:10 [debug] 26750\#0: *1 lua finalize socket
2020/01/29 00:36:10 [debug] 26750\#0: *1 lua http cleanup free: 00000000088A7A90
2020/01/29 00:36:10 [debug] 26750\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:10 [debug] 26750\#0: *1 lua close socket connection
2020/01/29 00:36:10 [debug] 26750\#0: *1 free: 00000000088A8940, unused: 0
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 26: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: unix domain ssl cosocket (no gen session) - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:12 [alert] 26751\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:12 [debug] 26751\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:12 [debug] 26751\#0: *1 SSL_get_error: 1
2020/01/29 00:36:12 [crit] 26751\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:12 [debug] 26751\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:12 [debug] 26751\#0: *1 lua finalize socket
2020/01/29 00:36:12 [debug] 26751\#0: *1 lua http cleanup free: 00000000088A76A0
2020/01/29 00:36:12 [debug] 26751\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:12 [debug] 26751\#0: *1 lua close socket connection
2020/01/29 00:36:12 [debug] 26751\#0: *1 free: 00000000088A8550, unused: 0
'
129-ssl-socket.t TEST 26: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:14 [alert] 26752\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:14 [debug] 26752\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:14 [debug] 26752\#0: *1 SSL_get_error: 1
2020/01/29 00:36:14 [crit] 26752\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:14 [debug] 26752\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:14 [debug] 26752\#0: *1 lua finalize socket
2020/01/29 00:36:14 [debug] 26752\#0: *1 lua http cleanup free: 0000000008894E20
2020/01/29 00:36:14 [debug] 26752\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:14 [debug] 26752\#0: *1 lua close socket connection
2020/01/29 00:36:14 [debug] 26752\#0: *1 free: 0000000008895CD0, unused: 0
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:16 [alert] 26753\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:16 [debug] 26753\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:16 [debug] 26753\#0: *1 SSL_get_error: 1
2020/01/29 00:36:16 [crit] 26753\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:16 [debug] 26753\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:16 [debug] 26753\#0: *1 lua finalize socket
2020/01/29 00:36:16 [debug] 26753\#0: *1 lua http cleanup free: 00000000088740B0
2020/01/29 00:36:16 [debug] 26753\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:16 [debug] 26753\#0: *1 lua close socket connection
2020/01/29 00:36:16 [debug] 26753\#0: *1 free: 0000000008874F60, unused: 0
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 23: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 23: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:23 [alert] 26756\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:23 [debug] 26756\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:23 [debug] 26756\#0: *1 SSL_get_error: 1
2020/01/29 00:36:23 [crit] 26756\#0: *1 SSL_do_handshake() failed (SSL: error:141640BF:SSL routines:tls_construct_client_hello:no protocols available), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:23 [debug] 26756\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:23 [debug] 26756\#0: *1 lua finalize socket
2020/01/29 00:36:23 [debug] 26756\#0: *1 lua http cleanup free: 0000000008874220
2020/01/29 00:36:23 [debug] 26756\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:23 [debug] 26756\#0: *1 lua close socket connection
2020/01/29 00:36:23 [debug] 26756\#0: *1 free: 00000000088750D0, unused: 0
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:25 [alert] 26757\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:25 [debug] 26757\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:25 [debug] 26757\#0: *1 SSL_get_error: 1
2020/01/29 00:36:25 [crit] 26757\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:25 [debug] 26757\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:25 [debug] 26757\#0: *1 lua finalize socket
2020/01/29 00:36:25 [debug] 26757\#0: *1 lua http cleanup free: 00000000088A8E50
2020/01/29 00:36:25 [debug] 26757\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:25 [debug] 26757\#0: *1 lua close socket connection
2020/01/29 00:36:25 [debug] 26757\#0: *1 free: 00000000088A9D00, unused: 0
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:27 [alert] 26758\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:27 [debug] 26758\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:27 [debug] 26758\#0: *1 SSL_get_error: 1
2020/01/29 00:36:27 [crit] 26758\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:27 [debug] 26758\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:27 [debug] 26758\#0: *1 lua finalize socket
2020/01/29 00:36:27 [debug] 26758\#0: *1 lua http cleanup free: 00000000088A76D0
2020/01/29 00:36:27 [debug] 26758\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:27 [debug] 26758\#0: *1 lua close socket connection
2020/01/29 00:36:27 [debug] 26758\#0: *1 free: 00000000088A8580, unused: 0
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 14: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:34 [alert] 26761\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:34 [debug] 26761\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:34 [debug] 26761\#0: *1 SSL_get_error: 1
2020/01/29 00:36:34 [crit] 26761\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:34 [debug] 26761\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:34 [debug] 26761\#0: *1 lua finalize socket
2020/01/29 00:36:34 [debug] 26761\#0: *1 lua http cleanup free: 0000000008872CE0
2020/01/29 00:36:34 [debug] 26761\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:34 [debug] 26761\#0: *1 lua close socket connection
2020/01/29 00:36:34 [debug] 26761\#0: *1 free: 0000000008873B90, unused: 0
'
129-ssl-socket.t TEST 14: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 14: explicit cipher configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:36 [alert] 26762\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:36 [debug] 26762\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:36 [debug] 26762\#0: *1 SSL_get_error: 1
2020/01/29 00:36:36 [crit] 26762\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:36 [debug] 26762\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:36 [debug] 26762\#0: *1 lua finalize socket
2020/01/29 00:36:36 [debug] 26762\#0: *1 lua http cleanup free: 0000000008874160
2020/01/29 00:36:36 [debug] 26762\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:36 [debug] 26762\#0: *1 lua close socket connection
2020/01/29 00:36:36 [debug] 26762\#0: *1 free: 0000000008875010, unused: 0
'
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 56 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:41 [alert] 26764\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:41 [debug] 26764\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:41 [debug] 26764\#0: *1 SSL_get_error: 1
2020/01/29 00:36:41 [crit] 26764\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:41 [debug] 26764\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:41 [debug] 26764\#0: *1 lua finalize socket
2020/01/29 00:36:41 [debug] 26764\#0: *1 lua http cleanup free: 0000000008874300
2020/01/29 00:36:41 [debug] 26764\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:41 [debug] 26764\#0: *1 lua close socket connection
2020/01/29 00:36:41 [debug] 26764\#0: *1 free: 00000000088751B0, unused: 0
'
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "(?:ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256)|ECDHE-(?:RSA|ECDSA)-CHACHA20-POLY1305) TLSv1\.2)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 13: default cipher - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:45 [alert] 26766\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:45 [debug] 26766\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:45 [debug] 26766\#0: *1 SSL_get_error: 1
2020/01/29 00:36:45 [crit] 26766\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:45 [debug] 26766\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:45 [debug] 26766\#0: *1 lua finalize socket
2020/01/29 00:36:45 [debug] 26766\#0: *1 lua http cleanup free: 0000000008873F40
2020/01/29 00:36:45 [debug] 26766\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:45 [debug] 26766\#0: *1 lua close socket connection
2020/01/29 00:36:45 [debug] 26766\#0: *1 free: 0000000008874DF0, unused: 0
'
129-ssl-socket.t TEST 13: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "(?:ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256)|ECDHE-(?:RSA|ECDSA)-CHACHA20-POLY1305) TLSv1\.2)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2020/01/29 00:36:47 [alert] 26767\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/01/29 00:36:47 [debug] 26767\#0: *1 SSL_do_handshake: -1
2020/01/29 00:36:47 [debug] 26767\#0: *1 SSL_get_error: 1
2020/01/29 00:36:47 [crit] 26767\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/01/29 00:36:47 [debug] 26767\#0: *1 lua tcp socket error retval handler
2020/01/29 00:36:47 [debug] 26767\#0: *1 lua finalize socket
2020/01/29 00:36:47 [debug] 26767\#0: *1 lua http cleanup free: 00000000088A8E00
2020/01/29 00:36:47 [debug] 26767\#0: *1 poll del event: fd:9 ev:1
2020/01/29 00:36:47 [debug] 26767\#0: *1 lua close socket connection
2020/01/29 00:36:47 [debug] 26767\#0: *1 free: 00000000088A9CB0, unused: 0
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
129-ssl-socket.t TEST 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 26: uthread (kill) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 26: uthread (kill) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 26: uthread (kill) - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[info\] .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[info\] .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[info\] .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 0) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 1) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: coroutine API - grep_error_log_out (req 2) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 0) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^:reusable connection: 1
ssl cert: connection reusable: 1
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
)'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^:reusable connection: 1
ssl cert: connection reusable: 1
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
)'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^:reusable connection: 1
ssl cert: connection reusable: 1
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
)'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 19: check the count of running timers - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 2
-received: Connection: close
-received:
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[info\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-close: 1 nil
'
142-ssl-session-store.t nginx: [emerg] "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 0) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 0
ssl session store: connection reusable: 0
ssl_session_store_by_lua_block:1: ssl session store by lua is running!,
)'
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 1) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 2) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 1) got: ''
expected: 'old foo: 1
'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[123]done\n\z)'
143-ssl-session-fetch.t TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 2) @@ -1,2 +0,0 @@
-old bar: 1
-old foo: 2
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-ssl_session_fetch_by_lua_block:3: bad bad bad
-ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 9: lua exception - yield - grep_error_log_out (req 2) @@ -1,2 +0,0 @@
-ssl_session_fetch_by_lua_block:3: bad bad bad
-ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 19: uthread (kill) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 19: uthread (kill) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 19: uthread (kill) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: hello from f()
-uthread: killed
-uthread: failed to kill: already waited or killed
'
143-ssl-session-fetch.t TEST 19: uthread (kill) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 19: uthread (kill) - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: hello from f()
-uthread: killed
-uthread: failed to kill: already waited or killed
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 1) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 2) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!,
)'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!,
)'
143-ssl-session-fetch.t TEST 20: uthread (wait) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 20: uthread (wait) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 20: uthread (wait) - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: hello from f()
-uthread: 32
-uthread: failed to kill: already waited or killed
'
143-ssl-session-fetch.t TEST 20: uthread (wait) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 20: uthread (wait) - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: hello from f()
-uthread: 32
-uthread: failed to kill: already waited or killed
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 1) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 2) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 15: ssl_session_fetch_by_lua* is skipped when session ticket is provided - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 15: ssl_session_fetch_by_lua* is skipped when session ticket is provided - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 15: ssl_session_fetch_by_lua* is skipped when session ticket is provided - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 16: ssl_session_fetch_by_lua* always runs when using SSLv3 (SSLv3 does not support session tickets) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 16: ssl_session_fetch_by_lua* always runs when using SSLv3 (SSLv3 does not support session tickets) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 16: ssl_session_fetch_by_lua* always runs when using SSLv3 (SSLv3 does not support session tickets) - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl_session_fetch_by_lua\* is running!,
)'
143-ssl-session-fetch.t TEST 16: ssl_session_fetch_by_lua* always runs when using SSLv3 (SSLv3 does not support session tickets) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 16: ssl_session_fetch_by_lua* always runs when using SSLv3 (SSLv3 does not support session tickets) - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 1
reusable connection: 0
'
doesn't match '(?^m:^reusable connection: 1
ssl session fetch: connection reusable: 1
reusable connection: 0
ssl_session_fetch_by_lua_block:1: ssl_session_fetch_by_lua\* is running!,
)'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 1) got: ''
expected: 'lua exit with code 0
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 2) got: ''
expected: 'lua exit with code 0
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 1) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 2) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 1) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 2) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
146-malloc-trim.t TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) @@ -1,3 +1,3 @@
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
152-timer-every.t TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'
152-timer-every.t TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
158-global-var.t TEST 8: ssl_certificate_by_lua - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[12]done\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - grep_error_log_out (req 0) ''
doesn't match '(?^:\A\[warn\] .*?writing a global Lua variable \('foo'\)
ssl_certificate_by_lua:3: in main chunk\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - response_body_like - response is expected (failed to do SSL handshake: handshake failed) 'failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\A[12]done\n\z)'
158-global-var.t TEST 8: ssl_certificate_by_lua - grep_error_log_out (req 1) got: ''
expected: 'old foo: 1
'
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

Warnings

Go back to the index page.