Your message dated Mon, 12 Feb 2018 17:07:19 +0000
with message-id <e1elhzx-000hiv...@fasolo.debian.org>
and subject line Bug#887531: fixed in python-asdf 1.3.1-2
has caused the Debian Bug report #887531,
regarding python-asdf FTBFS: test failures
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 ow...@bugs.debian.org
immediately.)


-- 
887531: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887531
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-asdf
Version: 1.3.1-1
Severity: serious

Some recent change in unstable makes python-asdf FTBFS:

https://tests.reproducible-builds.org/debian/history/python-asdf.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-asdf.html

...
=================================== FAILURES ===================================
_____________________________ test_urlopen[tree0] ______________________________

tree = {'not_shared': array([10,  9,  8,  7,  6,  5,  4,  3,  2,  1], 
dtype=uint8), 'science_data': array([ 0.,  1.,  2.,  3.,  4.,  5.,  6.,  7.,  
8.,  9.]), 'skipping': array([ 0.,  2.,  4.,  6.,  8.]), 'subset': array([ 3.,  
4.,  5.,  6.])}
httpserver = <asdf.conftest.HTTPServer object at 0x7f353b5fdb50>

    @pytest.mark.skipif(INTERNET_OFF, reason="Astropy has disabled internet 
access")
    @pytest.mark.skipif(sys.platform.startswith('win'),
                        reason="Windows firewall prevents test")
    def test_urlopen(tree, httpserver):
        path = os.path.join(httpserver.tmpdir, 'test.asdf')
    
        def get_write_fd():
            return generic_io.get_file(open(path, 'wb'), mode='w')
    
        def get_read_fd():
            return generic_io.get_file(
                urllib_request.urlopen(
                    httpserver.url + "test.asdf"))
    
>       with _roundtrip(tree, get_write_fd, get_read_fd) as ff:

asdf/tests/test_generic_io.py:270: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
asdf/tests/test_generic_io.py:72: in _roundtrip
    with get_read_fd() as fd:
asdf/tests/test_generic_io.py:268: in get_read_fd
    httpserver.url + "test.asdf"))
/usr/lib/python2.7/urllib2.py:154: in urlopen
    return opener.open(url, data, timeout)
/usr/lib/python2.7/urllib2.py:429: in open
    response = self._open(req, data)
/usr/lib/python2.7/urllib2.py:447: in _open
    '_open', req)
/usr/lib/python2.7/urllib2.py:407: in _call_chain
    result = func(*args)
/usr/lib/python2.7/urllib2.py:1228: in http_open
    return self.do_open(httplib.HTTPConnection, req)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib2.HTTPHandler instance at 0x7f353b4701b8>
http_class = <class httplib.HTTPConnection at 0x7f3546f6f3f8>
req = <urllib2.Request instance at 0x7f353b4c8e18>, http_conn_args = {}
host = '127.0.0.1:9', h = <httplib.HTTPConnection instance at 0x7f353b46fb00>
err = error(111, 'Connection refused')

    def do_open(self, http_class, req, **http_conn_args):
        """Return an addinfourl object for the request, using http_class.
    
            http_class must implement the HTTPConnection API from httplib.
            The addinfourl return value is a file-like object.  It also
            has methods and attributes including:
                - info(): return a mimetools.Message object for the headers
                - geturl(): return the original request URL
                - code: HTTP status code
            """
        host = req.get_host()
        if not host:
            raise URLError('no host given')
    
        # will parse host:port
        h = http_class(host, timeout=req.timeout, **http_conn_args)
        h.set_debuglevel(self._debuglevel)
    
        headers = dict(req.unredirected_hdrs)
        headers.update(dict((k, v) for k, v in req.headers.items()
                            if k not in headers))
    
        # We want to make an HTTP/1.1 request, but the addinfourl
        # class isn't prepared to deal with a persistent connection.
        # It will try to read all remaining data from the socket,
        # which will block while the server waits for the next request.
        # So make sure the connection gets closed after the (only)
        # request.
        headers["Connection"] = "close"
        headers = dict(
            (name.title(), val) for name, val in headers.items())
    
        if req._tunnel_host:
            tunnel_headers = {}
            proxy_auth_hdr = "Proxy-Authorization"
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
    
        try:
            h.request(req.get_method(), req.get_selector(), req.data, headers)
        except socket.error, err: # XXX what error?
            h.close()
