Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-108962: Skip test_tempfile.test_flags() if not supported#108964

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 3 commits intopython:mainfromvstinner:test_tempfile_flags
Sep 5, 2023

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedSep 5, 2023
edited by bedevere-bot
Loading

Skip test_tempfile.test_flags() if chflags() fails with "OSError: [Errno 45] Operation not supported" (ex: on FreeBSD 13).

Skip test_tempfile.test_flags() if chflags() fails with "OSError:[Errno 45] Operation not supported" (ex: on FreeBSD 13).
@vstinner
Copy link
MemberAuthor

@zware tested manually on the buildbot machine and reported to me that this change fix test_tempfile.

I tested manually on my FreeBSD 13: I cannot reproduce#108962 bug, but the test failed when I forgotos.chflags(filename, 0). I fixed my PR and it now pass as well when os.chflags() doesn't fail.

@miss-islington
Copy link
Contributor

Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington
Copy link
Contributor

Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 5, 2023
…thonGH-108964)Skip test_tempfile.test_flags() if chflags() fails with "OSError:[Errno 45] Operation not supported" (ex: on FreeBSD 13).(cherry picked from commitcd2ef21)Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 5, 2023
…thonGH-108964)Skip test_tempfile.test_flags() if chflags() fails with "OSError:[Errno 45] Operation not supported" (ex: on FreeBSD 13).(cherry picked from commitcd2ef21)Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

GH-108967 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelSep 5, 2023
@bedevere-bot
Copy link

GH-108968 is a backport of this pull request to the3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelSep 5, 2023
vstinner added a commit that referenced this pull requestSep 8, 2023
…H-108964) (#108968)gh-108962: Skip test_tempfile.test_flags() if not supported (GH-108964)Skip test_tempfile.test_flags() if chflags() fails with "OSError:[Errno 45] Operation not supported" (ex: on FreeBSD 13).(cherry picked from commitcd2ef21)Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

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

Hi! The buildbots390x Fedora LTO + PGO 3.11 has failed when building commit9dd28d2.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/all/#builders/1023/builds/909) and take a look at the build logs.
  4. Check if the failure is related to this commit (9dd28d2) 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/all/#builders/1023/builds/909

Failed tests:

  • test_tools

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

==

Click to see traceback logs
Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto-pgo/build/Lib/multiprocessing/resource_tracker.py", line209, inmain    cache[rtype].remove(name)KeyError:'/psm_544675dc'Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto-pgo/build/Lib/multiprocessing/resource_tracker.py", line209, inmain    cache[rtype].remove(name)KeyError:'/psm_162f758e'Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto-pgo/build/Lib/multiprocessing/resource_tracker.py", line209, inmain    cache[rtype].remove(name)KeyError:'/psm_5e0c1d7a'

Yhg1s pushed a commit that referenced this pull requestSep 8, 2023
…H-108964) (#108967)gh-108962: Skip test_tempfile.test_flags() if not supported (GH-108964)Skip test_tempfile.test_flags() if chflags() fails with "OSError:[Errno 45] Operation not supported" (ex: on FreeBSD 13).(cherry picked from commitcd2ef21)Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

OS-freebsdtestsTests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@miss-islington@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp