Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934952 - [guru] dev-python/cloudflare-3.0.1 fails tests: FAILED test_client.py::TestAsyncCloudflare::test_copy_build_request - AssertionError
Summary: [guru] dev-python/cloudflare-3.0.1 fails tests: FAILED test_client.py::TestAs...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kyle Elbert
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-26 06:43 UTC by Agostino Sarubbo
Modified: 2024-06-27 08:41 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,176.12 KB, application/x-xz)
2024-06-26 06:43 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 2024-06-26 06:43:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/cloudflare-3.0.1 fails tests.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-26 06:43:59 UTC
Created attachment 896440 [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-06-26 06:43:59 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED tests/test_client.py::TestAsyncCloudflare::test_copy_build_request - AssertionError
tests/test_client.py::TestAsyncCloudflare::test_copy_build_request FAILED [26615/26820]
Comment 3 Kyle Elbert 2024-06-26 10:20:38 UTC
looks like that test only fails with python 3.11, but is passing with 3.12 ( and apparently the 3.9 version upstream is using to test according to the github ci )

deselecting it for 3.9 for now. will put in an upstream bug in the next few days for them to look at after I reproduce in a vanilla venv.
Comment 4 Kyle Elbert 2024-06-26 13:00:28 UTC
passed along to upstream. These two intermittently failing tests have now been deselected in the latest commit in dev.
Comment 5 Larry the Git Cow gentoo-dev 2024-06-27 08:41:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ffa96ec3d8a432df032bb01a8fc8712083d1a38

commit 1ffa96ec3d8a432df032bb01a8fc8712083d1a38
Author:     Kyle Elbert <kcelbert@gmail.com>
AuthorDate: 2024-06-26 10:27:24 +0000
Commit:     Kyle Elbert <kcelbert@gmail.com>
CommitDate: 2024-06-26 10:27:24 +0000

    dev-python/cloudflare: deselect failing test for python3.11
    
    Looks like its a small memory leak
    Will put in an upstream bug soon for them to look at
    Passes on python3.12 (and upstream's ci using 3.9)
    
    Closes: https://bugs.gentoo.org/934952
    Signed-off-by: Kyle Elbert <kcelbert@gmail.com>

 dev-python/cloudflare/cloudflare-3.0.1.ebuild | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25b35c437d5d8fabe4cfcb0841095f77ed118fbc

commit 25b35c437d5d8fabe4cfcb0841095f77ed118fbc
Author:     Kyle Elbert <kcelbert@gmail.com>
AuthorDate: 2024-06-26 10:47:12 +0000
Commit:     Kyle Elbert <kcelbert@gmail.com>
CommitDate: 2024-06-26 10:55:28 +0000

    dev-python/cloudflare: deselect async version of same test
    
    Bug: https://bugs.gentoo.org/934952
    Signed-off-by: Kyle Elbert <kcelbert@gmail.com>

 dev-python/cloudflare/cloudflare-3.0.1.ebuild | 1 +
 1 file changed, 1 insertion(+)