Skip to content

gh-127146: Skip test_os.test_mode for Emscripten - #135764

Merged
freakboy3742 merged 2 commits into
python:mainfrom
hoodmane:emscripten-xfail-mode
Jun 21, 2025
Merged

gh-127146: Skip test_os.test_mode for Emscripten#135764
freakboy3742 merged 2 commits into
python:mainfrom
hoodmane:emscripten-xfail-mode

Conversation

@hoodmane

@hoodmanehoodmane commented Jun 20, 2025

Copy link
Copy Markdown
Contributor

This always fails in the build bot and always passes for me locally. Skip it for now in order to get the build bot running.

This always fails in the build bot and always passes for me
locally. Skip it for now in order to get the build bot running.
@blockchainGuru1018

This comment was marked as spam.

@freakboy3742freakboy3742 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logged #135783 to track the underlying problem once this is merged.

Comment threadLib/test/test_os.py Outdated
@freakboy3742
freakboy3742 enabled auto-merge (squash) June 21, 2025 05:28
@hoodmane

Copy link
Copy Markdown
ContributorAuthor

Thanks!

@freakboy3742
freakboy3742 merged commit f491125 into python:mainJun 21, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @hoodmane for the PR, and @freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 21, 2025
Temporarily skip test_os.test_mode on Emscripten; this fails consistently
on the buildbot, but not on other test configurations. Reported as pythonGH-135783
for follow up.
(cherry picked from commit f491125)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-135784 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label Jun 21, 2025
freakboy3742 pushed a commit that referenced this pull request Jun 21, 2025
…135784)
Temporarily skip test_os.test_mode on Emscripten; this fails consistently
on the buildbot, but not on other test configurations. Reported as GH-135783
for follow up.
(cherry picked from commit f491125)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot aarch64 Android 3.14 (tier-3) has failed when building commit 2b5c904.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1794/builds/271) and take a look at the build logs.
  4. Check if the failure is related to this commit (2b5c904) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1794/builds/271

Summary of the results of the build (if available):

Click to see traceback logs
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 118, in runreturnself._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 687, in run_until_completereturn future.result()
^^^^^^^^^^^^^^^
File "/Users/android/buildarea/3.14.mhsmith-android-aarch64/build/Android/android.py", line 597, in run_testbedasyncwith asyncio.TaskGroup() as tg:
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/taskgroups.py", line 134, in __aexit__raise propagate_cancellation_error
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/taskgroups.py", line 110, in __aexit__awaitself._on_completed_fut
asyncio.exceptions.CancelledError

@freakboy3742

Copy link
Copy Markdown
Contributor

The Android failure is an unrelated issue.

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
Temporarily skip test_os.test_mode on Emscripten; this fails consistently
on the buildbot, but not on other test configurations. Reported as python#135783 for follow up.
@hoodmane
hoodmane deleted the emscripten-xfail-mode branch July 15, 2025 14:53
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Temporarily skip test_os.test_mode on Emscripten; this fails consistently
on the buildbot, but not on other test configurations. Reported as python#135783 for follow up.
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
Temporarily skip test_os.test_mode on Emscripten; this fails consistently
on the buildbot, but not on other test configurations. Reported as python#135783 for follow up.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@hoodmane@blockchainGuru1018@bedevere-bot@freakboy3742