Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test_posix fails on NetBSD: Operation Not Supported for posix_fallocate #123823

@furkanonder

Description

@furkanonder

Bug description:

$ ./python -m test test_posix
Using random seed: 3412046247
0:00:00 load avg: 0.00 Run 1 test sequentially in a single process
0:00:00 load avg: 0.00 [1/1] test_posix
test test_posix failed -- Traceback (most recent call last):
  File "/home/blue/cpython/Lib/test/test_posix.py", line 407, in test_posix_fallocate
    posix.posix_fallocate(fd, 0, 10)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
OSError: [Errno 45] Operation not supported

test_posix failed (1 error)

== Tests result: FAILURE ==

1 test failed:
    test_posix

Total duration: 4.7 sec
Total tests: run=167 skipped=41
Total test files: run=1/1 failed=1
Result: FAILURE

OS: NetBSD 10.0 amd64

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesOS-netbsdtestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions