Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834563 - dev-python/aws-xray-sdk-python-2.10.0 fails tests on MUSL
Summary: dev-python/aws-xray-sdk-python-2.10.0 fails tests on MUSL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 08:22 UTC by Agostino Sarubbo
Modified: 2022-10-15 14:31 UTC (History)
0 users

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


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

Issue: dev-python/aws-xray-sdk-python-2.8.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-04 08:22:28 UTC
Created attachment 766215 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-04 08:22:29 UTC
Error(s) that match a know pattern:


E   ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.8/site-packages/django/conf/urls/__init__.py)
ERROR    aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open
ERROR    django.request:log.py:225 Internal Server Error: /notfound/
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_db - ImportErr...
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_disabled_sdk
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_error - Import...
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_fault - Import...
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_default_ctx
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_serverless
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_ok - ImportErr...
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_response_header
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_template - Imp...
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_template_block
FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_trace_header_data_perservation
ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.8/site-packages/django/conf/urls/__init__.py)
Internal Server Error: /notfound/
Comment 3 Agostino Sarubbo gentoo-dev 2022-08-16 12:24:35 UTC
tinderbox_musl has reproduced this issue with version 2.10.0 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2022-10-15 14:31:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef8692c559f35e804e8610e19682d9be0da4ea8

commit 8ef8692c559f35e804e8610e19682d9be0da4ea8
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-10-15 14:30:25 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-10-15 14:31:19 +0000

    dev-python/aws-xray-sdk-python: enable py3.11
    
    Closes: https://bugs.gentoo.org/834563
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.10.0.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)