New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test.test_tools.test_c_analyzer fails in refleak mode #82368
Comments
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 ====================================================================== 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: Second list contains 1 additional elements. [Variable(id=ID(filename='src1/spam.c', funcname=None, name='var1'), vartype='static const char *'), ---------------------------------------------------------------------- Ran 219 tests in 3.769s FAILED (failures=1, skipped=2, expected failures=14) == Tests result: FAILURE == 1 test failed: Total duration: 19 sec 101 ms |
Check this failure in the buildbots for reference: https://buildbot.python.org/all/#/builders/80/builds/705/steps/4/logs/stdio |
I also opened https://bugs.python.org/issue38177#msg352474 we should only track this leak in a single issue, you can close bpo-38177. |
PR 16233 fixes the reference leaks but the original error is still present and ./python -m test test_tools -v -R 3:3 is still failing (as in the test fails, instead of failing because there are leaks). |
New changeset 6693f73 by Eric Snow in branch 'master': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: