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

refleak test for test_socket on macOS is failed. #114049

Closed
corona10 opened this issue Jan 14, 2024 · 1 comment
Closed

refleak test for test_socket on macOS is failed. #114049

corona10 opened this issue Jan 14, 2024 · 1 comment
Labels
OS-mac type-bug An unexpected behavior, bug, or error

Comments

@corona10
Copy link
Member

corona10 commented Jan 14, 2024

Bug report

➜  cpython git:(main) ✗ ./python.exe -m test test_socket -R 3:3
Using random seed: 2290437226
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 2.83 Run 1 test sequentially
0:00:00 load avg: 2.83 [1/1] test_socket
beginning 6 repetitions
123456
/Users/user/oss/cpython/Lib/test/test_socket.py:2934: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
/Users/user/oss/cpython/Lib/test/test_socket.py:2843: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
./Users/user/oss/cpython/Lib/test/test_socket.py:2934: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
/Users/user/oss/cpython/Lib/test/test_socket.py:2843: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
./Users/user/oss/cpython/Lib/test/test_socket.py:2934: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
/Users/user/oss/cpython/Lib/test/test_socket.py:2843: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
./Users/user/oss/cpython/Lib/test/test_socket.py:2934: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
/Users/user/oss/cpython/Lib/test/test_socket.py:2843: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
./Users/user/oss/cpython/Lib/test/test_socket.py:2934: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
/Users/user/oss/cpython/Lib/test/test_socket.py:2843: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
./Users/user/oss/cpython/Lib/test/test_socket.py:2934: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
/Users/user/oss/cpython/Lib/test/test_socket.py:2843: RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
.
test_socket leaked [20, 20, 20] file descriptors, sum=60
test_socket failed (reference leak) in 3 min 8 sec

== Tests result: FAILURE ==

1 test failed:
    test_socket

Total duration: 3 min 8 sec
Total tests: run=483 skipped=245
Total test files: run=1/1 failed=1
Result: FAILURE

This happens in both the default build and the free-threaded build.
It looks like we have not detected this issue for a long time.
According to @itamaro there is not refleak builder for macOS at all.
python/buildmaster-config#444 (comment)

@Eclips4
Copy link
Member

Eclips4 commented Jan 14, 2024

Duplicate of #80931

@Eclips4 Eclips4 marked this as a duplicate of #80931 Jan 14, 2024
@Eclips4 Eclips4 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-mac type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants