Project

General

Profile

Actions

Bug #1989

closed

teuthology: error in ceph.log didn't make teutholgy return error code

Added by Sage Weil over 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
teuthology
Target version:
-
% Done:

0%

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

Description

in a bash while loop, I saw

INFO:teuthology.task.ceph:Checking cluster ceph.log for badness...
WARNING:teuthology.task.ceph:Found errors (ERR|WRN|SEC) in cluster log
INFO:teuthology.task.ceph:Cleaning ceph cluster...
INFO:teuthology.task.ceph:Removing ceph binaries...
INFO:teuthology.task.ceph:Removing shipped files: daemon-helper enable-coredump...
INFO:teuthology.orchestra.run.out:kernel.core_pattern = core
INFO:teuthology.orchestra.run.out:kernel.core_pattern = core
INFO:teuthology.orchestra.run.out:kernel.core_pattern = core
INFO:teuthology.orchestra.run.out:kernel.core_pattern = core
INFO:teuthology.orchestra.run.out:kernel.core_pattern = core
INFO:teuthology.orchestra.run.out:kernel.core_pattern = core
INFO:teuthology.orchestra.run.out:kernel.core_pattern = core
INFO:teuthology.task.internal:Removing archive directory...
INFO:teuthology.task.internal:Tidying up after the test...
INFO:teuthology.run:Duration was 1216.594967 seconds
+ date

and the calling script blithely continued. that was
while bin/teuthology $job $2 $3 $4
do
    date
    N=$(($N+1))
    echo "$job: $N passes" 
    title
done
echo "$job: $N passes, then failure." 

Actions

Also available in: Atom PDF