Project

General

Profile

Bug #15181

cls_rgw.gc_defer fails on master

Added by Sage Weil over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Target version:
-
Start date:
03/18/2016
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

[ RUN      ] cls_rgw.gc_defer
test/cls_rgw/test_cls_rgw.cc:515: Failure
Value of: (int)entries.size()
  Actual: 1
Expected: 0
[  FAILED  ] cls_rgw.gc_defer (2517 ms)


from vstart cluster on master running ./ceph_test_cls_rgw

Associated revisions

Revision fab2144c (diff)
Added by Yehuda Sadeh over 3 years ago

cls/rgw: fix use of timespan

Need to use make_timespan() when referring to seconds.

Fixes: #15181

Signed-off-by: Yehuda Sadeh <>

History

#1 Updated by Abhishek Lekshmanan about 3 years ago

Running current master for me seems to pass:

Running main() from gmock_main.cc
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from cls_rgw
[ RUN      ] cls_rgw.init
[       OK ] cls_rgw.init (480 ms)
[ RUN      ] cls_rgw.index_basic
[       OK ] cls_rgw.index_basic (4916 ms)
[ RUN      ] cls_rgw.index_multiple_obj_writers
[       OK ] cls_rgw.index_multiple_obj_writers (927 ms)
[ RUN      ] cls_rgw.index_remove_object
[       OK ] cls_rgw.index_remove_object (1913 ms)
[ RUN      ] cls_rgw.index_suggest
[       OK ] cls_rgw.index_suggest (21022 ms)
[ RUN      ] cls_rgw.gc_set
[       OK ] cls_rgw.gc_set (492 ms)
[ RUN      ] cls_rgw.gc_defer
[       OK ] cls_rgw.gc_defer (11567 ms)
[ RUN      ] cls_rgw.finalize
[       OK ] cls_rgw.finalize (1194 ms)
[----------] 8 tests from cls_rgw (42511 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (42511 ms total)
[  PASSED  ] 8 tests.

Any specific vstart options to pass etc.?

#2 Updated by Yehuda Sadeh about 3 years ago

  • Status changed from New to Resolved

It was broken for a while, but fixed by commit:fab2144c955562bcf8d7e9c57d8db04fbbe4a7bf

Also available in: Atom PDF