Project

General

Profile

Bug #43912

FAIL: test_safe_to_destroy (tasks.mgr.dashboard.test_osd.OsdTest)

Added by Sage Weil about 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Category:
General - Back-end
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2020-01-29T22:28:24.867 INFO:tasks.ceph.mgr.x.smithi189.stderr:2020-01-29T22:28:24.864+0000 7f69f9aae700 -1 mgr.server reply reply (11) Resource temporarily unavailable 1 pgs have unknown state; cannot draw any conclusions
2020-01-29T22:28:24.869 INFO:tasks.cephfs_test_runner:test_safe_to_destroy (tasks.mgr.dashboard.test_osd.OsdTest) ... FAIL
2020-01-29T22:28:24.869 INFO:tasks.mgr.dashboard.helper:Request POST to https://smithi189:7789/api/osd/0/mark_in
2020-01-29T22:28:24.972 INFO:tasks.cephfs_test_runner:
2020-01-29T22:28:24.972 INFO:tasks.cephfs_test_runner:======================================================================
2020-01-29T22:28:24.972 INFO:tasks.cephfs_test_runner:FAIL: test_safe_to_destroy (tasks.mgr.dashboard.test_osd.OsdTest)
2020-01-29T22:28:24.972 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/mgr/dashboard/test_osd.py", line 113, in test_safe_to_destroy
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:    'stored_pgs': [],
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/mgr/dashboard/helper.py", line 343, in assertJsonBody
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:    self.assertEqual(body, data)
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:AssertionError: {u'is_safe_to_destroy': False, u'message': u'[errno -11] 1 pgs have unknown stat [truncated]... != {'active': [], 'is_safe_to_destroy': True, 'stored_pgs': [], 'safe_to_destroy':  [truncated]...
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:+ {'active': [],
2020-01-29T22:28:24.973 INFO:tasks.cephfs_test_runner:- {u'is_safe_to_destroy': False,
2020-01-29T22:28:24.974 INFO:tasks.cephfs_test_runner:? ^^                      ^^^^
2020-01-29T22:28:24.974 INFO:tasks.cephfs_test_runner:
2020-01-29T22:28:24.974 INFO:tasks.cephfs_test_runner:+  'is_safe_to_destroy': True,
2020-01-29T22:28:24.974 INFO:tasks.cephfs_test_runner:? ^                      ^^^
2020-01-29T22:28:24.974 INFO:tasks.cephfs_test_runner:
2020-01-29T22:28:24.975 INFO:tasks.cephfs_test_runner:-  u'message': u'[errno -11] 1 pgs have unknown state; cannot draw any conclusions'}
2020-01-29T22:28:24.975 INFO:tasks.cephfs_test_runner:+  'missing_stats': [],
2020-01-29T22:28:24.975 INFO:tasks.cephfs_test_runner:+  'safe_to_destroy': [13],
2020-01-29T22:28:24.975 INFO:tasks.cephfs_test_runner:+  'stored_pgs': []}
2020-01-29T22:28:24.975 INFO:tasks.cephfs_test_runner:
2020-01-29T22:28:24.976 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------

/a/sage-2020-01-29_20:14:58-rados-wip-sage-testing-2020-01-29-1034-distro-basic-smithi/4717950
/a/sage-2020-01-29_20:14:58-rados-wip-sage-testing-2020-01-29-1034-distro-basic-smithi/4718032

this looks like a flaky test? or very flaky--there were 2 failues in one run.

it needs to retry a few times if it sees 'unknown' in the reason, and/or wait until pg state is not 'unknown' before doing the test


Related issues

Duplicated by Dashboard - Bug #43938: mgr/dashboard: Test failure in test_safe_to_destroy in tasks.mgr.dashboard.test_osd.OsdTest Duplicate

History

#1 Updated by Sage Weil about 4 years ago

  • Description updated (diff)

#2 Updated by Tatjana Dehler about 4 years ago

  • Assignee set to Tatjana Dehler

#3 Updated by Tatjana Dehler about 4 years ago

  • Pull request ID set to 33013

#4 Updated by Stephan Müller about 4 years ago

  • Duplicated by Bug #43938: mgr/dashboard: Test failure in test_safe_to_destroy in tasks.mgr.dashboard.test_osd.OsdTest added

#5 Updated by Neha Ojha about 4 years ago

  • Category set to 146
  • Status changed from New to In Progress

#6 Updated by Lenz Grimmer about 4 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v15.0.0

#7 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end

Also available in: Atom PDF