Project

General

Profile

Bug #18529

ERROR: test_rados.TestRados.test_ping_monitor

Added by Samuel Just 6 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
Target version:
-
Start date:
01/13/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

This seems to be fairly reproducible.

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

History

#1 Updated by Samuel Just 6 months ago

  • Status changed from New to Testing
  • Assignee set to Samuel Just

#2 Updated by Kefu Chai 5 months 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

#3 Updated by Samuel Just 4 months ago

  • Status changed from Testing to Resolved

Also available in: Atom PDF