Skip to content

test_build_details fails if executed from a relocated place #133743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pablogsal opened this issue May 9, 2025 · 1 comment
Open

test_build_details fails if executed from a relocated place #133743

pablogsal opened this issue May 9, 2025 · 1 comment
Labels
build The build process and cross-build tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@pablogsal
Copy link
Member

pablogsal commented May 9, 2025

Bug report

Bug description:

[2025-05-08T15:36:07.483Z] 0:00:57 load avg: 32.60 [ 90/491/1] test_bool passed
[2025-05-08T15:36:07.747Z] 0:00:57 load avg: 32.60 [ 91/491/2] test_build_details failed (1 failure)
[2025-05-08T15:36:07.747Z] test_base_interpreter (test.test_build_details.CPythonBuildDetailsTests.test_base_interpreter) ... FAIL
[2025-05-08T15:36:07.747Z] test_base_prefix (test.test_build_details.CPythonBuildDetailsTests.test_base_prefix) ... ok
[2025-05-08T15:36:07.747Z] test_implementation (test.test_build_details.CPythonBuildDetailsTests.test_implementation) ... ok
[2025-05-08T15:36:07.747Z] test_language_version (test.test_build_details.CPythonBuildDetailsTests.test_language_version) ... ok
[2025-05-08T15:36:07.747Z] test_language_version_info (test.test_build_details.CPythonBuildDetailsTests.test_language_version_info) ... ok
[2025-05-08T15:36:07.747Z] test_location (test.test_build_details.CPythonBuildDetailsTests.test_location) ... ok
[2025-05-08T15:36:07.747Z] test_parse (test.test_build_details.CPythonBuildDetailsTests.test_parse) ... ok
[2025-05-08T15:36:07.747Z] test_platform (test.test_build_details.CPythonBuildDetailsTests.test_platform) ... ok
[2025-05-08T15:36:07.747Z] test_top_level_container (test.test_build_details.CPythonBuildDetailsTests.test_top_level_container) ... ok
[2025-05-08T15:36:07.747Z] 
[2025-05-08T15:36:07.747Z] ======================================================================
[2025-05-08T15:36:07.747Z] FAIL: test_base_interpreter (test.test_build_details.CPythonBuildDetailsTests.test_base_interpreter)
[2025-05-08T15:36:07.747Z] ----------------------------------------------------------------------
[2025-05-08T15:36:07.747Z] Traceback (most recent call last):
[2025-05-08T15:36:07.747Z]   File "/bb/jenkins_work/python/workspace/python_python3.14-debian_PR-1/distro/refroot/amd64/opt/bb/lib64/python3.14/test/test_build_details.py", line 124, in test_base_interpreter
[2025-05-08T15:36:07.747Z]     self.assertEqual(os.path.realpath(value), os.path.realpath(sys.executable))
[2025-05-08T15:36:07.747Z]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-05-08T15:36:07.747Z] AssertionError: '/bb/bin/package/opt/bb/bin/python3.14' != '/bb/jenkins_work/python/workspace/python_pyth[57 chars]3.14'
[2025-05-08T15:36:07.747Z] - /bb/bin/package/opt/bb/bin/python3.14
[2025-05-08T15:36:07.747Z] + /bb/jenkins_work/python/workspace/python_python3.14-debian_PR-1/distro/refroot/amd64/opt/bb/bin/python3.14
[2025-05-08T15:36:07.747Z] 
[2025-05-08T15:36:07.747Z] 
[2025-05-08T15:36:07.747Z] ----------------------------------------------------------------------
[2025-05-08T15:36:07.747Z] Ran 9 tests in 0.013s```


### CPython versions tested on:

3.14

### Operating systems tested on:

Linux
@pablogsal pablogsal added the type-bug An unexpected behavior, bug, or error label May 9, 2025
@pablogsal
Copy link
Member Author

CC @FFY00

@picnixz picnixz added build The build process and cross-build tests Tests in the Lib/test dir labels May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants