Project

General

Profile

Bug #39651

qa: test_kill_mdstable fails unexpectedly

Added by Rishabh Dave 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
Pull request ID:
Crash signature:

Description

I get following traceback while running the test_kill_mdstable: https://github.com/ceph/ceph/blob/master/qa/tasks/cephfs/test_snapshots.py#L41

File "/home/rishabh/repos/ceph/pr-27718/qa/tasks/cephfs/test_snapshots.py", line 76, in test_kill_mdstable
    self.delete_mds_coredump(rank0['name']);
  File "/home/rishabh/repos/ceph/pr-27718/qa/tasks/cephfs/cephfs_test_case.py", line 268, in delete_mds_coredump
    ], stdout=StringIO())
  File "../qa/tasks/vstart_runner.py", line 346, in run
    proc.wait()
  File "../qa/tasks/vstart_runner.py", line 179, in wait
    raise CommandFailedError(self.args, self.exitstatus)
CommandFailedError: Command failed with status 1: ['cd', '|/usr/lib/systemd', Raw('&&'), 'ls', Raw('|'), 'xargs', 'file']

code_dir:"https://github.com/ceph/ceph/blob/master/qa/tasks/cephfs/cephfs_test_case.py#L257" does not contain a path to a directory at all. The value of core_dir is "|/usr/lib/systemd" which is weird because the string (which is supposed to be a path) has a vertical bar at the beginning and, more importantly, because "/usr/lib/systemd" is not a directory. The lines of code following will attempt to use it as the target directory for "cd" command. Following is the traceback obtained from running "test_kill_mdstable"

History

#1 Updated by Patrick Donnelly 5 months ago

  • Assignee set to Rishabh Dave
  • Target version set to v15.0.0
  • Start date deleted (05/09/2019)
  • Component(FS) qa-suite added

#2 Updated by Patrick Donnelly 5 months ago

  • Subject changed from test_kill_mdstable fails unexpectedly to qa: test_kill_mdstable fails unexpectedly
  • Description updated (diff)
  • Source set to Q/A

Also available in: Atom PDF