Project

General

Profile

Bug #42788

unittest_rgw_dmclock_scheduler Failed

Added by andy qi about 3 years ago. Updated over 1 year ago.

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

0%

Source:
Community (user)
Tags:
unitest,rgw_dmclock_scheduler
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Related to rgw-testing - Bug #40069: unittest_rgw_dmclock_scheduler Triaged 05/30/2019
Related to rgw-testing - Bug #46734: unittest_rgw_dmclock_scheduler: Queue.SyncRequest: ***Timeout 3600.01 sec: -1 Errors while parsing config file! Resolved
Copied to rgw - Backport #51771: pacific: unittest_rgw_dmclock_scheduler Failed Resolved

History

#1 Updated by Brad Hubbard about 3 years ago

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

#2 Updated by Casey Bodley about 3 years ago

  • Assignee set to Casey Bodley

#3 Updated by Sebastian Wagner over 2 years ago

  • Related to Bug #40069: unittest_rgw_dmclock_scheduler added

#4 Updated by Sebastian Wagner over 2 years ago

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

#5 Updated by Tomohiro Misono over 1 year 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?

#6 Updated by Kefu Chai over 1 year 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

#7 Updated by Casey Bodley over 1 year ago

  • Project changed from rgw-testing to rgw

#9 Updated by Casey Bodley over 1 year ago

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

#10 Updated by Kefu Chai over 1 year ago

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

#11 Updated by Backport Bot over 1 year ago

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

#12 Updated by Loïc Dachary over 1 year 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".

Also available in: Atom PDF