Skip to content

test_nntplib: test_article_head_body() fails in SSL mode #76309

Closed

Description

@vstinner
BPO 32128
Nosy @vstinner
PRs
  • bpo-32128: Skip test_nntplib.test_article_head_body() #4552
  • [3.6] bpo-32128: Skip test_nntplib.test_article_head_body() (GH-4552) #4553
  • [3.6] bpo-32947: Fixes for TLS 1.3 and OpenSSL 1.1.1 #11612
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-09-19.23:07:48.137>
    created_at = <Date 2017-11-25.01:23:42.090>
    labels = ['3.7', 'tests']
    title = 'test_nntplib: test_article_head_body() fails in SSL mode'
    updated_at = <Date 2019-05-29.02:19:59.463>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-05-29.02:19:59.463>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-09-19.23:07:48.137>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2017-11-25.01:23:42.090>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32128
    keywords = ['patch']
    message_count = 3.0
    messages = ['306930', '306931', '306933']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['4552', '4553', '11612']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32128'
    versions = ['Python 3.6', 'Python 3.7']

    Activity

    1. vstinner commented on Nov 25, 2017

      @vstinner
      MemberAuthor

      The news.trigofacile.com NNTP server used by test_nntplib currently has troubles on SSL:

      $ ./python -m test -u all -v test_nntplib -m test_article_head_body  

      ======================================================================
      FAIL: test_article_head_body (test.test_nntplib.NetworkedNNTP_SSLTests)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "/home/haypo/prog/python/3.6/Lib/test/test_nntplib.py", line 242, in wrapped
          meth(self)
        File "/home/haypo/prog/python/3.6/Lib/test/test_nntplib.py", line 187, in test_article_head_body
          self.check_article_resp(resp, body, art_num)
        File "/home/haypo/prog/python/3.6/Lib/test/test_nntplib.py", line 167, in check_article_resp
          self.assertNotIn(article.lines[-1], (b".", b".\n", b".\r\n"))
      AssertionError: b'.' unexpectedly found in (b'.', b'.\n', b'.\r\n')

      See also bpo-19613.

    2. vstinner commented on Nov 25, 2017

      @vstinner
      MemberAuthor

      New changeset 706cb31 by Victor Stinner in branch 'master':
      bpo-32128: Skip test_nntplib.test_article_head_body() (bpo-4552)
      706cb31

    3. vstinner commented on Nov 25, 2017

      @vstinner
      MemberAuthor

      New changeset dde38b9 by Victor Stinner (Miss Islington (bot)) in branch '3.6':
      bpo-32128: Skip test_nntplib.test_article_head_body() (GH-4552) (bpo-4553)
      dde38b9

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifetestsTests in the Lib/test dir

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions