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_os fails on FreeBSD 15 with zfs filesystem · Issue #148841 · python/cpython

test_os fails on FreeBSD 15 with zfs filesystem #148841

New issue
Copy link
New issue
Copy link
Open
Open
test_os fails on FreeBSD 15 with zfs filesystem#148841
Copy link
Labels
OS-freebsdtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@neek78
neek78
opened on Apr 21, 2026
Issue body actions

Bug report

Bug description:

fallocate() fails with EOPNOTSUPP, rather than EINVAL on FreeBSD 15 with zfs.

 ======================================================================
    ERROR: test_posix_fallocate (test.test_os.test_posix.PosixTester.test_posix_fallocate)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/nick/src/cpython-fixes/Lib/test/test_os/test_posix.py", line 409, in test_posix_fallocate
        posix.posix_fallocate(fd, 0, 10)
        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
    OSError: [Errno 45] Operation not supported

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other - FreeBSD

% uname -a
FreeBSD lappy-freebsd 15.0-RELEASE FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC arm64

Linked PRs

  • gh-148841: Fix test_posix on FreeBSD 15 with zfs filesys #148844

Activity

  1. neek78
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Apr 21, 2026
  2. StanFromIreland
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    OS-freebsd
    on Apr 21, 2026
  3. neek78
    added a commit that references this issue on Apr 21, 2026

    pythongh-148841: Fix test_posix on FreeBSD 15 with zfs filesys

    b7cff30
  4. neek78
    added a commit that references this issue on May 9, 2026

    pythongh-148841: unified to one case for fallocate() failures on *BSD

    91195cb
  5. serhiy-storchaka
    added this to OS issues 💻on Jul 3, 2026
  6. github-project-automation
    moved this to Todo in OS issues 💻on Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    • Unsupported platforms
      Status
      No status
      Show more project fields
    • OS issues 💻
      Status
      Todo
      Show more project fields

    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.