Uh oh!
There was an error while loading. Please reload this page.
gh-87868: Skip some test in test_subprocess if python is configured with --enable-shared - #113867
Conversation
erlend-aasland
commented
Jan 9, 2024
Can you update the PR title to more accurately reflect the change? |
bedevere-bot
commented
Jan 9, 2024
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 4f22675 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
aisk
commented
Jan 9, 2024
How about this? |
aisk
commented
Jan 9, 2024
I was thinking that perhaps we could determine the PR title later, if we addressed the issue, and fixed it in this PR. |
erlend-aasland
commented
Jan 9, 2024
Instead of describing the git diff, I would try to write the PR title so it reflects the change in behaviour. For example, a PR can fix a flakey test by making the test environment deterministic. If you are scrolling through the git log it is more helpful to read about what effect a commit had. We can always check the diff by doing |
zooba
commented
Jan 9, 2024
I wouldn't expect this to fix it, btw. It's just going to improve the output when it fails. So we can review the buildbot results with this change and figure out the actual fix, and then do that as part of this PR (which will then need a different title) |
aisk
commented
Jan 9, 2024
Really thanks! I've learnt a lot from this. |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
test_subprocess
This comment was marked as off-topic.
This comment was marked as off-topic.
aisk
commented
Jan 9, 2024
The failed test environment is Linux based, like https://buildbot.python.org/all/#/builders/543/builds/5159 . |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
erlend-aasland
commented
Jan 9, 2024
You are right; I assumed it was Windows-specific, since the previous PR was Windows oriented. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
test_subprocesstest_subprocess if python is configured with --enable-shared
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
aisk
commented
Jan 10, 2024
Sorry, |
erlend-aasland
commented
Jan 10, 2024
!buildbot .64 (RHEL|Fedora Stable). |
bedevere-bot
commented
Jan 10, 2024
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 5671246 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
zooba
commented
Jan 10, 2024
We should also be able to run the test by copying |
The main intent of this test is to determine if we correctly handle the off-by-one problems in the for loops within the sort and de-duplication functions. For example, do we missed something if there is just one element in the environment keys. Therefore I think we can't copy the |
Sorry, @aisk and @gpshead, I could not cleanly backport this to |
Sorry, @aisk and @gpshead, I could not cleanly backport this to |
gpshead
commented
Jan 10, 2024
oh, backports do not appear to be needed. yay. |
gpshead
commented
Jan 10, 2024
thanks for the fix! this test is indeed somewhat fragile and only easy to run on some platforms - skipping it when it cannot be run is fine. we've still got coverage elsewhere. |
…ess` when the platform or build cannot do that (python#113867) * improve the assert for test_one_environment_variable * skip some test in test_subprocess when python is configured with shared * also skip the test if AddressSanitizer is enabled --------- Co-authored-by: Steve Dower <steve.dower@microsoft.com>
…ess` when the platform or build cannot do that (python#113867) * improve the assert for test_one_environment_variable * skip some test in test_subprocess when python is configured with shared * also skip the test if AddressSanitizer is enabled --------- Co-authored-by: Steve Dower <steve.dower@microsoft.com>
…ess` when the platform or build cannot do that (python#113867) * improve the assert for test_one_environment_variable * skip some test in test_subprocess when python is configured with shared * also skip the test if AddressSanitizer is enabled --------- Co-authored-by: Steve Dower <steve.dower@microsoft.com>
…ess` when the platform or build cannot do that (python#113867) * improve the assert for test_one_environment_variable * skip some test in test_subprocess when python is configured with shared * also skip the test if AddressSanitizer is enabled --------- Co-authored-by: Steve Dower <steve.dower@microsoft.com>
…ess` when the platform or build cannot do that (python#113867) * improve the assert for test_one_environment_variable * skip some test in test_subprocess when python is configured with shared * also skip the test if AddressSanitizer is enabled --------- Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Related to #102731 (comment).