>           raise URLError(err)
E           URLError: <urlopen error [Errno 111] Connection refused>

/usr/lib/python2.7/urllib2.py:1198: URLError
_____________________________ test_urlopen[tree1] ______________________________

tree = {'more': array([[[ 0.5047124 ,  0.67230725,  0.54438082, ...,  0.6181783 
,
          0.....86328092,  0.20516376, ...,...738, ...,  0.77406934,
         0.85... 0.98452297,  0.2701272 , ...,  0.70554981,
         0.99484383,  0.83053795]])}
httpserver = <asdf.conftest.HTTPServer object at 0x7f353b1149d0>

    @pytest.mark.skipif(INTERNET_OFF, reason="Astropy has disabled internet 
access")
    @pytest.mark.skipif(sys.platform.startswith('win'),
                        reason="Windows firewall prevents test")
    def test_urlopen(tree, httpserver):
        path = os.path.join(httpserver.tmpdir, 'test.asdf')
    
        def get_write_fd():
            return generic_io.get_file(open(path, 'wb'), mode='w')
    
        def get_read_fd():
            return generic_io.get_file(
                urllib_request.urlopen(
                    httpserver.url + "test.asdf"))
    
>       with _roundtrip(tree, get_write_fd, get_read_fd) as ff:

asdf/tests/test_generic_io.py:270: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
asdf/tests/test_generic_io.py:72: in _roundtrip
    with get_read_fd() as fd:
asdf/tests/test_generic_io.py:268: in get_read_fd
    httpserver.url + "test.asdf"))
/usr/lib/python2.7/urllib2.py:154: in urlopen
    return opener.open(url, data, timeout)
/usr/lib/python2.7/urllib2.py:429: in open
    response = self._open(req, data)
/usr/lib/python2.7/urllib2.py:447: in _open
    '_open', req)
/usr/lib/python2.7/urllib2.py:407: in _call_chain
    result = func(*args)
/usr/lib/python2.7/urllib2.py:1228: in http_open
    return self.do_open(httplib.HTTPConnection, req)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib2.HTTPHandler instance at 0x7f353b4701b8>
http_class = <class httplib.HTTPConnection at 0x7f3546f6f3f8>
req = <urllib2.Request instance at 0x7f353b4ec290>, http_conn_args = {}
host = '127.0.0.1:9', h = <httplib.HTTPConnection instance at 0x7f353b4ece60>
err = error(111, 'Connection refused')

    def do_open(self, http_class, req, **http_conn_args):
        """Return an addinfourl object for the request, using http_class.
    
            http_class must implement the HTTPConnection API from httplib.
            The addinfourl return value is a file-like object.  It also
            has methods and attributes including:
                - info(): return a mimetools.Message object for the headers
                - geturl(): return the original request URL
                - code: HTTP status code
            """
        host = req.get_host()
        if not host:
            raise URLError('no host given')
    
        # will parse host:port
        h = http_class(host, timeout=req.timeout, **http_conn_args)
        h.set_debuglevel(self._debuglevel)
    
        headers = dict(req.unredirected_hdrs)
        headers.update(dict((k, v) for k, v in req.headers.items()
                            if k not in headers))
    
        # We want to make an HTTP/1.1 request, but the addinfourl
        # class isn't prepared to deal with a persistent connection.
        # It will try to read all remaining data from the socket,
        # which will block while the server waits for the next request.
        # So make sure the connection gets closed after the (only)
        # request.
        headers["Connection"] = "close"
        headers = dict(
            (name.title(), val) for name, val in headers.items())
    
        if req._tunnel_host:
            tunnel_headers = {}
            proxy_auth_hdr = "Proxy-Authorization"
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
    
        try:
            h.request(req.get_method(), req.get_selector(), req.data, headers)
        except socket.error, err: # XXX what error?
            h.close()
>           raise URLError(err)
E           URLError: <urlopen error [Errno 111] Connection refused>

