Project

General

Profile

Actions

Bug #39644

closed

mgr/zabbix: ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest)

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

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
zabbix module
Target version:
-
% Done:

0%

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

Description

======================================================================
ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-swagner-testing/qa/tasks/mgr/test_module_selftest.py", line 41, in test_zabbix
    self._selftest_plugin("zabbix")
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-swagner-testing/qa/tasks/mgr/test_module_selftest.py", line 34, in _selftest_plugin
    "mgr", "self-test", "module", module_name)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-swagner-testing/qa/tasks/ceph_manager.py", line 1157, in raw_cluster_cmd
    stdout=StringIO(),
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 205, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 435, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi023 with status 1: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph mgr self-test module zabbix'
2019-05-08 20:53:12.238 7fdcc2030700 -1 Remote method threw exception: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/zabbix/module.py", line 458, in self_test
    data = self.get_data()
  File "/usr/share/ceph/mgr/zabbix/module.py", line 209, in get_data
    data['[{0},raw_bytes_used]'.format(pool['name'])] = pool['stats']['raw_bytes_used']
KeyError: ('raw_bytes_used',)

2019-05-08 20:53:12.238 7fdcc2030700 -1 mgr.server reply reply (1) Operation not permitted Test failed: Remote method threw exception: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/zabbix/module.py", line 458, in self_test
    data = self.get_data()
  File "/usr/share/ceph/mgr/zabbix/module.py", line 209, in get_data
    data['[{0},raw_bytes_used]'.format(pool['name'])] = pool['stats']['raw_bytes_used']
KeyError: ('raw_bytes_used',)

http://qa-proxy.ceph.com/teuthology/swagner-2019-05-08_15:36:11-rados:mgr-wip-swagner-testing-distro-basic-smithi/3941021/teuthology.log

Introduced in https://github.com/ceph/ceph/pull/26152

Greg, I've assigned it to you, as Dmitriy Rabotjagov is not part of the mgr project


Related issues 2 (0 open2 closed)

Has duplicate Dashboard - Bug #39990: mgr/dashboard: test failure when running the backend-api-tests-script locally: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest)ResolvedSebastian Wagner

Actions
Copied to mgr - Backport #41811: nautilus: mgr/zabbix: ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest)RejectedActions
Actions

Also available in: Atom PDF