lava.read-feedback is currently returned by default on qemu jobs.
This is a known issue upstream and fixed in a later version.
Thus ignore a single fail of 'lava.read-feedback'.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I2e6c3c779c87ec539d631b129a452998a0ec70f3
do
# Check if fail are "normal/accepted"
TESTNAME=$(echo "$testline" | cut -d' ' -f2)
+
+ # always skip lava.read-feedback (alone)
+ if [ x"lava.read-feedback" = x"$TESTNAME" ] ; then
+ continue
+ fi
+
if [ -z "$(grep $TESTNAME $SKIPLIST)" ];then
echo "DEBUG: $TESTNAME not in skiplist"
GOODJOB=0
# Analyze jobs results
lavacli -i $lab results $job_id | tee job-result
-
+set -x
# GOODJOB is equal to 0 if any test fail (and not present in a skiplist), 1 if all test are success
GOODJOB=1
grep '\[fail\]$' job-result > job-result.fail || true