Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 890951 Details for
Bug 930121
dev-python/tldextract-5.1.2 fails test tests/test_parallel.py::test_cache_cleared_by_other_process
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:tldextract-5.1.2:20240411-112855.log
dev-python:tldextract-5.1.2:20240411-112855.log (text/plain; charset=utf-8), 36.13 KB, created by
Jonathan Lovelace
on 2024-04-16 21:36:29 UTC
(
hide
)
Description:
dev-python:tldextract-5.1.2:20240411-112855.log
Filename:
MIME Type:
Creator:
Jonathan Lovelace
Created:
2024-04-16 21:36:29 UTC
Size:
36.13 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-python/tldextract-5.1.2:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: patrick@gentoo.org python@gentoo.org >[32m * [39;49;00mUpstream: https://github.com/john-kurkowski/tldextract/issues >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 test >[32m * [39;49;00mFEATURES: distcc fakeroot network-sandbox preserve-libs sandbox test userpriv usersandbox > [32m*[0m Build system packages: > [32m*[0m dev-python/gpep517 : 15 > [32m*[0m dev-python/installer : 0.7.0 > [32m*[0m dev-python/setuptools : 69.2.0-r1 > [32m*[0m dev-python/setuptools-rust : 1.9.0 > [32m*[0m dev-python/setuptools-scm : 8.0.4 > [32m*[0m dev-python/wheel : 0.43.0 > [32m*[0m python3_11: running distutils-r1_run_phase distutils-r1_python_compile > [32m*[0m Building the wheel for tldextract-5.1.2 via setuptools.build_meta >python3.11 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel >2024-04-11 07:29:00,752 gpep517 INFO Building wheel via backend setuptools.build_meta >2024-04-11 07:29:13,576 root INFO running bdist_wheel >2024-04-11 07:29:13,852 root INFO running build >2024-04-11 07:29:13,852 root INFO running build_py >2024-04-11 07:29:13,905 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build >2024-04-11 07:29:13,905 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib >2024-04-11 07:29:13,905 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,906 root INFO copying tldextract/remote.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,906 root INFO copying tldextract/__init__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,906 root INFO copying tldextract/tldextract.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,907 root INFO copying tldextract/cli.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,907 root INFO copying tldextract/suffix_list.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,907 root INFO copying tldextract/__main__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,908 root INFO copying tldextract/cache.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,908 root INFO copying tldextract/_version.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:13,908 root INFO running egg_info >2024-04-11 07:29:14,013 root INFO writing tldextract.egg-info/PKG-INFO >2024-04-11 07:29:14,016 root INFO writing dependency_links to tldextract.egg-info/dependency_links.txt >2024-04-11 07:29:14,016 root INFO writing entry points to tldextract.egg-info/entry_points.txt >2024-04-11 07:29:14,017 root INFO writing requirements to tldextract.egg-info/requires.txt >2024-04-11 07:29:14,018 root INFO writing top-level names to tldextract.egg-info/top_level.txt >[04/11/24 07:29:14] ERROR listing git files failed - pretending there aren't any git.py:24 >2024-04-11 07:29:15,140 root INFO reading manifest file 'tldextract.egg-info/SOURCES.txt' >2024-04-11 07:29:15,141 root INFO adding license file 'LICENSE' >2024-04-11 07:29:15,145 root INFO writing manifest file 'tldextract.egg-info/SOURCES.txt' >2024-04-11 07:29:15,146 root INFO copying tldextract/.tld_set_snapshot -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:15,147 root INFO copying tldextract/py.typed -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract >2024-04-11 07:29:15,148 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-04-11 07:29:15,259 wheel INFO installing to /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel >2024-04-11 07:29:15,259 root INFO running install >2024-04-11 07:29:15,272 root INFO running install_lib >2024-04-11 07:29:15,324 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64 >2024-04-11 07:29:15,325 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel >2024-04-11 07:29:15,325 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,326 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/remote.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,326 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/__init__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,327 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/tldextract.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,327 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/py.typed -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,328 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/cli.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,328 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/suffix_list.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,329 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/.tld_set_snapshot -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,330 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/__main__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,330 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/cache.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,331 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/_version.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract >2024-04-11 07:29:15,331 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-04-11 07:29:15,332 root INFO running install_egg_info >2024-04-11 07:29:15,389 root INFO Copying tldextract.egg-info to /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract-5.1.2-py3.11.egg-info >2024-04-11 07:29:15,392 root INFO running install_scripts >2024-04-11 07:29:15,397 wheel INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract-5.1.2.dist-info/WHEEL >2024-04-11 07:29:15,398 wheel INFO creating '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/.tmp-240_w5ya/tldextract-5.1.2-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel' to it >2024-04-11 07:29:15,399 wheel INFO adding 'tldextract/.tld_set_snapshot' >2024-04-11 07:29:15,401 wheel INFO adding 'tldextract/__init__.py' >2024-04-11 07:29:15,401 wheel INFO adding 'tldextract/__main__.py' >2024-04-11 07:29:15,401 wheel INFO adding 'tldextract/_version.py' >2024-04-11 07:29:15,402 wheel INFO adding 'tldextract/cache.py' >2024-04-11 07:29:15,402 wheel INFO adding 'tldextract/cli.py' >2024-04-11 07:29:15,403 wheel INFO adding 'tldextract/py.typed' >2024-04-11 07:29:15,403 wheel INFO adding 'tldextract/remote.py' >2024-04-11 07:29:15,404 wheel INFO adding 'tldextract/suffix_list.py' >2024-04-11 07:29:15,404 wheel INFO adding 'tldextract/tldextract.py' >2024-04-11 07:29:15,405 wheel INFO adding 'tldextract-5.1.2.dist-info/LICENSE' >2024-04-11 07:29:15,405 wheel INFO adding 'tldextract-5.1.2.dist-info/METADATA' >2024-04-11 07:29:15,406 wheel INFO adding 'tldextract-5.1.2.dist-info/WHEEL' >2024-04-11 07:29:15,406 wheel INFO adding 'tldextract-5.1.2.dist-info/entry_points.txt' >2024-04-11 07:29:15,407 wheel INFO adding 'tldextract-5.1.2.dist-info/top_level.txt' >2024-04-11 07:29:15,407 wheel INFO adding 'tldextract-5.1.2.dist-info/RECORD' >2024-04-11 07:29:15,407 wheel INFO removing /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel >2024-04-11 07:29:15,409 gpep517 INFO The backend produced /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/tldextract-5.1.2-py3-none-any.whl > [32m*[0m Installing tldextract-5.1.2-py3-none-any.whl to /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install >python3.11 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/tldextract-5.1.2-py3-none-any.whl >2024-04-11 07:29:15,662 gpep517 INFO Installing /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/tldextract-5.1.2-py3-none-any.whl into /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install >2024-04-11 07:29:15,703 gpep517 INFO Installation complete > [32m*[0m python3_11: running distutils-r1_run_phase python_test >python3.11 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories --ignore tests/test_release.py >[1m============================================================================= test session starts ==============================================================================[0m >platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 -- /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install/usr/bin/python3.11 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2/.hypothesis/examples')) >rootdir: /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2 >configfile: pyproject.toml >plugins: hypothesis-6.98.18, time-machine-2.14.1, timeout-2.3.1, codeblocks-0.17.0, typeguard-4.1.5, rerunfailures-14.0, forked-1.6.0, subtests-0.12.1, xdist-3.5.0, sphinx_pytest-0.2.0, console-scripts-1.4.1, anyio-4.3.0, pyfakefs-5.3.5, expect-1.1.0, xprocess-0.23.0, requests-mock-1.11.0, mock-3.14.0, tornado-0.8.1, Faker-24.2.0, betamax-0.9.0, pkgcore-0.12.27, regressions-2.5.0, asyncio-0.23.6, trio-0.8.0, freezegun-0.4.2, aiohttp-1.0.5, pytest_param_files-0.6.0, pytest_httpserver-1.0.10, datadir-1.5.0, home-0.5.1, httpbin-2.0.0, services-2.2.1, flaky-3.8.1, django-4.8.0, jaraco.test-5.4.0 >asyncio: mode=Mode.STRICT >[1mcollecting ... [0mcollected 59 items > >tests/cli_test.py::test_cli_no_input [32mPASSED[0m[32m [ 1/59][0m >tests/cli_test.py::test_cli_parses_args [32mPASSED[0m[32m [ 2/59][0m >tests/cli_test.py::test_cli_posargs [32mPASSED[0m[32m [ 3/59][0m >tests/cli_test.py::test_cli_namedargs [32mPASSED[0m[32m [ 4/59][0m >tests/cli_test.py::test_cli_json_output [32mPASSED[0m[32m [ 5/59][0m >tests/custom_suffix_test.py::test_private_extraction [32mPASSED[0m[32m [ 6/59][0m >tests/custom_suffix_test.py::test_suffix_which_is_not_in_custom_list [32mPASSED[0m[32m [ 7/59][0m >tests/custom_suffix_test.py::test_custom_suffixes [32mPASSED[0m[32m [ 8/59][0m >tests/custom_suffix_test.py::test_suffix_which_is_not_in_extra_list [32mPASSED[0m[32m [ 9/59][0m >tests/custom_suffix_test.py::test_extra_suffixes [32mPASSED[0m[32m [10/59][0m >tests/integration_test.py::test_bad_kwargs_no_way_to_fetch [32mPASSED[0m[32m [11/59][0m >tests/main_test.py::test_american [32mPASSED[0m[32m [12/59][0m >tests/main_test.py::test_british [32mPASSED[0m[33m [13/59][0m >tests/main_test.py::test_no_subdomain [32mPASSED[0m[33m [14/59][0m >tests/main_test.py::test_nested_subdomain [32mPASSED[0m[33m [15/59][0m >tests/main_test.py::test_odd_but_possible [32mPASSED[0m[33m [16/59][0m >tests/main_test.py::test_suffix [32mPASSED[0m[33m [17/59][0m >tests/main_test.py::test_local_host [32mPASSED[0m[33m [18/59][0m >tests/main_test.py::test_lenient_netloc [32mPASSED[0m[33m [19/59][0m >tests/main_test.py::test_looks_like_ip [32mPASSED[0m[33m [20/59][0m >tests/main_test.py::test_looks_like_ipv6 [32mPASSED[0m[33m [21/59][0m >tests/main_test.py::test_similar_to_ip [32mPASSED[0m[33m [22/59][0m >tests/main_test.py::test_punycode [32mPASSED[0m[33m [23/59][0m >tests/main_test.py::test_invalid_puny_with_puny [32mPASSED[0m[33m [24/59][0m >tests/main_test.py::test_invalid_puny_with_nonpuny [32mPASSED[0m[33m [25/59][0m >tests/main_test.py::test_puny_with_non_puny [32mPASSED[0m[33m [26/59][0m >tests/main_test.py::test_idna_2008 [32mPASSED[0m[33m [27/59][0m >tests/main_test.py::test_empty [32mPASSED[0m[33m [28/59][0m >tests/main_test.py::test_scheme [32mPASSED[0m[33m [29/59][0m >tests/main_test.py::test_port [32mPASSED[0m[33m [30/59][0m >tests/main_test.py::test_username [32mPASSED[0m[33m [31/59][0m >tests/main_test.py::test_query_fragment [32mPASSED[0m[33m [32/59][0m >tests/main_test.py::test_order [32mPASSED[0m[33m [33/59][0m >tests/main_test.py::test_no_1st_level_tld [32mPASSED[0m[33m [34/59][0m >tests/main_test.py::test_dns_root_label [32mPASSED[0m[33m [35/59][0m >tests/main_test.py::test_ipv4 [32mPASSED[0m[33m [36/59][0m >tests/main_test.py::test_ipv4_lookalike [32mPASSED[0m[33m [37/59][0m >tests/main_test.py::test_cache_permission [32mPASSED[0m[33m [38/59][0m >tests/main_test.py::test_cache_timeouts [32mPASSED[0m[33m [39/59][0m >tests/main_test.py::test_find_first_response_without_session [32mPASSED[0m[33m [40/59][0m >tests/main_test.py::test_find_first_response_with_session [32mPASSED[0m[33m [41/59][0m >tests/main_test.py::test_include_psl_private_domain_attr [32mPASSED[0m[33m [42/59][0m >tests/main_test.py::test_tlds_property [32mPASSED[0m[33m [43/59][0m >tests/main_test.py::test_global_extract [32mPASSED[0m[33m [44/59][0m >tests/main_test.py::test_private_domains_depth [32mPASSED[0m[33m [45/59][0m >tests/test_cache.py::test_disk_cache [32mPASSED[0m[33m [46/59][0m >tests/test_cache.py::test_get_pkg_unique_identifier [32mPASSED[0m[33m [47/59][0m >tests/test_cache.py::test_get_cache_dir [32mPASSED[0m[33m [48/59][0m >tests/test_cache.py::test_run_and_cache [32mPASSED[0m[33m [49/59][0m >tests/test_parallel.py::test_multiprocessing_makes_one_request [32mPASSED[0m[33m [50/59][0m >tests/test_parallel.py::test_cache_cleared_by_other_process [32mPASSED[0m[33m [51/59][0m >tests/test_parallel.py::test_cache_cleared_by_other_process [31mERROR[0m[31m [51/59][0m >tests/test_trie.py::test_nested_dict [32mPASSED[0m[31m [52/59][0m >tldextract/tldextract.py::tldextract.tldextract [32mPASSED[0m[31m [53/59][0m >tldextract/tldextract.py::tldextract.tldextract.ExtractResult.fqdn [32mPASSED[0m[31m [54/59][0m >tldextract/tldextract.py::tldextract.tldextract.ExtractResult.ipv4 [32mPASSED[0m[31m [55/59][0m >tldextract/tldextract.py::tldextract.tldextract.ExtractResult.ipv6 [32mPASSED[0m[31m [56/59][0m >tldextract/tldextract.py::tldextract.tldextract.ExtractResult.registered_domain [32mPASSED[0m[31m [57/59][0m >tldextract/tldextract.py::tldextract.tldextract.TLDExtract.extract_str [32mPASSED[0m[31m [58/59][0m >tldextract/tldextract.py::tldextract.tldextract.TLDExtract.extract_urllib [32mPASSED[0m[31m [59/59][0m > >==================================================================================== ERRORS ==================================================================================== >[31m[1m___________________________________________________________ ERROR at teardown of test_cache_cleared_by_other_process ___________________________________________________________[0m > >> [94mlambda[39;49;00m: ihook(item=item, **kwds), when=when, reraise=reraise[90m[39;49;00m > )[90m[39;49;00m > >ihook = <HookCaller 'pytest_runtest_teardown'> >item = <Function test_cache_cleared_by_other_process> >kwds = {'nextitem': <Function test_nested_dict>} > >[1m[31m/usr/lib/python3.11/site-packages/flaky/flaky_pytest_plugin.py[0m:146: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.11/shutil.py[0m:752: in rmtree > _rmtree_safe_fd(fd, path, onerror)[90m[39;49;00m > dir_fd = None > fd = 13 > fd_closed = False > ignore_errors = True > onerror = <function rmtree.<locals>.onerror at 0x7f33553c31a0> > orig_st = os.stat_result(st_mode=16832, st_ino=16154626, st_dev=2070, st_nlink=4, st_uid=250, st_gid=250, st_size=4096, st_atime=1712834975, st_mtime=1712834975, st_ctime=1712834975) > path = PosixPath('/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0') >[1m[31m/usr/lib/python3.11/shutil.py[0m:672: in _rmtree_safe_fd > _rmtree_safe_fd(dirfd, fullname, onerror)[90m[39;49;00m > dirfd = 14 > dirfd_closed = False > entries = [<DirEntry 'publicsuffix.org-tlds'>, <DirEntry 'urls'>] > entry = <DirEntry 'publicsuffix.org-tlds'> > fullname = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds' > is_dir = True > onerror = <function rmtree.<locals>.onerror at 0x7f33553c31a0> > orig_st = os.stat_result(st_mode=16877, st_ino=16154644, st_dev=2070, st_nlink=2, st_uid=250, st_gid=250, st_size=4096, st_atime=1712834975, st_mtime=1712834975, st_ctime=1712834975) > path = PosixPath('/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0') > scandir_it = <posix.ScandirIterator object at 0x7f335524e870> > topfd = 13 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >topfd = 14, path = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds' >onerror = <function rmtree.<locals>.onerror at 0x7f33553c31a0> > > [94mdef[39;49;00m [92m_rmtree_safe_fd[39;49;00m(topfd, path, onerror):[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > [94mwith[39;49;00m os.scandir(topfd) [94mas[39;49;00m scandir_it:[90m[39;49;00m > entries = [96mlist[39;49;00m(scandir_it)[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m [94mas[39;49;00m err:[90m[39;49;00m > err.filename = path[90m[39;49;00m > onerror(os.scandir, path, sys.exc_info())[90m[39;49;00m > [94mreturn[39;49;00m[90m[39;49;00m > [94mfor[39;49;00m entry [95min[39;49;00m entries:[90m[39;49;00m > fullname = os.path.join(path, entry.name)[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > is_dir = entry.is_dir(follow_symlinks=[94mFalse[39;49;00m)[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m:[90m[39;49;00m > is_dir = [94mFalse[39;49;00m[90m[39;49;00m > [94melse[39;49;00m:[90m[39;49;00m > [94mif[39;49;00m is_dir:[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > orig_st = entry.stat(follow_symlinks=[94mFalse[39;49;00m)[90m[39;49;00m > is_dir = stat.S_ISDIR(orig_st.st_mode)[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m:[90m[39;49;00m > onerror(os.lstat, fullname, sys.exc_info())[90m[39;49;00m > [94mcontinue[39;49;00m[90m[39;49;00m > [94mif[39;49;00m is_dir:[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > dirfd = os.open(entry.name, os.O_RDONLY, dir_fd=topfd)[90m[39;49;00m > dirfd_closed = [94mFalse[39;49;00m[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m:[90m[39;49;00m > onerror(os.open, fullname, sys.exc_info())[90m[39;49;00m > [94melse[39;49;00m:[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > [94mif[39;49;00m os.path.samestat(orig_st, os.fstat(dirfd)):[90m[39;49;00m > _rmtree_safe_fd(dirfd, fullname, onerror)[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > os.close(dirfd)[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m:[90m[39;49;00m > [90m# close() should not be retried after an error.[39;49;00m[90m[39;49;00m > dirfd_closed = [94mTrue[39;49;00m[90m[39;49;00m > onerror(os.close, fullname, sys.exc_info())[90m[39;49;00m > dirfd_closed = [94mTrue[39;49;00m[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > os.rmdir(entry.name, dir_fd=topfd)[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m:[90m[39;49;00m > onerror(os.rmdir, fullname, sys.exc_info())[90m[39;49;00m > [94melse[39;49;00m:[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > [90m# This can only happen if someone replaces[39;49;00m[90m[39;49;00m > [90m# a directory with a symlink after the call to[39;49;00m[90m[39;49;00m > [90m# os.scandir or stat.S_ISDIR above.[39;49;00m[90m[39;49;00m > [94mraise[39;49;00m [96mOSError[39;49;00m([33m"[39;49;00m[33mCannot call rmtree on a symbolic [39;49;00m[33m"[39;49;00m[90m[39;49;00m > [33m"[39;49;00m[33mlink[39;49;00m[33m"[39;49;00m)[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m:[90m[39;49;00m > onerror(os.path.islink, fullname, sys.exc_info())[90m[39;49;00m > [94mfinally[39;49;00m:[90m[39;49;00m > [94mif[39;49;00m [95mnot[39;49;00m dirfd_closed:[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > os.close(dirfd)[90m[39;49;00m > [94mexcept[39;49;00m [96mOSError[39;49;00m:[90m[39;49;00m > onerror(os.close, fullname, sys.exc_info())[90m[39;49;00m > [94melse[39;49;00m:[90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m >> os.unlink(entry.name, dir_fd=topfd)[90m[39;49;00m >[1m[31mE TypeError: test_cache_cleared_by_other_process.<locals>.evil_unlink() got an unexpected keyword argument 'dir_fd'[0m > >entries = [<DirEntry 'de84b5ca2167d4c83e38fb162f2e8738.tldextract.json'>, > <DirEntry 'de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock'>] >entry = <DirEntry 'de84b5ca2167d4c83e38fb162f2e8738.tldextract.json'> >fullname = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json' >is_dir = False >onerror = <function rmtree.<locals>.onerror at 0x7f33553c31a0> >path = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds' >scandir_it = <posix.ScandirIterator object at 0x7f335524e950> >topfd = 14 > >[1m[31m/usr/lib/python3.11/shutil.py[0m:701: TypeError >[33m=============================================================================== warnings summary ===============================================================================[0m >tests/main_test.py::test_american > /usr/lib/python3.11/site-packages/requests/structures.py:58: ResourceWarning: unclosed file <_io.FileIO name='/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2/tests/fixtures/fake_suffix_list_fixture.dat' mode='rb' closefd=True> > return (casedkey for casedkey, mappedvalue in self._store.values()) > Enable tracemalloc to get traceback where the object was allocated. > See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >[36m[1m=========================================================================== short test summary info ============================================================================[0m >[31mERROR[0m tests/test_parallel.py::[1mtest_cache_cleared_by_other_process[0m - TypeError: test_cache_cleared_by_other_process.<locals>.evil_unlink() got an unexpected keyword argument 'dir_fd' >[31m==================================================================== [32m59 passed[0m, [33m1 warning[0m, [31m[1m1 error[0m[31m in 4.50s[0m[31m ====================================================================[0m >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()'. > [31;01m*[0m ERROR: dev-python/tldextract-5.1.2::gentoo failed (test phase): > [31;01m*[0m pytest failed with python3.11 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_test > [31;01m*[0m environment, line 4124: Called distutils-r1_src_test > [31;01m*[0m environment, line 2031: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 791: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3683: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3160: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3158: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1288: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1954: Called python_test > [31;01m*[0m environment, line 3966: Called distutils-r1_python_test > [31;01m*[0m environment, line 1892: Called epytest > [31;01m*[0m environment, line 2582: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${@}" || die -n "pytest failed with ${EPYTHON}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/tldextract-5.1.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/tldextract-5.1.2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/dev-python:tldextract-5.1.2:20240411-112855.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2' > [31;01m*[0m S: '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2'
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 930121
: 890951 |
890952