[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XEN PATCH 2/2] automation: Add qemu to debian:stretch container for smoke test
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Thu, 30 Sep 2021 17:17:20 +0100
- Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
- Delivery-date: Thu, 30 Sep 2021 16:17:36 +0000
- Ironport-data: A9a23:0K1Nb6BLK5ppnxVW//Xkw5YqxClBgxIJ4kV8jS/XYbTApGwrgzIDm 2UeXmGDOP+NMzCkctF+bY22oxgE75bVyoAxQQY4rX1jcSlH+JHPbTi7wuYcHM8wwunrFh8PA xA2M4GYRCwMo/u1Si6FatANl1ElvU2zbue6WLOs1hxZH1c+EX9w0ko7wYbVv6Yz6TSHK1LV0 T/Ni5W31G+Ng1aY5UpNtspvADs21BjDkGtwUm4WPJinj3eH/5UhN7oNJLnZEpfNatI88thW5 Qr05OrREmvxp3/BAz4++1rxWhVirrX6ZWBihpfKMkQLb9crSiEai84G2PQghUh/oGXWosxrm c90mY2taEQHYpX0w+IzTEwNe81+FfUuFL7vJHG+tYqYzlHccmuqyPJrZK00FdRGoKAtWzgIr KFGbmBWBvyAr7veLLaTQ+9whsMlPY/zMZkWoH1IxjDFF/c2B5vERs0m4PcFgG9r25ESRZ4yY eI6djhFV0XBTiFkP0gVFoIjg+T5pnrGJmgwRFW9+vNsvjm7IBZK+LPkKtbSd/SBTN9ZmUver WXDl0zwBA0aM9qOjyKI6Hu2isfAmCr6XMQZE7jQ3u5nhhify3IeDDUSVECnur+ph0imQdVdJ kcIvC00osAPGFeDF4enGUfi+Tjd40BaC4E4//AGBB+l4fqL3hqDV3I9Yi9cSZ8I6PcOHjoEy Qrc9z/2PgBHvLqQQ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ovBpihCHYnotYsGyFhA+LpL+T42iruOeXfYebSRXkDWzsQ==
- Ironport-sdr: Rvo5U9IbjyivvlhtvlaEWHHxFxHghdkEqZyiPaYfXTaGCoXUprceQ1l4kCo6RiEryAO2LxM1kw XbC1CFZVtLXBIz9veIm8h0SKbKk0EEjeotqWNceY5PGUbvjiZ8fd5Pjve7EH8iDL1Mwh/WfeOx P9Z1XRMybn/edMOSGDCTvdUVf0NRUZIbStsuV5rlqEjP2Oom4H71JXe3qGYpw5ho7Lgl+31T93 gLicUbTtOePLQzRNq/Jnt8MA1+Cnm+M+xOeHHSMRTz4vRW3r6C2NH1jhENVt03fgUYDodPsZ8L /8YusxZxzBR+q9jESNsNhiFJ
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
From: Anthony PERARD <anthony.perard@xxxxxxxxx>
We can add qemu into the container so that there's no need to install
it everytime we run a test.
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
Also, smoke tests stopped working as of today due to outdated
root certificate, so container needs to be updated anyway.
fatal: unable to access 'https://xenbits.xen.org/git-http/xtf.git/': server
certificate verification failed.
I haven't push the container yet, I've only pushed it as
debian:tmp-stretch for testing it.
---
automation/build/debian/stretch.dockerfile | 2 ++
automation/scripts/qemu-smoke-x86-64.sh | 8 +++++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/automation/build/debian/stretch.dockerfile
b/automation/build/debian/stretch.dockerfile
index e2ee14e2017c..da6aa874dd70 100644
--- a/automation/build/debian/stretch.dockerfile
+++ b/automation/build/debian/stretch.dockerfile
@@ -47,6 +47,8 @@ RUN apt-get update && \
nasm \
gnupg \
apt-transport-https \
+ # for test phase, qemu-smoke-* jobs
+ qemu-system-x86 \
&& \
apt-get autoremove -y && \
apt-get clean && \
diff --git a/automation/scripts/qemu-smoke-x86-64.sh
b/automation/scripts/qemu-smoke-x86-64.sh
index 4b176c508dec..8ac065491c75 100755
--- a/automation/scripts/qemu-smoke-x86-64.sh
+++ b/automation/scripts/qemu-smoke-x86-64.sh
@@ -6,9 +6,11 @@ set -ex
variant=$1
# Install QEMU
-export DEBIAN_FRONTENT=noninteractive
-apt-get -qy update
-apt-get -qy install qemu-system-x86
+if ! type qemu-system-x86_64; then
+ export DEBIAN_FRONTENT=noninteractive
+ apt-get -qy update
+ apt-get -qy install qemu-system-x86
+fi
# Clone and build XTF
git clone https://xenbits.xen.org/git-http/xtf.git
--
Anthony PERARD
|