From patchwork Thu Sep 30 16:17:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12528853 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D60A8C433F5 for ; Thu, 30 Sep 2021 16:17:48 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A2C7C61350 for ; Thu, 30 Sep 2021 16:17:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A2C7C61350 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.200088.354484 (Exim 4.92) (envelope-from ) id 1mVykg-0000ar-4y; Thu, 30 Sep 2021 16:17:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 200088.354484; Thu, 30 Sep 2021 16:17:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVykg-0000ai-22; Thu, 30 Sep 2021 16:17:42 +0000 Received: by outflank-mailman (input) for mailman id 200088; Thu, 30 Sep 2021 16:17:40 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVyke-0000ZS-BF for xen-devel@lists.xenproject.org; Thu, 30 Sep 2021 16:17:40 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 42b9bd05-d711-476c-8568-50f406b3dec7; Thu, 30 Sep 2021 16:17:39 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 42b9bd05-d711-476c-8568-50f406b3dec7 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1633018659; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=eutcveOxLfIyiRm0KCSSaQX2O4MlKKNJAO3ZP0okZ28=; b=NqoCNh4qYnef+e9X5665iNazUfaL1aeXpUj+FKzwJypCSknw9SCJoVD3 /IaoOjstZClLhk3aWe6Y7gpzRp2X30BoOjbpskDyZO+y2T2h6JcY3WeAw xvGBsCQL70+biPlVcfxwoQz4qHcPk1gz4kEwMJgXPohWJ7i9SuWyZI/XH w=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: X+cj+Z3bTgHRg7kDsy/+WpD2LrTvAvHDWe4FteYjwFgBL3gP0NYOY4OL9BEXD5OBiqSmCGmqLy d3a5BFIm//WXMRHZPeLTj3tVQN75LqPlXuW3JYluMO/FcLnjptqmKIRhp49aGMTZpA3a5W3dzU Uz1xAxhVfW7yUgDemqICZjgruRUf3J68qho91LO3cLN5TzZhEdYzr0mk7QYgqVspjYm8mkp2Sf XDC7BR08PV92dipxzQOgmch7NU/aVnwWae/IxSdIWRm1M+P5zIwux4/B5ZlkSb4zToHKdpyc+z qc+bfA/4oZRGdy8wJ4YpcfRT X-SBRS: 5.1 X-MesageID: 54035975 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:7LviV60iT+wqH/jMdvbD5Q92kn2cJEfYwER7XKvMYLTBsI5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Y4cl0Vet/w9vo/1E ruVBie0EXLz2i/KLxukcHdmZO+9VJpztytjbyctIUypyz4oZoP2tPUTcJ4+fL8G8u1/zKErE 6lZKpvYWvkfGC7a/zk9bIXmqNAwfhqcmg/TbTGuZyIyfsA8SlWRqMPkZAbm6AIHEjGz6Zklu 7Sl2w6CGcgDSg1uAdz4cvWqy1/t73ERlPgrBxnDI8VJeVWq+49vcnSjgvgyKsAKCBPC2jrFi FrGXUZG/bHA+tZn/sPIiKaIq5aSP9F/RkcKTXPG6buWNDXB+jbxy4F3T+vVLyvWU3n5+fv+a LwNne38KvAOgH1Dr5F4T+Rw1as76tbi++1awwBjECmZZlinEOo9cHyP3M0JvaxR3L5J/wCxX xvXqNVdPLyIPuLjEUIQe1V5PrjSi6lMl2mA9+kxLWX7+DRzreiOXkhlNhWRjDBQceluO4Q/z OZ94MMb5mRTUPbx3gpqWsyMy1mxEw== IronPort-HdrOrdr: A9a23:TsnFiaEZqYqCwiE/pLqE7seALOsnbusQ8zAXP0AYc3Nom6uj5q eTdZUgpGbJYVkqOU3I9ersBEDEewK/yXcX2/h0AV7BZmnbUQKTRekIh7cKgQeQfhEWntQts5 uIGJIRNDSfNzRHZL7BkWqFL+o= X-IronPort-AV: E=Sophos;i="5.85,336,1624334400"; d="scan'208";a="54035975" From: Anthony PERARD To: CC: Anthony PERARD , Anthony PERARD , Andrew Cooper , "Doug Goldstein" Subject: [XEN PATCH 1/2] automation: switch GitLab x86 smoke test to use PV 64bit binary Date: Thu, 30 Sep 2021 17:17:19 +0100 Message-ID: <20210930161720.825098-2-anthony.perard@citrix.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210930161720.825098-1-anthony.perard@citrix.com> References: <20210930161720.825098-1-anthony.perard@citrix.com> MIME-Version: 1.0 From: Anthony PERARD Xen is now built without CONFIG_PV32 by default and thus test jobs "qemu-smoke-x86-64-gcc" and "qemu-smoke-x86-64-clang" fails because they are using XTF's "test-pv32pae-example" which is an hello word 32bit PV guest. As we are looking for whether Xen boot or not with a quick smoke test, we will use "test-pv64-example" instead, which is a hello word 64bit PV guest. Signed-off-by: Anthony PERARD Reviewed-by: Andrew Cooper --- Cc: Andrew Cooper --- automation/scripts/qemu-smoke-x86-64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/scripts/qemu-smoke-x86-64.sh b/automation/scripts/qemu-smoke-x86-64.sh index 09152e3e9ca1..4b176c508dec 100755 --- a/automation/scripts/qemu-smoke-x86-64.sh +++ b/automation/scripts/qemu-smoke-x86-64.sh @@ -16,7 +16,7 @@ cd xtf && make -j$(nproc) && cd - case $variant in pvh) k=test-hvm32pae-example extra="dom0-iommu=none dom0=pvh" ;; - *) k=test-pv32pae-example extra= ;; + *) k=test-pv64-example extra= ;; esac rm -f smoke.serial From patchwork Thu Sep 30 16:17:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12528851 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FA07C433F5 for ; Thu, 30 Sep 2021 16:17:45 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 425B561350 for ; Thu, 30 Sep 2021 16:17:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 425B561350 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.200087.354473 (Exim 4.92) (envelope-from ) id 1mVykW-0000Gu-Tb; Thu, 30 Sep 2021 16:17:32 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 200087.354473; Thu, 30 Sep 2021 16:17:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVykW-0000Gn-QH; Thu, 30 Sep 2021 16:17:32 +0000 Received: by outflank-mailman (input) for mailman id 200087; Thu, 30 Sep 2021 16:17:31 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mVykV-0000GN-Dr for xen-devel@lists.xenproject.org; Thu, 30 Sep 2021 16:17:31 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id cc82e4a3-6dcd-4676-a9d2-523f2aa18138; Thu, 30 Sep 2021 16:17:30 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: cc82e4a3-6dcd-4676-a9d2-523f2aa18138 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1633018650; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SbncEBKHNrhIHO54GucIwwh3ENu4Nen3Olbl5JVgzeY=; b=hICE/2GUxPLgX04X1fK8bauyBoj+4KhUhfLG8TNw+ejisEQ+sQKojLlQ hkOCmBcaVy5vsGv0/LFf3iPLc1RKFo12BYDCYDvo3uVlpZxyzPe11Xum3 6sbhNK3YJsp7eHT79dpE5RSr2Rx/HJNBk+3nagW4gf0U2MknBUcj978LU 8=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: Rvo5U9IbjyivvlhtvlaEWHHxFxHghdkEqZyiPaYfXTaGCoXUprceQ1l4kCo6RiEryAO2LxM1kw XbC1CFZVtLXBIz9veIm8h0SKbKk0EEjeotqWNceY5PGUbvjiZ8fd5Pjve7EH8iDL1Mwh/WfeOx P9Z1XRMybn/edMOSGDCTvdUVf0NRUZIbStsuV5rlqEjP2Oom4H71JXe3qGYpw5ho7Lgl+31T93 gLicUbTtOePLQzRNq/Jnt8MA1+Cnm+M+xOeHHSMRTz4vRW3r6C2NH1jhENVt03fgUYDodPsZ8L /8YusxZxzBR+q9jESNsNhiFJ X-SBRS: 5.1 X-MesageID: 54035940 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED 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+l4fqL3hq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O8gd+VbeS19QYScelzAZsQiDuQkmygYzZLrA8tP+teKL OsovBpihCHYnotYsGyFhA+LpL+T42iruOeXfYebSRXkDWzsQ== X-IronPort-AV: E=Sophos;i="5.85,336,1624334400"; d="scan'208";a="54035940" From: Anthony PERARD To: CC: Anthony PERARD , Anthony PERARD , Doug Goldstein Subject: [XEN PATCH 2/2] automation: Add qemu to debian:stretch container for smoke test Date: Thu, 30 Sep 2021 17:17:20 +0100 Message-ID: <20210930161720.825098-3-anthony.perard@citrix.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210930161720.825098-1-anthony.perard@citrix.com> References: <20210930161720.825098-1-anthony.perard@citrix.com> MIME-Version: 1.0 From: Anthony PERARD 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 --- 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