Project

General

Profile

Actions

Bug #37704

closed

mgr/dashboard: Test failure: test_pool_list (tasks.mgr.dashboard.test_pool.PoolTest)

Added by Laura Paduano over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Testing & QA
Target version:
-
% Done:

0%

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

Description

Ran the QA tests on https://github.com/ceph/ceph/pull/25300 but all jobs failed (twice) with the following error (and it seems unrelated to the actual PR I've tested):

2018-12-18T12:21:45.565 INFO:tasks.cephfs_test_runner:FAILED (failures=1)
2018-12-18T12:21:45.565 INFO:tasks.cephfs_test_runner:
2018-12-18T12:21:45.566 INFO:tasks.cephfs_test_runner:======================================================================
2018-12-18T12:21:45.566 INFO:tasks.cephfs_test_runner:FAIL: test_pool_list (tasks.mgr.dashboard.test_pool.PoolTest)
2018-12-18T12:21:45.566 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2018-12-18T12:21:45.566 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2018-12-18T12:21:45.566 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-lpaduano-testing-25300/qa/tasks/mgr/dashboard/test_pool.py", line 130, in test_pool_list
2018-12-18T12:21:45.566 INFO:tasks.cephfs_test_runner: self.assertNotIn('stats', pool)
2018-12-18T12:21:45.566 INFO:tasks.cephfs_test_runner:AssertionError: 'stats' unexpectedly found in {u'cache_target_full_ratio_micro': 800000, u'fast_read': False, u'stripe_width': 0, u'flags_names': u'hashpspool', u'tier_of': -1, u'hit_set_grade_decay_rate': 0, u'pg_placement_num': 64, u'use_gmt_hitset': True, u'last_force_op_resend_preluminous': u'0', u'create_time': u'2018-12-18 12:04:09.249088', u'quota_max_bytes': 0, u'erasure_code_profile': u'', u'snap_epoch': 0, u'expected_num_objects': 0, u'size': 2, u'snap_seq': 0, u'auid': 0, u'cache_min_flush_age': 0, u'stats': {u'max_avail': {u'series': [[1545135702.886901, 181452668928]], u'rate': 0, u'latest': 181452668928}, u'quota_objects': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'stored': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'bytes_used': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'compress_bytes_used': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'rd': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'percent_used': {u'series': [[1545135702.886901, 0.0]], u'rate': 0, u'latest': 0.0}, u'rd_bytes': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'objects': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'wr': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'kb_used': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'dirty': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'stored_raw': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'wr_bytes': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'quota_bytes': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}, u'compress_under_bytes': {u'series': [[1545135702.886901, 0]], u'rate': 0, u'latest': 0}}, u'pool_name': u'default.rgw.buckets.data', u'hit_set_period': 0, u'target_max_objects': 0, u'pg_placement_num_target': 64, u'pg_num': 64, u'removed_snaps': u'[]', u'type': u'replicated', u'grade_table': [], u'min_read_recency_for_promote': 0, u'cache_min_evict_age': 0, u'pg_num_pending': 64, u'pg_num_target': 64, u'cache_mode': u'none', u'min_size': 1, u'cache_target_dirty_high_ratio_micro': 600000, u'object_hash': 2, u'application_metadata': [u'rgw'], u'write_tier': -1, u'cache_target_dirty_ratio_micro': 400000, u'pool': 4, u'pg_num_dec_last_epoch_started': 0, u'crush_rule': u'replicated_rule', u'tiers': [], u'hit_set_params': {u'type': u'none'}, u'pg_status': {u'active+clean': 64}, u'min_write_recency_for_promote': 0, u'quota_max_objects': 0, u'last_force_op_resend_prenautilus': u'0', u'options': {}, u'last_force_op_resend': u'0', u'snap_mode': u'selfmanaged', u'hit_set_count': 0, u'flags': 1, u'target_max_bytes': 0, u'pg_num_dec_last_epoch_clean': 0, u'hit_set_search_last_n': 0, u'last_change': u'19', u'pool_snaps': [], u'read_tier': -1}
2018-12-18T12:21:45.567 INFO:tasks.cephfs_test_runner:
2018-12-18T12:21:45.567 ERROR:teuthology.run_tasks:Saw exception from tasks.

I did not have the time to further investigate on this error (except that I could not reproduce it locally), but I wanted to keep track of the error.

See:
http://pulpito.ceph.com/laura-2018-12-18_11:46:42-rados:mgr-wip-lpaduano-testing-25300-distro-basic-smithi/
http://pulpito.ceph.com/laura-2018-12-18_13:00:44-rados:mgr-wip-lpaduano-testing-25300-distro-basic-smithi/

Actions #3

Updated by Lenz Grimmer over 5 years ago

  • Assignee set to Alfonso Martínez
  • Regression changed from No to Yes
Actions #4

Updated by Alfonso Martínez over 5 years ago

  • Status changed from New to Fix Under Review

PR:

https://github.com/ceph/ceph/pull/25618

Updated API pool tests
as stats are enabled by default when retrieving the pool list
since:
https://github.com/ceph/ceph/pull/25489

Actions #5

Updated by Tatjana Dehler over 5 years ago

  • Pull request ID set to 25618
Actions #6

Updated by Sage Weil over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #7

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 151 to Testing & QA
Actions

Also available in: Atom PDF