gh-151029: Fix test_remote_exec_deleted_static_executable on static installed builds#152653
Conversation
test_remote_exec_deleted_static_executable on static installed …test_remote_exec_deleted_static_executable on static installed builds
|
!buildbot installed|riscv64 (Note: The RISC-V buildbot runs a static installed build, but it just doesn’t have it in the name) |
|
🤖 New build scheduled with the buildbot fleet by @StanFromIreland for commit a2bf789 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F152653%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
encukou
left a comment
There was a problem hiding this comment.
Ah! Out-of-tree builds strike again.
Thanks for looking into this!
+1 if buildbots are green. (I don't know if this is the best way to do things, but it looks OK to me, and unbreaking buildbots is an improvement.)
|
Thanks for the review. I did consider just skipping it in this case, but the Fix confirmed, e.g. |
|
Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-152669 is a backport of this pull request to the 3.14 branch. |
|
GH-152670 is a backport of this pull request to the 3.15 branch. |
test_remote_exec_deleted_static_executable(from gh-151029) rebuilds a fake build-tree and symlinks the stdlib viasrcdir/Lib, but on an installed Pythonsysconfig'ssrcdirpoints at theconfig-*directory (which has noLib/). The copied interpreter then can't find the stdlib, so it dies at startup before connecting (server_socket.accept()hangs until it raisesTimeoutError). Failed run, for example.