This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: test_nntplib failed with "nntplib.NNTPDataError: line too long"
Type: Stage: resolved
Components: Tests Versions: Python 3.7
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 2022-04-11 14:58 by admin. 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.


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\", line 241, in wrapped
  File "D:\buildarea\3.x.ware-win81-release\build\lib\test\", line 125, in test_xover
    resp, lines = self.server.xover(last - 5, last)
  File "D:\buildarea\3.x.ware-win81-release\build\lib\", line 804, in xover
  File "D:\buildarea\3.x.ware-win81-release\build\lib\", line 525, in _longcmdstring
    resp, list = self._getlongresp(file)
  File "D:\buildarea\3.x.ware-win81-release\build\lib\", line 494, in _getlongresp
    line = self._getline()
  File "D:\buildarea\3.x.ware-win81-release\build\lib\", 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:

Other buildbot failures:
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.
Date User Action Args
2022-04-11 14:58:53adminsetgithub: 76031
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