Author phantal
Recipients phantal
Date 2017-01-13.20:55:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484340924.46.0.120687210952.issue29269@psf.upfronthosting.co.za>
In-reply-to
Content
I started looking into this failure to see if I could figure out why but it looks like I'd have to spend more time than I have available to figure out the cause.

Environment/setup:
* air-gapped network (no internet access)
* sparc / Solaris 10
* Built with gcc 6.3.0
* Altered configure script to change -std=c99 to -std=gnu99 (see issue 29264)
* The only configure flags used were --prefix and --with-universal-archs=all


When I run test_socket I see the following 4 failures; please note, I'm hand typing the results so I may typo something:


ERROR: testCount (test.test_socket.SendfileUsingSendfileTest)
Traceback:
  File "(...)/test_socket.py", line 5248, in testCount
  File "(...)/test_socket.py", line 5151, in recv_data
MemoryError

Error: testCount (test.test_socket.SendfileUsingSendfileTest)
Traceback:
  File "(...)/test_socket.py", line 277, in _tearDown
  File "(...)/test_socket.py", line 289, in clientRun
  File "(...)/test_socket.py", line 5241, in _testCount
  File "(...)/Lib/socket.py", line 296, in _sendfile_use_sendfile
socket.timeout: timed out

Error: testWithTimeout (test.test_socket.SendfileUsingSendfileTest)
Traceback:
  File "(...)/test_socket.py", line 5318, in testWithTimeout
    data = self.recv_data(conn)
  File "(...)/test_socket.py", line 5151, in recv_data
    chunk = conn.recv(self.BUFSIZE)
MemoryError

Error: testWithTimeout (test.test_socket.SendfileUsingSendfileTest)
Traceback:
  File "(...)/test_socket.py", line 277, in _tearDown
    raise exc
  File "(...)/test_socket.py", line 289, in clientRun
    test_func()
  File "(...)/test_socket.py", line 5313, in _testWithTimeout
    sent = meth(file)
  File "(...)/Lib/socket.py", line 296, in _sendfile_use_sendfile
socket.timeout: timed out

Error: testCountWithOffset (test.test_socket.SendfileUsingSendfileTest)
Traceback:
  File "(...)/test_socket.py", line 5287, in testCountWithOffset
    self.assertEqual(len(data), count)
AssertionError: 4376231 != 100007

Ran 539 tests in 69.166s

FAILED (failures=1, errors=4, skipped=324)
test test_socket failed
History
Date User Action Args
2017-01-13 20:55:24phantalsetrecipients: + phantal
2017-01-13 20:55:24phantalsetmessageid: <1484340924.46.0.120687210952.issue29269@psf.upfronthosting.co.za>
2017-01-13 20:55:24phantallinkissue29269 messages
2017-01-13 20:55:23phantalcreate