Message 177466 - Python tracker (original) (raw)

Some tests are failing since the changeset 6eefe4d537b3.

Example: http://buildbot.python.org/all/builders/x86%20RHEL%206%203.x/builds/1431/steps/test/logs/stdio

Please check buildbots.

[176/371] test_pkgutil test_getdata_filesys (test.test_pkgutil.PkgutilTests) ... ok test_getdata_zipfile (test.test_pkgutil.PkgutilTests) ... ok test_unreadable_dir_on_syspath (test.test_pkgutil.PkgutilTests) ... ok test_alreadyloaded (test.test_pkgutil.PkgutilPEP302Tests) ... ERROR test_getdata_pep302 (test.test_pkgutil.PkgutilPEP302Tests) ... ERROR test_mixed_namespace (test.test_pkgutil.ExtendPathTests) ... ERROR test_simple (test.test_pkgutil.ExtendPathTests) ... ERROR test_nested (test.test_pkgutil.NestedNamespacePackageTest) ... ok test_get_importer_avoids_emulation (test.test_pkgutil.ImportlibMigrationTests) ... ok test_get_loader_avoids_emulation (test.test_pkgutil.ImportlibMigrationTests) ... ok test_importer_deprecated (test.test_pkgutil.ImportlibMigrationTests) ... ok test_iter_importers_avoids_emulation (test.test_pkgutil.ImportlibMigrationTests) ... ok test_loader_deprecated (test.test_pkgutil.ImportlibMigrationTests) ... ok

====================================================================== ERROR: test_alreadyloaded (test.test_pkgutil.PkgutilPEP302Tests)

Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/test/test_pkgutil.py", line 139, in test_alreadyloaded self.assertEqual(foo.loads, 1) AttributeError: 'module' object has no attribute 'loads'

====================================================================== ERROR: test_getdata_pep302 (test.test_pkgutil.PkgutilPEP302Tests)

Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/pkgutil.py", line 502, in find_loader return importlib.find_loader(fullname, path) File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/importlib/init.py", line 64, in find_loader loader = sys.modules[name].loader AttributeError: 'module' object has no attribute 'loader'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/test/test_pkgutil.py", line 131, in test_getdata_pep302 self.assertEqual(pkgutil.get_data('foo', 'dummy'), "Hello, world!") File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/pkgutil.py", line 625, in get_data loader = get_loader(package) File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/pkgutil.py", line 480, in get_loader return find_loader(fullname) File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/pkgutil.py", line 508, in find_loader raise ImportError(msg.format(fullname, type(ex), ex)) from ex ImportError: Error while finding loader for 'foo' (<class 'AttributeError'>: 'module' object has no attribute 'loader')

====================================================================== ERROR: test_mixed_namespace (test.test_pkgutil.ExtendPathTests)

Traceback (most recent call last): File "", line 1523, 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 "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/test/test_pkgutil.py", line 198, in test_mixed_namespace import foo.bar ImportError: No module named 'foo.bar'; foo is not a package

====================================================================== ERROR: test_simple (test.test_pkgutil.ExtendPathTests)

Traceback (most recent call last): File "", line 1523, 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 "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/test/test_pkgutil.py", line 170, in test_simple import foo.bar ImportError: No module named 'foo.bar'; foo is not a package


Ran 13 tests in 0.027s