Project

General

Profile

Actions

Bug #16861

closed

unittest_rgw_bencode failed during `make check`

Added by Yuri Weinstein over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

yuriw@smithi050:~/ceph/src/test$ /home/yuriw/ceph/build/bin/unittest_rgw_bencode
Running main() from gmock_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from Bencode
[ RUN      ] Bencode.String
[       OK ] Bencode.String (0 ms)
[ RUN      ] Bencode.Integers
/home/yuriw/ceph/src/test/rgw/test_rgw_bencode.cc:28: Failure
      Expected: "i0ei-3ei7e" 
To be equal to: bl.c_str()
      Which is: "i0ei-3ei7e3:baz" 
[  FAILED  ] Bencode.Integers (1 ms)
[ RUN      ] Bencode.Dict
[       OK ] Bencode.Dict (0 ms)
[ RUN      ] Bencode.List
[       OK ] Bencode.List (0 ms)
[----------] 4 tests from Bencode (1 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (1 ms total)
[  PASSED  ] 3 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] Bencode.Integers
Actions #1

Updated by Yuri Weinstein over 7 years ago

  • Project changed from Ceph to rgw
Actions #2

Updated by Yuri Weinstein over 7 years ago

  • Description updated (diff)
Actions #3

Updated by Yehuda Sadeh over 7 years ago

Here's a proposed fix:

https://github.com/ceph/ceph/pull/10510

(didn't even test compile, so need to do that before merging)

Actions #4

Updated by Abhishek Lekshmanan over 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF