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

[PATCH 1/2] automation: Install packages required by tests in containers


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Thu, 17 Nov 2022 17:16:42 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vWv10e40OF9Taz123R7TXGCwIFoVSKUwP5lR9GD++mo=; b=RbI5IfRwKOCTXroz79XmOaH6W2piymZnDM+vszePTkU9xcYtoRFsw4qj06lRBKX95vW3cPANQJPywSF3WTmnEC3oDKDjh7SO3RUYX6RRKB9wHqWEf/CykLI+hUK4cyPwAO3VYl+iWlKF57inmXauAz2XXiz+Z5p8ReOcZDifvW71ThNSrsTYYA6g3m086cM6qf8FvQYjV67ZiEnmi4640UtX2L53I5wRR1Bd9kEB5NLR4++06bwhLNSSCG0EvKPnwVC3tkKYH+YMX8BaWrgq2aLqN+88ZtfHE+EL2JKqd1D6jKflYzafora6vWphm95hzUgq+epc9kwDXHH2sP5Huw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jhdjIXyWJIe9I8YepD6KBql5zVqA+Jg0kASJ6viWmy3Gq3v1IDBCCe6yLh9OKpI9vBSnuD3J6Qo9cekBpQam8e0QvbwPv1c55f7v1vacU6d4raESyiRR8tLRVgDhoBuCIXgVaTesm0K/fb7zXEw5sZuwA9lwO0thDzZrx8uDohWorrMuGu11PPfSeREtgOBiLV1+7Umdi2kIvVes0uBs302Dx5/p9I0Kuc/Gb3mIvn2HCwi8JQfAfHyXwQAWKnuLDvM/7EpRVkrsLgKV0s5Qpe38MBCRoksMelf18f7lOsVEJ9K510/gx/9NPqtz4ApCU0/mu7H7CFDD1/3fi/4lJQ==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Thu, 17 Nov 2022 16:17:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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>
---
 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 da6aa874dd70..30fcc5288dee 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 5c73458d9d19..0080c22ba21f 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 && \
-- 
2.25.1




 


Rackspace

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