bpo-43651: Fix EncodingWarning in test_io#25097
Conversation
|
#25103 did not help OpenWrapper(). I don't think we should allow |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 FreeBSD Non-Debug 3.x has failed when building commit 58cffba. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/172/builds/124 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 406 tests OK. 10 slowest tests:
1 test failed: 20 tests skipped: 2 re-run tests: Total duration: 18 min 28 sec Click to see traceback logsTraceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_asyncio/test_subprocess.py", line 126, in run
exitcode = await proc.wait()
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/asyncio/subprocess.py", line 134, in wait
return await self._transport._wait()
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/asyncio/base_subprocess.py", line 235, in _wait
return await waiter
asyncio.exceptions.CancelledError
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_peg_generator/test_c_parser.py", line 160, in test_negative_lookahead
self.run_test(grammar_source, test_source)
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_peg_generator/test_c_parser.py", line 90, in run_test
self.build_extension(grammar_source)
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_peg_generator/test_c_parser.py", line 87, in build_extension
generate_parser_c_extension(grammar, Path(self.tmp_path))
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Tools/peg_generator/pegen/testutil.py", line 104, in generate_parser_c_extension
compile_c_extension(str(source), build_dir=str(path))
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Tools/peg_generator/pegen/build.py", line 93, in compile_c_extension
cmd.run()
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
objects = self.compiler.compile(sources,
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/unixccompiler.py", line 120, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/cc' failed with exit code -9
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/unixccompiler.py", line 117, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/distutils/spawn.py", line 87, in spawn
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/cc' failed with exit code -9
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/test_asyncio/test_subprocess.py", line 131, in test_stdin_stdout
exitcode, stdout = self.loop.run_until_complete(task)
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/asyncio/base_events.py", line 641, in run_until_complete
return future.result()
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/asyncio/tasks.py", line 460, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/asyncio/tasks.py", line 458, in wait_for
fut.result()
asyncio.exceptions.CancelledError
|
Sorry, something went wrong.
https://bugs.python.org/issue43651