Actions
Bug #42708
closedmgr/dashboard: Test failure "test_perf_counters_not_found (tasks.mgr.dashboard.test_perf_counters.PerfCountersControllerTest)"
% Done:
0%
Source:
Q/A
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
After rebuilding Ceph based on https://github.com/ceph/ceph/pull/31400
and running the dashboard backend API tests locally
I got the following error:
2019-11-07 16:15:49,323.323 INFO:__main__:FAILED (failures=1)
2019-11-07 16:15:49,323.323 INFO:__main__:
2019-11-07 16:15:49,324.324 INFO:__main__:======================================================================
2019-11-07 16:15:49,324.324 INFO:__main__:FAIL: test_perf_counters_not_found (tasks.mgr.dashboard.test_perf_counters.PerfCountersControllerTest)
2019-11-07 16:15:49,324.324 INFO:__main__:----------------------------------------------------------------------
2019-11-07 16:15:49,324.324 INFO:__main__:Traceback (most recent call last):
2019-11-07 16:15:49,325.325 INFO:__main__: File "/ceph/qa/tasks/mgr/dashboard/test_perf_counters.py", line 73, in test_perf_counters_not_found
2019-11-07 16:15:49,325.325 INFO:__main__: self.assertSchemaBody(schema)
2019-11-07 16:15:49,325.325 INFO:__main__: File "/ceph/qa/tasks/mgr/dashboard/helper.py", line 340, in assertSchemaBody
2019-11-07 16:15:49,325.325 INFO:__main__: self.assertSchema(self.jsonBody(), schema)
2019-11-07 16:15:49,325.325 INFO:__main__: File "/ceph/qa/tasks/mgr/dashboard/helper.py", line 337, in assertSchema
2019-11-07 16:15:49,326.326 INFO:__main__: self.assertEqual(data, str(e))
2019-11-07 16:15:49,326.326 INFO:__main__:AssertionError: {u'status': u'404 Not Found', u'detail': u"'osd.4' not found", u'request_id': u'5bf96290-cae7-447d-857e-69856b965a9b'} != "In `input`: missing keys: set(['version', 'traceback'])"
Also reproducible in Jenkins: https://jenkins.ceph.com/job/ceph-dashboard-pr-backend/456/
Actions