Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895486 - dev-python/uvicorn-0.20.0 fails tests: "RuntimeError: There is no current event loop in thread 'MainThread'."
Summary: dev-python/uvicorn-0.20.0 fails tests: "RuntimeError: There is no current eve...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-02-20 00:45 UTC by Jonathan Lovelace
Modified: 2023-02-20 06:15 UTC (History)
0 users

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


Attachments
dev-python:uvicorn-0.20.0:20230219-204127.log (dev-python:uvicorn-0.20.0:20230219-204127.log,965.16 KB, text/x-log)
2023-02-20 00:45 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.76 KB, text/plain)
2023-02-20 00:47 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-02-20 00:45:26 UTC
Created attachment 853140 [details]
dev-python:uvicorn-0.20.0:20230219-204127.log

On rebuilding because of the removal of the python_targets_python3_8 USE flag, =dev-python/uvicorn-0.20.0 fails its test phase with numerous errors. Version 0.19.0 also fails; however, version 0.20.0 passed its tests fine when it was last built in December.

Here's the last several lines of the "short test summary" from the build log:

FAILED tests/protocols/test_websocket.py::test_subprotocols[proto1-H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in...
FAILED tests/protocols/test_websocket.py::test_subprotocols[proto1-H11Protocol-WebSocketProtocol] - RuntimeError: There is no current event ...
FAILED tests/protocols/test_websocket.py::test_subprotocols[proto2-H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in...
FAILED tests/protocols/test_websocket.py::test_subprotocols[proto2-H11Protocol-WebSocketProtocol] - RuntimeError: There is no current event ...
FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=defaults sent=defaults-H11Protocol-WebSocketProtocol]
FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=defaults sent=defaults+1-H11Protocol-WebSocketProtocol]
FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=10 sent=10-H11Protocol-WebSocketProtocol]
FAILED tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default[max=10 sent=11-H11Protocol-WebSocketProtocol]
FAILED tests/protocols/test_websocket.py::test_server_reject_connection[H11Protocol-WSProtocol] - RuntimeError: There is no current event lo...
FAILED tests/protocols/test_websocket.py::test_server_reject_connection[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current e...
FAILED tests/protocols/test_websocket.py::test_server_can_read_messages_in_buffer_after_close[H11Protocol-WSProtocol] - RuntimeError: There ...
FAILED tests/protocols/test_websocket.py::test_server_can_read_messages_in_buffer_after_close[H11Protocol-WebSocketProtocol] - RuntimeError:...
FAILED tests/protocols/test_websocket.py::test_default_server_headers[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop...
FAILED tests/protocols/test_websocket.py::test_default_server_headers[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current eve...
FAILED tests/protocols/test_websocket.py::test_no_server_headers[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in t...
FAILED tests/protocols/test_websocket.py::test_no_server_headers[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current event lo...
FAILED tests/protocols/test_websocket.py::test_no_date_header[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop in thre...
FAILED tests/protocols/test_websocket.py::test_multiple_server_header[H11Protocol-WSProtocol] - RuntimeError: There is no current event loop...
FAILED tests/protocols/test_websocket.py::test_multiple_server_header[H11Protocol-WebSocketProtocol] - RuntimeError: There is no current eve...
===================================== 180 failed, 97 passed, 2 skipped, 3 deselected, 1 warning in 10.49s =====================================
Comment 1 Jonathan Lovelace 2023-02-20 00:47:10 UTC
Created attachment 853142 [details]
emerge-info.txt