[issue28874] test_logging fails and freezes

Whitequill Riclo report at bugs.python.org
Mon Dec 12 09:19:37 EST 2016


Whitequill Riclo added the comment:

my OS is Ubuntu on Windows 10
<https://msdn.microsoft.com/en-us/commandline/wsl/about>. The new Linux
subsystem for Windows 10
Linux version 3.4.0-Microsoft (Microsoft at Microsoft.com) (gcc version 4.7
(GCC) ) #1 SMP PREEMPT Wed Dec 31 14:42:53 PST 2014

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

ldd (Ubuntu EGLIBC 2.19-0ubuntu6.9) 2.19

Windows 10 is running on bare metal.
I have included a log file with the results from the test.

On Thu, Dec 8, 2016 at 8:55 PM, STINNER Victor <report at bugs.python.org>
wrote:

>
> STINNER Victor added the comment:
>
> What is your OS? A Linux on bare metal? Or a container? What are versions
> of Linux kernel, libc and C compiler? Or more generally the name and
> verison of your Linux distro?
>
> There are many errors:
>
> * test_fcntl failed
> * test_import failed
> * test_epoll failed
>
> Can you please run only these tests in verbose mode, and attach the output?
>
> Example:
>
> ./python -m test -v test_fcntl test_import test_epolls
>
> ----------
> nosy: +haypo
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue28874>
> _______________________________________
>

----------
Added file: http://bugs.python.org/file45857/python37err.log

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28874>
_______________________________________
-------------- next part --------------
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
  File "/home/brazg/py3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/brazg/py3/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/brazg/py3/lib/python3.7/test/__main__.py", line 1, in <module>
    from test.libregrtest import main
  File "/home/brazg/py3/lib/python3.7/test/libregrtest/__init__.py", line 4, in <module>
    from test.libregrtest.cmdline import _parse_args, RESOURCE_NAMES
  File "/home/brazg/py3/lib/python3.7/test/libregrtest/cmdline.py", line 1, in <module>
    import argparse
  File "/home/brazg/py3/lib/python3.7/argparse.py", line 93, in <module>
    from gettext import gettext as _, ngettext
  File "/home/brazg/py3/lib/python3.7/gettext.py", line 49, in <module>
    import locale, copy, io, os, re, struct, sys
  File "/home/brazg/py3/lib/python3.7/struct.py", line 13, in <module>
    from _struct import *
ModuleNotFoundError: No module named '_struct'


More information about the Python-bugs-list mailing list