[Python-modules-team] Bug#973137: pypuppetdb: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:10:39 GMT 2020


Source: pypuppetdb
Version: 0.3.3-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.9 setup.py config 
> running config
> I: pybuild base:217: python3.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/QueryBuilder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build/pypuppetdb
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/QueryBuilder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
> copying pypuppetdb/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pypuppetdb/build/pypuppetdb
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build; python3.9 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
> plugins: cov-2.8.1
> collected 127 items
> 
> tests/test_baseapi.py ................................FFFFFFFFFFFFFFFF.F [ 39%]
> FF.FF                                                                    [ 43%]
> tests/test_connect.py .                                                  [ 44%]
> tests/test_package.py .                                                  [ 44%]
> tests/test_querybuilder.py ...............................               [ 69%]
> tests/test_types.py ..............................                       [ 92%]
> tests/test_utils.py .........                                            [100%]Coverage.py warning: No data was collected. (no-data-collected)
> 
> 
> =================================== FAILURES ===================================
> _______________ TesteAPIQuery.test_setting_headers_without_token _______________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f13260392e0>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1326039f40>
> 
>     def test_setting_headers_without_token(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes')  # need to query some endpoint
> 
> tests/test_baseapi.py:191: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1326039220>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________ TesteAPIQuery.test_setting_headers_with_token _________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f1325463f70>
> token_baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325463520>
> 
>     def test_setting_headers_with_token(self, token_baseapi):
>         httpretty.enable()
>         stub_request('https://localhost:8080/pdb/query/v4/nodes')
> >       token_baseapi._query('nodes')  # need to query some endpoint
> 
> tests/test_baseapi.py:204: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f132545bc70>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> _________________________ TesteAPIQuery.test_with_path _________________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f1326ea5e20>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1326ea5d30>
> 
>     def test_with_path(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes/node1')
> >       baseapi._query('nodes', path='node1')
> 
> tests/test_baseapi.py:218: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1326ea5040>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> _______________________ TesteAPIQuery.test_with_url_path _______________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f13254638b0>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325463ca0>
> 
>     def test_with_url_path(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/puppetdb/pdb/query/v4/nodes')
>         baseapi.url_path = '/puppetdb'
> >       baseapi._query('nodes')
> 
> tests/test_baseapi.py:227: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f13258e6a60>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________ TesteAPIQuery.test_with_password_authorization ________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f13257e6a90>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f13257e6d90>
> 
>     def test_with_password_authorization(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
>         baseapi.username = 'puppetdb'
>         baseapi.password = 'password123'
> >       baseapi._query('nodes')
> 
> tests/test_baseapi.py:237: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f13257e62e0>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> _________________ TesteAPIQuery.test_with_token_authorization __________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f1325f66bb0>
> token_baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325f66b50>
> 
>     def test_with_token_authorization(self, token_baseapi):
>         httpretty.enable()
>         stub_request('https://localhost:8080/pdb/query/v4/nodes')
> >       token_baseapi._query('nodes')
> 
> tests/test_baseapi.py:249: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1325f663a0>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________________ TesteAPIQuery.test_with_query _________________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f13254b0340>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f13254b0df0>
> 
>     def test_with_query(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', query='["certname", "=", "node1"]')
> 
> tests/test_baseapi.py:257: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f132542a0d0>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________________ TesteAPIQuery.test_with_order _________________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f1325885c10>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325885b20>
> 
>     def test_with_order(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', order_by='ted')
> 
> tests/test_baseapi.py:266: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1325885040>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________________ TesteAPIQuery.test_with_limit _________________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f132542a610>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f132542ac40>
> 
>     def test_with_limit(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', limit=1)
> 
> tests/test_baseapi.py:275: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f13254b0c40>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ____________________ TesteAPIQuery.test_with_include_total _____________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f1325926580>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325926fa0>
> 
>     def test_with_include_total(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', include_total=True)
> 
> tests/test_baseapi.py:284: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f13259260d0>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________________ TesteAPIQuery.test_with_offset ________________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f132542acd0>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f132542aa30>
> 
>     def test_with_offset(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', offset=1)
> 
> tests/test_baseapi.py:293: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1325885040>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> _____________________ TesteAPIQuery.test_with_summarize_by _____________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f13258781f0>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325878be0>
> 
>     def test_with_summarize_by(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', summarize_by=1)
> 
> tests/test_baseapi.py:302: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1326eecd30>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> _______________________ TesteAPIQuery.test_with_count_by _______________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f13254c3cd0>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f13254c3b80>
> 
>     def test_with_count_by(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', count_by=1)
> 
> tests/test_baseapi.py:311: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f13254c30a0>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> _____________________ TesteAPIQuery.test_with_count_filter _____________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f132583da00>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f132583d910>
> 
>     def test_with_count_filter(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/nodes')
> >       baseapi._query('nodes', count_filter=1)
> 
> tests/test_baseapi.py:320: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f132545a160>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ______________________ TesteAPIQuery.test_response_empty _______________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f1325c0ea30>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325c0e700>
> 
>     def test_response_empty(self, baseapi):
>         httpretty.enable()
>         httpretty.register_uri(httpretty.GET,
>                                'http://localhost:8080/pdb/query/v4/nodes',
>                                body=json.dumps(None))
>         with pytest.raises(pypuppetdb.errors.EmptyResponseError):
> >           baseapi._query('nodes')
> 
> tests/test_baseapi.py:332: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1325cae460>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ____________________ TesteAPIQuery.test_response_x_records _____________________
> 
> self = <test_baseapi.TesteAPIQuery object at 0x7f1325ad37f0>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325ad3b80>
> 
>     def test_response_x_records(self, baseapi):
>         httpretty.enable()
>         httpretty.register_uri(httpretty.GET,
>                                'http://localhost:8080/pdb/query/v4/nodes',
>                                adding_headers={
>                                    'X-Records': 256},
>                                body='[]',
>                                )
> >       baseapi._query('nodes', include_total=True)
> 
> tests/test_baseapi.py:342: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f132583d0a0>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> __________________________ TestAPIMethods.test_metric __________________________
> 
> self = <test_baseapi.TestAPIMethods object at 0x7f1326ee9790>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1326ee9970>
> 
>     def test_metric(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/metrics/v1/mbeans/test')
> >       baseapi.metric('test')
> 
> tests/test_baseapi.py:360: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:798: in metric
>     return self._query('mbean', path=metric)
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1326ee9070>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> __________________________ TestAPIMethods.test_facts ___________________________
> 
> self = <test_baseapi.TestAPIMethods object at 0x7f1325ad3850>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325ad34c0>
> 
>     def test_facts(self, baseapi):
>         facts_body = [{
>             'certname': 'test_certname',
>             'name': 'test_name',
>             'value': 'test_value',
>             'environment': 'test_environment',
>         }]
>         facts_url = 'http://localhost:8080/pdb/query/v4/facts'
>     
>         httpretty.enable()
>         httpretty.register_uri(httpretty.GET, facts_url,
>                                body=json.dumps(facts_body))
>     
> >       for fact in baseapi.facts():
> 
> tests/test_baseapi.py:378: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:552: in facts
>     facts = self._query('facts', path=path, **kwargs)
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1325c0e280>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________________ TestAPIMethods.test_fact_names ________________________
> 
> self = <test_baseapi.TestAPIMethods object at 0x7f1325bfcb20>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f1325bfcb50>
> 
>     def test_fact_names(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/fact-names')
> >       baseapi.fact_names()
> 
> tests/test_baseapi.py:389: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:788: in fact_names
>     return self._query('fact-names')
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1325bfc130>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> _______________________ TestAPIMethods.test_environments _______________________
> 
> self = <test_baseapi.TestAPIMethods object at 0x7f13257ec640>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f13257ece20>
> 
>     def test_environments(self, baseapi):
>         httpretty.enable()
>         stub_request('http://localhost:8080/pdb/query/v4/environments')
> >       baseapi.environments()
> 
> tests/test_baseapi.py:402: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:528: in environments
>     return self._query('environments', **kwargs)
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f132548d370>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> ________________________ TestAPIMethods.test_inventory _________________________
> 
> self = <test_baseapi.TestAPIMethods object at 0x7f13254a8910>
> baseapi = <pypuppetdb.api.BaseAPI object at 0x7f13254a8c40>
> 
>     def test_inventory(self, baseapi):
>         inventory_body = [{
>             'certname': 'test_certname',
>             'timestamp': '2017-06-05T20:18:23.374Z',
>             'environment': 'test_environment',
>             'facts': 'test_facts',
>             'trusted': 'test_trusted'
>         }]
>         inventory_url = 'http://localhost:8080/pdb/query/v4/inventory'
>     
>         httpretty.enable()
>         httpretty.register_uri(httpretty.GET, inventory_url,
>                                body=json.dumps(inventory_body))
> >       for inv in baseapi.inventory():
> 
> tests/test_baseapi.py:420: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> ../../../pypuppetdb/api.py:847: in inventory
>     inventory = self._query('inventory', **kwargs)
> ../../../pypuppetdb/api.py:339: in _query
>     r = self._session.get(url, params=payload,
> /usr/lib/python3/dist-packages/requests/sessions.py:543: in get
>     return self.request('GET', url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:530: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:643: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:439: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:670: in urlopen
>     httplib_response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:426: in _make_request
>     six.raise_from(e, None)
> <string>:3: in raise_from
>     ???
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:421: in _make_request
>     httplib_response = conn.getresponse()
> /usr/lib/python3.9/http/client.py:1343: in getresponse
>     response = self.response_class(self.sock, method=self._method)
> /usr/lib/python3.9/http/client.py:245: in __init__
>     self.fp = sock.makefile("rb")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <httpretty.core.fakesock.socket object at 0x7f1325f38550>, mode = 'rb'
> bufsize = -1
> 
>     def makefile(self, mode='r', bufsize=-1):
>         """Returns this fake socket's own tempfile buffer.
>     
>         If there is an entry associated with the socket, the file
>         descriptor gets filled in with the entry data before being
>         returned.
>         """
>         self._mode = mode
>         self._bufsize = bufsize
>     
>         if self._entry:
>             t = threading.Thread(
>                 target=self._entry.fill_filekind, args=(self.fd,)
>             )
>             t.start()
>             if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
>                 timeout = None
>             else:
>                 timeout = self.timeout
>             t.join(timeout)
> >           if t.isAlive():
> E           AttributeError: 'Thread' object has no attribute 'isAlive'
> 
> /usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError
> =============================== warnings summary ===============================
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_setting_headers_without_token
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_path
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_url_path
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_query
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_order
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_limit
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_include_total
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_offset
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_summarize_by
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_count_by
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_count_filter
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_response_empty
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_response_x_records
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_metric
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_facts
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_fact_names
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_environments
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_inventory
>   /usr/lib/python3/dist-packages/requests/auth.py:39: DeprecationWarning: Non-string usernames will no longer be supported in Requests 3.0.0. Please convert the object you've passed in (None) to a string or bytes object in the near future to avoid problems.
>     warnings.warn(
> 
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_setting_headers_without_token
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_path
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_url_path
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_query
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_order
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_limit
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_include_total
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_offset
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_summarize_by
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_count_by
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_with_count_filter
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_response_empty
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TesteAPIQuery::test_response_x_records
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_metric
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_facts
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_fact_names
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_environments
> .pybuild/cpython3_3.9_pypuppetdb/build/tests/test_baseapi.py::TestAPIMethods::test_inventory
>   /usr/lib/python3/dist-packages/requests/auth.py:49: DeprecationWarning: Non-string passwords will no longer be supported in Requests 3.0.0. Please convert the object you've passed in (<class 'NoneType'>) to a string or bytes object in the near future to avoid problems.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> 
> ----------- coverage: platform linux, python 3.9.0-final-0 -----------
> Name                         Stmts   Miss  Cover   Missing
> ----------------------------------------------------------
> pypuppetdb/QueryBuilder.py     206    206     0%   1-603
> pypuppetdb/__init__.py          13     13     0%   1-119
> pypuppetdb/api.py              236    236     0%   1-849
> pypuppetdb/errors.py             8      8     0%   1-24
> pypuppetdb/package.py            8      8     0%   1-9
> pypuppetdb/types.py            223    223     0%   1-705
> pypuppetdb/utils.py             27     27     0%   1-72
> ----------------------------------------------------------
> TOTAL                          721    721     0%
> 
> ============== 21 failed, 106 passed, 36 warnings in 3.85 seconds ==============
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pypuppetdb/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/pypuppetdb_0.3.3-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list