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

Bug 937733

Summary: dev-python/twisted-24.7.0 fails tests: builtins.KeyError: 'twisted.words.test.test_xmlstream.GenericXmlStreamFactoryTestsMixin.test_addAndRemoveBootstrap'
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: arkamar
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
53-test.log.xz

Description Agostino Sarubbo gentoo-dev 2024-08-10 19:05:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/twisted-24.7.0 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-10 19:05:25 UTC
Created attachment 899819 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-10 19:05:26 UTC
Created attachment 899820 [details]
53-test.log.xz

53-test.log (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 3 Agostino Sarubbo gentoo-dev 2024-08-10 19:05:27 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


builtins.KeyError: 'twisted.words.test.test_xmlstream.GenericXmlStreamFactoryTestsMixin.test_addAndRemoveBootstrap'
Couldn't import or instantiate Options class: No module named 'tkinter'
FAILED (skips=795, errors=1, successes=10657)
Comment 4 Petr Vaněk gentoo-dev 2024-08-11 07:58:47 UTC
It looks like a random fluke to me, I wasn't able to reproduce this one. Actually, dev-python/twisted-24.7.0_rc2 is basically the same as this version (only version information has changed in the package source) but it passed the ci.

The "Couldn't import or instantiate Options class: No module named 'tkinter'" is a message for skipped test.
Comment 5 Larry the Git Cow gentoo-dev 2025-03-18 08:05:02 UTC
The bug has been closed via the following commit(s):

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

commit 4a2dd1e2c3236ba3534752ce62a5f07d5f9d9220
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2025-03-18 07:51:44 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2025-03-18 08:03:47 +0000

    dev-python/twisted: drop 24.7.0
    
    Closes: https://bugs.gentoo.org/937733
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-python/twisted/Manifest                        |   1 -
 .../files/twisted-24.3.0-skip-dsa-tests.patch      |  75 ---------
 .../twisted-24.3.0_p20240628-skip-py313-test.patch |  35 -----
 .../twisted-24.7.0_rc1-skip-py313-tests.patch      |  54 -------
 dev-python/twisted/twisted-24.7.0.ebuild           | 167 ---------------------
 5 files changed, 332 deletions(-)