Author ishcherb
Recipients ishcherb
Date 2017-10-04.15:42:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507131768.17.0.213398074469.issue31692@psf.upfronthosting.co.za>
In-reply-to
Content
The newly added `test_huntrleaks` test is failing on Python 2.7.14 debug build with COUNT_ALLOCS.


======================================================================
FAIL: test_huntrleaks (test.test_regrtest.ArgsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-2.7.14/Lib/test/test_regrtest.py", line 511, in test_huntrleaks
    self.check_leak(code, 'references')
  File "/builddir/build/BUILD/Python-2.7.14/Lib/test/test_regrtest.py", line 489, in check_leak
    self.assertIn(line2, output)
AssertionError: 'test_regrtest_huntrleaks leaked [1, 1, 1] references, sum=3\n' not found in 'Run tests sequentially\n0:00:00 load avg: 0.63 [1/1] test_regrtest_huntrleaks\nbeginning 6 repetitions\n123456\n......\ntest_regrtest_huntrleaks leaked [93, 93, 93] references, sum=279\n1 test failed:\n    test_regrtest_huntrleaks\n\nTotal duration: 32 ms\nTests result: FAILURE\n[53092 refs]\n'
----------------------------------------------------------------------


On Python 2.7.14 debug build *without* COUNT_ALLOCS the test passes fine, therefore I am not sure if there is a leak detected, or is it just COUNT_ALLOCS messing with the test and it should be skipped.
History
Date User Action Args
2017-10-04 15:42:48ishcherbsetrecipients: + ishcherb
2017-10-04 15:42:48ishcherbsetmessageid: <1507131768.17.0.213398074469.issue31692@psf.upfronthosting.co.za>
2017-10-04 15:42:48ishcherblinkissue31692 messages
2017-10-04 15:42:47ishcherbcreate