ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Новиков Сергей" <sotor@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Возможно ли обновить python 3.5.1 до 3.5.2?
Date: Thu, 2 Nov 2017 12:20:02 +0300
Message-ID: <3bd2edef-9948-64ca-151a-c26b95b7c476@basealt.ru> (raw)
In-Reply-To: <90b3a33a-b74b-eff3-b447-fad5f895a2fe@ya.ru>

[-- Attachment #1: Type: text/plain, Size: 1940 bytes --]

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


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
>>
> Спасибо. А кто-нибудь за доработку возьмётся? Или хотя бы лог 
> проваленных тестов покажите, чтоб понять, что не так.
>

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


[-- Attachment #2: python3_test_failed --]
[-- Type: text/plain, Size: 7565 bytes --]

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


  reply	other threads:[~2017-11-02  9:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26  3:30 Антон Мидюков
2017-10-26 10:42 ` Dmitry V. Levin
2017-10-26 11:02   ` Антон Мидюков
2017-10-26 12:57     ` Evgeny Sinelnikov
2017-10-30  8:42       ` Антон Мидюков
2017-11-02  1:09         ` Антон Мидюков
2017-11-02  8:19           ` Новиков Сергей
2017-11-02  8:41             ` Антон Мидюков
2017-11-02  9:20               ` Новиков Сергей [this message]
2017-11-02 10:39             ` Dmitry V. Levin
2017-11-02 13:19           ` Ivan Zakharyaschev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3bd2edef-9948-64ca-151a-c26b95b7c476@basealt.ru \
    --to=sotor@basealt.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git