+ RID="$(cat rid)"
+ if [ "$RID" == 'null' ];then
+ echo "ERROR: RID is null"
+ continue
+ fi
+ sleep 120
+ echo "DEBUG: status2 $NAMEID ($RID)"
+ do_afm_util status $RID
+ if [ $? -ne 0 ];then
+ echo "ERROR: afm-util status2"
+ lava-test-case afm-util-status2-$WGTNAME --result fail
+ continue
+ else
+ lava-test-case afm-util-status2-$WGTNAME --result pass
+ fi
+ fi
+ if [ x"runtest" = x"$RUNIT" ] ; then
+ eval wgtfile="${WGTNAME}-test.wgt"
+ inspectwgt $wgtfile
+ afm-test -l $wgtfile
+ journalctl -b | grep ${WGTNAME}-test
+ ( journalctl -b | grep ${WGTNAME}-test | grep ERROR ) || true
+ fi
+