Message339965
Patch making check on memory block leaks stricter:
diff --git a/Lib/test/libregrtest/refleak.py b/Lib/test/libregrtest/refleak.py
index 235d6bfd3a..dfadabdef6 100644
--- a/Lib/test/libregrtest/refleak.py
+++ b/Lib/test/libregrtest/refleak.py
@@ -130,7 +130,7 @@ def dash_R(ns, the_module, test_name, test_func):
failed = False
for deltas, item_name, checker in [
(rc_deltas, 'references', check_rc_deltas),
- (alloc_deltas, 'memory blocks', check_rc_deltas),
+ (alloc_deltas, 'memory blocks', check_fd_deltas),
(fd_deltas, 'file descriptors', check_fd_deltas)
]:
# ignore warmup runs
Using this patch, at least the following tests fail:
* test_asyncio
* test_code
* test_collections
* test_contextlib
* test_contextlib_async
* test_ctypes
* test_functools
* test_multiprocessing_forkserver
* test_multiprocessing_spawn
* test_regrtest
* test_statistics
* test_typing
* test_xml_etree_c
I didn't analyze why yet. I guess that they are not real memory leaks, but more minor issue in the code checking for memory leaks. Sadly, it seems like such small glitch can cause a whole Refleak buildbot worker to fail :-( |
|
Date |
User |
Action |
Args |
2019-04-11 11:21:06 | vstinner | set | recipients:
+ vstinner, methane, serhiy.storchaka, levkivskyi |
2019-04-11 11:21:06 | vstinner | set | messageid: <1554981666.27.0.124410540714.issue36560@roundup.psfhosted.org> |
2019-04-11 11:21:06 | vstinner | link | issue36560 messages |
2019-04-11 11:21:06 | vstinner | create | |
|