Project

General

Profile

Actions

Bug #53325

closed
AE PS

Test failures in ceph_test_cls_rgw_gc

Bug #53325: Test failures in ceph_test_cls_rgw_gc

Added by Adam Emerson about 5 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Due date:
% Done:

100%

Source:
Development
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-9568-g0ec5b8b2dd
Released In:
v17.2.0~324
Upkeep Timestamp:
2025-07-14T15:51:14+00:00

Description

It looks like this test was left out of teuthology by mistake and something broke somewhere along the line:

On a vstart cluster of one mmonitor and one OSD:

./bin/ceph_test_cls_rgw_gc
Running main() from gmock_main.cc
[==========] Running 11 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 11 tests from cls_rgw_gc
[ RUN      ] cls_rgw_gc.init
[       OK ] cls_rgw_gc.init (1097 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops1
[          ] list info tag = chain-0
[       OK ] cls_rgw_gc.gc_queue_ops1 (85 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops2
[          ] next_marker is: = 0/4263
[       OK ] cls_rgw_gc.gc_queue_ops2 (40 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops3
/home/azure/work/ceph/repo/src/test/cls_rgw_gc/test_cls_rgw_gc.cc:264: Failure
Expected equality of these values:
  2
  list_info1.size()
    Which is: 1
[  FAILED  ] cls_rgw_gc.gc_queue_ops3 (58 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops4
/home/azure/work/ceph/repo/src/test/cls_rgw_gc/test_cls_rgw_gc.cc:343: Failure
Expected equality of these values:
  2
  list_info1.size()
    Which is: 1
[  FAILED  ] cls_rgw_gc.gc_queue_ops4 (58 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops5
[       OK ] cls_rgw_gc.gc_queue_ops5 (61 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops6
[       OK ] cls_rgw_gc.gc_queue_ops6 (54 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops7
[       OK ] cls_rgw_gc.gc_queue_ops7 (50 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops8
[       OK ] cls_rgw_gc.gc_queue_ops8 (57 ms)
[ RUN      ] cls_rgw_gc.gc_queue_ops9
[       OK ] cls_rgw_gc.gc_queue_ops9 (60 ms)
[ RUN      ] cls_rgw_gc.finalize
[       OK ] cls_rgw_gc.finalize (514 ms)
[----------] 11 tests from cls_rgw_gc (2134 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 1 test suite ran. (2134 ms total)
[  PASSED  ] 9 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] cls_rgw_gc.gc_queue_ops3
[  FAILED  ] cls_rgw_gc.gc_queue_ops4

 2 FAILED TESTS

This also reproduces on Pacific and Octopus.


Related issues 2 (0 open — 2 closed)

Copied to rgw - Backport #53637: pacific: Test failures in ceph_test_cls_rgw_gcResolvedCory Snyder

Actions
Copied to rgw - Backport #53638: octopus: Test failures in ceph_test_cls_rgw_gcRejected

Actions

PS Updated by Pritha Srivastava about 5 years ago Actions #1

The test fails because of code that was commented out from defer gc (related to a data loss bug last year). This test case should ideally be commented out as well, till we have defer gc fixed and enabled.

CB Updated by Casey Bodley almost 5 years ago Actions #2

  • Status changed from New to Fix Under Review
  • Pull request ID set to 44262

CB Updated by Casey Bodley almost 5 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot almost 5 years ago Actions #4

  • Copied to Backport #53637: pacific: Test failures in ceph_test_cls_rgw_gc added

UB Updated by Upkeep Bot almost 5 years ago Actions #5

  • Copied to Backport #53638: octopus: Test failures in ceph_test_cls_rgw_gc added

KS Updated by Konstantin Shalygin about 4 years ago Actions #7

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Merge Commit set to 0ec5b8b2ddeecd5f357833c78ba6fa2b17b5a1d3
  • Fixed In set to v17.0.0-9568-g0ec5b8b2dd
  • Released In set to v17.2.0~324
  • Upkeep Timestamp set to 2025-07-14T15:51:14+00:00
Actions

Also available in: PDF Atom