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 failures on Python 3.7 beta 5 and Windows 10
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ned.deily, paul.moore, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Priority: normal Keywords:

Created on 2018-05-31 14:53 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (6)
msg318322 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-05-31 14:53
I ran the test suite on an installed Python 3.7 beta5 on Windows 10. The following tests fail:

* test_marshal.test_loads_2x_code(): Windows fatal exception: stack overflow
* test_pkg: failures when run with -X utf8
* test.test_tools.test_sundry.TestSundryScripts.test_sundry(): "optparse.BadOptionError: no such option: -m"

== test_marshal ==

C:\Users\vstinner\AppData\Local\Programs\Python\Python37>python.exe -m test test_marshal -v
== CPython 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: C:\Users\vstinner\AppData\Local\Temp\test_python_3836
== CPU count: 2
== encodings: locale=cp1252, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_marshal
(...)
test_loads_2x_code (test.test_marshal.BugsTestCase) ... Windows fatal exception: stack overflow

Current thread 0x000003a0 (most recent call first):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 178 in handle
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 743 in assertRaises
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_marshal.py", line 215 in test_loads_2x_code
  (...)

== test_pkg ==

C:\Users\vstinner\AppData\Local\Programs\Python\Python37>python.exe -X utf8 -m test -v test_pkg
== CPython 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: C:\Users\vstinner\AppData\Local\Temp\test_python_6984
== CPU count: 2
== encodings: locale=UTF-8, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_pkg
test_1 (test.test_pkg.TestPkg) ... ok
test_2 (test.test_pkg.TestPkg) ... ok
test_3 (test.test_pkg.TestPkg) ... ok
test_4 (test.test_pkg.TestPkg) ... ERROR
test_5 (test.test_pkg.TestPkg) ... ok
test_6 (test.test_pkg.TestPkg) ... ok
test_7 (test.test_pkg.TestPkg) ... FAIL
test_8 (test.test_pkg.TestPkg) ... ok

======================================================================
ERROR: test_4 (test.test_pkg.TestPkg)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_pkg.py", line 180, in test_4
    self.run_code(s)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_pkg.py", line 69, in run_code
    exec(textwrap.dedent(code), globals(), {"self": self})
  File "<string>", line 2, in <module>
  File "C:\Users\vstinner\AppData\Local\Temp\tmpeeb0h5ra\t4.py", line 1, in <module>
RuntimeError: Shouldnt load t4.py

======================================================================
FAIL: test_7 (test.test_pkg.TestPkg)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_pkg.py", line 260, in test_7
    '__name__', '__package__', '__path__', '__spec__'])
AssertionError: Lists differ: ['__c[34 chars]__loader__', '__name__', '__package__', '__spec__'] != ['__c[34 chars]__loader__', '__name__', '__package__', '__path__', '__spec__']

First differing element 6:
'__spec__'
'__path__'

Second list contains 1 additional elements.
First extra element 7:
'__spec__'

  ['__cached__',
   '__doc__',
   '__file__',
   '__loader__',
   '__name__',
   '__package__',
+  '__path__',
   '__spec__']

----------------------------------------------------------------------
Ran 8 tests in 0.156s

FAILED (failures=1, errors=1)
test test_pkg failed
test_pkg failed

1 test failed:
    test_pkg

Total duration: 187 ms
Tests result: FAILURE

== test_tools ==


C:\Users\vstinner\AppData\Local\Programs\Python\Python37>python.exe -m test -v test_tools -m test_sundry
== CPython 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: C:\Users\vstinner\AppData\Local\Temp\test_python_7472
== CPU count: 2
== encodings: locale=cp1252, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_tools
test_analyze_dxp_import (test.test_tools.test_sundry.TestSundryScripts) ... ok
test_sundry (test.test_tools.test_sundry.TestSundryScripts) ... Usage: 2to3 [options] file|dir ...

__main__.py: error: no such option: -m
ERROR
test_sundry_windows (test.test_tools.test_sundry.TestSundryScripts) ... ok

======================================================================
ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1387, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1431, in _process_args
    self._process_short_opts(rargs, values)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1513, in _process_short_opts
    raise BadOptionError(opt)
optparse.BadOptionError: no such option: -m

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_tools\test_sundry.py", line 36, in test_sundry
    import_tool(name)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_tools\__init__.py", line 21, in import_tool
    return importlib.import_module(toolname)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\Tools\scripts\2to3.py", line 5, in <module>
    sys.exit(main("lib2to3.fixes"))
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\lib2to3\main.py", line 179, in main
    options, args = parser.parse_args(args)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1389, in parse_args
    self.error(str(err))
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1569, in error
    self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1559, in exit
    sys.exit(status)
SystemExit: 2

----------------------------------------------------------------------
Ran 3 tests in 0.031s

