classification
Title: test_nntplib failed with "nntplib.NNTPDataError: line too long"
Type: Stage: resolved
Components: Tests Versions: Python 3.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: mcepl, vstinner
Priority: normal Keywords: buildbot

Created on 2017-10-23 17:45 by vstinner, last changed 2019-05-21 12:14 by vstinner. This issue is now closed.

Messages (4)
msg304829 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-10-23 17:45
test_nntplib failed on many buildbots yesterday with the "line too long" error. It may be related to bpo-28971.

Example:

http://buildbot.python.org/all/#/builders/12/builds/52

(...)
test_with_statement (test.test_nntplib.NetworkedNNTP_SSLTests) ... ok
test_xhdr (test.test_nntplib.NetworkedNNTP_SSLTests) ... ok
test_xover (test.test_nntplib.NetworkedNNTP_SSLTests) ... ERROR
test_zlogin (test.test_nntplib.NetworkedNNTP_SSLTests) ... ok
test_zzquit (test.test_nntplib.NetworkedNNTP_SSLTests) ... ok
test_module_all_attribute (test.test_nntplib.PublicAPITests) ... ok
test test_nntplib failed
test_we_are_in_reader_mode_after_connect (test.test_nntplib.SendReaderNNTPv2Tests) ... ok

======================================================================
ERROR: test_xover (test.test_nntplib.NetworkedNNTP_SSLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\buildarea\3.x.ware-win81-release\build\lib\test\test_nntplib.py", line 241, in wrapped
    meth(self)
  File "D:\buildarea\3.x.ware-win81-release\build\lib\test\test_nntplib.py", line 125, in test_xover
    resp, lines = self.server.xover(last - 5, last)
  File "D:\buildarea\3.x.ware-win81-release\build\lib\nntplib.py", line 804, in xover
    file)
  File "D:\buildarea\3.x.ware-win81-release\build\lib\nntplib.py", line 525, in _longcmdstring
    resp, list = self._getlongresp(file)
  File "D:\buildarea\3.x.ware-win81-release\build\lib\nntplib.py", line 494, in _getlongresp
    line = self._getline()
  File "D:\buildarea\3.x.ware-win81-release\build\lib\nntplib.py", line 434, in _getline
    raise NNTPDataError('line too long')
nntplib.NNTPDataError: line too long
msg304830 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-10-23 17:53
It also failed on Travis CI:

https://mail.python.org/pipermail/python-committers/2017-October/004910.html

Other buildbot failures:

http://buildbot.python.org/all/#builders/80/builds/17
http://buildbot.python.org/all/#/builders/3/builds/48
http://buildbot.python.org/all/#/builders/47/builds/51
http://buildbot.python.org/all/#/builders/99/builds/50
http://buildbot.python.org/all/#/builders/103/builds/50
http://buildbot.python.org/all/#/builders/88/builds/51
http://buildbot.python.org/all/#builders/85/builds/51
http://buildbot.python.org/all/#/builders/53/builds/52
http://buildbot.python.org/all/#/builders/12/builds/49
http://buildbot.python.org/all/#/builders/106/builds/51
http://buildbot.python.org/all/#/builders/13/builds/51
http://buildbot.python.org/all/#/builders/27/builds/50
http://buildbot.python.org/all/#/builders/16/builds/51
http://buildbot.python.org/all/#/builders/87/builds/50
http://buildbot.python.org/all/#/builders/90/builds/28
http://buildbot.python.org/all/#/builders/30/builds/47
http://buildbot.python.org/all/#/builders/32/builds/47
msg343021 - (view) Author: Matej Cepl (mcepl) * Date: 2019-05-21 12:02
Was this ever reproduced anywhere?
msg343030 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-21 12:14
I didn't see this issue recently, so I just close it.
History
Date User Action Args
2019-05-21 12:14:53vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg343030

stage: resolved
2019-05-21 12:02:32mceplsetnosy: + mcepl
messages: + msg343021
2017-10-23 17:53:07vstinnersetmessages: + msg304830
2017-10-23 17:45:15vstinnercreate