Project

General

Profile

Bug #53043

qa/vstart_runner: tests crashes due incompatiblity

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

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Testing
Target version:
% Done:

0%

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

Description

The incompatible code is - output = self.ctx.managers[self.cluster_name].raw_cluster_cmd("fs", "ls"). The cause for incompatibility is the absence of attribute managers in vstart_runner.LocalContext. Traceback -

2021-10-26 15:56:09,796.796 INFO:__main__:======================================================================
2021-10-26 15:56:09,796.796 INFO:__main__:ERROR: test_cd_with_args (tasks.cephfs.test_cephfs_shell.TestCD)
2021-10-26 15:56:09,796.796 INFO:__main__:Test that when cd is issued with an argument, CWD is changed
2021-10-26 15:56:09,796.796 INFO:__main__:----------------------------------------------------------------------
2021-10-26 15:56:09,796.796 INFO:__main__:Traceback (most recent call last):
2021-10-26 15:56:09,796.796 INFO:__main__:  File "/home/rishabh/repos/ceph/test2/qa/tasks/cephfs/test_cephfs_shell.py", line 38, in setUp
2021-10-26 15:56:09,796.796 INFO:__main__:    super(TestCephFSShell, self).setUp()
2021-10-26 15:56:09,796.796 INFO:__main__:  File "/home/rishabh/repos/ceph/test2/qa/tasks/cephfs/cephfs_test_case.py", line 173, in setUp
2021-10-26 15:56:09,796.796 INFO:__main__:    self.mounts[i].mount_wait()
2021-10-26 15:56:09,796.796 INFO:__main__:  File "/home/rishabh/repos/ceph/test2/qa/tasks/cephfs/mount.py", line 448, in mount_wait
2021-10-26 15:56:09,796.796 INFO:__main__:    self.mount(**kwargs)
2021-10-26 15:56:09,796.796 INFO:__main__:  File "/home/rishabh/repos/ceph/test2/qa/tasks/cephfs/fuse_mount.py", line 46, in mount
2021-10-26 15:56:09,797.797 INFO:__main__:    self.assert_and_log_minimum_mount_details()
2021-10-26 15:56:09,797.797 INFO:__main__:  File "/home/rishabh/repos/ceph/test2/qa/tasks/cephfs/mount.py", line 152, in assert_and_log_minimum_mount_details
2021-10-26 15:56:09,797.797 INFO:__main__:    self.assert_that_ceph_fs_exists()
2021-10-26 15:56:09,797.797 INFO:__main__:  File "/home/rishabh/repos/ceph/test2/qa/tasks/cephfs/mount.py", line 129, in assert_that_ceph_fs_exists
2021-10-26 15:56:09,797.797 INFO:__main__:    output = self.ctx.managers[self.cluster_name].raw_cluster_cmd("fs", "ls")
2021-10-26 15:56:09,797.797 INFO:__main__:AttributeError: 'LocalContext' object has no attribute 'managers'

Ideally this should've been prevented in commit 7812cfb6744f.


Related issues

Copied to CephFS - Backport #53165: pacific: qa/vstart_runner: tests crashes due incompatiblity New

History

#1 Updated by Rishabh Dave 3 months ago

  • Description updated (diff)

#2 Updated by Rishabh Dave 3 months ago

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

#3 Updated by Patrick Donnelly 3 months ago

  • Category set to Testing
  • Status changed from Fix Under Review to Pending Backport
  • Assignee set to Rishabh Dave
  • Target version set to v17.0.0
  • Source set to Development
  • Backport set to pacific

#4 Updated by Backport Bot 3 months ago

  • Copied to Backport #53165: pacific: qa/vstart_runner: tests crashes due incompatiblity added

Also available in: Atom PDF