Skip to content

test_ioctl fails on macOS#119770

@Eclips4

Description

@Eclips4

Bug report

Bug description:

./python.exe-mtest-vtest_ioctl==CPython3.14.0a0 (heads/main:a5fef800d3, May302024, 09:48:26) [Clang15.0.0 (clang-1500.3.9.4)] ==macOS-14.5-arm64-arm-64bit-Mach-Olittle-endian==Pythonbuild: debug==cwd:/Users/admin/Projects/cpython/build/test_python_worker_4187æ==CPUcount: 8==encodings: locale=UTF-8FS=utf-8==resources: alltestresourcesaredisabled, use-uoptiontounskiptestsUsingrandomseed: 23091919840:00:00loadavg: 63.19Run1testsequentially0:00:00loadavg: 63.19 [1/1] test_ioctltest_ioctl (test.test_ioctl.IoctlTests.test_ioctl) ... oktest_ioctl_mutate (test.test_ioctl.IoctlTests.test_ioctl_mutate) ... oktest_ioctl_mutate_1024 (test.test_ioctl.IoctlTests.test_ioctl_mutate_1024) ... oktest_ioctl_mutate_2048 (test.test_ioctl.IoctlTests.test_ioctl_mutate_2048) ... oktest_ioctl_signed_unsigned_code_param (test.test_ioctl.IoctlTests.test_ioctl_signed_unsigned_code_param) ... ERROR======================================================================ERROR: test_ioctl_signed_unsigned_code_param (test.test_ioctl.IoctlTests.test_ioctl_signed_unsigned_code_param) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File"/Users/admin/Projects/cpython/Lib/test/test_ioctl.py", line85, intest_ioctl_signed_unsigned_code_paramnew_winsz=fcntl.ioctl(mfd, set_winsz_opcode_maybe_neg, our_winsz) OSError: [Errno25] Inappropriateioctlfordevice----------------------------------------------------------------------Ran5testsin0.003sFAILED (errors=1) testtest_ioctlfailedtest_ioctlfailed (1error) ==Testsresult: FAILURE==1testfailed: test_ioctlTotalduration: 96msTotaltests: run=5Totaltestfiles: run=1/1failed=1Result: FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-mactestsTests 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