Project

General

Profile

Actions

Bug #53043

closed

qa/vstart_runner: tests crashes due incompatiblity

Added by Rishabh Dave over 2 years ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Testing
Target version:
% Done:

100%

Source:
Development
Tags:
backport_processed
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 1 (0 open1 closed)

Copied to CephFS - Backport #53165: pacific: qa/vstart_runner: tests crashes due incompatiblityRejectedRishabh DaveActions
Actions #1

Updated by Rishabh Dave over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Rishabh Dave over 2 years ago

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

Updated by Patrick Donnelly over 2 years 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
Actions #4

Updated by Backport Bot over 2 years ago

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

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #6

Updated by Konstantin Shalygin 4 months ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF