[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989620: python-softlayer: autopkgtest regression since May 2021: http://something.com 301



Source: python-softlayer
Version: 5.8.5-1
User: debian-ci@lists.debian.org
Usertags: regression
X-Debbugs-CC: debian-ci@lists.debian.org

Dear maintainer,

Your package has an autopkgtest, great! However, since somewhere in May
it started to fail [1]. Looking at the error, it seems an external
resource changed. Can you fix the situation?

By the way, please mark tests that need internet access with the
needs-internet restriction.

Paul

[1] https://ci.debian.net/packages/p/python-softlayer/

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-softlayer/12858462/log.gz

=================================== FAILURES
===================================
_________________ TestRestAPICall.test_proxy_without_protocol
__________________
'NoneType' object is not iterable

During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:

testtools.testresult.real._StringException: Traceback (most recent call
last):
  File
"/tmp/autopkgtest-lxc.q_r49c0h/downtmp/build.H42/src/SoftLayer/transports.py",
line 410, in __call__
    message = json.loads(ex.response.text)['error']
  File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.q_r49c0h/downtmp/build.H42/src/tests/transport_tests.py",
line 455, in test_proxy_without_protocol
    self.assertRaises(SoftLayer.TransportError, self.transport, req)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 489,
in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 500,
in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 551,
in _matchHelper
    mismatch = matcher.match(matchee)
  File
"/usr/lib/python3/dist-packages/testtools/matchers/_exception.py", line
108, in match
    mismatch = self.exception_matcher.match(exc_info)
  File
"/usr/lib/python3/dist-packages/testtools/matchers/_higherorder.py",
line 62, in match
    mismatch = matcher.match(matchee)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 479,
in match
    reraise(*matchee)
  File "/usr/lib/python3/dist-packages/testtools/_compat3x.py", line 16,
in reraise
    raise exc_obj.with_traceback(exc_tb)
  File
"/usr/lib/python3/dist-packages/testtools/matchers/_exception.py", line
101, in match
    result = matchee()
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line
1053, in __call__
    return self._callable_object(*self._args, **self._kwargs)
  File
"/tmp/autopkgtest-lxc.q_r49c0h/downtmp/build.H42/src/SoftLayer/transports.py",
line 416, in __call__
    raise exceptions.SoftLayerAPIError(resp.status_code, str(json_ex))
SoftLayer.exceptions.SoftLayerAPIError: SoftLayerAPIError(404):
Expecting value: line 1 column 1 (char 0)

----------------------------- Captured stderr call
-----------------------------
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1):
something.com:80
DEBUG:urllib3.connectionpool:http://something.com:80 "GET
/SoftLayer_Service/Resource.json HTTP/1.1" 301 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
something.com:443
DEBUG:urllib3.connectionpool:https://something.com:443 "GET
/SoftLayer_Service/Resource.json HTTP/1.1" 404 None
------------------------------ Captured log call
-------------------------------
DEBUG    urllib3.connectionpool:connectionpool.py:227 Starting new HTTP
connection (1): something.com:80
DEBUG    urllib3.connectionpool:connectionpool.py:452
http://something.com:80 "GET /SoftLayer_Service/Resource.json HTTP/1.1"
301 None
DEBUG    urllib3.connectionpool:connectionpool.py:973 Starting new HTTPS
connection (1): something.com:443
DEBUG    urllib3.connectionpool:connectionpool.py:452
https://something.com:443 "GET /SoftLayer_Service/Resource.json
HTTP/1.1" 404 None
=========================== short test summary info
============================
FAILED
tests/transport_tests.py::TestRestAPICall::test_proxy_without_protocol
================== 1 failed, 1480 passed, 4 skipped in 13.07s
==================

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: