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

Detailed Test Report for lua-resty-limit-traffic in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
56b9a35a 2021-04-25 16:15:39 GMT 4 4 4 176 36 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

OpenSSL

OpenSSL 1.1.1k 25 Mar 2021

Compilation Errors

Unexpected Failures

File Name Details
conn.t TEST 1: a single key (always commit, and no leaving) ==14938== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==14938== at 0x5047C50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==14938== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==14938== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==14938== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==14938== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==14938== by 0x424719: main (nginx.c:386)
==14938== Address 0x1ffeffc0ac is on thread 1's stack
==14938== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==14938==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
count.t TEST 2: multiple keys ==15066== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==15066== at 0x5047C50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==15066== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==15066== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==15066== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==15066== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==15066== by 0x424719: main (nginx.c:386)
==15066== Address 0x1ffeffc0ac is on thread 1's stack
==15066== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==15066==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
req.t TEST 4: a single key (do not commit since the 3rd time) ==15195== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==15195== at 0x5047C50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==15195== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==15195== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==15195== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==15195== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==15195== by 0x424719: main (nginx.c:386)
==15195== Address 0x1ffeffc0ac is on thread 1's stack
==15195== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==15195==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
traffic.t TEST 5: sanity (uncommit() the previous limiters and the last limiter if a limiter rejects while committing a state) ==15383== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==15383== at 0x5047C50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==15383== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==15383== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==15383== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==15383== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==15383== by 0x424719: main (nginx.c:386)
==15383== Address 0x1ffeffc0ac is on thread 1's stack
==15383== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==15383==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}

Expected Failures

File Name Details
req.t TEST 1: a single key (always commit) - response_body_like - response is expected (elapsed: 2.1610000133514 sec.) 'elapsed: 2.1610000133514 sec.
'
doesn't match '(?^:^elapsed: 1\.9[6-9]\d* sec\.$)'
traffic.t TEST 2: sanity (no output states) - response_body_like - response is expected (1: 0, conn committed: true 2: 0.5, conn committed: true 3: 1, conn committed: true failed to limit traffic: rejected 5: 0.352, conn committed: true 6: 2, conn committed: true) '1: 0, conn committed: true
2: 0.5, conn committed: true
3: 1, conn committed: true
failed to limit traffic: rejected
5: 0.352, conn committed: true
6: 2, conn committed: true
'
doesn't match '(?^s:^1: 0, conn committed: true
2: 0\.5, conn committed: true
3: 1, conn committed: true
failed to limit traffic: rejected
5: 0\.(?:4[6-9]|5|5[0-4])\d*, conn committed: true
6: 2, conn committed: true
$)'
traffic.t TEST 2: sanity (no output states) - response_body_like - response is expected (1: 0, conn committed: true 2: 0.5, conn committed: true 3: 1, conn committed: true failed to limit traffic: rejected 5: 0.419, conn committed: true 6: 2, conn committed: true) '1: 0, conn committed: true
2: 0.5, conn committed: true
3: 1, conn committed: true
failed to limit traffic: rejected
5: 0.419, conn committed: true
6: 2, conn committed: true
'
doesn't match '(?^s:^1: 0, conn committed: true
2: 0\.5, conn committed: true
3: 1, conn committed: true
failed to limit traffic: rejected
5: 0\.(?:4[6-9]|5|5[0-4])\d*, conn committed: true
6: 2, conn committed: true
$)'
traffic.t TEST 1: sanity (output states) - response_body_like - response is expected (1: 0, conn committed: true, states: 0, 0, 1, 9 2: 0.5, conn committed: true, states: 1, 1, 2, 8 3: 1, conn committed: true, states: 2, 2, 3, 7 failed to limit traffic: rejected 5: 0.34, conn committed: true, states: 0, 0.68, 4, 6 6: 2, conn committed: true, states: 1, 1.68, 5, 5) '1: 0, conn committed: true, states: 0, 0, 1, 9
2: 0.5, conn committed: true, states: 1, 1, 2, 8
3: 1, conn committed: true, states: 2, 2, 3, 7
failed to limit traffic: rejected
5: 0.34, conn committed: true, states: 0, 0.68, 4, 6
6: 2, conn committed: true, states: 1, 1.68, 5, 5
'
doesn't match '(?^s:^1: 0, conn committed: true, states: 0, 0, 1, 9
2: 0\.5, conn committed: true, states: 1, 1, 2, 8
3: 1, conn committed: true, states: 2, 2, 3, 7
failed to limit traffic: rejected
5: 0\.(?:4[6-9]|5|5[0-4])\d*, conn committed: true, states: 0, (?:1|1\.0[0-4]\d*|0\.9[6-9]\d*), 4, 6
6: 2, conn committed: true, states: 1, (?:2|2\.0[0-4]\d*|1\.9[6-9]\d*), 5, 5
$)'

Warnings

(none)

Go back to the index page.