Your message dated Fri, 25 Dec 2020 20:34:13 +0000
with message-id <e1kstmv-000gbi...@fasolo.debian.org>
and subject line Bug#973137: fixed in pypuppetdb 2.2.0-1
has caused the Debian Bug report #973137,
regarding pypuppetdb: FTBFS: dh_auto_test: error: pybuild --test --test-pytest 
-i python{version} -p "3.9 3.8" returned exit code 13
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.)


-- 
973137: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973137
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: pypuppetdb
Source-Version: 2.2.0-1
Done: =?utf-8?q?Louis-Philippe_V=C3=A9ronneau?= <po...@debian.org>

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

Debian distribution maintenance software
pp.
Louis-Philippe Véronneau <po...@debian.org> (supplier of updated pypuppetdb 
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: Fri, 25 Dec 2020 15:10:17 -0500
Source: pypuppetdb
Architecture: source
Version: 2.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Louis-Philippe Véronneau <po...@debian.org>
Closes: 973137
Changes:
 pypuppetdb (2.2.0-1) unstable; urgency=medium
 .
   * Team upload
 .
   [ Louis-Philippe Véronneau ]
   * New upstream release.
   * d/control: update to dh13.
   * d/patches: remove 0001 (not needed) and add 0002 to not to run coverage
     during tests. (Closes: #973137)
   * d/patches: add 0003 to not install unrelated files.
   * d/rules: Don't tweak dh_auto_install, we don't need to do that anymore
     since we're not running coverage tests.
   * d/patches: add 0004 to fix version.
   * d/control: Standards-Version update to 4.5.1. Add Rules-Requires-Root.
   * d/watch: update to v4 syntax and use git mode.
   * d/copyright: update to reflect the move to Vox Pupuli.
   * d/tests: run the upstream testsuite as an autopkgtest.
 .
   [ Ondřej Nový ]
   * d/control: Update Maintainer field with new Debian Python Team
     contact address.
   * d/control: Update Vcs-* fields with new Debian Python Team Salsa
     layout.
 .
   [ Debian Janitor ]
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
Checksums-Sha1:
 96fd7e506f8bf1cbaa59523f89bd9662cd51d65b 2331 pypuppetdb_2.2.0-1.dsc
 926ff29c98eadca199068a3adb0099cd52af7f2d 51409 pypuppetdb_2.2.0.orig.tar.gz
 40a9ec7a220bfd027ec3b340257b14ff9c4934de 3656 pypuppetdb_2.2.0-1.debian.tar.xz
 c35726e80706bc92d380fb41560fa2e632d1eb3e 8179 
pypuppetdb_2.2.0-1_amd64.buildinfo
Checksums-Sha256:
 7728085f7835f57a98ba3daa8da824597d4afd86c825b6284509bc4c0269eed8 2331 
pypuppetdb_2.2.0-1.dsc
 e4433784fe6197b26354737cda757345e8069bc3e53bbd953dcc9c883ebbe556 51409 
pypuppetdb_2.2.0.orig.tar.gz
 4eb55bf8b9d5b3a29952f9650a9c0a6fca8c38b23068d7c57c590ef6c4f06c25 3656 
pypuppetdb_2.2.0-1.debian.tar.xz
 6c332fe94c2587cfa6ad211992d6d6c67a4d1144c93fd54f5945e382beff65f0 8179 
pypuppetdb_2.2.0-1_amd64.buildinfo
Files:
 2d5df7736027a8b8721d7b5bf4f6a46d 2331 python optional pypuppetdb_2.2.0-1.dsc
 587875bdbb4e9dd9c3ac406e8d8e58e3 51409 python optional 
pypuppetdb_2.2.0.orig.tar.gz
 463317ca0219a61f7c92b72c31054b0a 3656 python optional 
pypuppetdb_2.2.0-1.debian.tar.xz
 30da9a82a0e8f58d4fdc67f1fd2880b0 8179 python optional 
pypuppetdb_2.2.0-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEZ39U8fqGga2OwLzmeurE7GqqCpcFAl/mR90ACgkQeurE7Gqq
CpfAXQ/+KLbrudRY77lNuWFvb65M9rouMc69tU5UGXf9InkK0WZkEk5O3gPAad32
csrxMD4PPlyZsmAJkkhRJao/QA/jE0zTtt8vRwAdvaXl549xeXWgg0U6P2DxQXam
2KzTou+esGVv8crTvWrDa1YWqb9z7vgIj+riuTn4lWp5vWFMmyXetZ0eykwoI2KD
vikNkk0vNHao0UCj567Uf1yqnsdCmwKGqEl7vHJR/QJizYsuCbabxu2z/rFb7sd6
dlc6D5EQlk6ySkqCqR2cbDgC42NR8LmH+BlbuNYw2U1A4/fXqvX3/nL7iD5mJLmL
b7jUPVrsfKSaIejzwjKo98MNzWh0HtakHcS/3XqFH+oX9IWRU01D/WNgJJaFtPsT
Gwq3EcW7OJ9awYP8xGqB/0dhIdMdYQNofCDjHm7gzY96lCsjru/VrRajNGY9fDlt
SjsDsNQxTjbKnwXLm2tL2GVh7uwsFXwrmVXRD6InkJD1bDblT4ljLjtZJVT/QscU
FcZfM0lPqKLb/t0IQzv/UO79jJUxdCPBBy2MZs10w04CcAZgyxSZ5um49ctWql3G
a77wejvXq44AYoJy/Q3u8nr1v2CiWxLDfPKlrwvwnvlooWXUAWKGqNsJJ5xjzbFT
Y5oBelvRktnhw7AQgEDHHxvvK41+VtJ1S4CRhBH3xa3Qa6d50EA=
=V5c6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to