ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] gns3-server-2.2.26-alt1: Sisyphus/x86_64 test rebuild failed
  @ 2021-11-13  5:09 ` Антон Мидюков
  2021-11-13 10:02   ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Антон Мидюков @ 2021-11-13  5:09 UTC (permalink / raw)
  To: devel

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

А что за отличие сборочницы от пересборочницы проявилось в данном случае?
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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] gns3-server-2.2.26-alt1: Sisyphus/x86_64 test rebuild failed
  2021-11-13  5:09 ` [devel] gns3-server-2.2.26-alt1: Sisyphus/x86_64 test rebuild failed Антон Мидюков
@ 2021-11-13 10:02   ` Dmitry V. Levin
  2021-11-13 11:01     ` Антон Мидюков
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2021-11-13 10:02 UTC (permalink / raw)
  To: devel

Hi,

On Sat, Nov 13, 2021 at 12:09:41PM +0700, Антон Мидюков wrote:
> Здравствуйте
> 
> А что за отличие сборочницы от пересборочницы проявилось в данном случае?
> 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

-- 
ldv


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] gns3-server-2.2.26-alt1: Sisyphus/x86_64 test rebuild failed
  2021-11-13 10:02   ` Dmitry V. Levin
@ 2021-11-13 11:01     ` Антон Мидюков
  0 siblings, 0 replies; 3+ messages in thread
From: Антон Мидюков @ 2021-11-13 11:01 UTC (permalink / raw)
  To: devel

13.11.2021 17:02, Dmitry V. Levin пишет:
> Hi,
> 
> On Sat, Nov 13, 2021 at 12:09:41PM +0700, Антон Мидюков wrote:
>> Здравствуйте
>>
>> А что за отличие сборочницы от пересборочницы проявилось в данном случае?
>> rebuild в сборочнице успешен:
>> http://git.altlinux.org/tasks/289604/logs/events.1.1.log
> 
> Такие, значит, в пакете тесты.
> 

Т.е. это случайность, что тесты отрабатывают успешно в сборочнице?


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-13 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13  5:09 ` [devel] gns3-server-2.2.26-alt1: Sisyphus/x86_64 test rebuild failed Антон Мидюков
2021-11-13 10:02   ` Dmitry V. Levin
2021-11-13 11:01     ` Антон Мидюков

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