Uh oh!
There was an error while loading. Please reload this page.
gh-108948: Skip test_tarfile.test_modes() on EFTYPE error - #109697
Conversation
On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error.
vstinner
commented
Sep 21, 2023
!buildbot AMD64 FreeBSD |
bedevere-bot
commented
Sep 21, 2023
miss-islington
commented
Sep 21, 2023
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
miss-islington
commented
Sep 21, 2023
Sorry, @vstinner, I could not cleanly backport this to |
miss-islington
commented
Sep 21, 2023
Sorry, @vstinner, I could not cleanly backport this to |
vstinner
commented
Sep 21, 2023
Oh, that's the bug python/buildmaster-config#390 I wrote python/buildmaster-config#400 to fix it. By the way, the FreeBSD buildbot cannot be matched because the builder is not declared as stable yet... because test_tarfile fails :-) |
…on#109697) On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error. (cherry picked from commit 26e06ad)
GH-109698 is a backport of this pull request to the 3.12 branch. |
GH-109699 is a backport of this pull request to the 3.11 branch. |
vstinner
commented
Sep 21, 2023
Well, I tested manually my fix on my FreeBSD before merging it: it works as expected. I wrote backports to 3.11 and 3.12 branches (I also tested them manually). |
bedevere-bot
commented
Sep 21, 2023
|
bedevere-bot
commented
Sep 22, 2023
|
vstinner
commented
Sep 22, 2023
I created #109702 for this issue. |
bedevere-bot
commented
Sep 22, 2023
|
…on#109697) On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error.
…on#109697) On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error.
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, @vstinner, I could not cleanly backport this to |
Sorry, @vstinner, I could not cleanly backport this to |
…on#109697) On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error.
GH-125255 is a backport of this pull request to the 3.10 branch. |
…on#109697) On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error.
GH-125576 is a backport of this pull request to the 3.9 branch. |
…ystems that don't support them (GH-108368) (GH-109697) (#125255) * gh-107902: Don't test setting suid/sgid on systems that don't support them (GH-108368) * gh-108948: Skip test_tarfile.test_modes() on EFTYPE error (#109697) On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error. --------- Co-authored-by: Victor Stinner <vstinner@python.org>
…/sticky on systems that don't support them (pythonGH-108368) (pythonGH-109697) (pythonGH-125255) * pythongh-107902: Don't test setting suid/sgid on systems that don't support them (pythonGH-108368) * pythongh-108948: Skip test_tarfile.test_modes() on EFTYPE error (pythonGH-109697) On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error. --------- (cherry picked from commit 6bbaab8) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error.