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

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:11:35 GMT 2020


Source: python-smstrade
Version: 0.2.4-6
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom
> I: pybuild pybuild:284: cp -r /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build
> I: pybuild base:217: unset http_proxy ; unset https_proxy ; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build ; python3.9 -m pytest
> ============================= test session starts ==============================
> platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 22 items
> 
> tests/test_smstrade.py .............FFFF...FF                            [100%]
> 
> =================================== FAILURES ===================================
> __________________ TestSMSTradeAPI.test__send_normal_message ___________________
> 
> self = <tests.test_smstrade.TestSMSTradeAPI object at 0x7f095993b430>
> api = <smstrade.SMSTradeAPI object at 0x7f095993b610>
> 
>     def test__send_normal_message(self, api):
>         httpretty.enable()
>         httpretty.register_uri(httpretty.POST, api.url, body='100')
> >       assert api._send_message('01717654321', 'Test') == {
>             'status': smstrade.STATUS_OK}
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/tests/test_smstrade.py:202: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:374: in _send_message
>     return self._send_normal_message(recipient, text)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:304: in _send_normal_message
>     response = requests.post(self.url, data=request_params)
> /usr/lib/python3/dist-packages/requests/api.py:119: in post
>     return request('post', url, data=data, json=json, **kwargs)
> /usr/lib/python3/dist-packages/requests/api.py:61: in request
>     return session.request(method=method, url=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 0x7f0959974910>, 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
> __________________ TestSMSTradeAPI.test__send_binary_message ___________________
> 
> self = <tests.test_smstrade.TestSMSTradeAPI object at 0x7f0958da0eb0>
> api = <smstrade.SMSTradeAPI object at 0x7f0958da02b0>
> 
>     def test__send_binary_message(self, api):
>         httpretty.enable()
>         httpretty.register_uri(httpretty.POST, api.url, body='100')
>         api.messagetype = smstrade.MESSAGE_TYPE_BINARY
>         api.udh = '040b02000820de'
> >       assert api._send_message('01717654321', u'48656c6c6f') == {
>             'status': smstrade.STATUS_OK}
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/tests/test_smstrade.py:217: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:378: in _send_message
>     return self._send_binary_message(recipient, text)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:340: in _send_binary_message
>     response = requests.post(self.url, data=request_params)
> /usr/lib/python3/dist-packages/requests/api.py:119: in post
>     return request('post', url, data=data, json=json, **kwargs)
> /usr/lib/python3/dist-packages/requests/api.py:61: in request
>     return session.request(method=method, url=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 0x7f0958dd4ca0>, 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
> ______________________ TestSMSTradeAPI.test__send_message ______________________
> 
> self = <tests.test_smstrade.TestSMSTradeAPI object at 0x7f0958f2dd90>
> api = <smstrade.SMSTradeAPI object at 0x7f0958f2dbb0>
> 
>     def test__send_message(self, api):
>         httpretty.enable()
>         httpretty.register_uri(httpretty.POST, api.url, body='100')
> >       assert api._send_message('01717654321', u'Test') == {
>             'status': smstrade.STATUS_OK}
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/tests/test_smstrade.py:223: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:374: in _send_message
>     return self._send_normal_message(recipient, text)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:304: in _send_normal_message
>     response = requests.post(self.url, data=request_params)
> /usr/lib/python3/dist-packages/requests/api.py:119: in post
>     return request('post', url, data=data, json=json, **kwargs)
> /usr/lib/python3/dist-packages/requests/api.py:61: in request
>     return session.request(method=method, url=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 0x7f0958f2dfd0>, 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
> ________________________ TestSMSTradeAPI.test_send_sms _________________________
> 
> self = <tests.test_smstrade.TestSMSTradeAPI object at 0x7f0958da01f0>
> api = <smstrade.SMSTradeAPI object at 0x7f0958da0430>
> 
>     def test_send_sms(self, api):
>         httpretty.enable()
>         httpretty.register_uri(httpretty.POST, api.url, body='100')
>         testargs = {'wrong': 'does not matter', 'from': 'test'}
> >       result = api.send_sms(['00491717654321'], 'Test', **testargs)
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/tests/test_smstrade.py:241: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:499: in send_sms
>     retval[recipient] = self._send_message(recipient, text)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:374: in _send_message
>     return self._send_normal_message(recipient, text)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:304: in _send_normal_message
>     response = requests.post(self.url, data=request_params)
> /usr/lib/python3/dist-packages/requests/api.py:119: in post
>     return request('post', url, data=data, json=json, **kwargs)
> /usr/lib/python3/dist-packages/requests/api.py:61: in request
>     return session.request(method=method, url=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 0x7f0958dcca30>, 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
> ________________________________ test_send_sms _________________________________
> 
>     @pytest.mark.usefixtures('cleandir')
>     def test_send_sms():
>         httpretty.enable()
>         httpretty.register_uri(httpretty.POST, smstrade.DEFAULTS['url'],
>                                body='100')
>         with pytest.raises(SystemExit):
>             smstrade.send_sms([])
> >       smstrade.send_sms(['00491717654321', 'Test'])
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/tests/test_smstrade.py:276: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:680: in send_sms
>     retval = smstrade.send_sms(to, smstext, **args.__dict__)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:499: in send_sms
>     retval[recipient] = self._send_message(recipient, text)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:374: in _send_message
>     return self._send_normal_message(recipient, text)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:304: in _send_normal_message
>     response = requests.post(self.url, data=request_params)
> /usr/lib/python3/dist-packages/requests/api.py:119: in post
>     return request('post', url, data=data, json=json, **kwargs)
> /usr/lib/python3/dist-packages/requests/api.py:61: in request
>     return session.request(method=method, url=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 0x7f0958f9c9a0>, 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
> ----------------------------- Captured stderr call -----------------------------
> usage: pytest.py [-h] [-c CONFIG] [-s SECTION] [-k KEY] [-f SENDER]
>                  [-r {basic,gold,direct}] [-d] [--cost] [-m] [--count] [--dlr]
>                  [--response] [--ref REFERENCE] [-l]
>                  [--charset {UTF-8,ISO-8859-1,ISO-8859-15}]
>                  [--senddate SENDDATE]
>                  [--messagetype {flash,unicode,binary,voice}] [--udh UDH]
>                  [--version]
>                  to [to ...] smstext
> pytest.py: error: the following arguments are required: to, smstext
> WARNING:smstrade:none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /sbuild-nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments
> WARNING:smstrade:configuration is incomplete: No option 'key' in section: 'smstrade'
> WARNING:smstrade:configuration is incomplete: No option 'from' in section: 'smstrade'
> ------------------------------ Captured log call -------------------------------
> WARNING  smstrade:__init__.py:143 none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /sbuild-nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments
> WARNING  smstrade:__init__.py:153 configuration is incomplete: No option 'key' in section: 'smstrade'
> WARNING  smstrade:__init__.py:215 configuration is incomplete: No option 'from' in section: 'smstrade'
> _____________________________ test_account_balance _____________________________
> 
>     @pytest.mark.usefixtures('cleandir')
>     def test_account_balance():
>         httpretty.enable()
>         httpretty.register_uri(
>             httpretty.GET, smstrade.DEFAULTS['balanceurl'], body='0.000')
>         smstrade.account_balance([])
> >       smstrade.account_balance(['--key', 'fake'])
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/tests/test_smstrade.py:289: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:722: in account_balance
>     balance = smstradebalance.get_balance(**args.__dict__)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build/smstrade/__init__.py:544: in get_balance
>     response = requests.get(self.url, params={'key': self.key})
> /usr/lib/python3/dist-packages/requests/api.py:76: in get
>     return request('get', url, params=params, **kwargs)
> /usr/lib/python3/dist-packages/requests/api.py:61: in request
>     return session.request(method=method, url=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 0x7f095905b8e0>, 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
> ----------------------------- Captured stderr call -----------------------------
> WARNING:smstrade:none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /sbuild-nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments
> WARNING:smstrade:configuration is incomplete: No option 'key' in section: 'smstrade'
> ERROR:smstrade:you need to define an API key either in a configuration file or on the command line
> WARNING:smstrade:none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /sbuild-nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments
> WARNING:smstrade:configuration is incomplete: No option 'key' in section: 'smstrade'
> ------------------------------ Captured log call -------------------------------
> WARNING  smstrade:__init__.py:143 none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /sbuild-nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments
> WARNING  smstrade:__init__.py:153 configuration is incomplete: No option 'key' in section: 'smstrade'
> ERROR    smstrade:__init__.py:725 you need to define an API key either in a configuration file or on the command line
> WARNING  smstrade:__init__.py:143 none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /sbuild-nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments
> WARNING  smstrade:__init__.py:153 configuration is incomplete: No option 'key' in section: 'smstrade'
> ===================== 6 failed, 16 passed in 0.66 seconds ======================
> E: pybuild pybuild:352: test: plugin custom failed with: exit code=1: unset http_proxy ; unset https_proxy ; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_smstrade/build ; python3.9 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" --system=custom returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/python-smstrade_0.2.4-6_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