• Bug#1063462: pycurl: FTBFS during tests: GnuTLS recv error (-110): The

    From Emanuele Rocca@21:1/5 to All on Thu Feb 8 15:20:01 2024
    Source: pycurl
    Version: 7.45.2-7
    Severity: serious
    Justification: fails to build from source (but built successfully in the past) Tags: sid trixie ftbfs

    Dear Maintainer,

    pycurl currently fails to build from source on amd64 and arm64 with the following error:

    =================================== FAILURES ===================================
    __________________ CertinfoTest.test_request_without_certinfo __________________

    self = <tests.certinfo_test.CertinfoTest testMethod=test_request_without_certinfo>

    @util.min_libcurl(7, 19, 1)
    @util.only_ssl
    def test_request_without_certinfo(self):
    self.curl.setopt(pycurl.URL, 'https://localhost:8383/success')
    sio = util.BytesIO()
    self.curl.setopt(pycurl.WRITEFUNCTION, sio.write)
    # self signed certificate
    self.curl.setopt(pycurl.SSL_VERIFYPEER, 0)
    self.curl.perform()
    E pycurl.error: (56, 'GnuTLS recv error (-110): The TLS connection was non-properly terminated.')

    tests/certinfo_test.py:34: error
    =============================== warnings summary ===============================
    ../../../usr/lib/python3/dist-packages/bottle.py:38
    /usr/lib/python3/dist-packages/bottle.py:38: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===Flaky Test Report===
    =========================== short test summary info ============================
    FAILED tests/certinfo_test.py::CertinfoTest::test_request_without_certinfo - ...
    ===== 1 failed, 404 passed, 19 skipped, 5 deselected, 1 warning in 15.80s ======

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Feb 12 05:20:01 2024
    Processing control commands:

    reassign -1 src:curl 8.6.0-1
    Bug #1063462 [src:pycurl] pycurl: FTBFS during tests: GnuTLS recv error (-110): The TLS connection was non-properly terminated
    Bug reassigned from package 'src:pycurl' to 'src:curl'.
    No longer marked as found in versions pycurl/7.45.2-7.
    Ignoring request to alter fixed versions of bug #1063462 to the same values previously set
    Bug #1063462 [src:curl] pycurl: FTBFS during tests: GnuTLS recv error (-110): The TLS connection was non-properly terminated
    Marked as found in versions curl/8.6.0-1.
    affects -1 src:pycurl
    Bug #1063462 [src:curl] pycurl: FTBFS during tests: GnuTLS recv error (-110): The TLS connection was non-properly terminated
    Added indication that 1063462 affects src:pycurl

    --
    1063462: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063462
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Scott Talbert@21:1/5 to Emanuele Rocca on Mon Feb 12 05:20:01 2024
    Control: reassign -1 src:curl 8.6.0-1
    Control: affects -1 src:pycurl

    On Thu, 8 Feb 2024, Emanuele Rocca wrote:

    Source: pycurl
    Version: 7.45.2-7
    Severity: serious
    Justification: fails to build from source (but built successfully in the past)
    Tags: sid trixie ftbfs

    Dear Maintainer,

    pycurl currently fails to build from source on amd64 and arm64 with the following error:

    =================================== FAILURES ===================================
    __________________ CertinfoTest.test_request_without_certinfo __________________

    self = <tests.certinfo_test.CertinfoTest testMethod=test_request_without_certinfo>

    @util.min_libcurl(7, 19, 1)
    @util.only_ssl
    def test_request_without_certinfo(self):
    self.curl.setopt(pycurl.URL, 'https://localhost:8383/success')
    sio = util.BytesIO()
    self.curl.setopt(pycurl.WRITEFUNCTION, sio.write)
    # self signed certificate
    self.curl.setopt(pycurl.SSL_VERIFYPEER, 0)
    self.curl.perform()
    E pycurl.error: (56, 'GnuTLS recv error (-110): The TLS connection was non-properly terminated.')

    tests/certinfo_test.py:34: error
    =============================== warnings summary ===============================
    ../../../usr/lib/python3/dist-packages/bottle.py:38
    /usr/lib/python3/dist-packages/bottle.py:38: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ===Flaky Test Report===
    =========================== short test summary info ============================
    FAILED tests/certinfo_test.py::CertinfoTest::test_request_without_certinfo - ...
    ===== 1 failed, 404 passed, 19 skipped, 5 deselected, 1 warning in 15.80s ======

    This is a regression in curl 8.6.0. It has already been fixed/reverted upstream: https://github.com/curl/curl/commit/ed09a99af57200643d5ae001e815eeab9ffe3f84

    Cherry-picking that commit should fix the issue.

    Regards,
    Scott

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Feb 20 00:10:02 2024
    This is a multi-part message in MIME format...

    Your message dated Mon, 19 Feb 2024 23:04:34 +0000
    with message-id <E1rcCgc-00FHTC-9v@fasolo.debian.org>
    and subject line Bug#1063462: fixed in curl 8.6.0-3
    has caused the Debian Bug report #1063462,
    regarding pycurl: FTBFS during tests: GnuTLS recv error (-110): The TLS connection was non-properly terminated
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1063462: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063462
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 8 Feb 2024 14:13:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-5.9 required=4.0 tests=BAYES_00,DKIM_SIGNED,
    DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,
    FROMDEVELOPER,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,
    SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,WEIRD_PORT autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 51; hammy, 150; neutral, 80; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--sk:depreca, 0.000-+--GnuTLS, 0.000-+--mimetypes
    Return-path: <emarocca@gmail.com>
    Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:41159)
    by buxtehude.debian.org with