Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834814 - dev-python/pytest-asyncio-0.19.0 fails tests on MUSL
Summary: dev-python/pytest-asyncio-0.19.0 fails tests on MUSL
Status: CONFIRMED
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:
Depends on:
Blocks:
 
Reported: 2022-03-09 07:37 UTC by Agostino Sarubbo
Modified: 2023-11-10 14:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,59.93 KB, text/plain)
2022-03-09 07:37 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-03-09 07:37:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-asyncio-0.17.2 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-09 07:37:55 UTC
Created attachment 766621 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-09 07:37:55 UTC
Error(s) that match a know pattern:


E   OSError: [Errno 99] error while attempting to bind on address ('::1', 40779, 0, 0): address not available
E   OSError: [Errno 99] error while attempting to bind on address ('::1', 60647, 0, 0): address not available
FAILED tests/test_simple.py::test_unused_port_factory_fixture - OSError: [Err...
FAILED tests/test_simple.py::test_unused_port_fixture - OSError: [Errno 99] e...
Comment 3 Agostino Sarubbo gentoo-dev 2022-08-21 14:41:20 UTC
tinderbox_musl has reproduced this issue with version 0.19.0 - Updating summary.
Comment 4 Michael Seifert 2023-11-10 14:03:25 UTC
Pytest-asyncio contains some tests that attempt to call Python's socket.bind, which seems to trigger the error.

Is this blocked by FEATURES=network-sandbox? If so, why does it occur with MUSL only?