Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930184 - dev-python/autobahn-23.6.2 fails tests: FAILED ::test_asyncio_component - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel..
Summary: dev-python/autobahn-23.6.2 fails tests: FAILED ::test_asyncio_component - pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-04-18 06:20 UTC by Agostino Sarubbo
Modified: 2024-04-22 07:38 UTC (History)
0 users

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


Attachments
build.log (build.log,575.60 KB, text/plain)
2024-04-18 06:20 UTC, Agostino Sarubbo
Details
1-test.log (1-test.log,21.65 KB, text/plain)
2024-04-18 06:20 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 2024-04-18 06:20:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/autobahn-23.6.2 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-18 06:20:56 UTC
Created attachment 891033 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-18 06:20:58 UTC
Created attachment 891034 [details]
1-test.log

1-test.log
Comment 3 Agostino Sarubbo gentoo-dev 2024-04-18 06:20:58 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


    test_call_exception_runtimeerror ... 2024-04-18T02:13:43+0200 ApplicationSession.onUserError(): "RuntimeError: a simple error"
::test_asyncio_component <- ../autobahn-23.6.2-python3_10/install/usr/lib/python3.10/site-packages/autobahn/wamp/test/test_wamp_component_aio.py FAILED [11/12]
::test_asyncio_component_404 <- ../autobahn-23.6.2-python3_10/install/usr/lib/python3.10/site-packages/autobahn/wamp/test/test_wamp_component_aio.py FAILED [12/12]
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED ::test_asyncio_component - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED ::test_asyncio_component_404 - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
autobahn.wamp.exception.ProtocolError: Received <class 'autobahn.wamp.message.Hello'> message, and session is not yet established
builtins.RuntimeError: a simple error
Comment 4 Larry the Git Cow gentoo-dev 2024-04-18 15:45:47 UTC
The bug has been closed via the following commit(s):

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

commit ba72d2be45a4f4203695aec1fb23b35c46fe2339
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-18 13:46:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-18 15:45:39 +0000

    dev-python/autobahn: Fix asyncio testing
    
    Closes: https://bugs.gentoo.org/930184
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/autobahn/autobahn-23.6.2.ebuild         | 10 +++++-
 .../files/autobahn-23.6.2-pytest-asyncio.patch     | 42 ++++++++++++++++++++++
 2 files changed, 51 insertions(+), 1 deletion(-)