Project

General

Profile

Bug #17918

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

Added by Loïc Dachary about 6 years ago. Updated about 6 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.

History

#1 Updated by Loïc Dachary about 6 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.

#3 Updated by Kefu Chai about 6 years ago

  • Status changed from 12 to Resolved

Also available in: Atom PDF