[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] automation: Install packages required by tests in containers



commit 1ed7da301020ee1e16177cb3d9caa817f195a59a
Author:     Michal Orzel <michal.orzel@xxxxxxx>
AuthorDate: Thu Nov 17 17:16:42 2022 +0100
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Fri Dec 9 14:55:33 2022 -0800

    automation: Install packages required by tests in containers
    
    Installation of additional packages from the test scripts when running
    the tests has some drawbacks. It is slower than cloning containers and can
    fail due to some network issues (apparently it often happens on x86
    rackspace). This patch is adding the packages required by the tests to be
    installed when building the containers.
    
    >From qemu-alpine-x86_64.sh into debian:stretch:
     - cpio,
     - busybox-static.
    
    >From qemu-smoke-*-{arm,arm64}.sh into debian:unstable-arm64v8:
     - u-boot-qemu,
     - u-boot-tools,
     - device-tree-compiler,
     - curl,
     - cpio,
     - busybox-static.
    
    The follow-up patch will remove installation of these packages from the
    test scripts. This is done in order not to break the CI in-between.
    
    Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 automation/build/debian/stretch.dockerfile          | 3 +++
 automation/build/debian/unstable-arm64v8.dockerfile | 7 +++++++
 2 files changed, 10 insertions(+)

diff --git a/automation/build/debian/stretch.dockerfile 
b/automation/build/debian/stretch.dockerfile
index da6aa874dd..30fcc5288d 100644
--- a/automation/build/debian/stretch.dockerfile
+++ b/automation/build/debian/stretch.dockerfile
@@ -49,6 +49,9 @@ RUN apt-get update && \
         apt-transport-https \
         # for test phase, qemu-smoke-* jobs
         qemu-system-x86 \
+        # for test phase, qemu-alpine-* jobs
+        cpio \
+        busybox-static \
         && \
         apt-get autoremove -y && \
         apt-get clean && \
diff --git a/automation/build/debian/unstable-arm64v8.dockerfile 
b/automation/build/debian/unstable-arm64v8.dockerfile
index 5c73458d9d..0080c22ba2 100644
--- a/automation/build/debian/unstable-arm64v8.dockerfile
+++ b/automation/build/debian/unstable-arm64v8.dockerfile
@@ -43,6 +43,13 @@ RUN apt-get update && \
         wget \
         git \
         nasm \
+        # for test phase, qemu-smoke-* jobs
+        u-boot-qemu \
+        u-boot-tools \
+        device-tree-compiler \
+        curl \
+        cpio \
+        busybox-static \
         && \
         apt-get autoremove -y && \
         apt-get clean && \
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.