Project

General

Profile

Bug #37717

Teuthology error in tasks.mgr.dashboard.test_health.HealthTest

Added by Sebastian Wagner almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/backend
Target version:
-
% Done:

0%

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

Description

We're getting

FAIL: test_full_health (tasks.mgr.dashboard.test_health.HealthTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu2-testing-2018-12-19-1703/qa/tasks/mgr/dashboard/test_health.py", line 239, in test_full_health
    self.assertSchema(data, schema)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu2-testing-2018-12-19-1703/qa/tasks/mgr/dashboard/helper.py", line 337, in assertSchema
    self.assertEqual(data, str(e))
AssertionError: {...<<see out.json>>...} != "In `input['df']`: unknown keys: set([u'stats_by_class'])" 

 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 89, in run_tasks
    manager.__enter__()
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu2-testing-2018-12-19-1703/qa/tasks/cephfs_test_runner.py", line 207, in task
    raise RuntimeError("Test failure: {0}".format(", ".join(bad_tests)))
RuntimeError: Test failure: test_full_health (tasks.mgr.dashboard.test_health.HealthTest)

Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 32, in nested
    yield vars
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu2-testing-2018-12-19-1703/qa/tasks/rgw.py", line 313, in task
    yield
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 89, in run_tasks
    manager.__enter__()
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu2-testing-2018-12-19-1703/qa/tasks/cephfs_test_runner.py", line 207, in task
    raise RuntimeError("Test failure: {0}".format(", ".join(bad_tests)))
RuntimeError: Test failure: test_full_health (tasks.mgr.dashboard.test_health.HealthTest)

out.json - json output. (85.2 KB) Sebastian Wagner, 12/19/2018 07:40 PM


Related issues

Related to mgr - Bug #37708: mgr/dashboard/qa: tasks.mgr.dashboard.test_health.HealthTest.test_full_health is failing on my vstart environment Duplicate 12/19/2018

History

#1 Updated by Sebastian Wagner almost 2 years ago

  • Duplicates Bug #37708: mgr/dashboard/qa: tasks.mgr.dashboard.test_health.HealthTest.test_full_health is failing on my vstart environment added

#2 Updated by Sebastian Wagner almost 2 years ago

  • Duplicates deleted (Bug #37708: mgr/dashboard/qa: tasks.mgr.dashboard.test_health.HealthTest.test_full_health is failing on my vstart environment)

#3 Updated by Sebastian Wagner almost 2 years ago

  • Related to Bug #37708: mgr/dashboard/qa: tasks.mgr.dashboard.test_health.HealthTest.test_full_health is failing on my vstart environment added

#4 Updated by Alfonso Martínez almost 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Alfonso Martínez
  • Pull request ID set to 25653

It seems that the changes introduced in "df" payload
do not have any impact in dashboard,
so the test has been updated.

#5 Updated by Alfonso Martínez almost 2 years ago

As commented in daily,
do not return 'stats_by_class' to save bandwidth as they are
not needed (right now) in the dashboard.

#6 Updated by Alfonso Martínez almost 2 years ago

When checking the info shown by:
"bin/rados df"

total_used 3.2 GiB
total_avail 27 GiB

I found that - in order for Landing Page's "Raw Capacity" chart to show the same info -
now "total_used_raw_bytes" has to be used instead of "total_used_bytes".

#8 Updated by Kefu Chai almost 2 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF