Project

General

Profile

Bug #49192

qa::ERROR: test_recover_auth_metadata_during_authorize

Added by Kotresh Hiremath Ravishankar 4 months ago. Updated 3 months ago.

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

0%

Source:
Tags:
Backport:
pacific,octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
qa
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2021-02-05T05:23:23.676 INFO:tasks.cephfs_test_runner:======================================================================
2021-02-05T05:23:23.677 INFO:tasks.cephfs_test_runner:FAIL: test_recover_auth_metadata_during_authorize (tasks.cephfs.test_volumes.TestVolumes)
2021-02-05T05:23:23.678 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-02-05T05:23:23.678 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2021-02-05T05:23:23.679 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_fe616be53ceb9051d3e6f9be2f94476a9052b4b5/qa/tasks/cephfs/test_volumes.py", line 1697, in test_recover_auth_metadata_during_authorize
2021-02-05T05:23:23.686 INFO:tasks.cephfs_test_runner: self.assertEqual(auth_metadata_content, expected_auth_metadata_content)
2021-02-05T05:23:23.686 INFO:tasks.cephfs_test_runner:AssertionError: '{"tenant_id": "tenant1", "version": 5, "com[137 chars]lse}' != '{"compat_version": 1, "tenant_id": "tenant1[137 chars]e}}}'
2021-02-05T05:23:23.691 INFO:tasks.cephfs_test_runner:- {"tenant_id": "tenant1", "version": 5, "compat_version": 1, "subvolumes": {"group_0000000000025559/subvolume_0000000000241621": {"access_level": "rw", "dirty": false}}, "dirty": false}
2021-02-05T05:23:23.692 INFO:tasks.cephfs_test_runner:+ {"compat_version": 1, "tenant_id": "tenant1", "version": 5, "dirty": false, "subvolumes": {"group_0000000000025559/subvolume_0000000000241621": {"access_level": "rw", "dirty": false}}}

Teuthology log:
http://qa-proxy.ceph.com/teuthology/khiremat-2021-02-05_04:48:09-fs-wip-khiremat-mgr-authid-bp-2-nautilus-distro-basic-smithi/5858010/teuthology.log


Related issues

Copied to CephFS - Backport #49265: pacific: qa::ERROR: test_recover_auth_metadata_during_authorize Resolved
Copied to CephFS - Backport #49266: octopus: qa::ERROR: test_recover_auth_metadata_during_authorize Resolved
Copied to CephFS - Backport #49267: nautilus: qa::ERROR: test_recover_auth_metadata_during_authorize Resolved

History

#1 Updated by Kotresh Hiremath Ravishankar 4 months ago

  • Backport set to pacific,octopus,nautilus

#2 Updated by Kotresh Hiremath Ravishankar 4 months ago

The order might not be retained during recovering dirty auth_metadata file. So it should not be compared as strings.

#3 Updated by Kotresh Hiremath Ravishankar 4 months ago

  • Subject changed from qa: :ERROR: test_recover_auth_metadata_during_authorize to qa::ERROR: test_recover_auth_metadata_during_authorize

#4 Updated by Kotresh Hiremath Ravishankar 4 months ago

This applies to following tests as well.

1. test_recover_auth_metadata_during_deauthorize
2. test_subvolume_authorized_list

#5 Updated by Kotresh Hiremath Ravishankar 4 months ago

  • Pull request ID set to 39327

#6 Updated by Kotresh Hiremath Ravishankar 4 months ago

  • Status changed from New to Fix Under Review

#7 Updated by Ramana Raja 4 months ago

  • Status changed from Fix Under Review to Pending Backport

#8 Updated by Backport Bot 4 months ago

  • Copied to Backport #49265: pacific: qa::ERROR: test_recover_auth_metadata_during_authorize added

#9 Updated by Backport Bot 4 months ago

  • Copied to Backport #49266: octopus: qa::ERROR: test_recover_auth_metadata_during_authorize added

#10 Updated by Backport Bot 4 months ago

  • Copied to Backport #49267: nautilus: qa::ERROR: test_recover_auth_metadata_during_authorize added

#11 Updated by Nathan Cutler 3 months 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