Project

General

Profile

Actions

Bug #68446

closed
PD JC

qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics)

Bug #68446: qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics)

Added by Patrick Donnelly about 2 years ago. Updated about 1 month ago.

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

0%

Source:
Q/A
Backport:
reef,squid,tentacle
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:
v20.3.0-1335-ga4fc09e08a
Released In:
v21.2.0~2589
Upkeep Timestamp:
2026-10-24T01:57:10+00:00

Description

2024-10-04T19:32:23.630 INFO:tasks.cephfs_test_runner:======================================================================
2024-10-04T19:32:23.630 INFO:tasks.cephfs_test_runner:ERROR: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics)
2024-10-04T19:32:23.630 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2024-10-04T19:32:23.630 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2024-10-04T19:32:23.630 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_e9de79ab813bf2113b09fe5a51c9bef530bb9ec4/qa/tasks/cephfs/test_mds_metrics.py", line 529, in test_client_metrics_and_metadata
2024-10-04T19:32:23.630 INFO:tasks.cephfs_test_runner:    valid, metrics = self._get_metrics(
2024-10-04T19:32:23.630 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_e9de79ab813bf2113b09fe5a51c9bef530bb9ec4/qa/tasks/cephfs/test_mds_metrics.py", line 101, in _get_metrics
2024-10-04T19:32:23.631 INFO:tasks.cephfs_test_runner:    while proceed():
2024-10-04T19:32:23.631 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_teuthology_c951c6728ab40cfcf6b32f4c0c3d23b08cb35e1f/teuthology/contextutil.py", line 134, in __call__
2024-10-04T19:32:23.631 INFO:tasks.cephfs_test_runner:    raise MaxWhileTries(error_msg)
2024-10-04T19:32:23.631 INFO:tasks.cephfs_test_runner:teuthology.exceptions.MaxWhileTries: 'wait for metrics' reached maximum tries (30) after waiting for 30 seconds
2024-10-04T19:32:23.631 INFO:tasks.cephfs_test_runner:

from: /teuthology/pdonnell-2024-10-04_18:42:30-fs-wip-pdonnell-testing-20241004.144202-debug-distro-default-smithi/7933114/teuthology.log


Related issues 4 (0 open — 4 closed)

Related to CephFS - Bug #68001: qa/cephfs: test_perf_stats_stale_metrics_with_multiple_filesystem (tasks.cephfs.test_mds_metrics.TestMDSMetrics) ResolvedJos Collin

Actions
Copied to CephFS - Backport #71948: tentacle: qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics) ResolvedJos Collin

Actions
Copied to CephFS - Backport #71949: reef: qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics) ResolvedJos Collin

Actions
Copied to CephFS - Backport #71950: squid: qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics) ResolvedJos Collin

Actions

VS Updated by Venky Shankar about 2 years ago · Edited Actions #1

  • Assignee set to Jos Collin

This looked related to a failed quincy run

https://pulpito.ceph.com/xiubli-2024-08-13_04:29:48-fs-wip-xiubli-testing-20240812.103236-quincy-distro-default-smithi/7850718/

which was in turn related to ubuntu 20.04, where the stock kernel driver (5.4.0) did not have metrics support.

So, this failure needs an RCA.

VS Updated by Venky Shankar about 2 years ago Actions #2

  • Related to Bug #68001: qa/cephfs: test_perf_stats_stale_metrics_with_multiple_filesystem (tasks.cephfs.test_mds_metrics.TestMDSMetrics) added

VS Updated by Venky Shankar about 2 years ago · Edited Actions #3

Venky Shankar wrote in #note-1:

This looked related to a failed quincy run

[...]

which was in turn related to ubuntu 20.04, where the stock kernel driver (5.4.0) did not have metrics support.

So, this failure needs an RCA.

Since the distro used here is centos 9.

JC Updated by Jos Collin about 2 years ago Actions #4

Venky Shankar wrote in #note-1:

This looked related to a failed quincy run

[...]

which was in turn related to ubuntu 20.04, where the stock kernel driver (5.4.0) did not have metrics support.

So, this failure needs an RCA.

This is not related to https://pulpito.ceph.com/xiubli-2024-08-13_04:29:48-fs-wip-xiubli-testing-20240812.103236-quincy-distro-default-smithi/7850718/. The kernel version is 5.14.0 here and the error is different here.

JC Updated by Jos Collin about 2 years ago Actions #5

  • Status changed from New to In Progress

There are no 'global_metrics' for the first filesystem created (fs1) by test_client_metrics_and_metadata. So the verify_mds_metrics always returns 'False' and the test fails after 30 tries.

JC Updated by Jos Collin about 2 years ago Actions #6

  • Pull request ID set to 60394

JC Updated by Jos Collin about 2 years ago Actions #7

  • Status changed from In Progress to Fix Under Review

JC Updated by Jos Collin about 2 years ago · Edited Actions #8

_setup_fs reconfigures the client auth caps of both clients while creating each filesystem by iterating self.mounts. This should be the cause of metrics not coming from the first client, as only the last client is configured correctly. The PR fixes this.

JC Updated by Jos Collin about 2 years ago Actions #9

  • Status changed from Fix Under Review to In Progress
  • Pull request ID deleted (60394)

JC Updated by Jos Collin over 1 year ago Actions #10

  • Pull request ID set to 62842

JC Updated by Jos Collin over 1 year ago Actions #11

  • Status changed from In Progress to Fix Under Review

VS Updated by Venky Shankar over 1 year ago Actions #12

  • Backport set to reef,squid,tentacle
  • Labels (FS) qa, qa-failure added

Another instance: /a/vshankar-2025-06-16_16:06:50-fs-wip-vshankar-testing-20250613.134551-debug-testing-default-smithi/8331153

JC Updated by Jos Collin over 1 year ago Actions #13

  • Status changed from Fix Under Review to Pending Backport

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

  • Copied to Backport #71948: tentacle: qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics) added

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

  • Copied to Backport #71949: reef: qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics) added

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

  • Copied to Backport #71950: squid: qa: Test failure: test_client_metrics_and_metadata (tasks.cephfs.test_mds_metrics.TestMDSMetrics) added

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

  • Tags (freeform) set to backport_processed

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

  • Merge Commit set to a4fc09e08a9e1f69644ad96ff15fdda2246e9367
  • Fixed In set to v20.3.0-1335-ga4fc09e08a9
  • Upkeep Timestamp set to 2025-07-08T18:34:49+00:00

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

  • Fixed In changed from v20.3.0-1335-ga4fc09e08a9 to v20.3.0-1335-ga4fc09e08a9e
  • Upkeep Timestamp changed from 2025-07-08T18:34:49+00:00 to 2025-07-14T15:44:51+00:00

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

  • Fixed In changed from v20.3.0-1335-ga4fc09e08a9e to v20.3.0-1335-ga4fc09e08a
  • Upkeep Timestamp changed from 2025-07-14T15:44:51+00:00 to 2025-07-14T21:09:29+00:00

JC Updated by Jos Collin over 1 year ago Actions #21

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #22

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-07-14T21:09:29+00:00 to 2026-08-28T01:33:57+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #23

  • Released In set to v21.2.0~2589
  • Upkeep Timestamp changed from 2026-08-28T01:33:57+00:00 to 2026-10-24T01:57:10+00:00
Actions

Also available in: PDF Atom