[devel] Возможно ли обновить python 3.5.1 до 3.5.2?

Новиков Сергей sotor на basealt.ru
Чт Ноя 2 12:20:02 MSK 2017


Лог в приложенном файле.


02.11.2017 11:41, Антон Мидюков пишет:
> 02.11.2017 15:19, Новиков Сергей пишет:
>> Протестировали встроенными тестами. Результаты следующие:
>>
>> python3-base-3.5.4-alt1:
>> # python3 /usr/lib64/python3.5/test/regrtest.py
>> 369 tests OK.
>> 8 tests failed:
>>     test_codecs test_distutils test_ensurepip test_import
>>     test_multiprocessing_fork test_multiprocessing_forkserver
>>     test_multiprocessing_spawn test_venv
>> 1 test altered the execution environment:
>>     test_mailbox
>> 18 tests skipped:
>>     test_asdl_parser test_curses test_devpoll test_gdb test_kqueue
>>     test_msilib test_ossaudiodev test_smtpnet test_socketserver
>>     test_startfile test_timeout test_tix test_tk test_ttk_guionly
>>     test_urllib2net test_urllibnet test_xmlrpc_net test_zipfile64
>> Tests result: FAILURE
>>
>> python3-base-3.5.1-alt10.x86_64:
>> # python3 /usr/lib64/python3.5/test/regrtest.py
>> 366 tests OK.
>> 7 tests failed:
>>     test_codecs test_distutils test_ensurepip
>>     test_multiprocessing_fork test_multiprocessing_forkserver
>>     test_multiprocessing_spawn test_venv
>> 2 tests altered the execution environment:
>>     test_import test_mailbox
>> 18 tests skipped:
>>     test_asdl_parser test_curses test_devpoll test_gdb test_kqueue
>>     test_msilib test_ossaudiodev test_smtpnet test_socketserver
>>     test_startfile test_timeout test_tix test_tk test_ttk_guionly
>>     test_urllib2net test_urllibnet test_xmlrpc_net test_zipfile64
>>
> Спасибо. А кто-нибудь за доработку возьмётся? Или хотя бы лог 
> проваленных тестов покажите, чтоб понять, что не так.
>

-- 
Новиков Сергей
ООО «Базальт СПО»

----------- следующая часть -----------
0:00:00 load avg: 0.01 [1/7] test_codecs
test test_codecs failed -- multiple errors occurred; run in verbose mode for details
0:00:01 load avg: 0.09 [2/7/1] test_distutils
test test_distutils failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/distutils/tests/test_bdist_wininst.py", line 24, in test_get_exe_bytes
    exe_file = cmd.get_exe_bytes()
  File "/usr/lib64/python3.5/distutils/command/bdist_wininst.py", line 357, in get_exe_bytes
    f = open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib64/python3.5/distutils/command/wininst-14.0.exe'

0:00:02 load avg: 0.09 [3/7/2] test_ensurepip
test test_ensurepip failed -- multiple errors occurred; run in verbose mode for details
0:00:02 load avg: 0.09 [4/7/3] test_import
Warning -- files was modified by test_import
  Before: []
  After:  ['@test_14025_tmp.pyc'] 
test test_import failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/test/test_import/__init__.py", line 634, in test_import_from_unloaded_package
    import package2.submodule1
ImportError: No module named 'package2'

0:00:03 load avg: 0.09 [5/7/4] test_multiprocessing_fork
^CProcess Process-25:
Process Process-26:
Process Process-28:
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 252, in _bootstrap
    self.run()
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 252, in _bootstrap
    self.run()
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/test/_test_multiprocessing.py", line 3437, in _child_test_wait
    time.sleep(random.random()*0.1)
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 252, in _bootstrap
    self.run()
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
KeyboardInterrupt
  File "/usr/lib64/python3.5/test/_test_multiprocessing.py", line 3437, in _child_test_wait
    time.sleep(random.random()*0.1)
KeyboardInterrupt
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/test/_test_multiprocessing.py", line 3437, in _child_test_wait
    time.sleep(random.random()*0.1)
KeyboardInterrupt
Process Process-27:
Traceback (most recent call last):
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 252, in _bootstrap
    self.run()
  File "/usr/lib64/python3.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/test/_test_multiprocessing.py", line 3437, in _child_test_wait
    time.sleep(random.random()*0.1)
