All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Florian Bezdeka <florian.bezdeka@siemens.com>,
	xenomai@xenomai.org,
	Quirin Gylstorff <quirin.gylstorff@siemens.com>
Subject: Re: [xenomai-images][PATCH 6/6] ci: Fail test job when an error occurred during lava job submission
Date: Wed, 13 Oct 2021 09:28:14 +0200	[thread overview]
Message-ID: <414d5235-e971-dbc6-1cb2-06c5f805d20a@siemens.com> (raw)
In-Reply-To: <20211013071824.9394-7-florian.bezdeka@siemens.com>

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.bezdeka@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?

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


  reply	other threads:[~2021-10-13  7:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13  7:18 [xenomai-images][PATCH 0/6] Update to Debian 11 Florian Bezdeka
2021-10-13  7:18 ` [xenomai-images][PATCH 1/6] ci: Introduce kas option file for CI builds Florian Bezdeka
2021-10-13  7:26   ` Jan Kiszka
2021-10-13  7:50     ` Florian Bezdeka
2021-10-13  8:07       ` Florian Bezdeka
2021-10-13  8:07       ` Florian Bezdeka
2021-10-13  8:08       ` Jan Kiszka
2021-10-13  8:19         ` Florian Bezdeka
2021-10-13  7:18 ` [xenomai-images][PATCH 2/6] kas: Integrate opt-debug.yml into opt-ci.yml Florian Bezdeka
2021-10-13  7:18 ` [xenomai-images][PATCH 3/6] demo-image: Fix sshd-regen-keys problems on arm / qemu Florian Bezdeka
2021-10-13  7:18 ` [xenomai-images][PATCH 4/6] linux-xenomai: arm: Enable CONFIG_ARM_MODULE_PLTS Florian Bezdeka
2021-10-13  7:18 ` [xenomai-images][PATCH 5/6] xenomai-demo: Switch to Debian bullseye Florian Bezdeka
2021-10-13  7:18 ` [xenomai-images][PATCH 6/6] ci: Fail test job when an error occurred during lava job submission Florian Bezdeka
2021-10-13  7:28   ` Jan Kiszka [this message]
2021-10-13  7:51     ` Florian Bezdeka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=414d5235-e971-dbc6-1cb2-06c5f805d20a@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=florian.bezdeka@siemens.com \
    --cc=quirin.gylstorff@siemens.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.