Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 904203

Summary: dev-python/uvicorn-0.21.1 fails tests: test_asgi_return_value[H11Protocol-WebSocketProtocol
Product: Gentoo Linux Reporter: Yixun Lan <dlan>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/encode/uvicorn/pull/1929
https://github.com/encode/uvicorn/issues/1927
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build.log.xz
build.log.xz on riscv

Description Yixun Lan archtester gentoo-dev 2023-04-12 02:22:19 UTC
tests/protocols/test_websocket.py:587: AssertionError
---------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
INFO:     Started server process [66]
INFO:     Uvicorn running on http://127.0.0.1:42825 (Press CTRL+C to quit)
INFO:     ('127.0.0.1', 36152) - "WebSocket /" [accepted]
ERROR:    ASGI callable should return None, but returned '123'.
INFO:     connection open
INFO:     connection closed
INFO:     Shutting down


Reproducible: Always
Comment 1 Yixun Lan archtester gentoo-dev 2023-04-12 02:23:33 UTC
Created attachment 859898 [details]
full build.log.xz
Comment 2 Yixun Lan archtester gentoo-dev 2023-04-12 02:25:35 UTC
Created attachment 859899 [details]
build.log.xz on riscv

same error on riscv platform
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-12 02:29:27 UTC
Same on ppc64.