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

Bug 923004

Summary: dev-python/dnspython-2.5.0 fails tests on musl (getaddrinfo differences?)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/rthalley/dnspython/issues/1035
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-01-27 06:56:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/dnspython-2.5.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM
Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL

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

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-27 06:56:22 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       AssertionError: False is not true
FAILED tests/test_resolver_override.py::OverrideSystemResolverTestCase::test_basic_getaddrinfo - AssertionError: False is not true
Comment 3 Larry the Git Cow gentoo-dev 2024-01-28 03:51:22 UTC
The bug has been closed via the following commit(s):

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

commit 448c5a045d47fe5cac56c30e4ff4bcab4d5627b7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-28 02:29:33 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-28 02:29:33 +0000

    dev-python/dnspython: Backport musl test fix
    
    Closes: https://bugs.gentoo.org/923004
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/dnspython/dnspython-2.5.0.ebuild        |  6 ++
 .../files/dnspython-2.5.0-musl-test.patch          | 67 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)