Project

General

Profile

Actions

Bug #42788

closed

unittest_rgw_dmclock_scheduler Failed

Added by andy qi over 6 years ago. Updated 8 months ago.

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

0%

Source:
Community (user)
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-6219-gb4920f071e
Released In:
v17.2.0~1407
Upkeep Timestamp:
2025-07-15T02:48:23+00:00

Description

on aarch64 centos 7,unittest_rgw_dmclock_scheduler test failed

detail message:

171 - unittest_rgw_dmclock_scheduler (Failed)

[root@ceph2 build]# bin/unittest_rgw_dmclock_scheduler
[==========] Running 8 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 8 tests from Queue
[ RUN ] Queue.SyncRequest
[ OK ] Queue.SyncRequest (0 ms)
[ RUN ] Queue.RateLimit
[ OK ] Queue.RateLimit (1 ms)
[ RUN ] Queue.AsyncRequest
[ OK ] Queue.AsyncRequest (0 ms)
[ RUN ] Queue.Cancel
[ OK ] Queue.Cancel (0 ms)
[ RUN ] Queue.CancelClient
[ OK ] Queue.CancelClient (0 ms)
[ RUN ] Queue.CancelOnDestructor
[ OK ] Queue.CancelOnDestructor (0 ms)
[ RUN ] Queue.CrossExecutorRequest
[ OK ] Queue.CrossExecutorRequest (0 ms)
[ RUN ] Queue.SpawnAsyncRequest

/root/projects/src_ceph/ceph-master/src/test/rgw/test_rgw_dmclock_scheduler.cc:436: Failure
Value of: context.stopped()
Actual: false
Expected: true
[ FAILED ] Queue.SpawnAsyncRequest (1 ms)
[----------] 8 tests from Queue (2 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test suite ran. (2 ms total)
[ PASSED ] 7 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] Queue.SpawnAsyncRequest

1 FAILED TEST

Related issues 3 (1 open2 closed)

Related to rgw-testing - Bug #40069: unittest_rgw_dmclock_schedulerTriagedCasey Bodley05/30/2019

Actions
Related to rgw-testing - Bug #46734: unittest_rgw_dmclock_scheduler: Queue.SyncRequest: ***Timeout 3600.01 sec: -1 Errors while parsing config file!ResolvedCasey Bodley

Actions
Copied to rgw - Backport #51771: pacific: unittest_rgw_dmclock_scheduler FailedResolvedCory SnyderActions
Actions #1

Updated by Brad Hubbard over 6 years ago

  • Project changed from Ceph to rgw-testing
  • Category deleted (common)
Actions #2

Updated by Casey Bodley over 6 years ago

  • Assignee set to Casey Bodley
Actions #3

Updated by Sebastian Wagner over 5 years ago

  • Related to Bug #40069: unittest_rgw_dmclock_scheduler added
Actions #4

Updated by Sebastian Wagner over 5 years ago

  • Related to Bug #46734: unittest_rgw_dmclock_scheduler: Queue.SyncRequest: ***Timeout 3600.01 sec: -1 Errors while parsing config file! added
Actions #5

Updated by Tomohiro Misono almost 5 years ago

Hi,

I got the same error in my development machine.

AFAIU, io_context::poll() does not guarantee that context is stopped:
https://github.com/ceph/ceph/blob/master/src/test/rgw/test_rgw_dmclock_scheduler.cc#L424
Changing poll() to run() solves the problem in my environment. Is it the correct way to fix the problem?

Actions #6

Updated by Kefu Chai over 4 years ago

Tomohiro, i think that should be right fix. probably some requests posted to the io_context is not ready yet when poll() gets called.

Casey, sorry for hijacking this issue from you. it's happening more often recently.

i created https://github.com/ceph/ceph/pull/42237

Actions #7

Updated by Casey Bodley over 4 years ago

  • Project changed from rgw-testing to rgw
Actions #9

Updated by Casey Bodley over 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42425
Actions #10

Updated by Kefu Chai over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to pacific
Actions #11

Updated by Upkeep Bot over 4 years ago

  • Copied to Backport #51771: pacific: unittest_rgw_dmclock_scheduler Failed added
Actions #12

Updated by Loïc Dachary over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions #13

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to b4920f071ecdc1d546915d227f893ca7d9ab1bd7
  • Fixed In set to v17.0.0-6219-gb4920f071e
  • Released In set to v17.2.0~1407
  • Upkeep Timestamp set to 2025-07-15T02:48:23+00:00
Actions

Also available in: Atom PDF