Project

General

Profile

Actions

Bug #62972

open

ERROR: test_list_enabled_module (tasks.mgr.dashboard.test_mgr_module.MgrModuleTest)

Added by Casey Bodley 7 months ago. Updated 8 days ago.

Status:
New
Priority:
High
Category:
Testing - API
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

'ceph API tests' failing on pull requests, ex. https://jenkins.ceph.com/job/ceph-api/62085/

2023-09-24 20:14:07,886.886 INFO:__main__:
2023-09-24 20:14:07,886.886 INFO:__main__:----------------------------------------------------------------------
2023-09-24 20:14:07,886.886 INFO:__main__:Traceback (most recent call last):
2023-09-24 20:14:07,886.886 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
2023-09-24 20:14:07,886.886 INFO:__main__:    conn = connection.create_connection(
2023-09-24 20:14:07,886.886 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
2023-09-24 20:14:07,887.887 INFO:__main__:    raise err
2023-09-24 20:14:07,887.887 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
2023-09-24 20:14:07,887.887 INFO:__main__:    sock.connect(sa)
2023-09-24 20:14:07,887.887 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/gevent/_socketcommon.py", line 590, in connect
2023-09-24 20:14:07,887.887 INFO:__main__:    self._internal_connect(address)
2023-09-24 20:14:07,887.887 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/gevent/_socketcommon.py", line 634, in _internal_connect
2023-09-24 20:14:07,887.887 INFO:__main__:    raise _SocketError(err, strerror(err))
2023-09-24 20:14:07,887.887 INFO:__main__:ConnectionRefusedError: [Errno 111] Connection refused
2023-09-24 20:14:07,887.887 INFO:__main__:
2023-09-24 20:14:07,887.887 INFO:__main__:During handling of the above exception, another exception occurred:
2023-09-24 20:14:07,887.887 INFO:__main__:
2023-09-24 20:14:07,887.887 INFO:__main__:Traceback (most recent call last):
2023-09-24 20:14:07,887.887 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 714, in urlopen
2023-09-24 20:14:07,887.887 INFO:__main__:    httplib_response = self._make_request(
2023-09-24 20:14:07,888.888 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 403, in _make_request
2023-09-24 20:14:07,888.888 INFO:__main__:    self._validate_conn(conn)
2023-09-24 20:14:07,888.888 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn
2023-09-24 20:14:07,888.888 INFO:__main__:    conn.connect()
2023-09-24 20:14:07,888.888 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/connection.py", line 363, in connect
2023-09-24 20:14:07,888.888 INFO:__main__:    self.sock = conn = self._new_conn()
2023-09-24 20:14:07,888.888 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
2023-09-24 20:14:07,888.888 INFO:__main__:    raise NewConnectionError(
2023-09-24 20:14:07,888.888 INFO:__main__:urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused
2023-09-24 20:14:07,888.888 INFO:__main__:
2023-09-24 20:14:07,888.888 INFO:__main__:During handling of the above exception, another exception occurred:
2023-09-24 20:14:07,888.888 INFO:__main__:
2023-09-24 20:14:07,888.888 INFO:__main__:Traceback (most recent call last):
2023-09-24 20:14:07,888.888 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
2023-09-24 20:14:07,889.889 INFO:__main__:    resp = conn.urlopen(
2023-09-24 20:14:07,889.889 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 798, in urlopen
2023-09-24 20:14:07,889.889 INFO:__main__:    retries = retries.increment(
2023-09-24 20:14:07,889.889 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
2023-09-24 20:14:07,889.889 INFO:__main__:    raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-09-24 20:14:07,889.889 INFO:__main__:urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='172.21.5.33', port=7789): Max retries exceeded with url: /api/mgr/module (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
2023-09-24 20:14:07,889.889 INFO:__main__:
2023-09-24 20:14:07,889.889 INFO:__main__:During handling of the above exception, another exception occurred:
2023-09-24 20:14:07,889.889 INFO:__main__:
2023-09-24 20:14:07,889.889 INFO:__main__:Traceback (most recent call last):
2023-09-24 20:14:07,889.889 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/test_mgr_module.py", line 58, in test_list_enabled_module
2023-09-24 20:14:07,889.889 INFO:__main__:    data = self._get('/api/mgr/module')
2023-09-24 20:14:07,889.889 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/helper.py", line 341, in _get
2023-09-24 20:14:07,889.889 INFO:__main__:    return cls._request(url, 'GET', params=params, version=version,
2023-09-24 20:14:07,890.890 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/helper.py", line 313, in _request
2023-09-24 20:14:07,890.890 INFO:__main__:    cls._resp = cls._session.get(url, params=params, verify=False,
2023-09-24 20:14:07,890.890 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get
2023-09-24 20:14:07,890.890 INFO:__main__:    return self.request("GET", url, **kwargs)
2023-09-24 20:14:07,890.890 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
2023-09-24 20:14:07,890.890 INFO:__main__:    resp = self.send(prep, **send_kwargs)
2023-09-24 20:14:07,890.890 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
2023-09-24 20:14:07,890.890 INFO:__main__:    r = adapter.send(request, **kwargs)
2023-09-24 20:14:07,890.890 INFO:__main__:  File "/tmp/tmp.W1S8prJF6l/venv/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
2023-09-24 20:14:07,890.890 INFO:__main__:    raise ConnectionError(e, request=request)
2023-09-24 20:14:07,890.890 INFO:__main__:requests.exceptions.ConnectionError: HTTPSConnectionPool(host='172.21.5.33', port=7789): Max retries exceeded with url: /api/mgr/module (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))
2023-09-24 20:14:07,890.890 INFO:__main__:
Cannot find device "ceph-brx" 
2023-09-24 20:14:07,906.906 INFO:__main__:
2023-09-24 20:14:07,906.906 INFO:__main__:----------------------------------------------------------------------
2023-09-24 20:14:07,906.906 INFO:__main__:Ran 92 tests in 1113.274s
2023-09-24 20:14:07,907.907 INFO:__main__:
2023-09-24 20:14:07,907.907 INFO:__main__:

Actions

Also available in: Atom PDF