Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934926 - dev-python/requests-cache-1.2.0 fails test: tests/compat/test_responses_load_cache.py::test_mock_session
Summary: dev-python/requests-cache-1.2.0 fails test: tests/compat/test_responses_load_...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 13:00 UTC by Dustin Polke
Modified: 2024-06-25 17:56 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info,22.24 KB, text/plain)
2024-06-25 13:00 UTC, Dustin Polke
Details
Full build.log (build.log,338.72 KB, text/plain)
2024-06-25 13:01 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2024-06-25 13:00:57 UTC
Created attachment 896412 [details]
emerge --info

FAILED tests/compat/test_responses_load_cache.py::test_mock_session - requests.exceptions.ConnectionError: HTTPSConnectionPool(host='httpbin.org', port=443): Max retries exceeded with url: /gzip (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f0b8976c110>: Failed to resolve 'httpbin.org' ([Errno -3] Temp...
===================================================================================================== 1 failed, 910 passed, 40 deselected, 8 xfailed, 4 warnings in 38.71s ======================================================================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
 * ERROR: dev-python/requests-cache-1.2.0::gentoo failed (test phase):
 *   pytest failed with python3.12
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_test
 *   environment, line 4021:  Called distutils-r1_src_test
 *   environment, line 1952:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  764:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3615:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3062:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3060:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1198:  Called distutils-r1_run_phase 'python_test'
 *   environment, line 1875:  Called python_test
 *   environment, line 3908:  Called epytest
 *   environment, line 2489:  Called die
 * The specific snippet of code:
 *       [[ ${ret} -ne 0 ]] && die -n "pytest failed with ${EPYTHON}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/requests-cache-1.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/requests-cache-1.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/requests-cache-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/requests-cache-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/requests-cache-1.2.0/work/requests-cache-1.2.0'
 * S: '/var/tmp/portage/dev-python/requests-cache-1.2.0/work/requests-cache-1.2.0'

>>> Failed to emerge dev-python/requests-cache-1.2.0, Log file:

>>>  '/var/tmp/portage/dev-python/requests-cache-1.2.0/temp/build.log'

 * Messages for package dev-python/requests-cache-1.2.0:

 * Package:    dev-python/requests-cache-1.2.0:0
 * Repository: gentoo
 * Maintainer: zx2c4@gentoo.org python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_12 test
 * FEATURES:   network-sandbox preserve-libs sandbox test userpriv usersandbox
 * Build system packages:
 *   dev-python/gpep517            : 16
 *   dev-python/installer          : 0.7.0
 *   dev-python/poetry-core        : 1.9.0
 * python3_12: running distutils-r1_run_phase distutils-r1_python_compile
 *   Building the wheel for requests-cache-1.2.0 via poetry.core.masonry.api
 *   Installing requests_cache-1.2.0-py3-none-any.whl to /var/tmp/portage/dev-python/requests-cache-1.2.0/work/requests-cache-1.2.0-python3_12/install
 * python3_12: running distutils-r1_run_phase python_test
 * ERROR: dev-python/requests-cache-1.2.0::gentoo failed (test phase):
 *   pytest failed with python3.12
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_test
 *   environment, line 4021:  Called distutils-r1_src_test
 *   environment, line 1952:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  764:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3615:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3062:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3060:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1198:  Called distutils-r1_run_phase 'python_test'
 *   environment, line 1875:  Called python_test
 *   environment, line 3908:  Called epytest
 *   environment, line 2489:  Called die
 * The specific snippet of code:
 *       [[ ${ret} -ne 0 ]] && die -n "pytest failed with ${EPYTHON}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/requests-cache-1.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/requests-cache-1.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/requests-cache-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/requests-cache-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/requests-cache-1.2.0/work/requests-cache-1.2.0'
 * S: '/var/tmp/portage/dev-python/requests-cache-1.2.0/work/requests-cache-1.2.0
Comment 1 Dustin Polke 2024-06-25 13:01:21 UTC
Created attachment 896413 [details]
Full build.log