Project

General

Profile

Bug #48559

qa: ERROR: test_damaged_dentry, KeyError: 'passed_validation'

Added by Jos Collin 4 months ago. Updated 14 days ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

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

Description

Found this in the `fs` suite run.

2020-12-03T21:35:11.765 INFO:tasks.cephfs_test_runner:test_damaged_dentry (tasks.cephfs.test_damage.TestDamage) ... ERROR
2020-12-03T21:35:11.766 INFO:tasks.cephfs_test_runner:
2020-12-03T21:35:11.766 INFO:tasks.cephfs_test_runner:======================================================================
2020-12-03T21:35:11.767 INFO:tasks.cephfs_test_runner:ERROR: test_damaged_dentry (tasks.cephfs.test_damage.TestDamage)
2020-12-03T21:35:11.767 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-12-03T21:35:11.767 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-12-03T21:35:11.768 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-F46226-log-dq-throttle-limit-new/qa/tasks/cephfs/test_damage.py", line 457, in test_damaged_dentry
2020-12-03T21:35:11.768 INFO:tasks.cephfs_test_runner:    self.assertEqual(scrub_json["passed_validation"], False)
2020-12-03T21:35:11.768 INFO:tasks.cephfs_test_runner:KeyError: 'passed_validation'
2020-12-03T21:35:11.768 INFO:tasks.cephfs_test_runner:
2020-12-03T21:35:11.769 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-12-03T21:35:11.769 INFO:tasks.cephfs_test_runner:Ran 1 test in 55.379s
2020-12-03T21:35:11.769 INFO:tasks.cephfs_test_runner:
2020-12-03T21:35:11.770 INFO:tasks.cephfs_test_runner:FAILED (errors=1)
2020-12-03T21:35:11.770 INFO:tasks.cephfs_test_runner:
2020-12-03T21:35:11.770 INFO:tasks.cephfs_test_runner:======================================================================
2020-12-03T21:35:11.771 INFO:tasks.cephfs_test_runner:ERROR: test_damaged_dentry (tasks.cephfs.test_damage.TestDamage)
2020-12-03T21:35:11.771 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-12-03T21:35:11.771 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-12-03T21:35:11.772 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-F46226-log-dq-throttle-limit-new/qa/tasks/cephfs/test_damage.py", line 457, in test_damaged_dentry
2020-12-03T21:35:11.772 INFO:tasks.cephfs_test_runner:    self.assertEqual(scrub_json["passed_validation"], False)
2020-12-03T21:35:11.772 INFO:tasks.cephfs_test_runner:KeyError: 'passed_validation'
2020-12-03T21:35:11.772 INFO:tasks.cephfs_test_runner:
2020-12-03T21:35:11.773 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 93, 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_wip-F46226-log-dq-throttle-limit-new/qa/tasks/cephfs_test_runner.py", line 211, in task
    raise RuntimeError("Test failure: {0}".format(", ".join(bad_tests)))
RuntimeError: Test failure: test_damaged_dentry (tasks.cephfs.test_damage.TestDamage)
2020-12-03T21:35:11.845 ERROR:teuthology.run_tasks: Sentry event: https://sentry.ceph.com/organizations/ceph/?query=88e83dd89b6541fb8dd015b5894c7ba9
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 93, 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_wip-F46226-log-dq-throttle-limit-new/qa/tasks/cephfs_test_runner.py", line 211, in task
    raise RuntimeError("Test failure: {0}".format(", ".join(bad_tests)))
RuntimeError: Test failure: test_damaged_dentry (tasks.cephfs.test_damage.TestDamage)

test_damage.py View - test_damaged_dentry (22.3 KB) Jos Collin, 12/14/2020 03:06 AM


Related issues

Copied to CephFS - Backport #49609: pacific: qa: ERROR: test_damaged_dentry, KeyError: 'passed_validation' Resolved

History

#1 Updated by Patrick Donnelly 4 months ago

  • Priority changed from Normal to High
  • Target version set to v16.0.0

Please link the source file for the paste you put in the description.

#3 Updated by Jos Collin 4 months ago

#4 Updated by Patrick Donnelly 4 months ago

  • Status changed from New to Triaged
  • Assignee set to Xiubo Li

#5 Updated by Xiubo Li 4 months ago

  • Status changed from Triaged to In Progress

#6 Updated by Xiubo Li 4 months ago

The commit(03908aa04344) has removed the code which was dumpping the scrub detail result. And currently only the following format will be retured:

$ ./bin/ceph --cluster ceph tell mds.b scrub start /subdir repair
{
    "return_code": 0,
    "scrub_tag": "4ecb4e49-0a0b-401e-a9f9-7343c5f38d0f",
    "mode": "asynchronous" 
}

#7 Updated by Xiubo Li 4 months ago

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

#8 Updated by Patrick Donnelly 3 months ago

  • Target version changed from v16.0.0 to v17.0.0
  • Backport set to pacific,octopus,nautilus

#9 Updated by Patrick Donnelly about 1 month ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from pacific,octopus,nautilus to pacific
  • Component(FS) qa-suite added
  • Labels (FS) qa-failure added

#10 Updated by Backport Bot about 1 month ago

  • Copied to Backport #49609: pacific: qa: ERROR: test_damaged_dentry, KeyError: 'passed_validation' added

#11 Updated by Loïc Dachary 14 days ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF