Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_termios.test_tcsendbreak fails with 'Inappropriate ioctl for device' error on NetBSD #124030

Open
furkanonder opened this issue Sep 13, 2024 · 0 comments
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@furkanonder
Copy link
Contributor

furkanonder commented Sep 13, 2024

Bug report

Bug description:

$ ./python -m test test_termios -m test_tcsendbreak -v
== CPython 3.14.0a0 (heads/main:3bd942f106a, Sep 13 2024, 03:20:13) [GCC 10.5.0]
== NetBSD-10.0-amd64-x86_64-64bit-ELF little-endian
== Python build: debug
== cwd: /home/blue/cpython/build/test_python_worker_6492æ
== CPU count: 6
== encodings: locale=UTF-8 FS=utf-8
== resources: all test resources are disabled, use -u option to unskip tests

Using random seed: 3084653998
0:00:00 load avg: 3.05 Run 1 test sequentially in a single process
0:00:00 load avg: 3.05 [1/1] test_termios
test_tcsendbreak (test.test_termios.TestFunctions.test_tcsendbreak) ... ERROR

======================================================================
ERROR: test_tcsendbreak (test.test_termios.TestFunctions.test_tcsendbreak)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/blue/cpython/Lib/test/test_termios.py", line 95, in test_tcsendbreak
    termios.tcsendbreak(self.fd, 1)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
termios.error: (25, 'Inappropriate ioctl for device')

----------------------------------------------------------------------
Ran 1 test in 0.008s

FAILED (errors=1)
test test_termios failed
test_termios failed (1 error)

== Tests result: FAILURE ==

1 test failed:
    test_termios

Total duration: 154 ms
Total tests: run=1 (filtered)
Total test files: run=1/1 (filtered) failed=1
Result: FAILURE

OS: NetBSD 10.0 amd64

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

@furkanonder furkanonder added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir 3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Sep 13, 2024
furkanonder added a commit to furkanonder/cpython that referenced this issue Sep 13, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Sep 13, 2024
…thonGH-124031)

(cherry picked from commit 9f42b62)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Sep 13, 2024
…thonGH-124031)

(cherry picked from commit 9f42b62)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
serhiy-storchaka pushed a commit that referenced this issue Sep 13, 2024
…H-124031) (GH-124062)

(cherry picked from commit 9f42b62)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant