Project

General

Profile

Actions

Bug #18529

closed

ERROR: test_rados.TestRados.test_ping_monitor

Added by Samuel Just over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
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

This seems to be fairly reproducible.

samuelj@teuthology:/a/samuelj-2017-01-13_06:30:16-rados-wip-sam-testing---basic-smithi/714118

Actions #1

Updated by Samuel Just over 7 years ago

  • Status changed from New to 7
  • Assignee set to Samuel Just
Actions #2

Updated by Kefu Chai over 7 years ago

2017-01-13T07:58:01.067 INFO:tasks.workunit.client.0.smithi126.stderr:======================================================================
2017-01-13T07:58:01.070 INFO:tasks.workunit.client.0.smithi126.stderr:ERROR: test_rados.TestRados.test_ping_monitor
2017-01-13T07:58:01.074 INFO:tasks.workunit.client.0.smithi126.stderr:----------------------------------------------------------------------
2017-01-13T07:58:01.077 INFO:tasks.workunit.client.0.smithi126.stderr:Traceback (most recent call last):
2017-01-13T07:58:01.081 INFO:tasks.workunit.client.0.smithi126.stderr:  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
2017-01-13T07:58:01.084 INFO:tasks.workunit.client.0.smithi126.stderr:    self.test(*self.arg)
2017-01-13T07:58:01.087 INFO:tasks.workunit.client.0.smithi126.stderr:  File "/home/ubuntu/cephtest/clone.client.0/src/test/pybind/test_rados.py", line 147, in test_ping_monitor
2017-01-13T07:58:01.101 INFO:tasks.workunit.client.0.smithi126.stderr:    buf = json.loads(self.rados.ping_monitor(mon['name']))
2017-01-13T07:58:01.105 INFO:tasks.workunit.client.0.smithi126.stderr:  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
2017-01-13T07:58:01.108 INFO:tasks.workunit.client.0.smithi126.stderr:    return _default_decoder.decode(s)
2017-01-13T07:58:01.112 INFO:tasks.workunit.client.0.smithi126.stderr:  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
2017-01-13T07:58:01.123 INFO:tasks.workunit.client.0.smithi126.stderr:    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2017-01-13T07:58:01.161 INFO:tasks.workunit.client.0.smithi126.stderr:TypeError: expected string or buffer
2017-01-13T07:58:01.165 INFO:tasks.workunit.client.0.smithi126.stderr:
2017-01-13T07:58:01.168 INFO:tasks.workunit.client.0.smithi126.stderr:----------------------------------------------------------------------

if self.rados.ping_monitor() times out, an exception would have been raised. but in this case, seems the pinged monitor returned an empty string, hence None is returned. and it cannot be decoded by json.

rerun at http://pulpito.ceph.com/kchai-2017-01-16_11:59:31-rados-master---basic-mira

Actions #3

Updated by Samuel Just about 7 years ago

  • Status changed from 7 to Resolved
Actions #4

Updated by huang jun almost 7 years ago

PR:https://github.com/ceph/ceph/pull/12934

Actions

Also available in: Atom PDF