Project

General

Profile

Actions

Bug #17918

closed

tests: osd-fast-mark-down.sh is racy

Added by Loïc Dachary over 7 years ago. Updated over 7 years ago.

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

0%

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

Description

https://jenkins.ceph.com/job/ceph-pull-requests/14133/console

/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/osd-fast-mark-down.sh:32: run:  echo 'OSDs died too early!'
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/osd-fast-mark-down.sh:32: run:  return 1

The

     kill -9 $killid
     sleep 1

may not be long enough on a slow machine and trigger the error.

Actions #1

Updated by Loïc Dachary over 7 years ago

https://github.com/ceph/ceph/pull/12014 disables the test until this is fixed to avoid transient errors when running make check (although it happens rarely). To verify the fix is good, it is recommended to run the test in a loop on a machine that has a high load. For instance running a ./run-make-check.sh at the same time is enough to recreate conditions similar to jenkins on a machine such as rex001.

Actions #3

Updated by Kefu Chai over 7 years ago

  • Status changed from 12 to Resolved
Actions

Also available in: Atom PDF