Running 3scale interop tests
grep: config/.secrets.yaml: No such file or directory
pipenv run python -m pytest --tb=short -o cache_dir=/test-run-results/.pytest_cache.smoke --junitxml=/test-run-results/junit-smoke.xml -o junit_suite_name=smoke --html=/test-run-results/report-smoke.html --self-contained-html -p no:persistence -n6 -msmoke testsuite
============================= test session starts ==============================
platform linux -- Python 3.9.16, pytest-7.2.2, pluggy-1.0.0
cachedir: /test-run-results/.pytest_cache.smoke
testsuite: BUILD_ID=1727330466274480128
testsuite: CI=true
testsuite: JOB_NAME=periodic-ci-3scale-qe-3scale-deploy-main-3scale-amp-ocp4.15-lp-interop-3scale-amp-interop-aws
testsuite: NAMESPACE=threescale
testsuite: Packages={'pytest': '7.2.2', 'pluggy': '1.0.0'}
testsuite: Platform=Linux-5.14.0-284.41.1.el9_2.x86_64-x86_64-with-glibc2.34
testsuite: Plugins={'anyio': '3.6.2', 'flaky': '3.7.0', 'asyncio': '0.21.0', 'cases': '3.6.14', 'html': '3.2.0', 'metadata': '2.0.4', 'xdist': '3.2.1'}
testsuite: Python=3.9.16
testsuite: _3SCALE_TESTS_openshift__servers__default__server_url=https://api.ci-op-lmsj5zll-a27d6.cspilp.interop.ccitredhat.com:6443
testsuite: _3SCALE_TESTS_threescale__admin__url=https://3scale-admin.apps.ci-op-lmsj5zll-a27d6.cspilp.interop.ccitredhat.com
testsuite: _3SCALE_TESTS_threescale__apicast_operator_version=0
testsuite: _3SCALE_TESTS_threescale__catalogsource=UNKNOWN
testsuite: _3SCALE_TESTS_threescale__gateway__OperatorApicast__openshift__project_name=threescale
testsuite: _3SCALE_TESTS_threescale__version=2.13
testsuite: _3SCALE_TESTS_toolbox__podman_image=UNKNOWN
testsuite: env _3SCALE_TESTS_ssl_verify=false
testsuite: env_for_dynaconf=DEVELOPMENT
testsuite: polarion-lookup-method=name
testsuite: polarion-project-id=None
testsuite: polarion-response-myteamsname=None
testsuite: polarion-testrun-id=periodic-ci-3scale-qe-3scale-deploy-main-3scale-amp-ocp4_15-lp-interop-3scale-amp-interop-aws_threescale_2_13_ocp4_15_0-0_nightly-2023-11-20-205649
testsuite: polarion-testrun-status-id=inprogress
testsuite: polarion-testrun-title=periodic-ci-3scale-qe-3scale-deploy-main-3scale-amp-ocp4.15-lp-interop-3scale-amp-interop-aws threescale 2.13 ocp4.15.0-0.nightly-2023-11-20-205649
testsuite: project=3scale-213
testsuite: testsuite-version=2.13.2.5
testsuite: toolbox-version=UNKNOWN
rootdir: /opt/workdir/3scale-py-testsuite, configfile: pytest.ini
plugins: anyio-3.6.2, flaky-3.7.0, asyncio-0.21.0, cases-3.6.14, html-3.2.0, metadata-2.0.4, xdist-3.2.1
asyncio: mode=auto
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I
gw0 [18] / gw1 [18] / gw2 [18] / gw3 [18] / gw4 [18] / gw5 [18]
EEEEEEsssEEEEEssss [100%]
==================================== ERRORS ====================================
_________________ ERROR at setup of test_basic_auth_app_id_key _________________
[gw3] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'
502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
------------------------------ Captured log setup ------------------------------
15:00:35 +0000 INFO:threescale_api.defaults:[EXIST] Resource exist AccountPlan
15:00:37 +0000 ERROR:threescale_api.client:[RES] Response(502): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_____________ ERROR at setup of test_headers_policy_delete_request _____________
[gw2] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
------------------------------ Captured log setup ------------------------------
15:00:35 +0000 INFO:threescale_api.defaults:[EXIST] Resource exist AccountPlan
15:00:37 +0000 ERROR:threescale_api.client:[RES] Response(502): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__________________ ERROR at setup of test_auth_headers_app_id __________________
[gw0] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
------------------------------ Captured log setup ------------------------------
15:00:35 +0000 INFO:threescale_api.defaults:[EXIST] Resource exist AccountPlan
15:00:37 +0000 ERROR:threescale_api.client:[RES] Response(502): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_____________ ERROR at setup of test_routing_policy_route_testing ______________
[gw5] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
------------------------------ Captured log setup ------------------------------
15:00:35 +0000 INFO:threescale_api.defaults:[EXIST] Resource exist AccountPlan
15:00:37 +0000 ERROR:threescale_api.client:[RES] Response(502): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________ ERROR at setup of test_routing_policy_with_header _______________
[gw1] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
------------------------------ Captured log setup ------------------------------
15:00:35 +0000 INFO:threescale_api.defaults:[EXIST] Resource exist AccountPlan
15:00:37 +0000 ERROR:threescale_api.client:[RES] Response(502): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________ ERROR at setup of test_routing_policy_replace_path ______________
[gw4] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
------------------------------ Captured log setup ------------------------------
15:00:35 +0000 INFO:threescale_api.defaults:[EXIST] Resource exist AccountPlan
15:00:37 +0000 ERROR:threescale_api.client:[RES] Response(502): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_____________ ERROR at setup of test_routing_policy_route_testing ______________
[gw1] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______ ERROR at setup of test_should_accept_user_key_passed_by_basic_auth ______
[gw3] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_________________ ERROR at setup of test_routing_policy_route1 _________________
[gw5] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_____________________ ERROR at setup of test_header_policy _____________________
[gw0] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_ ERROR at setup of test_header_policy_add_to_response_with_liquid_service_id_api_client _
[gw2] linux -- Python 3.9.16 /opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/bin/python
testsuite/tests/conftest.py:357: in threescale
return client.ThreeScaleClient(
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:55: in __init__
self.wait_for_tenant()
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/backoff/_sync.py:48: in retry
ret = target(*args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:82: in wait_for_tenant
raise err
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:71: in wait_for_tenant
return self.account_plans.exists(throws=True) \
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/defaults.py:104: in exists
response = self.rest.get(url=url, throws=throws, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:311: in get
return self.request('GET', *args, **kwargs)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:307: in request
process_response = self._process_response(response, throws=throws)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/threescale_api/client.py:334: in _process_response
raise errors.ApiClientError(response.status_code, response.reason, response.content)
E threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
---------------------------- Captured stdout setup -----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~ staging_gateway (setup) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=============================== warnings summary ===============================
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/dispute.py:80
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/dispute.py:80
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/dispute.py:80
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/dispute.py:80
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/dispute.py:80
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/dispute.py:80
/opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/dispute.py:80: DeprecationWarning: Use ProtectionLevel enum instead
warnings.warn("Use ProtectionLevel enum instead", DeprecationWarning)
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/search.py:79
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/search.py:79
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/search.py:79
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/search.py:79
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/search.py:79
../virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/search.py:79
/opt/workdir/virtualenvs/3scale-py-testsuite-8_Y7lf5G/lib/python3.9/site-packages/braintree/search.py:79: DeprecationWarning: Use protection_level parameter instead
warnings.warn("Use protection_level parameter instead", DeprecationWarning)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------ generated xml file: /test-run-results/junit-smoke.xml -------------
------- generated html file: file:///test-run-results/report-smoke.html --------
=========================== short test summary info ============================
ERROR testsuite/tests/apicast/auth/test_basic_auth_app_id.py::test_basic_auth_app_id_key - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/headers/test_headers_policy_delete.py::test_headers_policy_delete_request - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/auth/test_headers_app_id.py::test_auth_headers_app_id - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/routing/test_routing_policy_multiple_conditions_or.py::test_routing_policy_route_testing - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/routing/test_routing_policy_headers.py::test_routing_policy_with_header - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/routing/test_routing_policy_replace_path.py::test_routing_policy_replace_path - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/routing/test_routing_policy_multiple_conditions_and.py::test_routing_policy_route_testing - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/auth/test_basic_auth_user_key.py::test_should_accept_user_key_passed_by_basic_auth - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/routing/test_routing_policy_query.py::test_routing_policy_route1 - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/headers/test_header_policy.py::test_header_policy - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
ERROR testsuite/tests/apicast/policy/headers/test_headers_policy_liquid_set.py::test_header_policy_add_to_response_with_liquid_service_id_api_client - threescale_api.errors.ApiClientError: Response(502 Bad Gateway): b'502 Bad Gateway
\nThe server returned an invalid or incomplete response.\n\n'
================= 7 skipped, 12 warnings, 11 errors in 12.22s ==================
make: *** [Makefile:77: smoke] Error 1
Copying logs and xmls to /logs/artifacts