Project

General

Profile

Actions

Cleanup #45822

closed

Feature #40907: mgr/dashboard: REST API improvements

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

Added by Ernesto Puerta almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
General - Back-end
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 2 (0 open2 closed)

Copied to Dashboard - Backport #48733: nautilus: mgr/dashboard: minimize Back-end API Test console output/log tracesResolvedAashish SharmaActions
Copied to Dashboard - Backport #48734: octopus: mgr/dashboard: minimize Back-end API Test console output/log tracesResolvedAashish SharmaActions
Actions #1

Updated by Ernesto Puerta almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Ernesto Puerta almost 4 years ago

  • Description updated (diff)
Actions #3

Updated by Ernesto Puerta almost 4 years 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
Actions #4

Updated by Ernesto Puerta almost 4 years ago

  • Assignee set to Aashish Sharma
  • Pull request ID set to 36088
Actions #5

Updated by Aashish Sharma over 3 years ago

  • Status changed from New to Fix Under Review
Actions #6

Updated by Kefu Chai over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Backport Bot over 3 years ago

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

Updated by Backport Bot over 3 years ago

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

Updated by Ernesto Puerta about 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #10

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end
Actions

Also available in: Atom PDF