Always ignore lava.read-feedback 43/24343/1
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 10 Apr 2020 15:20:57 +0000 (17:20 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 10 Apr 2020 15:20:57 +0000 (17:20 +0200)
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

jjb/common/include-agl-lava-jobs-submit.sh

index ebc5c1a..a94b25b 100644 (file)
@@ -122,6 +122,12 @@ handle_result() {
        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
@@ -136,7 +142,7 @@ handle_result() {
 
 # 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