On 13.10.21 09:28, Jan Kiszka wrote: > On 13.10.21 09:18, Florian Bezdeka via Xenomai wrote: >> It can happen that the LAVA job submission fails. If so, the CI job >> should be marked as failed. Previously we had something like the >> following in the log, but the job was still marked as "OK". >> >> Log: >> connect to lava server: https://lava.xenomai.org >> Deploy artifacts from >> 'https://xenomai-images-artifacts.s3.amazonaws.com/artifacts' >> submit lava job >> <ProtocolError for https://[snip]/RPC2: 500 >> HTTPSConnectionPool(host='lava.xenomai.org', port=443): Read timed out. >> (read timeout=20.0)> >> <ProtocolError for https://[snip]/RPC2: 500 >> HTTPSConnectionPool(host='lava.xenomai.org', port=443): Read timed out. >> (read timeout=20.0)> >> scripts/run-lava-tests.sh: 56: [: Illegal number: >> >> Signed-off-by: Florian Bezdeka <florian.bezd...@siemens.com> >> --- >> scripts/run-lava-tests.sh | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/scripts/run-lava-tests.sh b/scripts/run-lava-tests.sh >> index dde542c..de63b28 100755 >> --- a/scripts/run-lava-tests.sh >> +++ b/scripts/run-lava-tests.sh >> @@ -9,6 +9,7 @@ >> # >> # SPDX-License-Identifier: MIT >> # >> +set -e >> TARGET=$1 >> if [ -z "${TARGET}" ]; then >> echo "no target was given" >> > > Is this resolving what we saw with lava.xenomai.org being down?
Yes. See cover letter ;-) > > Jan > -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux