[PATCH 0/3] automation: improve pipeline

Stefano Stabellini posted 3 patches 3 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/alpine.DEB.2.22.394.2408091700560.298534@ubuntu-linux-20-04-desktop
automation/build/debian/12-ppc64le.dockerfile      |  1 +
automation/build/debian/12-riscv64.dockerfile      |  1 +
.../build/debian/bookworm-arm64v8.dockerfile       |  1 +
automation/build/debian/bookworm.dockerfile        |  1 +
automation/gitlab-ci/build.yaml                    |  3 ++
automation/scripts/qemu-alpine-x86_64.sh           | 15 ++++----
automation/scripts/qemu-key.ex                     | 42 ++++++++++++++++++++++
automation/scripts/qemu-smoke-dom0-arm32.sh        | 15 ++++----
automation/scripts/qemu-smoke-dom0-arm64.sh        | 15 ++++----
automation/scripts/qemu-smoke-dom0less-arm32.sh    | 14 ++++----
automation/scripts/qemu-smoke-dom0less-arm64.sh    | 14 ++++----
automation/scripts/qemu-smoke-ppc64le.sh           | 12 +++----
automation/scripts/qemu-smoke-riscv64.sh           | 12 +++----
automation/scripts/qemu-smoke-x86-64.sh            | 14 ++++----
automation/scripts/qemu-xtf-dom0less-arm64.sh      | 14 ++++----
15 files changed, 104 insertions(+), 70 deletions(-)
create mode 100755 automation/scripts/qemu-key.ex
[PATCH 0/3] automation: improve pipeline
Posted by Stefano Stabellini 3 months, 1 week ago
Hi all,

Given the recent change in ARM64 runners, moving a way from a fast
baremetal ARM64 server to multiple slower ARM64 VMs and server, this
patch series makes the Gitlab pipeline more resilient to random
infrastructure failures by:

- temporarily disabling the Yocto jobs
- increasing the max timeout of QEMU jobs
- introducing "expect" so that QEMU jobs can stop as soon as the right
  string is received instead of waiting until the timeout

I am making all changes consistent across architectures, even thought
they are only required for arm64 right now.

Cheers,

Stefano


Stefano Stabellini (3):
      automation: disable Yocto jobs
      automation: add "expect" to containers used to run QEMU tests
      automation: use expect to run QEMU

 automation/build/debian/12-ppc64le.dockerfile      |  1 +
 automation/build/debian/12-riscv64.dockerfile      |  1 +
 .../build/debian/bookworm-arm64v8.dockerfile       |  1 +
 automation/build/debian/bookworm.dockerfile        |  1 +
 automation/gitlab-ci/build.yaml                    |  3 ++
 automation/scripts/qemu-alpine-x86_64.sh           | 15 ++++----
 automation/scripts/qemu-key.ex                     | 42 ++++++++++++++++++++++
 automation/scripts/qemu-smoke-dom0-arm32.sh        | 15 ++++----
 automation/scripts/qemu-smoke-dom0-arm64.sh        | 15 ++++----
 automation/scripts/qemu-smoke-dom0less-arm32.sh    | 14 ++++----
 automation/scripts/qemu-smoke-dom0less-arm64.sh    | 14 ++++----
 automation/scripts/qemu-smoke-ppc64le.sh           | 12 +++----
 automation/scripts/qemu-smoke-riscv64.sh           | 12 +++----
 automation/scripts/qemu-smoke-x86-64.sh            | 14 ++++----
 automation/scripts/qemu-xtf-dom0less-arm64.sh      | 14 ++++----
 15 files changed, 104 insertions(+), 70 deletions(-)
 create mode 100755 automation/scripts/qemu-key.ex
Re: [PATCH 0/3] automation: improve pipeline
Posted by Stefano Stabellini 3 months, 1 week ago
I forgot to add proof that it works:

https://gitlab.com/xen-project/people/sstabellini/xen/-/pipelines/1408058335



On Fri, 9 Aug 2024, Stefano Stabellini wrote:
> Hi all,
> 
> Given the recent change in ARM64 runners, moving a way from a fast
> baremetal ARM64 server to multiple slower ARM64 VMs and server, this
> patch series makes the Gitlab pipeline more resilient to random
> infrastructure failures by:
> 
> - temporarily disabling the Yocto jobs
> - increasing the max timeout of QEMU jobs
> - introducing "expect" so that QEMU jobs can stop as soon as the right
>   string is received instead of waiting until the timeout
> 
> I am making all changes consistent across architectures, even thought
> they are only required for arm64 right now.
> 
> Cheers,
> 
> Stefano
> 
> 
> Stefano Stabellini (3):
>       automation: disable Yocto jobs
>       automation: add "expect" to containers used to run QEMU tests
>       automation: use expect to run QEMU
> 
>  automation/build/debian/12-ppc64le.dockerfile      |  1 +
>  automation/build/debian/12-riscv64.dockerfile      |  1 +
>  .../build/debian/bookworm-arm64v8.dockerfile       |  1 +
>  automation/build/debian/bookworm.dockerfile        |  1 +
>  automation/gitlab-ci/build.yaml                    |  3 ++
>  automation/scripts/qemu-alpine-x86_64.sh           | 15 ++++----
>  automation/scripts/qemu-key.ex                     | 42 ++++++++++++++++++++++
>  automation/scripts/qemu-smoke-dom0-arm32.sh        | 15 ++++----
>  automation/scripts/qemu-smoke-dom0-arm64.sh        | 15 ++++----
>  automation/scripts/qemu-smoke-dom0less-arm32.sh    | 14 ++++----
>  automation/scripts/qemu-smoke-dom0less-arm64.sh    | 14 ++++----
>  automation/scripts/qemu-smoke-ppc64le.sh           | 12 +++----
>  automation/scripts/qemu-smoke-riscv64.sh           | 12 +++----
>  automation/scripts/qemu-smoke-x86-64.sh            | 14 ++++----
>  automation/scripts/qemu-xtf-dom0less-arm64.sh      | 14 ++++----
>  15 files changed, 104 insertions(+), 70 deletions(-)
>  create mode 100755 automation/scripts/qemu-key.ex
>