[devel] gns3-server-2.2.26-alt1: Sisyphus/x86_64 test rebuild failed

Антон Мидюков midyukov-anton на ya.ru
Сб Ноя 13 08:09:41 MSK 2021


Здравствуйте

А что за отличие сборочницы от пересборочницы проявилось в данном случае?
rebuild в сборочнице успешен:
http://git.altlinux.org/tasks/289604/logs/events.1.1.log

13.11.2021 09:50, ALT beekeeper пишет:
> Package: gns3-server-2.2.26-alt1
> Status: Sisyphus/x86_64 test rebuild failed
> URL: http://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2021/1113/error/gns3-server-2.2.26-alt1
> Cannot build this package.
> Please investigate.
> Excerpt from build log:
> 
>             ) or pyfuncitem.funcargs.get("loop", None)
>             with _runtime_warning_context():
>>               with _passthrough_loop_context(existing_loop, fast=fast) as _loop:
> 
> /usr/lib64/python3/site-packages/aiohttp/pytest_plugin.py:179: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /usr/lib64/python3.9/contextlib.py:119: in __enter__
>     return next(self.gen)
> /usr/lib64/python3/site-packages/aiohttp/pytest_plugin.py:156: in _passthrough_loop_context
>     loop = setup_test_loop()
> /usr/lib64/python3/site-packages/aiohttp/test_utils.py:514: in setup_test_loop
>     asyncio.set_event_loop(loop)
> /usr/lib64/python3.9/asyncio/events.py:756: in set_event_loop
>     get_event_loop_policy().set_event_loop(loop)
> /usr/lib64/python3.9/asyncio/unix_events.py:1446: in set_event_loop
>     self._watcher.attach_loop(loop)
> /usr/lib64/python3.9/asyncio/unix_events.py:1009: in attach_loop
>     self._do_waitpid_all()
> /usr/lib64/python3.9/asyncio/unix_events.py:1063: in _do_waitpid_all
>     self._do_waitpid(pid)
> /usr/lib64/python3.9/asyncio/unix_events.py:1097: in _do_waitpid
>     callback(pid, returncode, *args)
> /usr/lib64/python3.9/asyncio/unix_events.py:216: in _child_watcher_callback
>     self.call_soon_threadsafe(transp._process_exited, returncode)
> /usr/lib64/python3.9/asyncio/base_events.py:791: in call_soon_threadsafe
>     self._check_closed()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <_UnixSelectorEventLoop running=False closed=True debug=False>
> 
>     def _check_closed(self):
>         if self._closed:
>>           raise RuntimeError('Event loop is closed')
> E           RuntimeError: Event loop is closed
> 
> /usr/lib64/python3.9/asyncio/base_events.py:510: RuntimeError
> ------------------------------ Captured log setup ------------------------------
> WARNING  gns3server.config:config.py:228 No configuration file could be found or read
> DEBUG    gns3server.compute.port_manager:port_manager.py:51 Console port range is 5000-10000
> DEBUG    gns3server.compute.port_manager:port_manager.py:56 UDP port range is 20000-30000
> ------------------------------ Captured log call -------------------------------
> DEBUG    asyncio:selector_events.py:59 Using selector: EpollSelector
> =============================== warnings summary ===============================
> gns3server/utils/__init__.py:63
>   /usr/src/RPM/BUILD/gns3-server-2.2.26/gns3server/utils/__init__.py:63: DeprecationWarning: invalid escape sequence \.
>     version_infos = re.split('(\.|[a-z]+)', version)
> 
> gns3server/utils/interfaces.py:49
>   /usr/src/RPM/BUILD/gns3-server-2.2.26/gns3server/utils/interfaces.py:49: DeprecationWarning: invalid escape sequence \{
>     connection = r"SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}" + "\{}\Connection".format(guid)
> 
> gns3server/utils/interfaces.py:95
>   /usr/src/RPM/BUILD/gns3-server-2.2.26/gns3server/utils/interfaces.py:95: DeprecationWarning: invalid escape sequence \c
>     service = locator.ConnectServer(".", "root\cimv2")
> 
> gns3server/compute/qemu/__init__.py:221
>   /usr/src/RPM/BUILD/gns3-server-2.2.26/gns3server/compute/qemu/__init__.py:221: DeprecationWarning: invalid escape sequence \s
>     match = re.search("version\s+([0-9a-z\-\.]+)", output)
> 
> gns3server/compute/vmware/__init__.py:700
>   /usr/src/RPM/BUILD/gns3-server-2.2.26/gns3server/compute/vmware/__init__.py:700: DeprecationWarning: invalid escape sequence \M
>     return ['{}\My Virtual Machines'.format(documents_folder), '{}\Virtual Machines'.format(documents_folder)]
> 
> gns3server/compute/vmware/__init__.py:700
>   /usr/src/RPM/BUILD/gns3-server-2.2.26/gns3server/compute/vmware/__init__.py:700: DeprecationWarning: invalid escape sequence \V
>     return ['{}\My Virtual Machines'.format(documents_folder), '{}\Virtual Machines'.format(documents_folder)]
> 
> gns3server/web/route.py:167: 349 warnings
>   /usr/src/RPM/BUILD/gns3-server-2.2.26/gns3server/web/route.py:167: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
>     func = asyncio.coroutine(func)
> 
> ../../../../lib/python3/site-packages/_pytest/config/__init__.py:1233
>   /usr/lib/python3/site-packages/_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: ignore
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> tests/controller/test_export_project.py::test_export_with_ignoring_snapshots[pyloop]
>   /usr/lib64/python3/site-packages/aiohttp/test_utils.py:536: RuntimeWarning: coroutine 'AsyncioBytesIO.close' was never awaited
>     gc.collect()
> 
> tests/handlers/test_index.py: 7 warnings
> tests/handlers/api/compute/test_capabilities.py: 2 warnings
> tests/handlers/api/compute/test_cloud.py: 10 warnings
> tests/handlers/api/compute/test_docker.py: 14 warnings
> tests/handlers/api/compute/test_dynamips.py: 3 warnings
> tests/handlers/api/compute/test_iou.py: 22 warnings
> tests/handlers/api/compute/test_nat.py: 10 warnings
> tests/handlers/api/compute/test_network.py: 2 warnings
> tests/handlers/api/compute/test_notification.py: 1 warning
> tests/handlers/api/compute/test_project.py: 15 warnings
> tests/handlers/api/compute/test_qemu.py: 30 warnings
> tests/handlers/api/compute/test_server.py: 3 warnings
> tests/handlers/api/compute/test_traceng.py: 14 warnings
> tests/handlers/api/compute/test_virtualbox.py: 14 warnings
> tests/handlers/api/compute/test_vmware.py: 14 warnings
> tests/handlers/api/compute/test_vpcs.py: 16 warnings
> tests/handlers/api/controller/test_appliance.py: 1 warning
> tests/handlers/api/controller/test_compute.py: 11 warnings
> tests/handlers/api/controller/test_drawing.py: 5 warnings
> tests/handlers/api/controller/test_gns3vm.py: 4 warnings
> tests/handlers/api/controller/test_link.py: 10 warnings
> tests/handlers/api/controller/test_node.py: 19 warnings
> tests/handlers/api/controller/test_project.py: 23 warnings
> tests/handlers/api/controller/test_server.py: 5 warnings
> tests/handlers/api/controller/test_snapshot.py: 4 warnings
> tests/handlers/api/controller/test_symbol.py: 3 warnings
> tests/handlers/api/controller/test_template.py: 29 warnings
> tests/handlers/api/controller/test_version.py: 5 warnings
>   /usr/lib64/python3.9/asyncio/base_events.py:1518: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
>     await tasks.sleep(0, loop=self)
> 
> tests/utils/test_asyncio.py::test_subprocess_check_output[pyloop]
>   /usr/lib64/python3.9/asyncio/unix_events.py:995: RuntimeWarning: A loop is being detached from a child watcher with pending handlers
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info ============================
> FAILED tests/utils/test_asyncio.py::test_lock_decorator - RuntimeError: Event...
> ====== 1 failed, 876 passed, 1 skipped, 654 warnings in 84.64s (0:01:24) =======
> error: Bad exit status from /usr/src/tmp/rpm-tmp.37932 (%check)
> 
> RPM build errors:
>     Bad exit status from /usr/src/tmp/rpm-tmp.37932 (%check)
> Command exited with non-zero status 1
> 57.17user 2.27system 1:28.91elapsed 66%CPU (0avgtext+0avgdata 83320maxresident)k
> 0inputs+0outputs (0major+483794minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `gns3-server-2.2.26-alt1.src.rpm' failed.
> Command exited with non-zero status 1
> 


-- 
С уважением, Антон Мидюков <antohami на altlinux.org>


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