Title: ``test_ioctl`` fails on macOS · Issue #119770 · python/cpython · GitHub
Open Graph Title: ``test_ioctl`` fails on macOS · Issue #119770 · python/cpython
X Title: ``test_ioctl`` fails on macOS · Issue #119770 · python/cpython
Description: Bug report Bug description: ./python.exe -m test -v test_ioctl == CPython 3.14.0a0 (heads/main:a5fef800d3, May 30 2024, 09:48:26) [Clang 15.0.0 (clang-1500.3.9.4)] == macOS-14.5-arm64-arm-64bit-Mach-O little-endian == Python build: debug...
Open Graph Description: Bug report Bug description: ./python.exe -m test -v test_ioctl == CPython 3.14.0a0 (heads/main:a5fef800d3, May 30 2024, 09:48:26) [Clang 15.0.0 (clang-1500.3.9.4)] == macOS-14.5-arm64-arm-64bit-Mac...
X Description: Bug report Bug description: ./python.exe -m test -v test_ioctl == CPython 3.14.0a0 (heads/main:a5fef800d3, May 30 2024, 09:48:26) [Clang 15.0.0 (clang-1500.3.9.4)] == macOS-14.5-arm64-arm-64bit-Mac...
Opengraph URL: https://github.com/python/cpython/issues/119770
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"``test_ioctl`` fails on macOS","articleBody":"# Bug report\n\n### Bug description:\n\n```python\n./python.exe -m test -v test_ioctl\n== CPython 3.14.0a0 (heads/main:a5fef800d3, May 30 2024, 09:48:26) [Clang 15.0.0 (clang-1500.3.9.4)]\n== macOS-14.5-arm64-arm-64bit-Mach-O little-endian\n== Python build: debug\n== cwd: /Users/admin/Projects/cpython/build/test_python_worker_4187æ\n== CPU count: 8\n== encodings: locale=UTF-8 FS=utf-8\n== resources: all test resources are disabled, use -u option to unskip tests\n\nUsing random seed: 2309191984\n0:00:00 load avg: 63.19 Run 1 test sequentially\n0:00:00 load avg: 63.19 [1/1] test_ioctl\ntest_ioctl (test.test_ioctl.IoctlTests.test_ioctl) ... ok\ntest_ioctl_mutate (test.test_ioctl.IoctlTests.test_ioctl_mutate) ... ok\ntest_ioctl_mutate_1024 (test.test_ioctl.IoctlTests.test_ioctl_mutate_1024) ... ok\ntest_ioctl_mutate_2048 (test.test_ioctl.IoctlTests.test_ioctl_mutate_2048) ... ok\ntest_ioctl_signed_unsigned_code_param (test.test_ioctl.IoctlTests.test_ioctl_signed_unsigned_code_param) ... ERROR\n\n======================================================================\nERROR: test_ioctl_signed_unsigned_code_param (test.test_ioctl.IoctlTests.test_ioctl_signed_unsigned_code_param)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/Users/admin/Projects/cpython/Lib/test/test_ioctl.py\", line 85, in test_ioctl_signed_unsigned_code_param\n new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_maybe_neg, our_winsz)\nOSError: [Errno 25] Inappropriate ioctl for device\n\n----------------------------------------------------------------------\nRan 5 tests in 0.003s\n\nFAILED (errors=1)\ntest test_ioctl failed\ntest_ioctl failed (1 error)\n\n== Tests result: FAILURE ==\n\n1 test failed:\n test_ioctl\n\nTotal duration: 96 ms\nTotal tests: run=5\nTotal test files: run=1/1 failed=1\nResult: FAILURE\n```\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-119818\n* gh-119840\n* gh-119862\n* gh-119863\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Eclips4","@type":"Person","name":"Eclips4"},"datePublished":"2024-05-30T06:50:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/119770/cpython/issues/119770"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bfb8f22d-c0f6-6d63-1a12-ff8352cd8428 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C23A:1B38B1:2F1FA42:3D9D10C:696B771E |
| html-safe-nonce | 706a2d45fac63cd37d286558617450ddc2ed758bab71304c1e2659251c5508bd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjNBOjFCMzhCMToyRjFGQTQyOjNEOUQxMEM6Njk2Qjc3MUUiLCJ2aXNpdG9yX2lkIjoiMjkxMDg3MTAyMDk5NTU3MzUzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 53d7cc6ec998fbcf61308363310d52e361d4d728a31578c4c3402534ae957a17 |
| hovercard-subject-tag | issue:2324851760 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/119770/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a47a352ca81ce18b17732df688e1809e5f899e095ef00a552ab11da589b7ef25/python/cpython/issues/119770 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a47a352ca81ce18b17732df688e1809e5f899e095ef00a552ab11da589b7ef25/python/cpython/issues/119770 |
| og:image:alt | Bug report Bug description: ./python.exe -m test -v test_ioctl == CPython 3.14.0a0 (heads/main:a5fef800d3, May 30 2024, 09:48:26) [Clang 15.0.0 (clang-1500.3.9.4)] == macOS-14.5-arm64-arm-64bit-Mac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eclips4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width