Project

General

Profile

Bug #4591

test/test_stress_watch.cc:84: Failure

Added by Sage Weil about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
qa
Target version:
Start date:
03/29/2013
Due date:
% Done:

0%

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

Description

...
2013-03-29T20:27:49.517 INFO:teuthology.task.workunit.client.0.err:Iteration 5893
2013-03-29T20:27:49.626 INFO:teuthology.task.workunit.client.0.err:Iteration 5894
2013-03-29T20:27:59.681 INFO:teuthology.task.workunit.client.0.out:test/test_stress_watch.cc:84: Failure
2013-03-29T20:27:59.681 INFO:teuthology.task.workunit.client.0.out:Expected: (duration.sec()) < (5), actual: 10 vs 5
2013-03-29T20:27:59.682 INFO:teuthology.task.workunit.client.0.out:[  FAILED  ] WatchStress.Stress1 (687221 ms)
2013-03-29T20:27:59.682 INFO:teuthology.task.workunit.client.0.out:[----------] 1 test from WatchStress (687221 ms total)
2013-03-29T20:27:59.683 INFO:teuthology.task.workunit.client.0.out:
2013-03-29T20:27:59.683 INFO:teuthology.task.workunit.client.0.out:[----------] Global test environment tear-down
2013-03-29T20:27:59.683 INFO:teuthology.task.workunit.client.0.out:[==========] 1 test from 1 test case ran. (687221 ms total)
2013-03-29T20:27:59.683 INFO:teuthology.task.workunit.client.0.out:[  PASSED  ] 0 tests.
2013-03-29T20:27:59.683 INFO:teuthology.task.workunit.client.0.out:[  FAILED  ] 1 test, listed below:
2013-03-29T20:27:59.683 INFO:teuthology.task.workunit.client.0.out:[  FAILED  ] WatchStress.Stress1
...

on job
ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2013-03-29_20:00:05-rados-last-master-basic/5946$ cat orig.config.yaml 
kernel:
  kdb: true
  sha1: 6e2a4505dba0cae8faa701426185dfb7b49f537c
nuke-on-error: true
overrides:
  ceph:
    conf:
      global:
        ms inject socket failures: 1500
      osd:
        osd op thread timeout: 60
    fs: btrfs
    log-whitelist:
    - slow request
    sha1: cbae6a435c62899f857775f66659de052fb0e759
  s3tests:
    branch: last
  workunit:
    sha1: cbae6a435c62899f857775f66659de052fb0e759
roles:
- - mon.a
  - mon.c
  - osd.0
  - osd.1
  - osd.2
- - mon.b
  - mds.a
  - osd.3
  - osd.4
  - osd.5
  - client.0
tasks:
- chef: null
- clock: null
- install: null
- ceph: null
- ceph-fuse: null
- workunit:
    clients:
      client.0:
      - rados/stress_watch.sh

Associated revisions

Revision 4b656730 (diff)
Added by Josh Durgin about 6 years ago

test_stress_watch: remove bogus asserts

There's no reason to check the duration of a watch. The notify will
timeout after 30s on the OSD, but there's no guarantee the client will
see that in any bounded time. This test is really meant as a stress
test of the OSDs anyway, not of the clients, so just remove asserts
about operation duration.

Fixes: #4591
Signed-off-by: Josh Durgin <>
Reviewed-by: Sam Just <>

Revision 7bc8df1f (diff)
Added by Josh Durgin about 6 years ago

test_stress_watch: remove bogus asserts

There's no reason to check the duration of a watch. The notify will
timeout after 30s on the OSD, but there's no guarantee the client will
see that in any bounded time. This test is really meant as a stress
test of the OSDs anyway, not of the clients, so just remove asserts
about operation duration.

Fixes: #4591
Signed-off-by: Josh Durgin <>
Reviewed-by: Sam Just <>
(cherry picked from commit 4b656730ffff21132f358c2b9a63504dfbf0998d)

History

#1 Updated by Ian Colle about 6 years ago

  • Assignee set to Josh Durgin

#2 Updated by Ian Colle about 6 years ago

  • Target version set to v0.61 - Cuttlefish

#3 Updated by Sage Weil about 6 years ago

ubuntu@teuthology:/a/sage-2013-04-06_09:10:56-rados-wip-osd-throttle-testing-basic/9729

#4 Updated by Josh Durgin about 6 years ago

  • Category set to qa
  • Status changed from Verified to Resolved

False positive - these asserts didn't make sense. 4b656730ffff21132f358c2b9a63504dfbf0998d

Also available in: Atom PDF