Actions
Bug #47232
closedmgr/dashboard/api: print logs when vstart fails
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Testing - API
Target version:
% Done:
0%
Source:
Tags:
backport_processed
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
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.
Actions