Skip to content

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

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

squid: qa: fix multi-fs tests in test_mds_metrics.py#64336
hkadam134 merged 2 commits intoceph:squidfrom
joscollin:wip-71950-squid

Conversation

@joscollin
Copy link
Member

@joscollin joscollin commented Jul 3, 2025

backport tracker: https://tracker.ceph.com/issues/71950
backport tracker: https://tracker.ceph.com/issues/71953


backport of #62842
parent tracker: https://tracker.ceph.com/issues/68446

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

* 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 <jcollin@redhat.com>
(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 <jcollin@redhat.com>
(cherry picked from commit eaf2a83)
@joscollin
Copy link
Member Author

jenkins test make check

1 similar comment
@joscollin
Copy link
Member Author

jenkins test make check

@joscollin
Copy link
Member Author

jenkins test make check

@joscollin
Copy link
Member Author

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

@joscollin
Copy link
Member Author

jenkins test make check

@hkadam134
Copy link
Contributor

This PR is under test in https://tracker.ceph.com/issues/72242

@joscollin
Copy link
Member Author

@hkadam134
Copy link
Contributor

squid wiki updated and acknowledged by Jos --
https://tracker.ceph.com/projects/cephfs/wiki/Squid#wip-hemanth-testing-2025-07-22-1624-squid

@hkadam134 hkadam134 merged commit 4388428 into ceph:squid Jul 25, 2025
10 checks passed
@joscollin joscollin deleted the wip-71950-squid branch July 25, 2025 11:31
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