Project

General

Profile

Bug #47232

mgr/dashboard/api: print logs when vstart fails

Added by Ernesto Puerta over 3 years ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Category:
Testing - API
Target version:
% Done:

0%

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

Description

Some times the API tests fail and the only output a user gets is:

2020-08-31 14:57:01,212.212 INFO:__main__:Creating cluster with 1 MDS daemons
2020-08-31 14:57:01,212.212 INFO:__main__:
tearing down the cluster...
2020-08-31 14:57:01,212.212 INFO:__main__:Running ['../src/stop.sh']
2020-08-31 14:57:01,922.922 INFO:__main__:Running ['rm', '-rf', './dev', './out']
2020-08-31 14:57:01,929.929 INFO:__main__:Running ['../src/vstart.sh', '-n', '--nolockdep']
Build step 'Execute shell' marked build as failure
Setting status of 6440282a6c01fd79ddc90bda6383e47da2137b3e to FAILURE with url https://jenkins.ceph.com/job/ceph-api/2088/ and message: 'ceph API tests failed
 '
Using context: ceph API tests
Finished: FAILURE

That's because daemon logs are only dumped when the tests have already started, but if the error happens during the start up stage, no feedback is provided.


Related issues

Copied to Dashboard - Backport #47279: nautilus: mgr/dashboard/api: print logs when vstart fails Rejected
Copied to Dashboard - Backport #47280: octopus: mgr/dashboard/api: print logs when vstart fails Resolved
Copied to Dashboard - Bug #47285: mgr/dashboard/api: fix duplicate logs Resolved

History

#1 Updated by Ernesto Puerta over 3 years ago

  • Status changed from New to In Progress
  • Assignee changed from Laura Paduano to Ernesto Puerta

#2 Updated by Ernesto Puerta over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36923

#3 Updated by Lenz Grimmer over 3 years ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47279: nautilus: mgr/dashboard/api: print logs when vstart fails added

#5 Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47280: octopus: mgr/dashboard/api: print logs when vstart fails added

#6 Updated by Ernesto Puerta over 3 years ago

As a side effect of this, now logs are printed twice in other situations. Need more time to check it.

#7 Updated by Ernesto Puerta over 3 years ago

  • Copied to Bug #47285: mgr/dashboard/api: fix duplicate logs added

#8 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from API Tests to Testing - API

#9 Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed

#10 Updated by Konstantin Shalygin 11 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF