Skip to content

squid: qa: fix multi-fs tests in test_mds_metrics.py - #64336

Merged
hkadam134 merged 2 commits into
ceph:squidfrom
joscollin:wip-71950-squid
Jul 25, 2025
Merged

hkadam134 merged 2 commits into
ceph:squidfrom
joscollin:wip-71950-squid

Conversation

@joscollin

@joscollin joscollin commented Jul 3, 2025 •

Copy link
Copy Markdown
Member

* Fix _setup_fs to reconfigure only the appropriate client auth caps,
  by avoiding iterating the self.mounts.

* Delete unused filesystems in test_perf_stats_stale_metrics_with_multiple_filesystem.

Signed-off-by: Jos Collin <[email protected]>
(cherry picked from commit 7ac14ca)
@joscollin joscollin added this to the squid milestone Jul 3, 2025
@joscollin joscollin added the tests label Jul 3, 2025
@github-actions github-actions Bot added the cephfs Ceph File System label Jul 3, 2025
* Avoids the unnecessary setup, when writing a multi-fs test.
  Avoids creating the default filesystem, deleting it and creating the required filesystems, mounting them.
  This change uses the filesystems created using 'REQUIRE_BACKUP_FILESYSTEM' for conducting tests.
* This change consequently fixes the old/deleted filesystems appearing in the `perf stats` output,
  making it stale output.
* Drops unused function parameters.

Fixes: https://tracker.ceph.com/issues/68001
Fixes: https://tracker.ceph.com/issues/68446
Signed-off-by: Jos Collin <[email protected]>
(cherry picked from commit eaf2a83)
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

1 similar comment
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

@hkadam134 This is ready for qa. Please add it to your upcoming batch.

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@hkadam134

Copy link
Copy Markdown
Contributor

@joscollin

Copy link
Copy Markdown
Member Author

@hkadam134

Copy link
Copy Markdown
Contributor

@hkadam134
hkadam134 merged commit 4388428 into ceph:squid Jul 25, 2025
@joscollin
joscollin deleted the wip-71950-squid branch July 25, 2025 11:31
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
squid: qa: fix multi-fs tests in test_mds_metrics.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants