BIND 10 #2846: UniformRandomIntegerGeneratorTest.IntegerRange failure on Debian

BIND 10 Development do-not-reply at isc.org
Mon Mar 11 02:38:24 UTC 2013


#2846: UniformRandomIntegerGeneratorTest.IntegerRange failure on Debian
-------------------------------------+-------------------------------------
                   Reporter:  muks   |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  Unclassified                       |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 `UniformRandomIntegerGeneratorTest.IntegerRange` failed on Debian:
 {{{
 [ RUN      ] UniformRandomIntegerGeneratorTest.IntegerRange
 ../../../../../src/lib/util/tests/random_number_generator_unittest.cc:85:
 Failure
 Value of: max() - min() + 1
   Actual: 10
 Expected: it - numbers.begin()
 Which is: 9
 [  FAILED  ] UniformRandomIntegerGeneratorTest.IntegerRange (0 ms)
 }}}

 Though this is not easily reproduced, because this is a uniform random
 number generator and the test expects a uniform distribution, this points
 to a bug in code.

 Report:
 http://git.bind10.isc.org/~tester/builder/BIND10-distcheck/20130311012502
 -DebianLinux-x86_64/logs/distcheck.out

-- 
Ticket URL: <http://bind10.isc.org/ticket/2846>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list