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
Re-enable test_modules_search_builtin() in test_pydoc #64327
Comments
The test (added in issue bpo-20123) broke one of the stable FreeBSD buildbots: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6102 The log for that test run indicates the traceback and the test can be found in Lib/test/test_pydoc.py (PydocImportTest.test_modules_search_builtin). The problem could be one (or more) of several possibilities:
The test itself is not critical but I hope to re-enable it before beta 2 ends in a couple weeks. Stefan: any insight you could offer on the problem, particularly relative to the platform and buildbot, would be greatly appreciated. |
The buildbot runs --without-doc-strings. Usually you just have to add the |
New changeset 13edfab6c3c0 by Eric Snow in branch 'default': |
The other two test_modules* tests in test_pydoc are also having issues and I've likewise disabled them (see bpo-20484). They'll need to be investigated and re-enabled too. |
New changeset 7cfb3db36ec6 by Eric Snow in branch '3.4': |
test_synopsis_sourceless is also failing on koobs-freebsd9 (3.4) and has been for a while. Failing test inlined here, for full buildlog, see msg215997 in bpo-20123 ====================================================================== Traceback (most recent call last):
File "/usr/home/buildbot/python/3.4.koobs-freebsd9/build/Lib/test/test_pydoc.py", line 504, in test_synopsis_sourceless
synopsis = pydoc.synopsis(filename)
File "/usr/home/buildbot/python/3.4.koobs-freebsd9/build/Lib/pydoc.py", line 238, in synopsis
mtime = os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/usr/home/buildbot/python/3.4.koobs-freebsd9/build/Lib/__pycache__/os.cpython-34.pyc' |
Many test_pydoc tests are failing on the FreeBSD 9 buildbot, example: ====================================================================== Traceback (most recent call last):
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/test/test_pydoc.py", line 418, in test_html_doc
self.fail("outputs are not equal, see diff above")
AssertionError: outputs are not equal, see diff above ====================================================================== Traceback (most recent call last):
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/test/test_pydoc.py", line 432, in test_text_doc
self.fail("outputs are not equal, see diff above")
AssertionError: outputs are not equal, see diff above |
Whilst testing bpo-19980 I noticed that three tests are still skipped. |
I don't know what errors was on FreeBSD (logs are no longer available), but these tests modify sys.path and the list of weakrefs to logging handlers. They also require relative long time to run. |
As said koobs, the full log was attached to bpo-20123. |
With test_synopsis_sourceless and test_non_ascii there were different issues, related to -OO. Fixed in changesets 663a83c1d42d, d7b3e722152d, 94edd0ef4c2a. |
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: