2022-07-13 15:05:35,237 - xtesting.ci.run_tests - INFO - Deployment description:

+-------------------------+----------------------------------------------------------+
|         ENV VAR         |                          VALUE                           |
+-------------------------+----------------------------------------------------------+
|         CI_LOOP         |                          daily                           |
|          DEBUG          |                          false                           |
|     DEPLOY_SCENARIO     |                   onap-nofeature-noha                    |
|      INSTALLER_TYPE     |                           oom                            |
|        BUILD_TAG        |      gitlab_ci-functest-kubespray-baremetal-daily-       |
|                         |                   master-8203078-onap                    |
|        NODE_NAME        |                 onap-test-istio-TNAP-oom                 |
|       TEST_DB_URL       |     http://testresults.opnfv.org/onap/api/v1/results     |
|     TEST_DB_EXT_URL     |                                                          |
|     S3_ENDPOINT_URL     |                                                          |
|        S3_DST_URL       |                                                          |
|       HTTP_DST_URL      |                                                          |
+-------------------------+----------------------------------------------------------+

2022-07-13 15:05:35,293 - xtesting.ci.run_tests - INFO - Loading test case 'cps-dmi-plugin-healthcheck'...
2022-07-13 15:05:35,522 - xtesting.ci.run_tests - INFO - Running test case 'cps-dmi-plugin-healthcheck'...
2022-07-13 15:05:36,256 - xtesting.core.robotframework - INFO - 
==============================================================================
Actuator :: DMI - Actuator endpoints                                          
==============================================================================
Test DMI Enhanced Healthcheck :: Runs DMI Health Check. It will ch... | FAIL |
ConnectionError: HTTPConnectionPool(host='ncmp-dmi-plugin', port=8081): Max retries exceeded with url: /manage/health (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80444e8220>: Failed to establish a new connection: [Errno 111] Connection refused'))
------------------------------------------------------------------------------
Actuator :: DMI - Actuator endpoints                                  | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output:  /var/lib/xtesting/results/cps-dmi-plugin-healthcheck/output.xml

2022-07-13 15:05:36,261 - xtesting.core.robotframework - INFO - Results were successfully parsed
2022-07-13 15:05:36,351 - xtesting.core.robotframework - INFO - Results were successfully generated
2022-07-13 15:05:36,352 - xtesting.ci.run_tests - INFO - Test result:

+------------------------------------+---------------------+------------------+----------------+
|             TEST CASE              |       PROJECT       |     DURATION     |     RESULT     |
+------------------------------------+---------------------+------------------+----------------+
|     cps-dmi-plugin-healthcheck     |     integration     |      00:00       |      FAIL      |
+------------------------------------+---------------------+------------------+----------------+

2022-07-13 15:05:36,382 - xtesting.core.testcase - ERROR - The results cannot be pushed to DB
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.8/http/client.py", line 1252, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1298, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1247, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1007, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 947, in send
    self.connect()
  File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80444ba3a0>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 573, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='testresults.opnfv.org', port=80): Max retries exceeded with url: /onap/api/v1/results (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80444ba3a0>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/xtesting/core/testcase.py", line 237, in push_to_db
    req = requests.post(
  File "/usr/lib/python3.8/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3.8/site-packages/mock/mock.py", line 1100, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/mock/mock.py", line 1104, in _mock_call
    return _mock_self._execute_mock_call(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/mock/mock.py", line 1167, in _execute_mock_call
    result = effect(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/xtesting/utils/decorators.py", line 50, in patch_request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='testresults.opnfv.org', port=80): Max retries exceeded with url: /onap/api/v1/results (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80444ba3a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2022-07-13 15:05:36,388 - xtesting.ci.run_tests - ERROR - The test case 'cps-dmi-plugin-healthcheck' failed.
2022-07-13 15:05:36,388 - xtesting.ci.run_tests - INFO - Execution exit value: Result.EX_ERROR