FAILED (errors=1)
test test_tools failed
test_tools failed

1 test failed:
    test_tools

Total duration: 78 ms
Tests result: FAILURE
msg318324 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-05-31 15:13
> test_marshal.test_loads_2x_code(): Windows fatal exception: stack overflow

I created bpo-33720: "test_marshal: crash in Python 3.7b5 on Windows 10".
msg318448 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2018-06-01 18:04
I ran py -3.7 -m test -j11 -uall
I saw test_marshal fail with fatal exception.
I saw test_tools and test_site fail as below.

C:\Users\Terry>py -3.7 -X utf8 -m test  test_pkg
0:00:00 [1/1] test_pkg
1 test OK.

 test_tools failed -- running: test_io (103 sec), test_largefile (100 sec), test_multiprocessing_spawn (88 sec), test_mmap (91 sec), test_tokenize (43 sec)
Usage: 2to3 [options] file|dir ...

regrtest.py: error: no such option: --slaveargs
test test_tools failed -- Traceback (most recent call last):
  File "C:\Programs\Python37\lib\optparse.py", line 1387, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "C:\Programs\Python37\lib\optparse.py", line 1427, in _process_args
    self._process_long_opt(rargs, values)
  File "C:\Programs\Python37\lib\optparse.py", line 1480, in _process_long_opt
    opt = self._match_long_opt(opt)
  File "C:\Programs\Python37\lib\optparse.py", line 1465, in _match_long_opt
    return _match_abbrev(opt, self._long_opt)
  File "C:\Programs\Python37\lib\optparse.py", line 1670, in _match_abbrev
    raise BadOptionError(s)
optparse.BadOptionError: no such option: --slaveargs

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Programs\Python37\lib\test\test_tools\test_sundry.py", line 36, in test_sundry
    import_tool(name)
  File "C:\Programs\Python37\lib\test\test_tools\__init__.py", line 21, in import_tool
    return importlib.import_module(toolname)
  File "C:\Programs\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Programs\Python37\Tools\scripts\2to3.py", line 5, in <module>
    sys.exit(main("lib2to3.fixes"))
  File "C:\Programs\Python37\lib\lib2to3\main.py", line 179, in main
    options, args = parser.parse_args(args)
  File "C:\Programs\Python37\lib\optparse.py", line 1389, in parse_args
    self.error(str(err))
  File "C:\Programs\Python37\lib\optparse.py", line 1569, in error
    self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
  File "C:\Programs\Python37\lib\optparse.py", line 1559, in exit
    sys.exit(status)
SystemExit: 2



test test_site failed -- Traceback (most recent call last):
  File "C:\Programs\Python37\lib\test\test_site.py", line 487, in test_startup_imports
    self.assertFalse(modules.intersection(collection_mods), stderr)
AssertionError: {'heapq', 'types', 'functools', 'keyword', 'operator', 'reprlib', 'collections'} is not false : import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
# installing zipimport hook
import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'>
# installed zipimport hook
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'nt' # <class '_frozen_importlib.BuiltinImporter'>
import _thread # previously loaded ('_thread')
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import _weakref # previously loaded ('_weakref')
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import 'winreg' # <class '_frozen_importlib.BuiltinImporter'>
# C:\Programs\Python37\lib\encodings\__pycache__\__init__.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\__init__.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\__init__.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\codecs.cpython-37.pyc matches C:\Programs\Python37\lib\codecs.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\codecs.cpython-37.pyc'
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCB943C8>
# C:\Programs\Python37\lib\encodings\__pycache__\aliases.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\aliases.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\aliases.cpython-37.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBA9EF0>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCB88710>
# C:\Programs\Python37\lib\encodings\__pycache__\utf_8.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\utf_8.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\utf_8.cpython-37.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBBF98>
import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
# C:\Programs\Python37\lib\encodings\__pycache__\latin_1.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\latin_1.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\latin_1.cpython-37.pyc'
import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBD400>
# C:\Programs\Python37\lib\__pycache__\io.cpython-37.pyc matches C:\Programs\Python37\lib\io.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\io.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\abc.cpython-37.pyc matches C:\Programs\Python37\lib\abc.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\abc.cpython-37.pyc'
import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBD9B0>
import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBD5F8>
# C:\Programs\Python37\lib\__pycache__\_bootlocale.cpython-37.pyc matches C:\Programs\Python37\lib\_bootlocale.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\_bootlocale.cpython-37.pyc'
import '_locale' # <class '_frozen_importlib.BuiltinImporter'>
import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBDF98>
# C:\Programs\Python37\lib\encodings\__pycache__\cp1252.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\cp1252.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\cp1252.cpython-37.pyc'
import 'encodings.cp1252' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBC4828>
Python 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
# C:\Programs\Python37\lib\__pycache__\site.cpython-37.pyc matches C:\Programs\Python37\lib\site.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\site.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\os.cpython-37.pyc matches C:\Programs\Python37\lib\os.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\os.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\stat.cpython-37.pyc matches C:\Programs\Python37\lib\stat.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\stat.cpython-37.pyc'
import '_stat' # <class '_frozen_importlib.BuiltinImporter'>
import 'stat' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBDF390>
# C:\Programs\Python37\lib\__pycache__\ntpath.cpython-37.pyc matches C:\Programs\Python37\lib\ntpath.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\ntpath.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\genericpath.cpython-37.pyc matches C:\Programs\Python37\lib\genericpath.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\genericpath.cpython-37.pyc'
import 'genericpath' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBEE2B0>
import 'ntpath' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBDFA20>
# C:\Programs\Python37\lib\__pycache__\_collections_abc.cpython-37.pyc matches C:\Programs\Python37\lib\_collections_abc.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\_collections_abc.cpython-37.pyc'
import '_collections_abc' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBEE860>
import 'os' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBCEF60>
# C:\Programs\Python37\lib\__pycache__\_sitebuiltins.cpython-37.pyc matches C:\Programs\Python37\lib\_sitebuiltins.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\_sitebuiltins.cpython-37.pyc'
import '_sitebuiltins' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBD3320>
# C:\Programs\Python37\lib\__pycache__\types.cpython-37.pyc matches C:\Programs\Python37\lib\types.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\types.cpython-37.pyc'
import 'types' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBD9748>
# C:\Programs\Python37\lib\importlib\__pycache__\__init__.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\__init__.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\__init__.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\warnings.cpython-37.pyc matches C:\Programs\Python37\lib\warnings.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\warnings.cpython-37.pyc'
import 'warnings' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE9493C8>
import 'importlib' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCC0EF98>
# C:\Programs\Python37\lib\importlib\__pycache__\util.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\util.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\util.cpython-37.pyc'
# C:\Programs\Python37\lib\importlib\__pycache__\abc.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\abc.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\abc.cpython-37.pyc'
# C:\Programs\Python37\lib\importlib\__pycache__\machinery.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\machinery.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\machinery.cpython-37.pyc'
import 'importlib.machinery' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE953F98>
import 'importlib.abc' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE953748>
# C:\Programs\Python37\lib\__pycache__\contextlib.cpython-37.pyc matches C:\Programs\Python37\lib\contextlib.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\contextlib.cpython-37.pyc'
# C:\Programs\Python37\lib\collections\__pycache__\__init__.cpython-37.pyc matches C:\Programs\Python37\lib\collections\__init__.py
# code object from 'C:\\Programs\\Python37\\lib\\collections\\__pycache__\\__init__.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\operator.cpython-37.pyc matches C:\Programs\Python37\lib\operator.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\operator.cpython-37.pyc'
import '_operator' # <class '_frozen_importlib.BuiltinImporter'>
import 'operator' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA8E550>
# C:\Programs\Python37\lib\__pycache__\keyword.cpython-37.pyc matches C:\Programs\Python37\lib\keyword.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\keyword.cpython-37.pyc'
import 'keyword' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA97748>
# C:\Programs\Python37\lib\__pycache__\heapq.cpython-37.pyc matches C:\Programs\Python37\lib\heapq.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\heapq.cpython-37.pyc'
import '_heapq' # <class '_frozen_importlib.BuiltinImporter'>
import 'heapq' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA9A128>
import 'itertools' # <class '_frozen_importlib.BuiltinImporter'>
# C:\Programs\Python37\lib\__pycache__\reprlib.cpython-37.pyc matches C:\Programs\Python37\lib\reprlib.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\reprlib.cpython-37.pyc'
import 'reprlib' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA9A710>
import '_collections' # <class '_frozen_importlib.BuiltinImporter'>
import 'collections' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE96C780>
# C:\Programs\Python37\lib\__pycache__\functools.cpython-37.pyc matches C:\Programs\Python37\lib\functools.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\functools.cpython-37.pyc'
import '_functools' # <class '_frozen_importlib.BuiltinImporter'>
import 'functools' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE96CB70>
import 'contextlib' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE953DD8>
import 'importlib.util' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE949780>
# possible namespace for C:\Programs\Python37\lib\site-packages\sphinxcontrib
import 'site' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBC4B70>
# cleanup[3] wiping _codecs
# cleanup[3] wiping encodings.aliases
# cleanup[3] wiping encodings.utf_8
# cleanup[3] wiping encodings.latin_1
# cleanup[3] wiping encodings.cp1252
# cleanup[3] wiping importlib._bootstrap
# cleanup[3] wiping sys
# clear builtins._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.__interactivehook__
# clear sys.flags
# clear sys.float_info
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup[2] removing sys
# cleanup[2] removing builtins
# cleanup[2] removing _frozen_importlib
# cleanup[2] removing _imp
# cleanup[2] removing _thread
# cleanup[2] removing _warnings
# cleanup[2] removing _weakref
# cleanup[2] removing zipimport
# cleanup[2] removing _frozen_importlib_external
# cleanup[2] removing _io
# cleanup[2] removing marshal
# cleanup[2] removing nt
# cleanup[2] removing winreg
# cleanup[2] removing encodings
# destroy encodings
# cleanup[2] removing codecs
# cleanup[2] removing _codecs
# cleanup[2] removing encodings.aliases
# cleanup[2] removing encodings.utf_8
# cleanup[2] removing _signal
# cleanup[2] removing __main__
# destroy __main__
# cleanup[2] removing encodings.latin_1
# cleanup[2] removing io
# destroy io
# cleanup[2] removing abc
# cleanup[2] removing _abc
# cleanup[2] removing _bootlocale
# destroy _bootlocale
# cleanup[2] removing _locale
# cleanup[2] removing encodings.cp1252
# cleanup[2] removing site
# destroy site
# cleanup[2] removing os
# cleanup[2] removing stat
# cleanup[2] removing _stat
# cleanup[2] removing ntpath
# cleanup[2] removing genericpath
# cleanup[2] removing os.path
# cleanup[2] removing _collections_abc
# cleanup[2] removing _sitebuiltins
# cleanup[2] removing types
# cleanup[2] removing importlib
# destroy importlib
# cleanup[2] removing importlib._bootstrap
# cleanup[2] removing importlib._bootstrap_external
# cleanup[2] removing warnings
# cleanup[2] removing importlib.util
# cleanup[2] removing importlib.abc
# cleanup[2] removing importlib.machinery
# cleanup[2] removing contextlib
# destroy contextlib
# cleanup[2] removing collections
# destroy collections
# cleanup[2] removing operator
# destroy operator
# cleanup[2] removing _operator
# cleanup[2] removing keyword
# destroy keyword
# cleanup[2] removing heapq
# cleanup[2] removing _heapq
# cleanup[2] removing itertools
# cleanup[2] removing reprlib
# destroy reprlib
# cleanup[2] removing _collections
# cleanup[2] removing functools
# cleanup[2] removing _functools
# cleanup[2] removing sphinxcontrib
# destroy sphinxcontrib
# destroy zipimport
# destroy _signal
# destroy _locale
# destroy _sitebuiltins
# destroy ntpath
# destroy _stat
# destroy genericpath
# destroy os
# destroy stat
# destroy importlib.util
# destroy importlib.abc
# destroy functools
# destroy types
# destroy importlib.machinery
# destroy warnings
# destroy abc
# destroy _collections_abc
# destroy heapq
# destroy _abc
# destroy _functools
# destroy _operator
# destroy _heapq
# destroy itertools
# destroy _collections
# cleanup[3] wiping _frozen_importlib
# destroy _frozen_importlib_external
# cleanup[3] wiping _imp
# cleanup[3] wiping _thread
# cleanup[3] wiping _warnings
# cleanup[3] wiping _weakref
# cleanup[3] wiping _io
# cleanup[3] wiping marshal
# cleanup[3] wiping nt
# cleanup[3] wiping winreg
# cleanup[3] wiping codecs
# cleanup[3] wiping builtins
msg320054 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-06-20 10:19
test test_tools failed -- Traceback (most recent call last):
   (...)
