New submission from Karthikeyan Singaravelan <tir.kar...@gmail.com>:

This PR https://github.com/python/cpython/pull/12271 has consistent build 
failures in test_socket even after merging the master branch.

Sample build failure : 
https://dev.azure.com/Python/cpython/_build/results?buildId=41411

I tried reproducing this and I can't reproduce it in Ubuntu. Mac OS seems to 
fail with leaked references which I think is unrelated to the above Azure 
failure. The Mac issue is open (issue35092 reported by Victor closed as 
duplicate of issue23828) but it was about warning though running with regrtest 
seems to leak references in addition to warnings.

Ubuntu build : 

karthi@ubuntu-s-1vcpu-1gb-blr1-01:~/cpython$ ./python -m test -R 3:3 test_socket
Run tests sequentially
0:00:00 load avg: 0.01 [1/1] test_socket
beginning 6 repetitions
123456
......
test_socket passed in 3 min 7 sec

== Tests result: SUCCESS ==

1 test OK.

Total duration: 3 min 7 sec
Tests result: SUCCESS

Mac OS build (Mac OS 10.10.4 (14E46))

➜  cpython git:(master) ./python.exe -m test -R 3:3 test_socket
Run tests sequentially
0:00:00 load avg: 2.00 [1/1] test_socket
beginning 6 repetitions
123456
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2419:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2510:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
./Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2419:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2510:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
./Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2419:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2510:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
./Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2419:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2510:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
./Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2419:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2510:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
./Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2419:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg(bufsize, *args)
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/test/test_socket.py:2510:
 RuntimeWarning: received malformed or improperly-truncated ancillary data
  result = sock.recvmsg_into([buf], *args)
.
test_socket leaked [20, 20, 20] file descriptors, sum=60
test_socket failed in 2 min 31 sec

== Tests result: FAILURE ==

1 test failed:
    test_socket

Total duration: 2 min 31 sec
Tests result: FAILURE

----------
components: Library (Lib)
messages: 341052
nosy: giampaolo.rodola, vstinner, xtreak
priority: normal
severity: normal
status: open
title: test_socket failed (env changed) on Azure pipeline
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36750>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to