(This page was automatically generated by the tools in the opsboy project on 06:33:32 03-Feb-2023 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
53cbd15e | 2023-02-02 09:18:10 GMT | 25 | 23 | 88 | 12112 | 2567 sec |
File | Name | Details |
---|---|---|
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,8 @@ reading any world -more +moreda reading 3 -dat +ta + reading line -a +closed -reading all -data ' |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid write of size 8 ==20460== at 0x52F6A2: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1197) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86cc750 is 0 bytes inside a block of size 24 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4273D2: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x467E67: ngx_http_cleanup_add (ngx_http_core_module.c:2646) ==20460== by 0x507734: ngx_http_lua_cleanup_add (ngx_http_lua_util.c:4226) ==20460== by 0x53191F: ngx_http_lua_ffi_pipe_spawn (ngx_http_lua_pipe.c:912) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x527A6FE: lua_pcall (lj_api.c:1145) ==20460== by 0x507680: ngx_http_lua_do_call (ngx_http_lua_util.c:4159) ==20460== by 0x51D3AC: ngx_http_lua_init_worker_by_inline (ngx_http_lua_initworkerby.c:333) ==20460== by 0x51D343: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:298) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x52F6B1: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x1FFEFFEF5F: ??? ==20460== by 0x7: ??? ==20460== Address 0x86a7ae0 is 16 bytes inside a block of size 1,544 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x5074C0: ngx_http_lua_create_fake_request (ngx_http_lua_util.c:4042) ==20460== by 0x51CF55: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:269) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_ffi_pipe_proc_destroy obj:* obj:* } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x50774D: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4237) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a8330 is 448 bytes inside a block of size 504 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x5074F0: ngx_http_lua_create_fake_request (ngx_http_lua_util.c:4078) ==20460== by 0x51CF55: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:269) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x50775A: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4242) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7f58 is 1,160 bytes inside a block of size 1,544 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x5074C0: ngx_http_lua_create_fake_request (ngx_http_lua_util.c:4042) ==20460== by 0x51CF55: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:269) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x507761: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4252) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7ff8 is 1,320 bytes inside a block of size 1,544 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x5074C0: ngx_http_lua_create_fake_request (ngx_http_lua_util.c:4042) ==20460== by 0x51CF55: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:269) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x507779: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4250) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86cc760 is 16 bytes inside a block of size 24 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4273D2: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x467E67: ngx_http_cleanup_add (ngx_http_core_module.c:2646) ==20460== by 0x507734: ngx_http_lua_cleanup_add (ngx_http_lua_util.c:4226) ==20460== by 0x53191F: ngx_http_lua_ffi_pipe_spawn (ngx_http_lua_pipe.c:912) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x527A6FE: lua_pcall (lj_api.c:1145) ==20460== by 0x507680: ngx_http_lua_do_call (ngx_http_lua_util.c:4159) ==20460== by 0x51D3AC: ngx_http_lua_init_worker_by_inline (ngx_http_lua_initworkerby.c:333) ==20460== by 0x51D343: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:298) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid write of size 8 ==20460== at 0x50778D: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4254) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7ff8 is 1,320 bytes inside a block of size 1,544 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x5074C0: ngx_http_lua_create_fake_request (ngx_http_lua_util.c:4042) ==20460== by 0x51CF55: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:269) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x507790: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4256) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a8550 is 336 bytes inside a block of size 440 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4273D2: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x51D01A: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293) ==20460== by 0x51D01A: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:287) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid write of size 8 ==20460== at 0x507797: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4256) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86cc760 is 16 bytes inside a block of size 24 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4273D2: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x467E67: ngx_http_cleanup_add (ngx_http_core_module.c:2646) ==20460== by 0x507734: ngx_http_lua_cleanup_add (ngx_http_lua_util.c:4226) ==20460== by 0x53191F: ngx_http_lua_ffi_pipe_spawn (ngx_http_lua_pipe.c:912) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x527A6FE: lua_pcall (lj_api.c:1145) ==20460== by 0x507680: ngx_http_lua_do_call (ngx_http_lua_util.c:4159) ==20460== by 0x51D3AC: ngx_http_lua_init_worker_by_inline (ngx_http_lua_initworkerby.c:333) ==20460== by 0x51D343: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:298) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid write of size 8 ==20460== at 0x50779B: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4257) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a8550 is 336 bytes inside a block of size 440 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4273D2: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x51D01A: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293) ==20460== by 0x51D01A: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:287) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x5077A2: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7ad8 is 8 bytes inside a block of size 1,544 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x5074C0: ngx_http_lua_create_fake_request (ngx_http_lua_util.c:4042) ==20460== by 0x51CF55: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:269) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x5077AA: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a79f0 is 0 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x426578: ngx_log_error_core (ngx_log.c:128) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7a00 is 16 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x42669C: ngx_log_error_core (ngx_log.c:171) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a79f0 is 0 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x4266C0: ngx_log_error_core (ngx_log.c:175) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a79f0 is 0 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x4266CA: ngx_log_error_core (ngx_log.c:179) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7a20 is 48 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x4266ED: ngx_log_error_core (ngx_log.c:184) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7a08 is 24 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x4266F3: ngx_log_error_core (ngx_log.c:195) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a79f8 is 8 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x426722: ngx_log_error_core (ngx_log.c:201) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a79f8 is 8 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later |
==20460== Invalid read of size 8 ==20460== at 0x426732: ngx_log_error_core (ngx_log.c:207) ==20460== by 0x5077D5: ngx_http_lua_cleanup_free (ngx_http_lua_util.c:4259) ==20460== by 0x52F6B5: ngx_http_lua_ffi_pipe_proc_destroy (ngx_http_lua_pipe.c:1198) ==20460== by 0x526348C: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x52BEF51: lj_ccall_func (lj_ccall.c:1382) ==20460== by 0x52D7766: lj_cf_ffi_meta___call (lib_ffi.c:230) ==20460== by 0x5260EB3: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526383E: gc_call_finalizer (lj_gc.c:520) ==20460== by 0x5265364: lj_gc_finalize_cdata (lj_gc.c:596) ==20460== by 0x526E5B8: cpfinalize (lj_state.c:272) ==20460== by 0x52612A9: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0) ==20460== by 0x526EA15: lua_close (lj_state.c:299) ==20460== by 0x502830: ngx_http_lua_cleanup_vm (ngx_http_lua_util.c:3960) ==20460== by 0x4272D1: ngx_destroy_pool (ngx_palloc.c:48) ==20460== by 0x44E169: ngx_master_process_exit (ngx_process_cycle.c:764) ==20460== by 0x44FF78: ngx_single_process_cycle (ngx_process_cycle.c:317) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Address 0x86a7a38 is 72 bytes inside a block of size 80 free'd ==20460== at 0x4C2A0A8: free (vg_replace_malloc.c:538) ==20460== by 0x427337: ngx_destroy_pool (ngx_palloc.c:76) ==20460== by 0x51D34C: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:300) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== Block was alloc'd at ==20460== at 0x4C28EFB: malloc (vg_replace_malloc.c:307) ==20460== by 0x44A117: ngx_alloc (ngx_alloc.c:22) ==20460== by 0x427134: ngx_malloc (ngx_palloc.c:137) ==20460== by 0x4274F8: ngx_palloc (ngx_palloc.c:120) ==20460== by 0x4274F8: ngx_pcalloc (ngx_palloc.c:215) ==20460== by 0x50744C: ngx_http_lua_create_fake_connection (ngx_http_lua_util.c:4002) ==20460== by 0x51CF35: ngx_http_lua_init_worker (ngx_http_lua_initworkerby.c:262) ==20460== by 0x44FEDF: ngx_single_process_cycle (ngx_process_cycle.c:299) ==20460== by 0x425BDD: main (nginx.c:383) ==20460== { <insert_a_suppression_name_here> Memcheck:Addr8 fun:ngx_log_error_core fun:ngx_http_lua_cleanup_free fun:ngx_http_lua_ffi_pipe_proc_destroy fun:lj_vm_ffi_call fun:lj_ccall_func fun:lj_cf_ffi_meta___call fun:lj_BC_FUNCC fun:gc_call_finalizer fun:lj_gc_finalize_cdata fun:cpfinalize fun:lj_vm_cpcall fun:lua_close fun:ngx_http_lua_cleanup_vm fun:ngx_destroy_pool fun:ngx_master_process_exit fun:ngx_single_process_cycle fun:main } |
process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua(nginx.conf:48):6: process type: privileged" should match a line in error.log (req 0) |
Looks like you failed 1 test of 8. |
stream/time.t | TEST 7: "resty.core.time".monotonic_msec - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ true -true +false ' |
time.t | TEST 14: "resty.core.time".monotonic_time - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ true -true +false ' |
time.t | TEST 13: "resty.core.time".monotonic_msec - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ true -true +false ' |
File | Name | Details |
---|---|---|
errlog-raw-log.t | nginx: [error] | hello world from init_by_lua |
errlog.t | nginx: [emerg] | invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
process-type-privileged-agent-connections.t | nginx: [error] | [lua] init_by_lua(nginx.conf:27):5: enable_privileged_agent failed: bad 'connections' argument: number expected and greater than 0 |
request.t | TEST 2: ngx.req.get_headers (raw) - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 0) | |
request.t | TEST 2: ngx.req.get_headers (raw) - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 1) | |
request.t | TEST 7: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) |
got: "true\x{0a}>= 0.099: true\x{0a}< 0.11: false\x{0a}" length: 34 expected: "true\x{0a}>= 0.099: true\x{0a}< 0.11: true\x{0a}" length: 33 strings begin to differ at char 29 (line 3 column 9) |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - response_body_like - response is expected (0.2 sleep for 0.1s... -0.016) |
'0.2 sleep for 0.1s... -0.016 ' doesn't match '(?^s:\A0.2 sleep for 0.1s... 0.\d* \z)' Looks like you failed 1 test of 112. |
stream/errlog-raw-log.t | nginx: [error] | hello world from init_by_lua |
stream/errlog.t | TEST 17: flood the capturing buffer (4k) - response_body_like - response is expected (log lines: \#25 log level:4 log body:2023/02/02 20:28:22 [error] 27685\#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:22 [warn] 27685\#27685: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:22 [error] 27685\#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:22 [error] 27685\#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:22 [warn] 27685\#27685: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:22 [error] 27685\#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) |
'log lines: #25 log level:4 log body:2023/02/02 20:28:22 [error] 27685#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:22 [warn] 27685#27685: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:22 [error] 27685#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:22 [error] 27685#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:22 [warn] 27685#27685: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:22 [error] 27685#27685: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\A(?:log lines: #26 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/errlog.t | TEST 17: flood the capturing buffer (4k) - response_body_like - response is expected (log lines: \#25 log level:4 log body:2023/02/02 20:28:23 [error] 27685\#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:23 [warn] 27685\#27685: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:23 [error] 27685\#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:23 [error] 27685\#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:23 [warn] 27685\#27685: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:23 [error] 27685\#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) |
'log lines: #25 log level:4 log body:2023/02/02 20:28:23 [error] 27685#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:23 [warn] 27685#27685: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:23 [error] 27685#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 89, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:23 [error] 27685#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:23 [warn] 27685#27685: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:23 [error] 27685#27685: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\A(?:log lines: #26 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected (log lines: \#32 log level:5 log body:2023/02/02 20:28:32 [warn] 27743\#27743: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743\#27743: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743\#27743: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743\#27743: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743\#27743: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743\#27743: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) |
'log lines: #32 log level:5 log body:2023/02/02 20:28:32 [warn] 27743#27743: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743#27743: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743#27743: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743#27743: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743#27743: *3 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743#27743: *3 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\A(?:log lines: #33 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected (log lines: \#32 log level:5 log body:2023/02/02 20:28:32 [warn] 27743\#27743: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743\#27743: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743\#27743: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743\#27743: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743\#27743: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743\#27743: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) |
'log lines: #32 log level:5 log body:2023/02/02 20:28:32 [warn] 27743#27743: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743#27743: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743#27743: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743#27743: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:32 [warn] 27743#27743: *6 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:32 [error] 27743#27743: *6 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\A(?:log lines: #33 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/errlog.t | nginx: [emerg] | invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17 |
stream/errlog.t | TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2023/02/02 20:28:46 [warn] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:46 [warn] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2023/02/02 20:28:46 [error] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:46 [warn] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837\#27837: *3 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985) |
'msg count: 3 log level:5 log body:2023/02/02 20:28:46 [warn] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:46 [warn] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2023/02/02 20:28:46 [error] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:46 [warn] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:46 [error] 27837#27837: *3 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\Amsg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2023/02/02 20:28:47 [warn] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:47 [warn] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2023/02/02 20:28:47 [error] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:47 [warn] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837\#27837: *6 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985) |
'msg count: 3 log level:5 log body:2023/02/02 20:28:47 [warn] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:47 [warn] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2023/02/02 20:28:47 [error] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:28:47 [warn] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:28:47 [error] 27837#27837: *6 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\Amsg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17 |
stream/errlog.t | TEST 19: fetch a few and generate a few, then fetch again (overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2023/02/02 20:29:16 [warn] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:16 [warn] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:5 log body:2023/02/02 20:29:16 [warn] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:16 [warn] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):24: --> 102, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):25: --> 103, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034\#28034: *3 stream [lua] content_by_lua(nginx.conf:93):26: --> 104, client: 127.0.0.1, server: 0.0.0.0:1985) |
'msg count: 3 log level:5 log body:2023/02/02 20:29:16 [warn] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:16 [warn] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:5 log body:2023/02/02 20:29:16 [warn] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:16 [warn] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):10: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):24: --> 102, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):25: --> 103, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:16 [error] 28034#28034: *3 stream [lua] content_by_lua(nginx.conf:93):26: --> 104, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\Amsg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 102, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 103, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 104, client: 127.0.0.1, server: 0.0.0.0:\d+ |msg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 102, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 103, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 104, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | TEST 19: fetch a few and generate a few, then fetch again (overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2023/02/02 20:29:17 [warn] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:17 [warn] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:5 log body:2023/02/02 20:29:17 [warn] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:17 [warn] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):24: --> 102, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):25: --> 103, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034\#28034: *6 stream [lua] content_by_lua(nginx.conf:93):26: --> 104, client: 127.0.0.1, server: 0.0.0.0:1985) |
'msg count: 3 log level:5 log body:2023/02/02 20:29:17 [warn] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:17 [warn] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:5 log body:2023/02/02 20:29:17 [warn] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2023/02/02 20:29:17 [warn] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):10: --> 88, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):24: --> 102, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):25: --> 103, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2023/02/02 20:29:17 [error] 28034#28034: *6 stream [lua] content_by_lua(nginx.conf:93):26: --> 104, client: 127.0.0.1, server: 0.0.0.0:1985 ' doesn't match '(?^s:\Amsg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 102, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 103, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 104, client: 127.0.0.1, server: 0.0.0.0:\d+ |msg count: 3 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 102, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 103, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 104, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua:6: process type: privileged" should match a line in error.log (req 0) |
Looks like you failed 1 test of 8. |
stream/request.t | TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ true >= 0.099: true -< 0.11: true +< 0.11: false ' Looks like you failed 1 test of 12. |
stream/time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ true >= 0.099: true -< 0.11: true +< 0.11: false ' |
time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ true >= 0.099: true -< 0.11: true +< 0.11: false ' |
Go back to the index page.