optparse.BadOptionError: no such option: --slaveargs

Ah, it's a known and old issue: bpo-25094.
msg320644 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2018-06-28 02:21
Same test_site and test_tools (#25094) failures on newly installed 3.6.6 and 3.7.0.  They pass on repository 3.6,7,8.  Was there a fix not pulled into the releases, or are these install dependent?
msg322209 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-07-23 12:46
* test_mashal has been fixed: bpo-33720
* test_tools has been fixed: bpo-25094
* test_pkg -X utf8: I just created bpo-34200

It seems like all test failures reported in this issue have been fixed or got their own dedicated issue, so I close thie issue.
History
Date User Action Args
2022-04-11 14:59:01adminsetgithub: 77900
2018-07-23 12:46:17vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg322209

stage: needs patch -> resolved
2018-06-28 02:26:11ned.deilysetnosy: + paul.moore, tim.golden, zach.ware, steve.dower
2018-06-28 02:21:23terry.reedysetversions: + Python 3.6
nosy: + ned.deily

messages: + msg320644

type: behavior
stage: needs patch
2018-06-20 10:19:53vstinnersetmessages: + msg320054
2018-06-01 18:04:24terry.reedysetnosy: + terry.reedy
messages: + msg318448
2018-05-31 15:13:59vstinnersetmessages: + msg318324
2018-05-31 14:53:06vstinnercreate