New submission from Pablo Galindo Salgado <pablog...@gmail.com>:
Running the test suite to check refleaks over test.test_tools.test_c_analyzer will always fail, make it impossible for the refleak buildbots to run correctly. Steps to reproduce: ./python -m test test_tools -v -R 3:3 ====================================================================== FAIL: test_typical (test.test_tools.test_c_analyzer.test_c_globals.test_find.StaticsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pablogsal/github/cpython/Lib/test/test_tools/test_c_analyzer/test_c_globals/test_find.py", line 319, in test_typical self.assertEqual(found, [ AssertionError: Lists differ: [Vari[413 chars]rc1/sub/ham.c', funcname=None, name='var1'), v[318 chars]nt')] != [Vari[413 chars]rc1/spam.c', funcname=None, name='freelist'), [431 chars]nt')] First differing element 4: Varia[21 chars]rc1/sub/ham.c', funcname=None, name='var1'), v[30 chars]t *') Varia[21 chars]rc1/spam.c', funcname=None, name='freelist'), [34 chars]10]') Second list contains 1 additional elements. First extra element 8: Variable(id=ID(filename='Include/spam.h', funcname=None, name='data'), vartype='static const int') [Variable(id=ID(filename='src1/spam.c', funcname=None, name='var1'), vartype='static const char *'), Variable(id=ID(filename='src1/spam.c', funcname='ham', name='initialized'), vartype='static int'), Variable(id=ID(filename='src1/spam.c', funcname=None, name='var2'), vartype='static PyObject *'), Variable(id=ID(filename='src1/eggs.c', funcname='tofu', name='ready'), vartype='static int'), + Variable(id=ID(filename='src1/spam.c', funcname=None, name='freelist'), vartype='static (PyTupleObject *)[10]'), Variable(id=ID(filename='src1/sub/ham.c', funcname=None, name='var1'), vartype='static const char const *'), Variable(id=ID(filename='src2/jam.c', funcname=None, name='var1'), vartype='static int'), Variable(id=ID(filename='src2/jam.c', funcname=None, name='var2'), vartype='static MyObject *'), Variable(id=ID(filename='Include/spam.h', funcname=None, name='data'), vartype='static const int')] ---------------------------------------------------------------------- Ran 219 tests in 3.769s FAILED (failures=1, skipped=2, expected failures=14) test test_tools failed test_tools failed == Tests result: FAILURE == 1 test failed: test_tools Total duration: 19 sec 101 ms Tests result: FAILURE ---------- components: Tests messages: 352552 nosy: eric.snow, pablogsal priority: normal severity: normal status: open title: test.test_tools.test_c_analyzer fails in refleak mode versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38187> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com