[New-bugs-announce] [issue42231] test_zipimport failure
STINNER Victor
report at bugs.python.org
Sun Nov 1 08:44:32 EST 2020
New submission from STINNER Victor <vstinner at python.org>:
ARM Raspbian 3.x:
https://buildbot.python.org/all/#/builders/424/builds/294
I don't understand why the test started to fail at build 294 which only has one new change: commit 2165cea548f961b308050f30d1f042a377651d44 ("bpo-29566: binhex.binhex now consitently writes MacOS 9 line endings"). It seems to be unrelated.
I failed to reproduce the issue on Linux.
======================================================================
FAIL: testBoth (test.test_zipimport.UncompressedZipImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 194, in testBoth
self.doTest(pyc_ext, files, TESTMOD)
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 148, in doTest
self.assertEqual(file, os.path.join(TEMP_ZIP,
AssertionError: '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py' != '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc
? +
======================================================================
FAIL: testGetCompiledSource (test.test_zipimport.UncompressedZipImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 594, in testGetCompiledSource
self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 148, in doTest
self.assertEqual(file, os.path.join(TEMP_ZIP,
AssertionError: '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py' != '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc
? +
======================================================================
FAIL: testBoth (test.test_zipimport.CompressedZipImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 194, in testBoth
self.doTest(pyc_ext, files, TESTMOD)
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 148, in doTest
self.assertEqual(file, os.path.join(TEMP_ZIP,
AssertionError: '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py' != '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc
? +
======================================================================
FAIL: testGetCompiledSource (test.test_zipimport.CompressedZipImportTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 594, in testGetCompiledSource
self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
File "/var/lib/buildbot/workers/3.x.gps-raspbian/build/Lib/test/test_zipimport.py", line 148, in doTest
self.assertEqual(file, os.path.join(TEMP_ZIP,
AssertionError: '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py' != '/var[64 chars]8289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/workers/3.x.gps-raspbian/build/build/test_python_18289æ/test_python_worker_2163æ/junk95142.zip/ziptestmodule.pyc
? +
----------
components: Tests
messages: 380135
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_zipimport failure
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42231>
_______________________________________
More information about the New-bugs-announce
mailing list