Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942859 - dev-python/build-1.2.2_p1 fails tests: FAILED test_ctx_logger.py::test_custom_subprocess_runner_ctx_logging[False-1-kwarg_origins1] - AssertionError: assert 3 == 2
Summary: dev-python/build-1.2.2_p1 fails tests: FAILED test_ctx_logger.py::test_custom...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-11-04 08:00 UTC by Agostino Sarubbo
Modified: 2024-11-04 08:01 UTC (History)
0 users

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


Attachments
build.log (build.log,100.22 KB, text/plain)
2024-11-04 08:01 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-04 08:00:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/build-1.2.2_p1 fails tests.
Discovered on: arm64 (internal ref: tinderbox_arm64)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-04 08:01:00 UTC
Created attachment 907835 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-04 08:01:01 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


        except ModuleNotFoundError:  # colorama might not be available
  (after name and no valid version specifier)
  /sys/devices/system/cpu/cpuX/cache
  python/build-1.2.2_p1/temp/build-reqs-lembfmsq.txt)
  python/build-1.2.2_p1/temp/build-reqs-yo30janw.txt)".startswith
  semicolon (after name and no valid version specifier)
 'returned non-zero exit status 1.',
 'returned non-zero exit status 1.',
 'returned non-zero exit status 1.']
 'subprocess.CalledProcessError: Command '
 +    where startswith = "< Warning: cannot find your CPU L2 & L3 cache size in
'
<          ^ (from line 2 of /var/tmp/portage/dev-
<     this is invalid
< ERROR: Invalid requirement: 'this is invalid': Expected end or
< ERROR: Invalid requirement: 'this is invalid': Expected end or semicolon
<".startswith
E        +    where startswith = "< Warning: cannot find your CPU L2 & L3 cache size in
E       AssertionError: assert 3 == 2
FAILED tests/test_ctx_logger.py::test_custom_subprocess_runner_ctx_logging[False-1-kwarg_origins1] - AssertionError: assert 3 == 2
FAILED tests/test_main.py::test_output_env_subprocess_error[False-color] - assert False
FAILED tests/test_main.py::test_output_env_subprocess_error[False-no-color] - assert False
Warning: cannot find your CPU L2 & L3 cache size in /sys/devices/system/cpu/cpuX/cache
[gw0] [ 64/123] FAILED tests/test_ctx_logger.py::test_custom_subprocess_runner_ctx_logging[False-1-kwarg_origins1] 
[gw6] [ 66/123] PASSED tests/test_projectbuilder.py::test_prepare_error[False] 
[gw6] [115/123] FAILED tests/test_main.py::test_output_env_subprocess_error[False-no-color] 
[gw6] [121/123] FAILED tests/test_main.py::test_output_env_subprocess_error[False-color] 
_______________ test_output_env_subprocess_error[False-no-color] _______________
________________ test_output_env_subprocess_error[False-color] _________________
cleaned_stderr = ('< Warning: cannot find your CPU L2 & L3 cache size in
pypy3 -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 xdist -n 8 --dist=worksteal --deselect tests/test_util.py::test_wheel_metadata_isolation --deselect tests/test_main.py::test_output[via-sdist-isolation] --deselect tests/test_main.py::test_output[wheel-direct-isolation] --deselect tests/test_main.py::test_colors --deselect tests/test_main.py::test_output_env_subprocess_error[color] --deselect tests/test_main.py::test_verbose_output[False-0] --deselect tests/test_main.py::test_verbose_output[False-1] --deselect tests/test_env.py::test_external_uv_detection_success --deselect tests/test_projectbuilder.py::test_build_with_dep_on_console_script[False] --deselect tests/test_env.py::test_uv_impl_install_cmd_well_formed --deselect tests/test_env.py::test_venv_creation[uv-venv+uv-None] -m not network -p pytest_mock -p rerunfailures
stderr     = ['< Warning: cannot find your CPU L2 & L3 cache size in',
stderr     = ['< Warning: cannot find your CPU L2 & L3 cache size in',
tests/test_main.py::test_output_env_subprocess_error[False-color] 
tests/test_main.py::test_output_env_subprocess_error[False-no-color] 
tests/test_projectbuilder.py::test_prepare_error[False]