[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#911836: marked as done (pytest-localserver: FTBFS & autopkgtest regression)



Your message dated Mon, 25 Feb 2019 22:07:34 +0000
with message-id <E1gyOPO-0005BJ-3g@fasolo.debian.org>
and subject line Bug#911836: fixed in pytest-localserver 0.5.0-1
has caused the Debian Bug report #911836,
regarding pytest-localserver: FTBFS & autopkgtest regression
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.)


-- 
911836: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911836
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: pytest-localserver
Version: 0.3.7-2
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults

[X-Debbugs-CC: debian-ci@lists.debian.org,
python3-defaults@packages.debian.org]

Dear maintainers,

With a recent upload of python3-defaults the autopkgtest of
pytest-localserver fails in testing when that autopkgtest is run with
the binary packages of python3-defaults from unstable. It passes when
run with only packages from testing. In tabular form:
                       pass            fail
python3-defaults       from testing    3.6.7-1
pytest-localserver     from testing    0.3.7-2
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report. Looking at the
error, it seems you need to update the tests for the version of openssl
in unstable, version 1.1.1. We have a Wiki page that describes the
common updates required [1].

Currently this regression is contributing to the delay of the migration
of python3-defaults to testing [2].

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from python3-defaults should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
python3-defaults/3.6.7-1. I.e. due to versioned dependencies or
breaks/conflicts. In this case: python3-defaults/3.6.7-1 openssl/1.1.1-1
python3-stdlib-extensions/3.7.1-1 python3.6/3.6.7-1
[1] https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1
[2] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/pytest-localserver/1204135/log.gz

==================================== ERRORS
====================================
__________________ ERROR at setup of test_httpsserver_funcarg
__________________

request = <SubRequest 'httpsserver' for <Function
'test_httpsserver_funcarg'>>

    @pytest.fixture
    def httpsserver(request):
        """The returned ``httpsserver`` (note the additional S!) provides a
        threaded HTTP server instance similar to funcarg ``httpserver``
but with
        SSL encryption.
        """
        from pytest_localserver import https
>       server = https.SecureContentServer()

pytest_localserver/plugin.py:65:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
pytest_localserver/https.py:103: in __init__
    super(SecureContentServer, self).__init__(host, port,
ssl_context=(key, cert))
pytest_localserver/http.py:64: in __init__
    super(ContentServer, self).__init__(host, port, self,
ssl_context=ssl_context)
pytest_localserver/http.py:22: in __init__
    self._server = make_server(host, port, self.app, **kwargs)
/usr/lib/python3/dist-packages/werkzeug/serving.py:666: in make_server
    passthrough_errors, ssl_context, fd=fd)
/usr/lib/python3/dist-packages/werkzeug/serving.py:601: in __init__
    self.socket = ssl_context.wrap_socket(sock, server_side=True)
/usr/lib/python3/dist-packages/werkzeug/serving.py:511: in wrap_socket
    ssl_version=self._protocol, **kwargs)
/usr/lib/python3.6/ssl.py:1158: in wrap_socket
    ciphers=ciphers)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _

self = <ssl.SSLSocket fd=-1, family=AddressFamily.AF_UNSPEC, type=0,
proto=0>
sock = <socket.socket fd=8, family=AddressFamily.AF_INET,
type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 43969)>
keyfile =
'/tmp/autopkgtest-lxc.4ukr44pr/downtmp/build.fTj/src/pytest_localserver/server.pem'
certfile =
'/tmp/autopkgtest-lxc.4ukr44pr/downtmp/build.fTj/src/pytest_localserver/server.pem'
server_side = True, cert_reqs = <VerifyMode.CERT_NONE: 0>
ssl_version = <_SSLMethod.PROTOCOL_TLS: 2>, ca_certs = None
do_handshake_on_connect = True, family = <AddressFamily.AF_INET: 2>
type = <SocketKind.SOCK_STREAM: 1>, proto = 0, fileno = None
suppress_ragged_eofs = True, npn_protocols = None, ciphers = None
server_hostname = None, _context = None, _session = None

    def __init__(self, sock=None, keyfile=None, certfile=None,
                 server_side=False, cert_reqs=CERT_NONE,
                 ssl_version=PROTOCOL_TLS, ca_certs=None,
                 do_handshake_on_connect=True,
                 family=AF_INET, type=SOCK_STREAM, proto=0, fileno=None,
                 suppress_ragged_eofs=True, npn_protocols=None,
ciphers=None,
                 server_hostname=None,
                 _context=None, _session=None):

        if _context:
            self._context = _context
        else:
            if server_side and not certfile:
                raise ValueError("certfile must be specified for
server-side "
                                 "operations")
            if keyfile and not certfile:
                raise ValueError("certfile must be specified")
            if certfile and not keyfile:
                keyfile = certfile
            self._context = SSLContext(ssl_version)
            self._context.verify_mode = cert_reqs
            if ca_certs:
                self._context.load_verify_locations(ca_certs)
            if certfile:
>               self._context.load_cert_chain(certfile, keyfile)
E               ssl.SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak
(_ssl.c:3486)

/usr/lib/python3.6/ssl.py:750: SSLError

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: pytest-localserver
Source-Version: 0.5.0-1

We believe that the bug you reported is fixed in the latest version of
pytest-localserver, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 911836@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emanuele Rocca <ema@debian.org> (supplier of updated pytest-localserver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 25 Feb 2019 20:40:05 +0100
Source: pytest-localserver
Binary: python-pytest-localserver python3-pytest-localserver
Architecture: source all
Version: 0.5.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Emanuele Rocca <ema@debian.org>
Description:
 python-pytest-localserver - py.test plugin to test server connections locally (Python 2)
 python3-pytest-localserver - py.test plugin to test server connections locally (Python 3)
Closes: 911836
Changes:
 pytest-localserver (0.5.0-1) unstable; urgency=medium
 .
   [ Emanuele Rocca ]
   * QA upload
   * New upstream release 0.5.0
   * Provide new server.pem meeting OpenSSL SECLEVEL 2 requirements
     (Closes: #911836)
   * Bump Standards-Version
 .
   [ Ondřej Nový ]
   * d/control: Remove ancient X-Python-Version field
   * d/control: Remove ancient X-Python3-Version field
Checksums-Sha1:
 a77be012b4cd8ac5d496592be53c6676f423c71e 2508 pytest-localserver_0.5.0-1.dsc
 adbb8837e4711dd3ad140a61e238ba9352183367 15496 pytest-localserver_0.5.0.orig.tar.xz
 fa9bd161c1fdcaaf029753a3a7625123061a2bad 9832 pytest-localserver_0.5.0-1.debian.tar.xz
 8eae815d02b582c3c5a5f18d8292497abce7e12b 7662 pytest-localserver_0.5.0-1_amd64.buildinfo
 ec1ed9ac3b029a01490aaa3ee7367c38301d3373 18848 python-pytest-localserver_0.5.0-1_all.deb
 ff3a4c15592e922d87a34fcb4f2769c7ae7c8f97 18932 python3-pytest-localserver_0.5.0-1_all.deb
Checksums-Sha256:
 e9e294cc13bc20d737376c7edfae6162b0ba668477e92975898b0f89e4a156a8 2508 pytest-localserver_0.5.0-1.dsc
 baae5958e310110eb67fb9af8b5fffbc5e44319e934eb4da8d7606368a84df70 15496 pytest-localserver_0.5.0.orig.tar.xz
 74545aed1f21d24413205cf6f784bc2895c13fe78c8bf6d29ed049fe9addde90 9832 pytest-localserver_0.5.0-1.debian.tar.xz
 049ef1d90c4e6c47f782386cc5097e16ee93a1acba621ba95e18ea404ebf2be9 7662 pytest-localserver_0.5.0-1_amd64.buildinfo
 537f17c74a52efd0b853454684fc8317e209f81b21e094eed0ab68d557440762 18848 python-pytest-localserver_0.5.0-1_all.deb
 a7e6707ec22d6a940a37d123618344db97703189940cad5a67dc8417ba35bdc9 18932 python3-pytest-localserver_0.5.0-1_all.deb
Files:
 ddefcf724a1a1d0dac7e4d840f046ce8 2508 python optional pytest-localserver_0.5.0-1.dsc
 85a49d73cde64ad2647fd6fb470fed16 15496 python optional pytest-localserver_0.5.0.orig.tar.xz
 74ecb48904c907ff477dc57e7db8d985 9832 python optional pytest-localserver_0.5.0-1.debian.tar.xz
 fd795604c8258e22525e2b3d5ab86a14 7662 python optional pytest-localserver_0.5.0-1_amd64.buildinfo
 6461a856a509061093376dab69fe86ff 18848 python optional python-pytest-localserver_0.5.0-1_all.deb
 fad8c27b1ba183740e99edd055de07b0 18932 python optional python3-pytest-localserver_0.5.0-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEElUWWlhkoHBf/rFiR1QhaB1D9t6MFAlx0YVsPHGVtYUBkZWJp
YW4ub3JnAAoJENUIWgdQ/bejz3AP/37nMz6RZ/0iip9wGlKsLLbdWGyUkeUDflPt
eUlFypEq/b4B8/9m7Ff1B3nC7y0vjCy5QsarO47nQ8Zn1AzBKkvsOSd2x06Mb5zR
+2Zgct2HkYVGU7Sg9P/oEoIMCxGL6ruQOq6x1jIJJcoJg8kRS3VnhsGjsTae7OpG
okTtI1oQTKmihX7xfrVpg0igL5gcmNvVlFF9rEDlL8joBUP+BpIID4nuk64Wj7IP
wa0Gg81hOxpZjjQUoyKK/eJVVpUpiFd8LbezWg5dZIHbX8DQHp+/hrDjaqkzyIa7
qofhXfvIJ+LbkYkJKktqxAWFyK/xF7kHJ9QNo+kwFpKxilMHlM/4ABx4jQnRTcKf
4657F0gstvYN22pRaNApUV5a4TZ2aMNwH1KAstbp1pnOwl2PNe3RIsdJO3+9seaS
EG7or8BCXu+bVacKPOZ4lX2YGppW4ntg3NK/KMXDYNVMVF79qs0iSYdFI++8nCH/
SeNaXbOV1iHE8mvY4T57RY1r3UgPRNO2c2Fn4gcCAX2GMnC0dhtWUGniG1ucVSCX
3yvKUsJHkBsQKmPbAjIMeka22Olrm2x6RYNlnAwDGyCUPaQpEvPzM8J4V1jPMp1J
HoXCuaaE0k4vYxiuCPxBxAzmV1KdpFg91I/kWJiTu9u8A5T4mr4rN/BLqRxi/6i4
a/eX1d7I
=Xpzm
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: