8000 gh-118201 - Disable the flaky POSIX test_confstr test on iOS by freakboy3742 · Pull Request #118452 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-118201 - Disable the flaky POSIX test_confstr test on iOS #118452

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

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

freakboy3742
Copy link
Contributor
@freakboy3742 freakboy3742 commented Apr 30, 2024

About 1 in 10 builds appear to be failing on iOS due to the test.test_posix.PosixTester.test_confstr test. The next buildbot run almost always passes, with no other changes.

For want of a real fix, this PR skips that test on iOS to avoid misleading test failures from the buildbot.

I agree this isn't a very satisfying "fix", but I've been unable to reproduce the issue locally. However, in defence of the fix: the feature that is failing doesn't have much utility on iOS. It's no help knowing where the POSIX standard utilities are located (which is what is returned by the value CS_PATH), because you can't invoke them anyway. The other common values passed to confstr() appear to be GNU C dependent (FreeBSD only documents CS_PATH).

There's also precedent for this approach - there's a couple of other tests in the suite that are skipped as being "flaky" under specific build conditions.

If this is merged, we can keep the underlying ticket open on the off chance that someone is affected by the issue, or is able to find a way to reproduce it.

@ned-deily ned-deily merged commit 9c468e2 into python:main Apr 30, 2024
36 checks passed
@freakboy3742 freakboy3742 deleted the flaky-confstr branch April 30, 2024 23:32
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 6, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-ios skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0