Project

General

Profile

Cleanup #45822

Feature #40907: mgr/dashboard: REST API improvements

mgr/dashboard: minimize Back-end API Test console output/log traces

Added by Ernesto Puerta 8 months ago. Updated 19 days ago.

Status:
Pending Backport
Priority:
Normal
Category:
dashboard/backend
Target version:
% Done:

0%

Tags:
Backport:
nautilus, octopus
Reviewed:
Affected Versions:
Pull request ID:

Description

Now the dashboard API tests generate a lot of log traces. Ideally it should behave as a regular test-runner (e.g.: unit-test/pytest), that is, extremely silent when everything goes ok, and becoming more verbose if a failure happens (e.g.: printing traceback of the error and some logs).

Back-end API tests are run from the file src/pybind/mgr/dashboard/backend-api-tests.sh. In Ceph Jenkins the job responsible for running it can be found at: https://github.com/ceph/ceph-build/blob/master/ceph-dashboard-pr-backend/config/definitions/ceph-dashboard-pr-backend.yml


Related issues

Copied to mgr - Backport #48733: nautilus: mgr/dashboard: minimize Back-end API Test console output/log traces New
Copied to mgr - Backport #48734: octopus: mgr/dashboard: minimize Back-end API Test console output/log traces New

History

#1 Updated by Ernesto Puerta 8 months ago

  • Description updated (diff)

#2 Updated by Ernesto Puerta 8 months ago

  • Description updated (diff)

#3 Updated by Ernesto Puerta 8 months ago

  • Subject changed from mgr/dashboard: clean-up "backend/api test" console output/log traces to mgr/dashboard: minimize Back-end API Test console output/log traces

#4 Updated by Ernesto Puerta 6 months ago

  • Assignee set to Aashish Sharma
  • Pull request ID set to 36088

#5 Updated by Aashish Sharma 5 months ago

  • Status changed from New to Fix Under Review

#6 Updated by Kefu Chai 19 days ago

  • Status changed from Fix Under Review to Pending Backport

#7 Updated by Backport Bot 19 days ago

  • Copied to Backport #48733: nautilus: mgr/dashboard: minimize Back-end API Test console output/log traces added

#8 Updated by Backport Bot 19 days ago

  • Copied to Backport #48734: octopus: mgr/dashboard: minimize Back-end API Test console output/log traces added

Also available in: Atom PDF