GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test_tarfile fails on file modes · Issue #107902 · python/cpython

test_tarfile fails on file modes #107902

New issue
Copy link
New issue
Copy link
Closed
Closed
test_tarfile fails on file modes#107902
Copy link
Assignees
encukou
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@furkanonder
furkanonder
opened on Aug 12, 2023
Issue body actions

Checklist

  • I am confident this is a bug in CPython, not a bug in a third-party project
  • I have searched the CPython issue tracker, and am confident this bug has not been reported before

[ted@rasp4 cpython]$ ./python -m test test_tarfile
0:00:00 load avg: 0.27 Run tests sequentially
0:00:00 load avg: 0.27 [1/1] test_tarfile
test test_tarfile failed -- Traceback (most recent call last):
  File "/home/ted/cpython/Lib/test/test_tarfile.py", line 3679, in test_modes
    self.expect_file('all_bits', mode='?rwsrwsrwt')
  File "/home/ted/cpython/Lib/test/test_tarfile.py", line 3429, in expect_file
    self.assertEqual(got, mode)
AssertionError: '?rwsrwxrwt' != '?rwsrwsrwt'
- ?rwsrwxrwt
?       ^
+ ?rwsrwsrwt
?       ^

Your environment

  • CPython versions tested on: Python 3.13.0a0
  • Operating system and architecture: Manjaro ARM Linux aarch64 | Raspberry Pi 4 Model B Rev 1.5
  • Configuration of CPython: ./configure --with-pydebug

Linked PRs

  • gh-107902: Don't test setting suid/sgid on systems that don't support them #108368
  • [3.10] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that don't support them (GH-108368) (GH-109697) #125255
  • [3.9] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that don't support them (GH-108368) (GH-109697) #125576
  • [3.9] [3.10] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on systems that don't support them (GH-108368) (GH-109697) (GH-125255) #125835

Activity

  1. furkanonder
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    testsTests in the Lib/test dirTests in the Lib/test dir
    on Aug 12, 2023
  2. furkanonder
    assigned
    furkanonder
    and
    encukou
    and unassigned
    furkanonder
    on Aug 12, 2023
  3. encukou
    added a commit that references this issue on Aug 23, 2023

    pythongh-107902: Don't test setting suid/sgid on systems that don't s…

    b26a475
  4. encukou
    added a commit that references this issue on Sep 4, 2023

    gh-107902: Don't test setting suid/sgid on systems that don't support…

    40e52c9
  5. encukou commented on Sep 4, 2023

    @encukou
    encukou
    on Sep 4, 2023
    Member
    More actions

    Thanks for the report!
    The test fix was merged in main. Let me know if you need a backport -- I won't make one by default since this is only a test issue for a platform without buildbots. I assume you can patch/skip the test on your build.

  6. encukou
    closed this as completedon Sep 4, 2023
  7. encukou
    added 2 commits that reference this issue on Oct 10, 2024

    pythongh-107902: Don't test setting suid/sgid on systems that don't s…

    e3ecd5b

    pythongh-107902: Don't test setting suid/sgid on systems that don't s…

    5a5b9b9
  8. pablogsal
    added a commit that references this issue on Oct 22, 2024

    [3.10] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on s…

    6bbaab8
  9. miss-islington
    added a commit that references this issue on Oct 22, 2024

    [3.10] pythongh-107902: pythongh-108948: Don't test setting suid/sgid…

    3c00a44
  10. ambv
    added a commit that references this issue on Oct 28, 2024

    [3.9] gh-107902: gh-108948: Don't test setting suid/sgid/sticky on sy…

    eb16397
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @encukou
    encukou

Labels

testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.