Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 763641 Details for
Bug 832080
dev-python/aws-xray-sdk-python-2.8.0 should depend on <dev-python/django-4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
dev-python:aws-xray-sdk-python-2.8.0:20220126-055038.log (text/plain), 183.43 KB, created by
Chris Kerr
on 2022-01-26 06:06:28 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Chris Kerr
Created:
2022-01-26 06:06:28 UTC
Size:
183.43 KB
patch
obsolete
> * Package: dev-python/aws-xray-sdk-python-2.8.0 > * Repository: gentoo > * Maintainer: zmedico@gentoo.org > * Upstream: https://github.com/aws/aws-xray-sdk-python/issues > * USE: abi_ppc_64 elibc_glibc kernel_linux ppc64 python_targets_python3_10 python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking aws-xray-sdk-python-2.8.0.gh.tar.gz to /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work >>>> Preparing source in /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0 ... > * Applying aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0 ... > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 20 >running build >running build_py >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk >copying aws_xray_sdk/version.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk >copying aws_xray_sdk/sdk_config.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk >copying aws_xray_sdk/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/util.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/dbapi2.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/boto_utils.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/recorder.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/patcher.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/lambda_launcher.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/daemon_config.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/context.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/async_recorder.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/async_context.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlite3 >copying aws_xray_sdk/ext/sqlite3/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlite3 >copying aws_xray_sdk/ext/sqlite3/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlite3 >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy_core >copying aws_xray_sdk/ext/sqlalchemy_core/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy_core >copying aws_xray_sdk/ext/sqlalchemy_core/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy_core >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy >copying aws_xray_sdk/ext/sqlalchemy/query.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy >copying aws_xray_sdk/ext/sqlalchemy/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/requests >copying aws_xray_sdk/ext/requests/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/requests >copying aws_xray_sdk/ext/requests/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/requests >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pynamodb >copying aws_xray_sdk/ext/pynamodb/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pynamodb >copying aws_xray_sdk/ext/pynamodb/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pynamodb >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pymysql >copying aws_xray_sdk/ext/pymysql/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pymysql >copying aws_xray_sdk/ext/pymysql/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pymysql >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pymongo >copying aws_xray_sdk/ext/pymongo/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pymongo >copying aws_xray_sdk/ext/pymongo/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pymongo >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/psycopg2 >copying aws_xray_sdk/ext/psycopg2/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/psycopg2 >copying aws_xray_sdk/ext/psycopg2/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/psycopg2 >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pg8000 >copying aws_xray_sdk/ext/pg8000/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pg8000 >copying aws_xray_sdk/ext/pg8000/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/pg8000 >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/mysql >copying aws_xray_sdk/ext/mysql/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/mysql >copying aws_xray_sdk/ext/mysql/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/mysql >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/httplib >copying aws_xray_sdk/ext/httplib/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/httplib >copying aws_xray_sdk/ext/httplib/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/httplib >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/flask_sqlalchemy >copying aws_xray_sdk/ext/flask_sqlalchemy/query.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/flask_sqlalchemy >copying aws_xray_sdk/ext/flask_sqlalchemy/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/flask_sqlalchemy >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/flask >copying aws_xray_sdk/ext/flask/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/flask >copying aws_xray_sdk/ext/flask/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/flask >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/templates.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/db.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/conf.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/apps.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/django >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/bottle >copying aws_xray_sdk/ext/bottle/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/bottle >copying aws_xray_sdk/ext/bottle/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/bottle >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/botocore >copying aws_xray_sdk/ext/botocore/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/botocore >copying aws_xray_sdk/ext/botocore/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/botocore >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/aiohttp >copying aws_xray_sdk/ext/aiohttp/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/aiohttp >copying aws_xray_sdk/ext/aiohttp/client.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/aiohttp >copying aws_xray_sdk/ext/aiohttp/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/aiohttp >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/aiobotocore >copying aws_xray_sdk/ext/aiobotocore/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/aiobotocore >copying aws_xray_sdk/ext/aiobotocore/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/aiobotocore >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy/util >copying aws_xray_sdk/ext/sqlalchemy/util/decorators.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy/util >copying aws_xray_sdk/ext/sqlalchemy/util/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/sqlalchemy/util >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/stacktrace.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/search_pattern.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/conversion.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/compat.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/atomic_counter.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/utils >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/streaming >copying aws_xray_sdk/core/streaming/default_streaming.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/streaming >copying aws_xray_sdk/core/streaming/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/streaming >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/target_poller.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/sampling_rule.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/sampler.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/rule_poller.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/rule_cache.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/reservoir.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/connector.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/utils.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/elasticbeanstalk_plugin.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/ecs_plugin.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/ec2_plugin.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/plugins >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/traceid.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/trace_header.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/throwable.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/subsegment.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/segment.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/noop_traceid.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/http.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/facade_segment.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/entity.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/dummy_entities.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/default_dynamic_naming.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/models >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/exceptions >copying aws_xray_sdk/core/exceptions/exceptions.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/exceptions >copying aws_xray_sdk/core/exceptions/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/exceptions >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/emitters >copying aws_xray_sdk/core/emitters/udp_emitter.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/emitters >copying aws_xray_sdk/core/emitters/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/emitters >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/sampling_rule.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/sampler.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/reservoir.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling/local >running egg_info >creating aws_xray_sdk.egg-info >writing aws_xray_sdk.egg-info/PKG-INFO >writing dependency_links to aws_xray_sdk.egg-info/dependency_links.txt >writing requirements to aws_xray_sdk.egg-info/requires.txt >writing top-level names to aws_xray_sdk.egg-info/top_level.txt >writing manifest file 'aws_xray_sdk.egg-info/SOURCES.txt' >listing git files failed - pretending there aren't any >reading manifest file 'aws_xray_sdk.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >adding license file 'NOTICE' >writing manifest file 'aws_xray_sdk.egg-info/SOURCES.txt' >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/resources >copying aws_xray_sdk/ext/resources/aws_para_whitelist.json -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/ext/resources >copying aws_xray_sdk/core/sampling/local/sampling_rule.json -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_9/lib/aws_xray_sdk/core/sampling/local >warning: build_py: byte-compiling is disabled, skipping. > > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile >python3.10 setup.py build -j 20 >running build >running build_py >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk >copying aws_xray_sdk/version.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk >copying aws_xray_sdk/sdk_config.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk >copying aws_xray_sdk/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/util.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/dbapi2.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/boto_utils.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext >copying aws_xray_sdk/ext/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/recorder.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/patcher.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/lambda_launcher.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/daemon_config.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/context.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/async_recorder.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/async_context.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >copying aws_xray_sdk/core/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlite3 >copying aws_xray_sdk/ext/sqlite3/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlite3 >copying aws_xray_sdk/ext/sqlite3/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlite3 >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy_core >copying aws_xray_sdk/ext/sqlalchemy_core/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy_core >copying aws_xray_sdk/ext/sqlalchemy_core/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy_core >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy >copying aws_xray_sdk/ext/sqlalchemy/query.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy >copying aws_xray_sdk/ext/sqlalchemy/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/requests >copying aws_xray_sdk/ext/requests/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/requests >copying aws_xray_sdk/ext/requests/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/requests >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pynamodb >copying aws_xray_sdk/ext/pynamodb/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pynamodb >copying aws_xray_sdk/ext/pynamodb/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pynamodb >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pymysql >copying aws_xray_sdk/ext/pymysql/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pymysql >copying aws_xray_sdk/ext/pymysql/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pymysql >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pymongo >copying aws_xray_sdk/ext/pymongo/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pymongo >copying aws_xray_sdk/ext/pymongo/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pymongo >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/psycopg2 >copying aws_xray_sdk/ext/psycopg2/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/psycopg2 >copying aws_xray_sdk/ext/psycopg2/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/psycopg2 >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pg8000 >copying aws_xray_sdk/ext/pg8000/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pg8000 >copying aws_xray_sdk/ext/pg8000/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/pg8000 >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/mysql >copying aws_xray_sdk/ext/mysql/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/mysql >copying aws_xray_sdk/ext/mysql/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/mysql >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/httplib >copying aws_xray_sdk/ext/httplib/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/httplib >copying aws_xray_sdk/ext/httplib/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/httplib >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/flask_sqlalchemy >copying aws_xray_sdk/ext/flask_sqlalchemy/query.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/flask_sqlalchemy >copying aws_xray_sdk/ext/flask_sqlalchemy/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/flask_sqlalchemy >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/flask >copying aws_xray_sdk/ext/flask/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/flask >copying aws_xray_sdk/ext/flask/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/flask >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/templates.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/db.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/conf.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/apps.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/django >copying aws_xray_sdk/ext/django/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/django >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/bottle >copying aws_xray_sdk/ext/bottle/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/bottle >copying aws_xray_sdk/ext/bottle/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/bottle >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/botocore >copying aws_xray_sdk/ext/botocore/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/botocore >copying aws_xray_sdk/ext/botocore/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/botocore >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/aiohttp >copying aws_xray_sdk/ext/aiohttp/middleware.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/aiohttp >copying aws_xray_sdk/ext/aiohttp/client.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/aiohttp >copying aws_xray_sdk/ext/aiohttp/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/aiohttp >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/aiobotocore >copying aws_xray_sdk/ext/aiobotocore/patch.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/aiobotocore >copying aws_xray_sdk/ext/aiobotocore/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/aiobotocore >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy/util >copying aws_xray_sdk/ext/sqlalchemy/util/decorators.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy/util >copying aws_xray_sdk/ext/sqlalchemy/util/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/sqlalchemy/util >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/stacktrace.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/search_pattern.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/conversion.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/compat.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/atomic_counter.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/utils >copying aws_xray_sdk/core/utils/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/utils >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/streaming >copying aws_xray_sdk/core/streaming/default_streaming.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/streaming >copying aws_xray_sdk/core/streaming/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/streaming >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/target_poller.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/sampling_rule.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/sampler.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/rule_poller.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/rule_cache.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/reservoir.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/connector.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >copying aws_xray_sdk/core/sampling/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/utils.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/elasticbeanstalk_plugin.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/ecs_plugin.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/ec2_plugin.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/plugins >copying aws_xray_sdk/core/plugins/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/plugins >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/traceid.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/trace_header.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/throwable.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/subsegment.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/segment.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/noop_traceid.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/http.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/facade_segment.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/entity.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/dummy_entities.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/default_dynamic_naming.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >copying aws_xray_sdk/core/models/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/models >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/exceptions >copying aws_xray_sdk/core/exceptions/exceptions.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/exceptions >copying aws_xray_sdk/core/exceptions/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/exceptions >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/emitters >copying aws_xray_sdk/core/emitters/udp_emitter.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/emitters >copying aws_xray_sdk/core/emitters/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/emitters >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/sampling_rule.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/sampler.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/reservoir.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling/local >copying aws_xray_sdk/core/sampling/local/__init__.py -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling/local >running egg_info >writing aws_xray_sdk.egg-info/PKG-INFO >writing dependency_links to aws_xray_sdk.egg-info/dependency_links.txt >writing requirements to aws_xray_sdk.egg-info/requires.txt >writing top-level names to aws_xray_sdk.egg-info/top_level.txt >listing git files failed - pretending there aren't any >reading manifest file 'aws_xray_sdk.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >adding license file 'NOTICE' >writing manifest file 'aws_xray_sdk.egg-info/SOURCES.txt' >creating /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/resources >copying aws_xray_sdk/ext/resources/aws_para_whitelist.json -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/ext/resources >copying aws_xray_sdk/core/sampling/local/sampling_rule.json -> /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0-python3_10/lib/aws_xray_sdk/core/sampling/local >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/aws-xray-sdk-python-2.8.0 > * python3_9: running distutils-r1_run_phase python_test >python3.9 -m pytest -vv -ra -l -Wdefault --color=no -p no:cov -p no:flake8 -p no:flakes -p no:pylint --deselect tests/test_patcher.py::test_external_file --deselect tests/test_patcher.py::test_external_module --deselect tests/test_patcher.py::test_external_submodules_full --deselect tests/test_patcher.py::test_external_submodules_ignores_file --deselect tests/test_patcher.py::test_external_submodules_ignores_module --deselect tests/ext/aiohttp/test_client.py --ignore tests/ext/aiobotocore --ignore tests/ext/pg8000 --ignore tests/ext/psycopg2 --ignore tests/ext/pymysql --ignore tests/ext/pynamodb --ignore tests/ext/sqlalchemy_core/test_postgres.py --ignore tests/ext/django/test_db.py --ignore tests/ext/httplib --ignore tests/ext/requests -p no:django >=============================================== test session starts ================================================ >platform linux -- Python 3.9.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3.9 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0 >plugins: mock-3.6.1, forked-1.4.0, trio-0.7.0, xdist-2.5.0, hypothesis-6.31.4, shutil-1.7.0, localserver-0.5.1, virtualenv-1.7.0, aiohttp-0.3.0, rerunfailures-10.2 >collecting ... collected 210 items / 13 deselected / 197 selected > >tests/test_async_local_storage.py::test_localstorage_isolation[pyloop] PASSED [ 0%] >tests/test_async_recorder.py::test_capture[pyloop] PASSED [ 1%] >tests/test_async_recorder.py::test_async_context_managers[pyloop] PASSED [ 1%] >tests/test_daemon_config.py::test_default_config PASSED [ 2%] >tests/test_daemon_config.py::test_single_address PASSED [ 2%] >tests/test_daemon_config.py::test_set_tcp_udp_separately PASSED [ 3%] >tests/test_daemon_config.py::test_invalid_address PASSED [ 3%] >tests/test_dummy_entites.py::test_not_sampled PASSED [ 4%] >tests/test_dummy_entites.py::test_no_ops PASSED [ 4%] >tests/test_dummy_entites.py::test_structure_intact PASSED [ 5%] >tests/test_dummy_entites.py::test_invalid_entity_name PASSED [ 5%] >tests/test_dummy_entites.py::test_dummy_segment_trace_id PASSED [ 6%] >tests/test_facade_segment.py::test_not_ready PASSED [ 6%] >tests/test_facade_segment.py::test_initializing PASSED [ 7%] >tests/test_facade_segment.py::test_unsupported_operations PASSED [ 7%] >tests/test_facade_segment.py::test_structure_intact PASSED [ 8%] >tests/test_lambda_context.py::test_facade_segment_generation PASSED [ 8%] >tests/test_lambda_context.py::test_put_subsegment PASSED [ 9%] >tests/test_lambda_context.py::test_disable PASSED [ 9%] >tests/test_lambda_context.py::test_non_initialized PASSED [ 10%] >tests/test_local_sampling.py::test_should_trace PASSED [ 10%] >tests/test_local_sampling.py::test_missing_version_num PASSED [ 11%] >tests/test_local_sampling.py::test_default_matching PASSED [ 11%] >tests/test_local_sampling.py::test_path_matching PASSED [ 12%] >tests/test_local_sampling.py::test_negative_rate PASSED [ 12%] >tests/test_local_sampling.py::test_negative_fixed_target PASSED [ 13%] >tests/test_local_sampling.py::test_invalid_default PASSED [ 13%] >tests/test_local_sampling.py::test_incomplete_path_rule PASSED [ 14%] >tests/test_patcher.py::test_incorrect_import_fails[modules0] PASSED [ 14%] >tests/test_patcher.py::test_incorrect_import_fails[modules1] PASSED [ 15%] >tests/test_patcher.py::test_incorrect_import_fails[modules2] PASSED [ 15%] >tests/test_patcher.py::test_disable_sdk_disables_patching PASSED [ 16%] >tests/test_plugins.py::test_runtime_context_available PASSED [ 16%] >tests/test_plugins.py::test_ec2_plugin_imdsv2_success PASSED [ 17%] >tests/test_plugins.py::test_ec2_plugin_v2_fail_v1_success PASSED [ 17%] >tests/test_plugins.py::test_ec2_plugin_v2_fail_v1_fail PASSED [ 18%] >tests/test_recorder.py::test_default_runtime_context PASSED [ 18%] >tests/test_recorder.py::test_subsegment_parenting PASSED [ 19%] >tests/test_recorder.py::test_subsegments_streaming PASSED [ 19%] >tests/test_recorder.py::test_subsegment_streaming_set_zero PASSED [ 20%] >tests/test_recorder.py::test_put_annotation_metadata PASSED [ 20%] >tests/test_recorder.py::test_pass_through_with_missing_context PASSED [ 21%] >tests/test_recorder.py::test_capture_not_suppress_exception PASSED [ 21%] >tests/test_recorder.py::test_capture_not_swallow_return PASSED [ 22%] >tests/test_recorder.py::test_first_begin_segment_sampled PASSED [ 22%] >tests/test_recorder.py::test_in_segment_closing PASSED [ 23%] >tests/test_recorder.py::test_in_segment_exception PASSED [ 23%] >tests/test_recorder.py::test_default_enabled PASSED [ 24%] >tests/test_recorder.py::test_disable_is_dummy PASSED [ 24%] >tests/test_recorder.py::test_disabled_empty_context_current_calls PASSED [ 25%] >tests/test_recorder.py::test_disabled_out_of_order_begins PASSED [ 25%] >tests/test_recorder.py::test_disabled_put_methods PASSED [ 26%] >tests/test_recorder.py::test_disabled_ends PASSED [ 26%] >tests/test_recorder.py::test_disabled_begin_subsegment PASSED [ 27%] >tests/test_recorder.py::test_disabled_force_sampling PASSED [ 27%] >tests/test_recorder.py::test_disabled_get_context_entity PASSED [ 28%] >tests/test_recorder.py::test_max_stack_trace_zero PASSED [ 28%] >tests/test_sampling_rule_cache.py::test_rules_sorting PASSED [ 29%] >tests/test_sampling_rule_cache.py::test_evict_deleted_rules PASSED [ 29%] >tests/test_sampling_rule_cache.py::test_rule_matching PASSED [ 30%] >tests/test_sampling_rule_cache.py::test_preserving_sampling_statistics PASSED [ 30%] >tests/test_sampling_rule_cache.py::test_correct_target_mapping PASSED [ 31%] >tests/test_sampling_rule_cache.py::test_expired_cache PASSED [ 31%] >tests/test_sdk_config.py::test_enable_key PASSED [ 32%] >tests/test_sdk_config.py::test_default_enabled PASSED [ 32%] >tests/test_sdk_config.py::test_env_var_precedence PASSED [ 33%] >tests/test_sdk_config.py::test_env_enable_case PASSED [ 34%] >tests/test_sdk_config.py::test_invalid_env_string PASSED [ 34%] >tests/test_serialize_entities.py::test_serialize_segment PASSED [ 35%] >tests/test_serialize_entities.py::test_serialize_segment_with_aws PASSED [ 35%] >tests/test_serialize_entities.py::test_serialize_segment_with_services PASSED [ 36%] >tests/test_serialize_entities.py::test_serialize_segment_with_annotation PASSED [ 36%] >tests/test_serialize_entities.py::test_serialize_segment_with_metadata PASSED [ 37%] >tests/test_serialize_entities.py::test_serialize_segment_with_http PASSED [ 37%] >tests/test_serialize_entities.py::test_serialize_segment_with_exception PASSED [ 38%] >tests/test_serialize_entities.py::test_serialize_subsegment PASSED [ 38%] >tests/test_serialize_entities.py::test_serialize_subsegment_with_http PASSED [ 39%] >tests/test_serialize_entities.py::test_serialize_subsegment_with_sql PASSED [ 39%] >tests/test_serialize_entities.py::test_serialize_subsegment_with_aws PASSED [ 40%] >tests/test_serialize_entities.py::test_serialize_with_ast_metadata PASSED [ 40%] >tests/test_throwable.py::test_message_and_type PASSED [ 41%] >tests/test_throwable.py::test_stack_trace_parsing PASSED [ 41%] >tests/test_trace_entities.py::test_unicode_entity_name PASSED [ 42%] >tests/test_trace_entities.py::test_segment_user PASSED [ 42%] >tests/test_trace_entities.py::test_put_http_meta PASSED [ 43%] >tests/test_trace_entities.py::test_put_metadata PASSED [ 43%] >tests/test_trace_entities.py::test_put_annotation PASSED [ 44%] >tests/test_trace_entities.py::test_reference_counting PASSED [ 44%] >tests/test_trace_entities.py::test_flags_on_status_code PASSED [ 45%] >tests/test_trace_entities.py::test_mutate_closed_entity PASSED [ 45%] >tests/test_trace_entities.py::test_no_rule_name_pollution PASSED [ 46%] >tests/test_trace_entities.py::test_no_empty_properties PASSED [ 46%] >tests/test_trace_entities.py::test_required_properties PASSED [ 47%] >tests/test_trace_entities.py::test_missing_segment_name PASSED [ 47%] >tests/test_trace_entities.py::test_missing_parent_segment PASSED [ 48%] >tests/test_trace_entities.py::test_add_exception PASSED [ 48%] >tests/test_trace_entities.py::test_add_exception_referencing PASSED [ 49%] >tests/test_trace_entities.py::test_add_exception_cause_resetting PASSED [ 49%] >tests/test_trace_entities.py::test_add_exception_appending_exceptions PASSED [ 50%] >tests/test_trace_header.py::test_no_sample PASSED [ 50%] >tests/test_trace_header.py::test_no_parent PASSED [ 51%] >tests/test_trace_header.py::test_from_str PASSED [ 51%] >tests/test_trace_header.py::test_arbitrary_fields PASSED [ 52%] >tests/test_trace_header.py::test_invalid_str PASSED [ 52%] >tests/test_traceid.py::test_id_format PASSED [ 53%] >tests/test_traceid.py::test_id_generation_default_sampling_false PASSED [ 53%] >tests/test_traceid.py::test_id_generation_default_sampling_true PASSED [ 54%] >tests/test_traceid.py::test_id_generation_noop_true PASSED [ 54%] >tests/test_traceid.py::test_id_generation_noop_false PASSED [ 55%] >tests/test_utils.py::test_to_snake_case PASSED [ 55%] >tests/test_utils.py::test_get_hostname PASSED [ 56%] >tests/test_utils.py::test_strip_url PASSED [ 56%] >tests/test_wildcard_match.py::test_match_exact_positive PASSED [ 57%] >tests/test_wildcard_match.py::test_match_exact_negative PASSED [ 57%] >tests/test_wildcard_match.py::test_single_wildcard_positive PASSED [ 58%] >tests/test_wildcard_match.py::test_single_wildcard_negative PASSED [ 58%] >tests/test_wildcard_match.py::test_multiple_wildcard_positive PASSED [ 59%] >tests/test_wildcard_match.py::test_multiple_wildcard_negative PASSED [ 59%] >tests/test_wildcard_match.py::test_glob_positive_zero_or_more PASSED [ 60%] >tests/test_wildcard_match.py::test_glob_negative_zero_or_more PASSED [ 60%] >tests/test_wildcard_match.py::test_glob_negative PASSED [ 61%] >tests/test_wildcard_match.py::test_glob_and_single_positive PASSED [ 61%] >tests/test_wildcard_match.py::test_glob_and_single_negative PASSED [ 62%] >tests/test_wildcard_match.py::test_pure_wildcard PASSED [ 62%] >tests/test_wildcard_match.py::test_exact_match PASSED [ 63%] >tests/test_wildcard_match.py::test_misc PASSED [ 63%] >tests/test_wildcard_match.py::test_case_insensitivity PASSED [ 64%] >tests/test_wildcard_match.py::test_no_globs PASSED [ 64%] >tests/test_wildcard_match.py::test_edge_case_globs PASSED [ 65%] >tests/test_wildcard_match.py::test_multi_globs PASSED [ 65%] >tests/distributioncheck/test_sanity.py::test_create_segment PASSED [ 66%] >tests/ext/aiohttp/test_middleware.py::test_ok[pyloop] PASSED [ 67%] >tests/ext/aiohttp/test_middleware.py::test_ok_x_forwarded_for[pyloop] PASSED [ 67%] >tests/ext/aiohttp/test_middleware.py::test_ok_content_length[pyloop] PASSED [ 68%] >tests/ext/aiohttp/test_middleware.py::test_error[pyloop] PASSED [ 68%] >tests/ext/aiohttp/test_middleware.py::test_exception[pyloop] PASSED [ 69%] >tests/ext/aiohttp/test_middleware.py::test_unhauthorized[pyloop] PASSED [ 69%] >tests/ext/aiohttp/test_middleware.py::test_response_trace_header[pyloop] PASSED [ 70%] >tests/ext/aiohttp/test_middleware.py::test_concurrent[pyloop] PASSED [ 70%] >tests/ext/aiohttp/test_middleware.py::test_disabled_sdk[pyloop] PASSED [ 71%] >tests/ext/botocore/test_botocore.py::test_ddb_table_name PASSED [ 71%] >tests/ext/botocore/test_botocore.py::test_s3_bucket_name_capture PASSED [ 72%] >tests/ext/botocore/test_botocore.py::test_list_parameter_counting PASSED [ 72%] >tests/ext/botocore/test_botocore.py::test_map_parameter_grouping PASSED [ 73%] >tests/ext/botocore/test_botocore.py::test_pass_through_on_context_missing PASSED [ 73%] >tests/ext/botocore/test_botocore.py::test_sns_publish_parameters PASSED [ 74%] >tests/ext/bottle/test_bottle.py::test_ok PASSED [ 74%] >tests/ext/bottle/test_bottle.py::test_error PASSED [ 75%] >tests/ext/bottle/test_bottle.py::test_custom_client_error PASSED [ 75%] >tests/ext/bottle/test_bottle.py::test_server_error PASSED [ 76%] >tests/ext/bottle/test_bottle.py::test_fault PASSED [ 76%] >tests/ext/bottle/test_bottle.py::test_render_template PASSED [ 77%] >tests/ext/bottle/test_bottle.py::test_render_view PASSED [ 77%] >tests/ext/bottle/test_bottle.py::test_incoming_sampling_decision_respected PASSED [ 78%] >tests/ext/bottle/test_bottle.py::test_trace_header_data_perservation PASSED [ 78%] >tests/ext/bottle/test_bottle.py::test_sampled_response_header PASSED [ 79%] >tests/ext/bottle/test_bottle.py::test_disabled_sdk PASSED [ 79%] >tests/ext/bottle/test_bottle.py::test_lambda_serverless PASSED [ 80%] >tests/ext/bottle/test_bottle.py::test_lambda_default_ctx PASSED [ 80%] >tests/ext/django/test_middleware.py::XRayTestCase::test_db FAILED [ 81%] >tests/ext/django/test_middleware.py::XRayTestCase::test_disabled_sdk FAILED [ 81%] >tests/ext/django/test_middleware.py::XRayTestCase::test_error FAILED [ 82%] >tests/ext/django/test_middleware.py::XRayTestCase::test_fault FAILED [ 82%] >tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_default_ctx FAILED [ 83%] >tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_serverless FAILED [ 83%] >tests/ext/django/test_middleware.py::XRayTestCase::test_ok FAILED [ 84%] >tests/ext/django/test_middleware.py::XRayTestCase::test_response_header FAILED [ 84%] >tests/ext/django/test_middleware.py::XRayTestCase::test_template FAILED [ 85%] >tests/ext/django/test_middleware.py::XRayTestCase::test_template_block FAILED [ 85%] >tests/ext/django/test_middleware.py::XRayTestCase::test_trace_header_data_perservation FAILED [ 86%] >tests/ext/django/test_settings.py::XRayConfigurationTestCase::test_sampler_can_be_configured PASSED [ 86%] >tests/ext/flask/test_flask.py::test_ok PASSED [ 87%] >tests/ext/flask/test_flask.py::test_error PASSED [ 87%] >tests/ext/flask/test_flask.py::test_fault PASSED [ 88%] >tests/ext/flask/test_flask.py::test_fault_no_exception PASSED [ 88%] >tests/ext/flask/test_flask.py::test_render_template PASSED [ 89%] >tests/ext/flask/test_flask.py::test_incoming_sampling_decision_respected PASSED [ 89%] >tests/ext/flask/test_flask.py::test_trace_header_data_perservation PASSED [ 90%] >tests/ext/flask/test_flask.py::test_sampled_response_header PASSED [ 90%] >tests/ext/flask/test_flask.py::test_disabled_sdk PASSED [ 91%] >tests/ext/flask/test_flask.py::test_lambda_serverless PASSED [ 91%] >tests/ext/flask/test_flask.py::test_lambda_default_ctx PASSED [ 92%] >tests/ext/flask_sqlalchemy/test_query.py::test_all[False] PASSED [ 92%] >tests/ext/flask_sqlalchemy/test_query.py::test_all[True] PASSED [ 93%] >tests/ext/flask_sqlalchemy/test_query.py::test_add[False] PASSED [ 93%] >tests/ext/flask_sqlalchemy/test_query.py::test_add[True] PASSED [ 94%] >tests/ext/sqlalchemy/test_query.py::test_all PASSED [ 94%] >tests/ext/sqlalchemy/test_query.py::test_supports_connection PASSED [ 95%] >tests/ext/sqlalchemy/test_query.py::test_add PASSED [ 95%] >tests/ext/sqlalchemy/test_query.py::test_filter_first PASSED [ 96%] >tests/ext/sqlalchemy_core/test_sqlalchemy_core.py::test_all PASSED [ 96%] >tests/ext/sqlalchemy_core/test_sqlalchemy_core.py::test_filter_first PASSED [ 97%] >tests/ext/sqlalchemy_core/test_sqlalchemy_core.py::test_connection_add PASSED [ 97%] >tests/ext/sqlalchemy_core/test_sqlalchemy_core.py::test_connection_query PASSED [ 98%] >tests/ext/sqlalchemy_core/test_sqlalchemy_core_2.py::test_orm_style_select_execution PASSED [ 98%] >tests/ext/sqlite3/test_sqlite3.py::test_execute PASSED [ 99%] >tests/ext/sqlite3/test_sqlite3.py::test_invalid_syntax PASSED [100%] > >===================================================== FAILURES ===================================================== >_______________________________________________ XRayTestCase.test_db _______________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_db> > > def test_db(self): > patch(('sqlite3',)) >> url = reverse('call_db') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_db> > >tests/ext/django/test_middleware.py:71: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = 'call_db' > viewname = 'call_db' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = 'call_db' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc1437d5870, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >__________________________________________ XRayTestCase.test_disabled_sdk __________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_disabled_sdk> > > def test_disabled_sdk(self): > global_sdk_config.set_sdk_enabled(False) >> url = reverse('200ok') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_disabled_sdk> > >tests/ext/django/test_middleware.py:125: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = '200ok' > viewname = '200ok' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = '200ok' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc147cf1030, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >_____________________________________________ XRayTestCase.test_error ______________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_error> > > def test_error(self): >> self.client.get('/notfound/') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_error> > >tests/ext/django/test_middleware.py:39: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/test/client.py:747: in get > response = super().get(path, data=data, secure=secure, **extra) > __class__ = <class 'django.test.client.Client'> > data = None > extra = {} > follow = False > path = '/notfound/' > secure = False > self = <django.test.client.Client object at 0x3fc14128de20> >/usr/lib/python3.9/site-packages/django/test/client.py:396: in get > return self.generic('GET', path, secure=secure, **{ > data = {} > extra = {} > path = '/notfound/' > secure = False > self = <django.test.client.Client object at 0x3fc14128de20> >/usr/lib/python3.9/site-packages/django/test/client.py:473: in generic > return self.request(**r) > content_type = 'application/octet-stream' > data = b'' > extra = {'QUERY_STRING': ''} > method = 'GET' > parsed = ParseResult(scheme='', netloc='', path='/notfound/', params='', query='', fragment='') > path = '/notfound/' > query_string = '' > r = {'PATH_INFO': '/notfound/', > 'QUERY_STRING': '', > 'REQUEST_METHOD': 'GET', > 'SERVER_PORT': '80', > 'wsgi.url_scheme': 'http'} > secure = False > self = <django.test.client.Client object at 0x3fc14128de20> >/usr/lib/python3.9/site-packages/django/test/client.py:721: in request > self.check_exception(response) > data = {} > environ = {'HTTP_COOKIE': '', > 'PATH_INFO': '/notfound/', > 'QUERY_STRING': '', > 'REMOTE_ADDR': '127.0.0.1', > 'REQUEST_METHOD': 'GET', > 'SCRIPT_NAME': '', > 'SERVER_NAME': 'testserver', > 'SERVER_PORT': '80', > 'SERVER_PROTOCOL': 'HTTP/1.1', > 'wsgi.errors': <_io.BytesIO object at 0x3fc143930ae0>, > 'wsgi.input': <django.test.client.FakePayload object at 0x3fc14128d5e0>, > 'wsgi.multiprocess': True, > 'wsgi.multithread': False, > 'wsgi.run_once': False, > 'wsgi.url_scheme': 'http', > 'wsgi.version': (1, 0)} > exception_uid = 'request-exception-70099266104320' > on_template_render = functools.partial(<function store_rendered_templates at 0x3fc14c2c1ee0>, {}) > request = {'PATH_INFO': '/notfound/', > 'QUERY_STRING': '', > 'REQUEST_METHOD': 'GET', > 'SERVER_PORT': '80', > 'wsgi.url_scheme': 'http'} > response = <HttpResponse status_code=500, "text/html"> > self = <django.test.client.Client object at 0x3fc14128de20> > signal_uid = 'template-render-70099266104320' >/usr/lib/python3.9/site-packages/django/test/client.py:582: in check_exception > raise exc_value > _ = <traceback object at 0x3fc141293e40> > exc_value = ImportError("cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py)") > response = <HttpResponse status_code=500, "text/html"> > self = <django.test.client.Client object at 0x3fc14128de20> >/usr/lib/python3.9/site-packages/django/core/handlers/exception.py:47: in inner > response = get_response(request) > get_response = <bound method BaseHandler._get_response of <django.test.client.ClientHandler object at 0x3fc14128dc70>> > request = <WSGIRequest: GET '/notfound/'> > response = <HttpResponse status_code=500, "text/html"> >/usr/lib/python3.9/site-packages/django/core/handlers/base.py:167: in _get_response > callback, callback_args, callback_kwargs = self.resolve_request(request) > request = <WSGIRequest: GET '/notfound/'> > response = None > self = <django.test.client.ClientHandler object at 0x3fc14128dc70> >/usr/lib/python3.9/site-packages/django/core/handlers/base.py:290: in resolve_request > resolver_match = resolver.resolve(request.path_info) > request = <WSGIRequest: GET '/notfound/'> > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.test.client.ClientHandler object at 0x3fc14128dc70> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:590: in resolve > for pattern in self.url_patterns: > args = () > kwargs = {} > match = ('notfound/', (), {}) > new_path = 'notfound/' > path = '/notfound/' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > tried = [] >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc142118190, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >----------------------------------------------- Captured stderr call ----------------------------------------------- >Internal Server Error: /notfound/ >Traceback (most recent call last): > File "/usr/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner > response = get_response(request) > File "/usr/lib/python3.9/site-packages/django/core/handlers/base.py", line 167, in _get_response > callback, callback_args, callback_kwargs = self.resolve_request(request) > File "/usr/lib/python3.9/site-packages/django/core/handlers/base.py", line 290, in resolve_request > resolver_match = resolver.resolve(request.path_info) > File "/usr/lib/python3.9/site-packages/django/urls/resolvers.py", line 590, in resolve > for pattern in self.url_patterns: > File "/usr/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__ > res = instance.__dict__[self.name] = self.func(instance) > File "/usr/lib/python3.9/site-packages/django/urls/resolvers.py", line 632, in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > File "/usr/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__ > res = instance.__dict__[self.name] = self.func(instance) > File "/usr/lib/python3.9/site-packages/django/urls/resolvers.py", line 625, in urlconf_module > return import_module(self.urlconf_name) > File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1030, in _gcd_import > File "<frozen importlib._bootstrap>", line 1007, in _find_and_load > File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 680, in _load_unlocked > File "/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module > exec(co, module.__dict__) > File "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 4, in <module> > from django.conf.urls import url >ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR django.request:log.py:225 Internal Server Error: /notfound/ >Traceback (most recent call last): > File "/usr/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner > response = get_response(request) > File "/usr/lib/python3.9/site-packages/django/core/handlers/base.py", line 167, in _get_response > callback, callback_args, callback_kwargs = self.resolve_request(request) > File "/usr/lib/python3.9/site-packages/django/core/handlers/base.py", line 290, in resolve_request > resolver_match = resolver.resolve(request.path_info) > File "/usr/lib/python3.9/site-packages/django/urls/resolvers.py", line 590, in resolve > for pattern in self.url_patterns: > File "/usr/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__ > res = instance.__dict__[self.name] = self.func(instance) > File "/usr/lib/python3.9/site-packages/django/urls/resolvers.py", line 632, in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > File "/usr/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__ > res = instance.__dict__[self.name] = self.func(instance) > File "/usr/lib/python3.9/site-packages/django/urls/resolvers.py", line 625, in urlconf_module > return import_module(self.urlconf_name) > File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1030, in _gcd_import > File "<frozen importlib._bootstrap>", line 1007, in _find_and_load > File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 680, in _load_unlocked > File "/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module > exec(co, module.__dict__) > File "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 4, in <module> > from django.conf.urls import url >ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/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 >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >_____________________________________________ XRayTestCase.test_fault ______________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_fault> > > def test_fault(self): >> url = reverse('500fault') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_fault> > >tests/ext/django/test_middleware.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = '500fault' > viewname = '500fault' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = '500fault' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc140c9df50, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >_______________________________________ XRayTestCase.test_lambda_default_ctx _______________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_lambda_default_ctx> > > def test_lambda_default_ctx(self): > # Track to make sure that Django will default to generating segments if context is not the lambda context >> url = reverse('200ok') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_lambda_default_ctx> > >tests/ext/django/test_middleware.py:170: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = '200ok' > viewname = '200ok' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = '200ok' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc143929190, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >_______________________________________ XRayTestCase.test_lambda_serverless ________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_lambda_serverless> > > def test_lambda_serverless(self): > TRACE_ID = '1-5759e988-bd862e3fe1be46a994272793' > PARENT_ID = '53995c3f42cd8ad8' > HEADER_VAR = "Root=%s;Parent=%s;Sampled=1" % (TRACE_ID, PARENT_ID) > > os.environ[lambda_launcher.LAMBDA_TRACE_HEADER_KEY] = HEADER_VAR > lambda_context = lambda_launcher.LambdaContext() > > new_recorder = get_new_stubbed_recorder() > new_recorder.configure(service='test', sampling=False, context=lambda_context) > subsegment = new_recorder.begin_subsegment("subsegment") > assert type(subsegment.parent_segment) == facade_segment.FacadeSegment > new_recorder.end_subsegment() > >> url = reverse('200ok') > >HEADER_VAR = 'Root=1-5759e988-bd862e3fe1be46a994272793;Parent=53995c3f42cd8ad8;Sampled=1' >PARENT_ID = '53995c3f42cd8ad8' >TRACE_ID = '1-5759e988-bd862e3fe1be46a994272793' >lambda_context = <aws_xray_sdk.core.lambda_launcher.LambdaContext object at 0x3fc14c7baca0> >new_recorder = <aws_xray_sdk.core.async_recorder.AsyncAWSXRayRecorder object at 0x3fc14c7bac10> >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_lambda_serverless> >subsegment = <aws_xray_sdk.core.models.subsegment.Subsegment object at 0x3fc14129e130> > >tests/ext/django/test_middleware.py:144: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = '200ok' > viewname = '200ok' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = '200ok' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc141eac9d0, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >_______________________________________________ XRayTestCase.test_ok _______________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_ok> > > def test_ok(self): >> url = reverse('200ok') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_ok> > >tests/ext/django/test_middleware.py:27: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = '200ok' > viewname = '200ok' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = '200ok' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc141eac710, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >________________________________________ XRayTestCase.test_response_header _________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_response_header> > > def test_response_header(self): >> url = reverse('200ok') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_response_header> > >tests/ext/django/test_middleware.py:115: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = '200ok' > viewname = '200ok' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = '200ok' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc141ead190, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >____________________________________________ XRayTestCase.test_template ____________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_template> > > def test_template(self): >> url = reverse('template') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_template> > >tests/ext/django/test_middleware.py:85: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = 'template' > viewname = 'template' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = 'template' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc1408139d0, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >_________________________________________ XRayTestCase.test_template_block _________________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_template_block> > > def test_template_block(self): >> url = reverse('template_block') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_template_block> > >tests/ext/django/test_middleware.py:96: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = 'template_block' > viewname = 'template_block' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = 'template_block' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc141ebedf0, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >_________________________________ XRayTestCase.test_trace_header_data_perservation _________________________________ > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_trace_header_data_perservation> > > def test_trace_header_data_perservation(self): >> url = reverse('200ok') > >self = <tests.ext.django.test_middleware.XRayTestCase testMethod=test_trace_header_data_perservation> > >tests/ext/django/test_middleware.py:107: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/django/urls/base.py:86: in reverse > return resolver._reverse_with_prefix(view, prefix, *args, **kwargs) > args = [] > current_app = None > current_path = None > kwargs = {} > ns_converters = {} > ns_pattern = '' > path = [] > prefix = '/' > resolved_path = [] > resolver = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > urlconf = None > view = '200ok' > viewname = '200ok' >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:662: in _reverse_with_prefix > self._populate() > _prefix = '/' > args = () > kwargs = {} > lookup_view = '200ok' > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:494: in _populate > for url_pattern in reversed(self.url_patterns): > apps = {} > language_code = 'en-us' > lookups = <MultiValueDict: {}> > namespaces = {} > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8baf0> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:632: in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/site-packages/django/utils/functional.py:48: in __get__ > res = instance.__dict__[self.name] = self.func(instance) > cls = <class 'django.urls.resolvers.URLResolver'> > instance = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> > self = <django.utils.functional.cached_property object at 0x3fc14ea8ba90> >/usr/lib/python3.9/site-packages/django/urls/resolvers.py:625: in urlconf_module > return import_module(self.urlconf_name) > self = <URLResolver 'tests.ext.django.app.views' (None:None) '^/'> >/usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1030: in _gcd_import > ??? > level = 0 > name = 'tests.ext.django.app.views' > package = None ><frozen importlib._bootstrap>:1007: in _find_and_load > ??? > import_ = <function _gcd_import at 0x3fc150777310> > module = <object object at 0x3fc15074f060> > name = 'tests.ext.django.app.views' ><frozen importlib._bootstrap>:986: in _find_and_load_unlocked > ??? > import_ = <function _gcd_import at 0x3fc150777310> > name = 'tests.ext.django.app.views' > parent = 'tests.ext.django.app' > parent_module = <module 'tests.ext.django.app' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__init__.py'> > path = ['/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app'] > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') ><frozen importlib._bootstrap>:680: in _load_unlocked > ??? > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > spec = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module > exec(co, module.__dict__) > cache_dir = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__') > cache_name = 'views.cpython-39-pytest-6.2.5.pyc' > co = <code object <module> at 0x3fc141465710, file "/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py", line 1> > fn = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') > module = <module 'tests.ext.django.app.views' from '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py'> > pyc = PosixPath('/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39-pytest-6.2.5.pyc') > self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> > source_stat = os.stat_result(st_mode=33188, st_ino=618808, st_dev=36, st_nlink=1, st_uid=250, st_gid=250, st_size=859, st_atime=1643176254, st_mtime=1619650727, st_ctime=1643176254) > state = <_pytest.assertion.AssertionState object at 0x3fc14f941f70> > write = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > import sqlite3 > > from django.http import HttpResponse >> from django.conf.urls import url >E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py) > >HttpResponse = <class 'django.http.response.HttpResponse'> >__builtins__ = <builtins> >__cached__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/__pycache__/views.cpython-39.pyc' >__doc__ = None >__file__ = '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py' >__loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220> >__name__ = 'tests.ext.django.app.views' >__package__ = 'tests.ext.django.app' >__spec__ = ModuleSpec(name='tests.ext.django.app.views', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x3fc14f7e1220>, origin='/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/tests/ext/django/app/views.py') >sqlite3 = <module 'sqlite3' from '/usr/lib/python3.9/sqlite3/__init__.py'> > >tests/ext/django/app/views.py:4: ImportError >------------------------------------------------ Captured log call ------------------------------------------------- >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >WARNING aws_xray_sdk.core.recorder:recorder.py:294 No segment found, cannot begin subsegment execute. >ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open >================================================= warnings summary ================================================= >aws_xray_sdk/core/recorder.py:562 > /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/aws_xray_sdk/core/recorder.py:562: ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > self._emitter = value > >aws_xray_sdk/core/recorder.py:562: 1 warning >tests/test_recorder.py: 6 warnings >tests/ext/bottle/test_bottle.py: 2 warnings >tests/ext/django/test_middleware.py: 1 warning >tests/ext/flask/test_flask.py: 2 warnings > /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/aws_xray_sdk/core/recorder.py:562: ResourceWarning: unclosed <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > self._emitter = value > >../../../../../../../usr/lib/python3.9/site-packages/django/conf/__init__.py:222 > /usr/lib/python3.9/site-packages/django/conf/__init__.py:222: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale. > warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning) > >tests/test_async_local_storage.py::test_localstorage_isolation[pyloop] > /usr/lib/python3.9/asyncio/events.py:80: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11. > self._context.run(self._callback, *self._args) > >tests/test_recorder.py::test_pass_through_with_missing_context >tests/test_recorder.py::test_capture_not_swallow_return >tests/test_recorder.py::test_first_begin_segment_sampled >tests/test_recorder.py::test_in_segment_closing >tests/test_recorder.py::test_in_segment_exception > /usr/lib/python3.9/site-packages/_pytest/python.py:183: ResourceWarning: unclosed <socket.socket fd=19, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > result = testfunction(**testargs) > >tests/test_recorder.py::test_capture_not_swallow_return > /usr/lib/python3.9/site-packages/botocore/session.py:964: ResourceWarning: unclosed <socket.socket fd=19, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > del self._components[name] > >tests/ext/aiohttp/test_middleware.py::test_ok[pyloop] >tests/ext/aiohttp/test_middleware.py::test_ok_x_forwarded_for[pyloop] >tests/ext/aiohttp/test_middleware.py::test_ok_content_length[pyloop] >tests/ext/aiohttp/test_middleware.py::test_error[pyloop] >tests/ext/aiohttp/test_middleware.py::test_exception[pyloop] >tests/ext/aiohttp/test_middleware.py::test_unhauthorized[pyloop] >tests/ext/aiohttp/test_middleware.py::test_response_trace_header[pyloop] >tests/ext/aiohttp/test_middleware.py::test_concurrent[pyloop] >tests/ext/aiohttp/test_middleware.py::test_disabled_sdk[pyloop] > /usr/lib/python3.9/site-packages/_pytest/fixtures.py:932: DeprecationWarning: Deprecated, use aiohttp_client fixture instead > fixture_result = fixturefunc(**kwargs) > >tests/ext/aiohttp/test_middleware.py::test_ok[pyloop] >tests/ext/aiohttp/test_middleware.py::test_ok_x_forwarded_for[pyloop] >tests/ext/aiohttp/test_middleware.py::test_ok_content_length[pyloop] >tests/ext/aiohttp/test_middleware.py::test_error[pyloop] >tests/ext/aiohttp/test_middleware.py::test_exception[pyloop] >tests/ext/aiohttp/test_middleware.py::test_unhauthorized[pyloop] >tests/ext/aiohttp/test_middleware.py::test_response_trace_header[pyloop] >tests/ext/aiohttp/test_middleware.py::test_concurrent[pyloop] >tests/ext/aiohttp/test_middleware.py::test_disabled_sdk[pyloop] > /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/aws_xray_sdk/core/recorder.py:562: ResourceWarning: unclosed <socket.socket fd=21, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > self._emitter = value > >tests/ext/aiohttp/test_middleware.py::test_ok[pyloop] >tests/ext/aiohttp/test_middleware.py::test_ok_x_forwarded_for[pyloop] >tests/ext/aiohttp/test_middleware.py::test_ok_content_length[pyloop] >tests/ext/aiohttp/test_middleware.py::test_error[pyloop] >tests/ext/aiohttp/test_middleware.py::test_exception[pyloop] >tests/ext/aiohttp/test_middleware.py::test_unhauthorized[pyloop] >tests/ext/aiohttp/test_middleware.py::test_response_trace_header[pyloop] >tests/ext/aiohttp/test_middleware.py::test_disabled_sdk[pyloop] > /usr/lib/python3.9/site-packages/_pytest/runner.py:132: ResourceWarning: unclosed <socket.socket fd=22, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > item.funcargs = None # type: ignore[attr-defined] > >tests/ext/aiohttp/test_middleware.py::test_concurrent[pyloop] > /usr/lib/python3.9/site-packages/_pytest/runner.py:132: ResourceWarning: unclosed <socket.socket fd=23, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > item.funcargs = None # type: ignore[attr-defined] > >tests/ext/django/test_middleware.py::XRayTestCase::test_db > /usr/lib/python3.9/site-packages/django/apps/registry.py:91: RemovedInDjango41Warning: 'aws_xray_sdk.ext.django' defines default_app_config = 'aws_xray_sdk.ext.django.apps.XRayConfig'. Django now detects this configuration automatically. You can remove default_app_config. > app_config = AppConfig.create(entry) > >tests/ext/flask_sqlalchemy/test_query.py::test_all[False] >tests/ext/flask_sqlalchemy/test_query.py::test_all[True] > /var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0/aws_xray_sdk/ext/flask_sqlalchemy/query.py:45: SADeprecationWarning: Use .persist_selectable (deprecated since: 1.3) > info = getattr(mapper.mapped_table, 'info', {}) > >-- Docs: https://docs.pytest.org/en/stable/warnings.html >============================================= short test summary info ============================================== >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_db - ImportError: cannot import name 'url' from 'd... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_disabled_sdk - ImportError: cannot import name 'ur... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_error - ImportError: cannot import name 'url' from... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_fault - ImportError: cannot import name 'url' from... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_default_ctx - ImportError: cannot import na... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_serverless - ImportError: cannot import nam... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_ok - ImportError: cannot import name 'url' from 'd... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_response_header - ImportError: cannot import name ... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_template - ImportError: cannot import name 'url' f... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_template_block - ImportError: cannot import name '... >FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_trace_header_data_perservation - ImportError: cann... >=========================== 11 failed, 186 passed, 13 deselected, 51 warnings in 16.56s ============================ >sys:1: ResourceWarning: unclosed <socket.socket fd=16, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> >sys:1: ResourceWarning: unclosed <socket.socket fd=15, family=AddressFamily.AF_INET, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('0.0.0.0', 0)> > * ERROR: dev-python/aws-xray-sdk-python-2.8.0::gentoo failed (test phase): > * pytest failed with python3.9 > * > * Call stack: > * ebuild.sh, line 127: Called src_test > * environment, line 3034: Called distutils-r1_src_test > * environment, line 1357: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 488: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2692: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2233: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2231: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 832: Called distutils-r1_run_phase 'python_test' > * environment, line 1296: Called python_test > * environment, line 2993: Called epytest '-p' 'no:django' > * environment, line 1747: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/aws-xray-sdk-python-2.8.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/aws-xray-sdk-python-2.8.0::gentoo'`. > * The complete build log is located at '/var/log/portage/build/dev-python:aws-xray-sdk-python-2.8.0:20220126-055038.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0' > * S: '/var/tmp/portage/dev-python/aws-xray-sdk-python-2.8.0/work/aws-xray-sdk-python-2.8.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 832080
: 763641