Project

General

Profile

Bug #57065

qa: test_query_client_ip_filter fails with latest 'perf stats' structure changes

Added by Jos Collin 4 months ago. Updated 3 months ago.

Status:
Triaged
Priority:
Normal
Category:
Testing
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
qa-failure
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

test_query_client_ip_filter fails with the below error in tests [1] and [2]. This happens when PR [3] is tested.

2022-08-06T04:26:30.382 INFO:tasks.cephfs_test_runner:test_query_client_ip_filter (tasks.cephfs.test_mds_metrics.TestMDSMetrics) ... FAIL
2022-08-06T04:26:30.383 INFO:tasks.cephfs_test_runner:
2022-08-06T04:26:30.383 INFO:tasks.cephfs_test_runner:======================================================================
2022-08-06T04:26:30.384 INFO:tasks.cephfs_test_runner:FAIL: test_query_client_ip_filter (tasks.cephfs.test_mds_metrics.TestMDSMetrics)
2022-08-06T04:26:30.384 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2022-08-06T04:26:30.384 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2022-08-06T04:26:30.385 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_cdaa84a83be83079fd719224790755e1b89a7b9e/qa/tasks/cephfs/test_mds_metrics.py", line 347, in test_query_client_ip_filter
2022-08-06T04:26:30.385 INFO:tasks.cephfs_test_runner:    self.assertEqual(client_ip, metrics['client_metadata'][self.fs.name][i]['IP'])
2022-08-06T04:26:30.385 INFO:tasks.cephfs_test_runner:AssertionError: '192.168.0.1' != '172.21.15.88'
2022-08-06T04:26:30.385 INFO:tasks.cephfs_test_runner:- 192.168.0.1
2022-08-06T04:26:30.386 INFO:tasks.cephfs_test_runner:+ 172.21.15.88
2022-08-06T04:26:30.386 INFO:tasks.cephfs_test_runner:
2022-08-06T04:26:30.386 INFO:tasks.cephfs_test_runner:
2022-08-06T04:26:30.387 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2022-08-06T04:26:30.387 INFO:tasks.cephfs_test_runner:Ran 13 tests in 993.233s
2022-08-06T04:26:30.387 INFO:tasks.cephfs_test_runner:
2022-08-06T04:26:30.387 INFO:tasks.cephfs_test_runner:FAILED (failures=1)
2022-08-06T04:26:30.388 INFO:tasks.cephfs_test_runner:
2022-08-06T04:26:30.388 INFO:tasks.cephfs_test_runner:======================================================================
2022-08-06T04:26:30.388 INFO:tasks.cephfs_test_runner:FAIL: test_query_client_ip_filter (tasks.cephfs.test_mds_metrics.TestMDSMetrics)
2022-08-06T04:26:30.389 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2022-08-06T04:26:30.389 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2022-08-06T04:26:30.389 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_cdaa84a83be83079fd719224790755e1b89a7b9e/qa/tasks/cephfs/test_mds_metrics.py", line 347, in test_query_client_ip_filter
2022-08-06T04:26:30.389 INFO:tasks.cephfs_test_runner:    self.assertEqual(client_ip, metrics['client_metadata'][self.fs.name][i]['IP'])
2022-08-06T04:26:30.390 INFO:tasks.cephfs_test_runner:AssertionError: '192.168.0.1' != '172.21.15.88'
2022-08-06T04:26:30.390 INFO:tasks.cephfs_test_runner:- 192.168.0.1
2022-08-06T04:26:30.390 INFO:tasks.cephfs_test_runner:+ 172.21.15.88
2022-08-06T04:26:30.391 INFO:tasks.cephfs_test_runner:
2022-08-06T04:26:30.391 INFO:tasks.cephfs_test_runner:
2022-08-06T04:26:30.391 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_9e4bf63f00ab3f82a26635c2779f4c3f1b73fb53/teuthology/run_tasks.py", line 106, in run_tasks
    manager.__enter__()
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_cdaa84a83be83079fd719224790755e1b89a7b9e/qa/tasks/cephfs_test_runner.py", line 211, in task
    raise RuntimeError("Test failure: {0}".format(", ".join(bad_tests)))
RuntimeError: Test failure: test_query_client_ip_filter (tasks.cephfs.test_mds_metrics.TestMDSMetrics)
2022-08-06T04:26:30.580 ERROR:teuthology.run_tasks: Sentry event: https://sentry.ceph.com/organizations/ceph/?query=79c56793cc6c4bf3824599094bd3f30a
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_9e4bf63f00ab3f82a26635c2779f4c3f1b73fb53/teuthology/run_tasks.py", line 106, in run_tasks
    manager.__enter__()
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_cdaa84a83be83079fd719224790755e1b89a7b9e/qa/tasks/cephfs_test_runner.py", line 211, in task
    raise RuntimeError("Test failure: {0}".format(", ".join(bad_tests)))
RuntimeError: Test failure: test_query_client_ip_filter (tasks.cephfs.test_mds_metrics.TestMDSMetrics)

[1] http://qa-proxy.ceph.com/teuthology/jcollin-2022-08-05_07:14:14-fs-wip-jcollin-testing-stale-metrics-distro-default-smithi/6959279/teuthology.log
[2] http://qa-proxy.ceph.com/teuthology/jcollin-2022-08-06_03:42:21-fs-wip-jcollin-testing-stale-metrics2-distro-default-smithi/6959933/teuthology.log
[3] https://github.com/ceph/ceph/pull/46068

History

#1 Updated by Venky Shankar 3 months ago

  • Status changed from New to Triaged
  • Assignee set to Neeraj Pratap Singh
  • Target version set to v18.0.0
  • Backport set to pacific,quincy

Also available in: Atom PDF