Project

General

Profile

Actions

Bug #62243

closed
RD RD

qa/cephfs: test_snapshots.py fails because of a missing method

Bug #62243: qa/cephfs: test_snapshots.py fails because of a missing method

Added by Rishabh Dave over 3 years ago. Updated over 1 year ago.

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

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
qa, qa-failure
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-5245-g0584cd34b66
Released In:
v19.2.0~1894
Upkeep Timestamp:
2025-07-12T03:35:59+00:00

Description

test_disallow_monitor_managed_snaps_for_fs_pools (in test_snapshot.TestMonSnapsAndFsPools) fails because method "run_cluster_cmd" doesn't exist in TestMonSnapsAndFsPools.

2023-07-26T08:07:59.154 INFO:tasks.cephfs_test_runner:======================================================================
2023-07-26T08:07:59.154 INFO:tasks.cephfs_test_runner:ERROR: test_disallow_monitor_managed_snaps_for_fs_pools (tasks.cephfs.test_snapshots.TestMonSnapsAndFsPools)
2023-07-26T08:07:59.155 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2023-07-26T08:07:59.155 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2023-07-26T08:07:59.155 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_dac78ca1620f95e090b780a3d659e716e6db4ce8/qa/tasks/cephfs/test_snapshots.py", line 556, in test_disallow_monitor_managed_snaps_for_fs_pools
2023-07-26T08:07:59.155 INFO:tasks.cephfs_test_runner:    self.run_cluster_cmd(base_cmd)
2023-07-26T08:07:59.155 INFO:tasks.cephfs_test_runner:AttributeError: 'TestMonSnapsAndFsPools' object has no attribute 'run_cluster_cmd'
2023-07-26T08:07:59.156 INFO:tasks.cephfs_test_runner:
2023-07-26T08:07:59.156 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------

This failure occurred here - /a/vshankar-2023-07-26_04:54:56-fs-wip-vshankar-testing-20230725.053049-testing-default-smithi/7352573. It was discovered by Venky and originally report here - https://tracker.ceph.com/issues/62084#note-4.

This call was added here - https://github.com/ceph/ceph/pull/51275/files#diff-2417647710527fa3628daa0e2b0ed2bbfe8cb68a224a086f7593cd8ec1a0aa3cR556. The root cause of this failure is that PR 51275 and PR 50569 were merged too close to each other. So this change was absent on the testing branch of PR #50569 and, therefore, test_snapshot.py never failed in integration test runs. However, since both the PRs were merged, we see this failure now in recent integration test runs.

RD Updated by Rishabh Dave over 3 years ago Actions #1

  • Subject changed from qa/cephfs: to qa/cephfs: test_snapshots.py fails because of a missing method

RD Updated by Rishabh Dave over 3 years ago Actions #2

  • Status changed from New to In Progress

RD Updated by Rishabh Dave over 3 years ago Actions #3

  • Description updated (diff)

RD Updated by Rishabh Dave over 3 years ago Actions #4

  • Description updated (diff)

VS Updated by Venky Shankar over 3 years ago Actions #5

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

I think this doesn't need backport, Rishabh?

RD Updated by Rishabh Dave over 3 years ago Actions #6

Venky Shankar wrote:

I think this doesn't need backport, Rishabh?

No need because the PR that introduced this bug (https://github.com/ceph/ceph/pull/50569) isn't backported.

RD Updated by Rishabh Dave over 3 years ago Actions #7

  • Status changed from Fix Under Review to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Merge Commit set to 0584cd34b66b4dc1ac715770746b6d85038ae1d5
  • Fixed In set to v18.0.0-5245-g0584cd34b66
  • Released In set to v19.2.0~1894
  • Upkeep Timestamp set to 2025-07-12T03:35:59+00:00
Actions

Also available in: PDF Atom