[PKG-Openstack-devel] Bug#891127: python-pysaml2: tests require network access

Andreas Beckmann anbe at debian.org
Thu Feb 22 14:13:10 UTC 2018


Source: python-pysaml2
Version: 4.0.2-1
Severity: serious
Justification: fails to build from source

Hi,

the test test_load_extern_incommon requires network access:

=================================== FAILURES ===================================
__________________________ test_load_extern_incommon ___________________________

    def test_load_extern_incommon():
        sec_config.xmlsec_binary = sigver.get_xmlsec_binary(["/opt/local/bin"])
        mds = MetadataStore(ATTRCONV, sec_config,
                            disable_ssl_certificate_validation=True)
    
>       mds.imp(METADATACONF["10"])

tests/test_30_mdstore.py:367: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/saml2/mdstore.py:929: in imp
    _md.load()
src/saml2/mdstore.py:718: in load
    response = self.http.send(self.url)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <saml2.httpbase.HTTPBase object at 0x7f260d2c17d0>
url = 'http://md.incommon.org/InCommon/InCommon-metadata-export.xml'
method = 'GET', kwargs = {}
_kwargs = {'allow_redirects': False, 'verify': False}, arg = 'auth'
exc = ConnectionError(MaxRetryError("HTTPConnectionPool(host='md.incommon.org', port...lish a new connection: [Errno -3] Temporary failure in name resolution',))",),)


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-pysaml2_4.0.2-1.log.gz
Type: application/gzip
Size: 13205 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20180222/8c7b7048/attachment.bin>


More information about the Openstack-devel mailing list