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.test_socket.GeneralModuleTests.test_sendall_interrupted: ZeroDivisionError not raised #118198

Open
furkanonder opened this issue Apr 23, 2024 · 0 comments
Labels
3.12 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 Apr 23, 2024

Bug report

Bug description:

The problem is seen in a buildbot.

Configuration:

./configure --prefix '$(PWD)/target'

Tests:

./target/bin/python3.12 -Wdefault -bb -E -m test -rwW -uall -j2 --timeout=2400 -j4

Output:

======================================================================
FAIL: test_sendall_interrupted (test.test_socket.GeneralModuleTests.test_sendall_interrupted)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dietpi/buildarea/3.12.onder-riscv64.installed/build/target/lib/python3.12/test/test_socket.py", line 1708, in test_sendall_interrupted
    self.check_sendall_interrupted(False)
  File "/home/dietpi/buildarea/3.12.onder-riscv64.installed/build/target/lib/python3.12/test/test_socket.py", line 1693, in check_sendall_interrupted
    with self.assertRaises(ZeroDivisionError):
AssertionError: ZeroDivisionError not raised
======================================================================
FAIL: test_sendall_interrupted_with_timeout (test.test_socket.GeneralModuleTests.test_sendall_interrupted_with_timeout)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dietpi/buildarea/3.12.onder-riscv64.installed/build/target/lib/python3.12/test/test_socket.py", line 1711, in test_sendall_interrupted_with_timeout
    self.check_sendall_interrupted(True)
  File "/home/dietpi/buildarea/3.12.onder-riscv64.installed/build/target/lib/python3.12/test/test_socket.py", line 1693, in check_sendall_interrupted
    with self.assertRaises(ZeroDivisionError):
AssertionError: ZeroDivisionError not raised
----------------------------------------------------------------------
Ran 726 tests in 92.562s
FAILED (failures=2, skipped=102)
test test_socket failed

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

@furkanonder furkanonder added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels Apr 23, 2024
@furkanonder furkanonder added build The build process and cross-build 3.13 bugs and security fixes tests Tests in the Lib/test dir 3.12 bugs and security fixes and removed tests Tests in the Lib/test dir build The build process and cross-build 3.13 bugs and security fixes labels Jun 28, 2024
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 tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
1 participant