Project

General

Profile

Bug #16861

unittest_rgw_bencode failed during `make check`

Added by Yuri Weinstein almost 4 years ago. Updated almost 4 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:

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

History

#1 Updated by Yuri Weinstein almost 4 years ago

  • Project changed from Ceph to rgw

#2 Updated by Yuri Weinstein almost 4 years ago

  • Description updated (diff)

#3 Updated by Yehuda Sadeh almost 4 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)

#4 Updated by Abhishek Lekshmanan almost 4 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF