Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888444 - dev-python/trio-asyncio-0.12.0-r1 fails tests (DASH-SYSTEM)
Summary: dev-python/trio-asyncio-0.12.0-r1 fails tests (DASH-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 19:34 UTC by Agostino Sarubbo
Modified: 2023-03-27 17:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,61.06 KB, application/x-xz)
2022-12-25 19:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-25 19:34:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/trio-asyncio-0.12.0-r1 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-25 19:34:12 UTC
Created attachment 844900 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-25 19:34:13 UTC
Error(s) that match a know pattern:


E           AssertionError: '/var/tmp/portage/dev-python/trio-asyncio-0[51 chars]p.py' != '/usr/lib/python3.10/test/test_asyncio/test_events.py'
FAILED /Python-3.10/test_asyncio/test_events.py::TestCGetEventLoop::test_get_event_loop_returns_running_loop2
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-15 17:15:09 UTC
For me they fail even earlier:

INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1540, in getoption
INTERNALERROR>     val = getattr(self.option, name)
INTERNALERROR> AttributeError: 'Namespace' object has no attribute 'asyncio_mode'
INTERNALERROR> 
INTERNALERROR> The above exception was the direct cause of the following exception:
INTERNALERROR> 
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/_pytest/main.py", line 266, in wrap_session
INTERNALERROR>     config._do_configure()
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1037, in _do_configure
INTERNALERROR>     self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 277, in call_historic
INTERNALERROR>     res = self._hookexec(self.name, self.get_hookimpls(), kwargs, False)
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 60, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/pluggy/_result.py", line 60, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/pytest_aiohttp/plugin.py", line 23, in pytest_configure
INTERNALERROR>     val = config.getoption("asyncio_mode")
INTERNALERROR>   File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1551, in getoption
INTERNALERROR>     raise ValueError(f"no option named {name!r}") from e
INTERNALERROR> ValueError: no option named 'asyncio_mode'


No revdeps, effectively blocked from 3.11… lastrite candidate then.
Comment 4 Larry the Git Cow gentoo-dev 2023-02-25 10:17:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c8769536c0982aeee97e955a04d2e9d49bf2ff

commit c0c8769536c0982aeee97e955a04d2e9d49bf2ff
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-02-25 10:16:50 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-02-25 10:16:50 +0000

    profiles: mask dev-python/trio-asyncio for removal
    
    Bug: https://bugs.gentoo.org/896898
    Bug: https://bugs.gentoo.org/888444
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2023-03-27 17:28:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4a61605dbb953ae325bfe0b63896e62c259616

commit 6f4a61605dbb953ae325bfe0b63896e62c259616
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-03-27 17:27:55 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-03-27 17:27:55 +0000

    dev-python/trio-asyncio: treeclean
    
    Closes: https://bugs.gentoo.org/888444
    Closes: https://bugs.gentoo.org/896898
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/trio-asyncio/Manifest                   |  1 -
 .../trio-asyncio/files/no-pytest-runner.patch      | 10 -----
 dev-python/trio-asyncio/metadata.xml               | 28 --------------
 .../trio-asyncio/trio-asyncio-0.12.0-r1.ebuild     | 43 ----------------------
 profiles/package.mask                              |  6 ---
 5 files changed, 88 deletions(-)