/usr/lib/python2.7/urllib2.py:1198: URLError
______________________________ test_internet_off _______________________________

    def test_internet_off():
        if not _REMOTE_DATA:
>           assert INTERNET_OFF == True
E           assert False == True

asdf/tests/test_remote_data.py:22: AssertionError
=============== 3 failed, 493 passed, 6 skipped in 37.71 seconds ===============
debian/rules:28: recipe for target 'test-python2.7' failed
make[1]: *** [test-python2.7] Error 1

--- End Message ---
--- Begin Message ---
Source: python-asdf
Source-Version: 1.3.1-2

We believe that the bug you reported is fixed in the latest version of
python-asdf, 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 887...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated python-asdf 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 12 Feb 2018 08:46:14 +0100
Source: python-asdf
Binary: python-asdf python3-asdf python-asdf-doc asdftool
Architecture: source
Version: 1.3.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team 
<debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Description:
 asdftool   - Command line tool to manipulate ASDF scientific data files
 python-asdf - Python 2 library for the Advanced Scientific Data Format
 python-asdf-doc - Python library for the Advanced Scientific Data Format 
(documenta
 python3-asdf - Python 3 library for the Advanced Scientific Data Format
Closes: 887531
Changes:
 python-asdf (1.3.1-2) unstable; urgency=medium
 .
   * Update VCS fields to use salsa.d.o
   * Skip failing tests that require remote server (Closes: #887531)
   * Push Standards-Version to 4.1.3. Change remaining URLs to https
Checksums-Sha1:
 d8f60cb7acf7de526325437e0960c6f120cb271e 2722 python-asdf_1.3.1-2.dsc
 5b3f1e90ea7f74f894b1ec0656575381630e9d18 5900 python-asdf_1.3.1-2.debian.tar.xz
Checksums-Sha256:
 632383a51023d26944b66555f747643e45ce136afcc52eb51c236dec0e0b71b3 2722 
python-asdf_1.3.1-2.dsc
 abbc18c275bcbdab5e8b43bc0e8862a888453fa35602bff92dff651227bc211f 5900 
python-asdf_1.3.1-2.debian.tar.xz
Files:
 c258a95e9ea53d05657849e0869c1662 2722 python optional python-asdf_1.3.1-2.dsc
 d03f083c9ebd696b32c8b6d4c212f326 5900 python optional 
python-asdf_1.3.1-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE7/BpV0Ra2/h0L3qtmk9WvbkOGL0FAlqBxY4ACgkQmk9WvbkO
GL2LtA//cLgo+4gnUwf2QgQIOZuQ49u+6vXU0qMV2M0djEuYQhp6UNK6y29iE21r
cg/ZF0IzHtCXp73MK3x9rOCuGLzl7+ykQpE70Y8NU8VcJPYJl3AeYbG5296GjGTv
2YQx4u8mf/cQw2opc7iALOjQlP70iVwNCEI8jZh+liSHYGNTQTO5CSKXgIUacLA7
tKwFdiAA0UrSoMGGiCKlrpPGFjaWFONk9rdGSfl9lJHkkDN6NXkAH9yGvXjWhIMb
JKllDN8uYIng0QmdmIeAAjeE9UrVYFQ3+3HXOCSBOiV4R731L7uxyxEE+0DX8U31
1BwkY8tqEMGJXzqJycMU+Bw+Lq5+BWGlwapWQtka/SmNrSclvO+icIkvFXWIgX1q
XF+ax7pMhpaaD8ZoIu9fH2mFJDNa1l3in/wyIKSu5kMEbksKNUtkV8h80ThIbBEg
MYyomQ/rXu4l8B3qVsVASDTS21WPoFP/w4by4zs/qu7sMDYjXoTgmwhZx5OA70oF
JGNRE6hx9uG09ewuV3yH9Dl/nlBDjZdMr7FsEZcARdbdCTrOKWIZ0ih/bxAqhq3F
dXxWjFnhoEnpzyg8aXHdp9+rtY1yYWNOqSB5TyT4m9nZkFw75qBu/vwo09RS2RCo
ShtJIcu6qMmKDoDwgXosLwBxY/RoAEUXHTzYb/ZP/4kQyKSWHUA=
=3ZzX
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to