Project

General

Profile

Actions

Bug #55248

open

make check: ERROR: test_enable_module_empty_license (tasks.mgr.dashboard.test_telemetry.TelemetryTest)

Added by Laura Flores about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
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

Seen in this make check test: https://jenkins.ceph.com/job/ceph-api/34648/. See attached text file for the console log if the link is expired.

2022-04-07 23:57:26,529.529 INFO:__main__:======================================================================
2022-04-07 23:57:26,529.529 INFO:__main__:ERROR: test_enable_module_empty_license (tasks.mgr.dashboard.test_telemetry.TelemetryTest)
2022-04-07 23:57:26,529.529 INFO:__main__:----------------------------------------------------------------------
2022-04-07 23:57:26,529.529 INFO:__main__:Traceback (most recent call last):
2022-04-07 23:57:26,529.529 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/helper.py", line 271, in setUp
2022-04-07 23:57:26,529.529 INFO:__main__:    self.wait_for_health_clear(self.TIMEOUT_HEALTH_CLEAR)
2022-04-07 23:57:26,529.529 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/ceph_test_case.py", line 175, in wait_for_health_clear
2022-04-07 23:57:26,529.529 INFO:__main__:    self.wait_until_true(is_clear, timeout)
2022-04-07 23:57:26,529.529 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/ceph_test_case.py", line 212, in wait_until_true
2022-04-07 23:57:26,530.530 INFO:__main__:    raise TestTimeoutError("Timed out after {0}s and {1} retries".format(elapsed, retry_count))
2022-04-07 23:57:26,530.530 INFO:__main__:tasks.ceph_test_case.TestTimeoutError: Timed out after 60s and 0 retries
2022-04-07 23:57:26,530.530 INFO:__main__:
Using guessed paths /home/jenkins-build/build/workspace/ceph-api/build/lib/ ['/home/jenkins-build/build/workspace/ceph-api/qa', '/home/jenkins-build/build/workspace/ceph-api/build/lib/cython_modules/lib.3', '/home/jenkins-build/build/workspace/ceph-api/src/pybind']
2022-04-07 23:57:26,531.531 INFO:__main__:
2022-04-07 23:57:26,531.531 INFO:__main__:

Displaying last 1500 lines of: /home/jenkins-build/build/workspace/ceph-api/build/out/mgr.x.log

dashboard.exceptions.DashboardException: Invalid scope
2022-04-07T23:53:03.940+0000 7f0eecfb2700  0 [dashboard INFO request] [::ffff:172.21.2.14:39546] [POST] [400] [0.029s] [admin] [75.0B] /api/role
2022-04-07T23:53:04.008+0000 7f0f15c43700  0 log_channel(cluster) log [DBG] : pgmap v12: 211 pgs: 211 active+clean; 883 KiB data, 4.1 GiB used, 400 GiB / 404 GiB avail
2022-04-07T23:53:05.916+0000 7f0eecfb2700  0 [dashboard ERROR exception] Dashboard Exception
Traceback (most recent call last):
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/controllers/_base_controller.py", line 258, in inner
    ret = func(*args, **kwargs)
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper
    return func(*vpath, **params)
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/controllers/role.py", line 96, in create
    return Role._create(name, description, scopes_permissions)
  File "/home/jenkins-build/build/workspace/ceph-api/src/pybind/mgr/dashboard/controllers/role.py", line 80, in _create
    raise DashboardException(msg='Name is required',
dashboard.exceptions.DashboardException: Name is required


Files

telemetry_api_test_failure.txt.gz (174 KB) telemetry_api_test_failure.txt.gz Laura Flores, 04/08/2022 03:39 PM
Actions #1

Updated by Ernesto Puerta about 2 years ago

  • Category set to Testing - API
Actions

Also available in: Atom PDF