Project

General

Profile

Actions

Bug #6426

closed

test_ceph_argparse broken

Added by Loïc Dachary over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph cli
Target version:
-
% Done:

100%

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

Description

PASS: test/encoding/check-generated.sh
.........................................................F......................................................................
======================================================================
FAIL: test_ceph_argparse.TestOSD.test_blackist
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/loic/software/ceph/ceph/src/test/pybind/test_ceph_argparse.py", line 837, in test_blackist
    '1.2.3.4/nonce'])
  File "/home/loic/software/ceph/ceph/src/test/pybind/test_ceph_argparse.py", line 46, in assert_valid_command
    assert_not_in(result, [None, {}])
AssertionError: {} unexpectedly found in [None, {}]
-------------------- >> begin captured logging << --------------------
root: ERROR: Invalid command: 1.2.3.4/nonce: invalid entity, nonce nonce not integer > 0
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 128 tests in 19.425s

Proposed fix : https://github.com/ceph/ceph/pull/650

Related issues 1 (0 open1 closed)

Related to Ceph - Bug #6425: ceph cli: EntityAddr validation presumes presence of nonce; not requiredResolvedDan Mick09/26/2013

Actions
Actions #1

Updated by Loïc Dachary over 10 years ago

next is ok because it does not contain test_ceph_argparse.py

Actions #2

Updated by Loïc Dachary over 10 years ago

  • Status changed from Fix Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF