This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_pkgutil buildbot failure (related to PEP 451)
Type: behavior Stage: needs patch
Components: Library (Lib), Tests Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, eric.snow, python-dev
Priority: high Keywords:

Created on 2013-11-22 20:30 by eric.snow, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg203861 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2013-11-22 20:30
http://buildbot.python.org/all/builders/x86%20Gentoo%203.x/builds/5448/steps/test/logs/stdio

======================================================================
ERROR: test_iter_importers (test.test_pkgutil.ExtendPathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 2128, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/test/test_pkgutil.py", line 206, in test_iter_importers
    importlib.import_module(fullname)
  File "/var/lib/buildslave/3.x.murray-gentoo/build/Lib/importlib/__init__.py", line 129, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2164, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2147, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2131, in _find_and_load_unlocked
ImportError: No module named 'spam.eggs'; spam is not a package
msg203863 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2013-11-22 20:31
This appears to be order-related, like the last failure was.  To reproduce:

$ ./python -m test test_importlib test_pkgutil
msg203875 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-22 21:01
New changeset 59f3e50061bd by Eric Snow in branch 'default':
Issue #19724: clear out colliding temp module.
http://hg.python.org/cpython/rev/59f3e50061bd
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 63923
2013-11-22 21:01:56eric.snowsetstatus: open -> closed
resolution: fixed
2013-11-22 21:01:11python-devsetnosy: + python-dev
messages: + msg203875
2013-11-22 20:31:15eric.snowsetmessages: + msg203863
2013-11-22 20:30:17eric.snowcreate