[issue42794] test_nntplib fails on CI
Dong-hee Na
report at bugs.python.org
Fri Jan 1 03:46:06 EST 2021
Dong-hee Na <donghee.na at python.org> added the comment:
== CPython 3.10.0a3+ (heads/master:c8a7b8fa1b, Jan 1 2021, 08:28:41) [GCC 7.5.0]
== Linux-5.4.0-1031-azure-x86_64-with-glibc2.27 little-endian
== cwd: /home/corona10/cpython/build/test_python_66899æ
== CPU count: 2
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 0.00 Run tests sequentially
0:00:00 load avg: 0.00 [1/1] test_nntplib
test_descriptions (test.test_nntplib.NNTPv1Tests) ... ok
test_descriptions (test.test_nntplib.NNTPv2Tests) ... ok
test_descriptions (test.test_nntplib.NetworkedNNTPTests) ... ok
test_descriptions (test.test_nntplib.NetworkedNNTP_SSLTests) ... ERROR
======================================================================
ERROR: test_descriptions (test.test_nntplib.NetworkedNNTP_SSLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/corona10/cpython/Lib/test/test_nntplib.py", line 250, in wrapped
meth(self)
File "/home/corona10/cpython/Lib/test/test_nntplib.py", line 99, in test_descriptions
desc = descs[self.GROUP_NAME]
KeyError: 'comp.lang.python'
----------------------------------------------------------------------
Ran 4 tests in 4.734s
FAILED (errors=1)
test test_nntplib failed
test_nntplib failed
== Tests result: FAILURE ==
1 test failed:
test_nntplib
Total duration: 4.8 sec
Tests result: FAILURE
My test machine success to reproduce this issue.
(Pdb) descs
{}
There might be 4 ways to solve this issue.
1. Re-create group and skip test while descs is empty
2. Update test to use other NNTP server which supports SSL
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42794>
_______________________________________
More information about the Python-bugs-list
mailing list