KeyboardInterrupt
Warning -- multiprocessing.process._dangling was modified by test_multiprocessing_fork
  Before: <_weakrefset.WeakSet object at 0x7f6f5557e780>
  After:  <_weakrefset.WeakSet object at 0x7f6f563c5080> 

Test suite interrupted by signal SIGINT.
3 tests omitted:
    test_multiprocessing_fork test_multiprocessing_forkserver
    test_multiprocessing_spawn
4 tests failed:
    test_codecs test_distutils test_ensurepip test_import
Tests result: FAILURE
[root на sys-server-x86_64 ~]# vim /root/p3test
[root на sys-server-x86_64 ~]# python3 /usr/lib64/python3.5/test/regrtest.py -f /root/p3test
0:00:00 load avg: 0.06 [1/8] test_codecs
test test_codecs failed -- multiple errors occurred; run in verbose mode for details
0:00:01 load avg: 0.06 [2/8/1] test_distutils
test test_distutils failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/distutils/tests/test_bdist_wininst.py", line 24, in test_get_exe_bytes
    exe_file = cmd.get_exe_bytes()
  File "/usr/lib64/python3.5/distutils/command/bdist_wininst.py", line 357, in get_exe_bytes
    f = open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib64/python3.5/distutils/command/wininst-14.0.exe'

0:00:02 load avg: 0.06 [3/8/2] test_ensurepip
test test_ensurepip failed -- multiple errors occurred; run in verbose mode for details
0:00:02 load avg: 0.06 [4/8/3] test_import
Warning -- files was modified by test_import
  Before: []
  After:  ['@test_14166_tmp.pyc'] 
test test_import failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/test/test_import/__init__.py", line 634, in test_import_from_unloaded_package
    import package2.submodule1
ImportError: No module named 'package2'

0:00:03 load avg: 0.06 [5/8/4] test_multiprocessing_fork
test test_multiprocessing_fork failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/test/_test_multiprocessing.py", line 3157, in test_import
    modules.remove('multiprocessing.popen_spawn_win32')
ValueError: list.remove(x): x not in list

0:01:00 load avg: 0.14 [6/8/5] test_multiprocessing_forkserver
test test_multiprocessing_forkserver failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/test/_test_multiprocessing.py", line 3157, in test_import
    modules.remove('multiprocessing.popen_spawn_win32')
ValueError: list.remove(x): x not in list

0:02:01 load avg: 0.17 [7/8/6] test_multiprocessing_spawn
test test_multiprocessing_spawn failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/test/_test_multiprocessing.py", line 3157, in test_import
    modules.remove('multiprocessing.popen_spawn_win32')
ValueError: list.remove(x): x not in list

0:03:20 load avg: 0.60 [8/8/7] test_venv
test test_venv failed -- Traceback (most recent call last):
  File "/usr/lib64/python3.5/test/test_venv.py", line 366, in do_test_with_pip
    with_pip=True)
  File "/usr/lib64/python3.5/test/test_venv.py", line 74, in run_with_capture
    func(*args, **kwargs)
subprocess.CalledProcessError: Command '['/tmp/.private/root/tmprbdwqy_g/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.5/test/test_venv.py", line 428, in test_with_pip
    self.do_test_with_pip(False)
  File "/usr/lib64/python3.5/test/test_venv.py", line 372, in do_test_with_pip
    self.fail(msg.format(exc, details))
AssertionError: Command '['/tmp/.private/root/tmprbdwqy_g/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1

**Subprocess Output**
Traceback (most recent call last):
  File "/usr/lib64/python3.5/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib64/python3.5/ensurepip/__main__.py", line 4, in <module>
    ensurepip._main()
  File "/usr/lib64/python3.5/ensurepip/__init__.py", line 209, in _main
    default_pip=args.default_pip,
  File "/usr/lib64/python3.5/ensurepip/__init__.py", line 98, in bootstrap
    "_bundled/{}".format(wheel_name),
  File "/usr/lib64/python3.5/pkgutil.py", line 632, in get_data
    return loader.get_data(resource_name)
  File "<frozen importlib._bootstrap_external>", line 850, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib64/python3.5/ensurepip/_bundled/setuptools-28.8.0-py2.py3-none-any.whl'


8 tests failed:
    test_codecs test_distutils test_ensurepip test_import
    test_multiprocessing_fork test_multiprocessing_forkserver
    test_multiprocessing_spawn test_venv
Tests result: FAILURE



Подробная информация о списке рассылки Devel