All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Q. Gylstorff" <Quirin.Gylstorff@siemens.com>, xenomai@xenomai.org
Subject: Re: [xenomai-images][PATCH v2 9/9] tests/README: Add Architecture
Date: Tue, 10 Sep 2019 18:54:50 +0200	[thread overview]
Message-ID: <c8ba5d9c-04d7-6cb8-4e67-1c132e196b61@siemens.com> (raw)
In-Reply-To: <20190910144459.13239-10-Quirin.Gylstorff@siemens.com>

On 10.09.19 16:44, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> Add the schematic architecture of the current tests setup.
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>   tests/README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 45 insertions(+)
> 
> diff --git a/tests/README.md b/tests/README.md
> index ffe7ba2..6ee8ada 100644
> --- a/tests/README.md
> +++ b/tests/README.md
> @@ -35,8 +35,53 @@ and check machine data from the target.
>   
>   The xenomai test suite executes the xeno-test tool from xenomai/testsuite.
>   
> +# Test Architecture
> +
> +To test xenomai-images on the target hardware the following architecture
> +is used:
> +```
> +                                                               +----------+
> +                                                               | Target 1 |
> +                                                            /--|  beagle  |
> ++-----------+        +---------+       +---------+    /-----   |  bone    |
> +|           |        | LAVA    |       | LAVA    | ---         +----------+
> +| gitlab-   | ------ | master  |------ | Dis-    | --
> +| runner    |        |         |       | patcher | \ \---      +----------+
> ++-----------+        +---------+       +---------+  \-   \---  | Target 2 |
> +                                                      \      \-| x86-64   |
> +                                                       \       |          |
> +                                                        \-     +----------+
> +                                                          \
> +                                                           \   +----------+
> +                                                            \- | Target n |
> +                                                              \| qemu     |
> +                                                               |          |
> +                                                               +----------+
> +```
> +A test is deployed in the following steps:
> +1. gitlab-runner: builds the artifacts
> +2. After the build is successful the build artifacts are deployed to the
> +   Lava master per scp.
> +3. The runner sends a lava job description to the LAVA master, who triggers the
> +job execution on LAVA Dispatcher.
> +
> +The LAVA master selects the LAVA Dispatcher to execute the given job on a
> +target. Qemu targets are executed directly on the LAVA Dispatcher. For non-virtual
> +targets the payload (kernel,rootfs,...) is deployed via tftp to the selected
> +hardware.
> +
> +The dispatcher executes the following steps:
> +1. Instrumentation of the rootfs. This will collect the necessary lavatools
> +and adds them to the rootfs
> +2. Power up the target
> +3. deploy the payload(kernel,rootfs,...) with help of the bootloader
> +4. trigger the payload boot
> +5. execute the tests
> +6. power off the target
> +
>   # LAVA Setup
>   
>   Setup a lava environment by following the
>   [installation guide](https://docs.lavasoftware.org/lava/first-installation.html)
>   or use [lava-docker](https://github.com/kernelci/lava-docker).
> +
> 

Thanks, all merged into next (except for this whitespace change here that caused 
git to warn).

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux


  reply	other threads:[~2019-09-10 16:54 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-05 15:44 [xenomai-images][PATCH 0/9] LAVA Setup Q. Gylstorff
2019-09-05 15:44 ` [xenomai-images][PATCH 1/9] ci: Add LAVA jobs for targets Q. Gylstorff
2019-09-10  9:56   ` Jan Kiszka
2019-09-10 10:17     ` Quirin Gylstorff
2019-09-05 15:44 ` [xenomai-images][PATCH 2/9] machine: Allow override of the image type Q. Gylstorff
2019-09-10 10:25   ` Jan Kiszka
2019-09-10 11:16     ` Quirin Gylstorff
2019-09-05 15:44 ` [xenomai-images][PATCH 3/9] linux-xenomai: NFS support in KERNEL configuration Q. Gylstorff
2019-09-05 15:44 ` [xenomai-images][PATCH 4/9] beagle-bone-black: Add Devicetree and fake-hwclock Q. Gylstorff
2019-09-10 10:27   ` Jan Kiszka
2019-09-10 11:18     ` Quirin Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 0/9] LAVA Setup Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 1/9] ci: Add LAVA jobs for targets Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 2/9] ci: Add needs key word Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 3/9] machine: Allow override of the image type Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 4/9] kas: Use next as target Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 5/9] ci: Add inline xenomai testsuite Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 6/9] README: correct build line Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 7/9] kernel: Update Q. Gylstorff
2019-09-10 16:52       ` Jan Kiszka
2019-09-11  9:28         ` Quirin Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 8/9] tests/README: Add deployment and Setup Q. Gylstorff
2019-09-10 14:44     ` [xenomai-images][PATCH v2 9/9] tests/README: Add Architecture Q. Gylstorff
2019-09-10 16:54       ` Jan Kiszka [this message]
2019-09-05 15:44 ` [xenomai-images][PATCH 5/9] kas: Use next as target Q. Gylstorff
2019-09-10 10:26   ` Jan Kiszka
2019-09-05 15:44 ` [xenomai-images][PATCH 6/9] ci: Add inline xenomai testsuite Q. Gylstorff
2019-09-05 15:44 ` [xenomai-images][PATCH 7/9] README: correct build line Q. Gylstorff
2019-09-05 15:44 ` [xenomai-images][PATCH 8/9] kernel: Update Q. Gylstorff
2019-09-05 15:44 ` [xenomai-images][PATCH 9/9] tests/README: Add deployment and Setup Q. Gylstorff
2019-09-06 10:29 ` [xenomai-images][PATCH 0/9] LAVA Setup Jan Kiszka
2019-09-06 13:49   ` [xenomai-images][PATCH 10/9] tests/README: Add Architecture Q. Gylstorff
2019-09-06 14:08   ` [xenomai-images][PATCH 0/9] LAVA Setup Quirin Gylstorff

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=c8ba5d9c-04d7-6cb8-4e67-1c132e196b61@siemens.com \
    --to=jan.kiszka@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.