Bug 49124 - Падение тестов python3 -c 'import numpy; numpy.test()' для python3-module-numpy
Summary: Падение тестов python3 -c 'import numpy; numpy.test()' для python3-module-numpy
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-numpy (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Stanislav Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-19 11:59 MSK by Величко София
Modified: 2024-01-19 12:40 MSK (History)
19 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Величко София 2024-01-19 11:59:39 MSK
python3-module-numpy-1.25.2-alt3.x86_64

Следующие стенды, обновленные до Sisyphus :
Alt Workstation 10.1 x86-64
Alt Education 10.2-x86-64
Alt Server 10.1-x86-64
Alt Education 10.2-x86-64-kde
Alt Kworkstation 10.2.1 x86-64

Шаги воспроизведения :
1. Установить необходимые пакеты :
# apt-get install libnumpy libnumpy-py3-devel python3-module-numpy python3-module-numpy-testing python3-module-numpy-tests python-module-numpy python-module-numpy-testing python-module-numpy-tests

2. Запустить тесты :
# python3 -c 'import numpy; numpy.test()'

Ожидаемый результат : Все тесты успешно пройдены.

Реальный результат : Падение 3 тестов.

Полный вывод результатов в консоли :
FAILED core/tests/test_limited_api.py::test_limited_api - subprocess.CalledProcessError: Command '['/usr/bin/python3', 'setup.py', 'build', 'install', '--prefix', '/tmp/.private/root/pytest-of-ro...
FAILED tests/test_public_api.py::test_all_modules_are_expected_2 - ModuleNotFoundError: No module named 'numpy.doc'
FAILED tests/test_public_api.py::test_api_importable - AssertionError: Modules in the public API that cannot be imported: ['numpy.doc', 'numpy.doc.constants', 'numpy.doc.ufuncs']
ERROR core/tests/test_cython.py::test_is_timedelta64_object - subprocess.CalledProcessError: Command '['/usr/bin/python3', 'setup.py', 'build', 'install', '--prefix', '/tmp/.private/root/pytest-of-ro...
ERROR core/tests/test_cython.py::test_is_datetime64_object - subprocess.CalledProcessError: Command '['/usr/bin/python3', 'setup.py', 'build', 'install', '--prefix', '/tmp/.private/root/pytest-of-ro...
ERROR core/tests/test_cython.py::test_get_datetime64_value - subprocess.CalledProcessError: Command '['/usr/bin/python3', 'setup.py', 'build', 'install', '--prefix', '/tmp/.private/root/pytest-of-ro...
ERROR core/tests/test_cython.py::test_get_timedelta64_value - subprocess.CalledProcessError: Command '['/usr/bin/python3', 'setup.py', 'build', 'install', '--prefix', '/tmp/.private/root/pytest-of-ro...
ERROR core/tests/test_cython.py::test_get_datetime64_unit - subprocess.CalledProcessError: Command '['/usr/bin/python3', 'setup.py', 'build', 'install', '--prefix', '/tmp/.private/root/pytest-of-ro...
ERROR core/tests/test_cython.py::test_abstract_scalars - subprocess.CalledProcessError: Command '['/usr/bin/python3', 'setup.py', 'build', 'install', '--prefix', '/tmp/.private/root/pytest-of-ro...
ERROR core/tests/test_mem_policy.py::test_set_policy - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_set_policy0:
ERROR core/tests/test_mem_policy.py::test_default_policy_singleton - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_default_policy_singleton0:
ERROR core/tests/test_mem_policy.py::test_policy_propagation - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_policy_propagation0:
ERROR core/tests/test_mem_policy.py::test_context_locality - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_context_locality0:
ERROR core/tests/test_mem_policy.py::test_thread_locality - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_thread_locality0:
ERROR core/tests/test_mem_policy.py::test_switch_owner[0] - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_switch_owner_0_0:
ERROR core/tests/test_mem_policy.py::test_switch_owner[1] - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_switch_owner_1_0:
ERROR core/tests/test_mem_policy.py::test_switch_owner[None] - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_switch_owner_None_0:
ERROR core/tests/test_mem_policy.py::test_owner_is_base - RuntimeError: could not compile in /tmp/.private/root/pytest-of-root/pytest-0/test_owner_is_base0:
3 failed, 33175 passed, 3781 skipped, 1308 deselected, 30 xfailed, 5 xpassed, 46 warnings, 15 errors in 166.88s (0:02:46)
Comment 1 Stanislav Levin 2024-01-19 12:36:17 MSK
Некоторые тесты могут ожидаемо не проходить при определенных условиях.
Поэтому ваш ожидаемые результат неверен.
Comment 2 Stanislav Levin 2024-01-19 12:40:59 MSK
btw тесты в sisyphus замечательно проходят:
https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/latest/success/python3-module-numpy-1%3A1.25.2-alt3