Project

General

Profile

Actions

Bug #48952

open

Error when running src/pybind/mgr/dashboard/run-backend-api-tests.sh

Added by Tuan Hoang about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
% Done:

0%

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

Description

Hello,

First of all I am not very sure this is a rgw/dashboard issue or teuthology issue, so feel free to change.

In directory src/pybind/mgr/dashboard, when running `source run-backend-api-tests.sh` or `./run-backend-api-tests.sh [test suite]`, there is this error :

2021-01-21 08:11:16,422.422 INFO:__main__:Running ['ps', '-u1000']
2021-01-21 08:11:16,430.430 INFO:__main__:Creating cluster with 1 MDS daemons
2021-01-21 08:11:16,430.430 INFO:__main__:Running ['../src/stop.sh']
2021-01-21 08:11:16,532.532 INFO:__main__:Running ['rm', '-rf', './out']
2021-01-21 08:11:16,536.536 INFO:__main__:Running ['rm', '-rf', './dev']
2021-01-21 08:11:16,542.542 INFO:__main__:Running ['../src/vstart.sh', '-n', '--nolockdep']
Exception ignored in: <bound method LocalContext.__del__ of <__main__.LocalContext object at 0x3ff9d7d1c50>>
Traceback (most recent call last):
File "../qa/tasks/vstart_runner.py", line 894, in __del__
shutil.rmtree(self.teuthology_config['test_path'])
File "/tmp/tmp.hdlQWy2r0y/venv/lib/python3.6/shutil.py", line 477, in rmtree
onerror(os.lstat, path, sys.exc_info())
File "/tmp/tmp.hdlQWy2r0y/venv/lib/python3.6/shutil.py", line 475, in rmtree
orig_st = os.lstat(path)
TypeError: lstat: path should be string, bytes or os.PathLike, not NoneType
2021-01-21 08:12:25,379.379 INFO:__main__:waiting for all up
2021-01-21 08:12:25,379.379 INFO:__main__:Running ['./bin/ceph', 'osd', 'dump', '--format=json']
2021-01-21 08:12:25,645.645 INFO:__main__:all up!

Adjusting a bit in the attached path does resolve above error. Affected Nautilus and Octopus.


Files

vstart_runner.patch (938 Bytes) vstart_runner.patch Tuan Hoang, 01/21/2021 01:37 PM
Actions #1

Updated by Sebastian Wagner about 3 years ago

  • Project changed from teuthology to mgr
  • Category set to 132
Actions #2

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General
Actions

Also available in: Atom PDF