Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev
[Bug 1225] New: testsuite fails for ratelimit
 

Index | Next | Previous | View Flat


jgh146exb at wizmail

Mar 27, 2012, 2:04 PM


Views: 112
Permalink
[Bug 1225] New: testsuite fails for ratelimit

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1225
Summary: testsuite fails for ratelimit
Product: Exim
Version: 4.77
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Test harness
AssignedTo: nigel [at] exim
ReportedBy: jgh146exb [at] wizmail
CC: exim-dev [at] exim, jgh146exb [at] wizmail


0038 - I suspect the ratelimit debug output has been enhanced,
and wasn't the calculation changed to give 1 rather than 0 for a first offence?

Lines 14-20 of "test-stderr-munged" do not match lines 14-19 of "stderr/0038".
----------
>>> ratelimit condition count=1 0.0/1h/per_mail/V4NET.9.8.7
>>> ratelimit creating new rate data block
>>> ratelimit initializing new key's rate data
>>> ratelimit db updated
>>> ratelimit computed rate 1.0
>>> warn: condition test succeeded
LOG: H=(test.ex) [V4NET.9.8.7] Warning: RCPT: sender_rate=1.0
sender_rate_limit=0 sender_rate_period=1h
----------
>>> ratelimit condition limit=0 period=3600 key=1h/per_mail/strict/V4NET.9.8.7
>>> ratelimit initializing new key's data
>>> ratelimit db updated
>>> ratelimit computed rate 0.0
>>> warn: condition test succeeded
LOG: H=(test.ex) [V4NET.9.8.7] Warning: RCPT: sender_rate=0.0
sender_rate_limit=0 sender_rate_period=1h
===============

however, I'm concerned about the last item noted for 0038:
Lines 234-240 of "test-stderr-munged" do not match lines 230-235 of
"stderr/0038".
----------
>>> ratelimit condition count=19 0.0/1h/per_mail/V4NET.9.8.6
>>> ratelimit creating new rate data block
>>> ratelimit initializing new key's rate data
>>> ratelimit db updated
>>> ratelimit computed rate 19.0
>>> warn: condition test succeeded
LOG: 10HmbC-0005vi-00 H=(test.ex) [V4NET.9.8.6] Warning: DATA: sender_rate=19.0
sender_rate_limit=0 sender_rate_period=1h
----------
>>> ratelimit condition limit=0 period=3600 key=1h/per_byte/strict/V4NET.9.8.6
>>> ratelimit initializing new key's data
>>> ratelimit db updated
>>> ratelimit computed rate 0.0
>>> warn: condition test succeeded
LOG: 10HmbC-0005vi-00 H=(test.ex) [V4NET.9.8.6] Warning: DATA: sender_rate=0.0
sender_rate_limit=0 sender_rate_period=1h
===============
.... given that the computed rate is so different.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

Subject User Time
[Bug 1225] New: testsuite fails for ratelimit jgh146exb at wizmail Mar 27, 2012, 2:04 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.