Project

General

Profile

Actions

Bug #6679

closed

throttle: transient unit test failure

Added by Sage Weil over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
common
Target version:
-
% Done:

100%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

test/common/Throttle.cc:191: Failure
Value of: throttle_max / 2
Actual: 5
Expected: throttle.get_current()
Which is: 15
[ FAILED ] ThrottleTest.wait (11 ms)


http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-tarball-precise-amd64-notcmalloc/log.cgi?log=9b4cb6d468c470019174c9d841ba31f7e36254d2

Related issues 1 (0 open1 closed)

Related to Ceph - Bug #6130: SharedPtrRegistry_all.wait_lookup_or_create fails inconsistentlyResolvedLoïc Dachary08/26/2013

Actions
Actions #1

Updated by Loïc Dachary over 10 years ago

  • Assignee set to Loïc Dachary
Actions #2

Updated by Loïc Dachary over 10 years ago

  • Status changed from New to 12

Reproduced with

$ while : ; do ./unittest_throttle --gtest_filter=ThrottleTest.wait > /tmp/1 2>&1 && echo -n . || break ; done

.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
tail -20 /tmp/1
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ThrottleTest
[ RUN      ] ThrottleTest.wait
Trying (3) with delay 1us
test/common/Throttle.cc:191: Failure
Value of: throttle_max / 2
  Actual: 5
Expected: throttle.get_current()
Which is: 15
[  FAILED  ] ThrottleTest.wait (0 ms)
[----------] 1 test from ThrottleTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ThrottleTest.wait

 1 FAILED TEST

Actions #3

Updated by Loïc Dachary over 10 years ago

  • % Done changed from 0 to 90
Actions #4

Updated by Loïc Dachary over 10 years ago

  • Status changed from 12 to Fix Under Review
Actions #5

Updated by Loïc Dachary over 10 years ago

  • Status changed from Fix Under Review to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF