From patchwork Tue Oct 22 19:16:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181627 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="eRfYLo9R"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNZn6MWBz9sP6 for ; Wed, 23 Oct 2019 06:18:24 +1100 (AEDT) Received: from localhost ([::1]:41960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzff-0002Sl-FO for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:18:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36259) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzec-0002OY-5k for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzeZ-0005G1-NG for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:13 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:37448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzeW-0005BX-AR for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:10 -0400 Received: by mail-wr1-x443.google.com with SMTP id e11so10614783wrv.4 for ; Tue, 22 Oct 2019 12:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jH/0ruA5i4owuXTx/HGX42cpo0SMXjcQEx9rET5hw4Q=; b=eRfYLo9Ry1T3FGQqTNtDeYlhLBp+iJlBIOuozM96JqAYux7ZyuIT02Lc3cV7XCTFNt DvK0ZK85TWKRo5oUAvLvkHX0FrK9oXNxpeZt4tFJm5c6FEHVj0NiuoA97FpWcthRFTU/ R1Or81cvs8zJ6NMF/l4MiTZWJMX25JhBtuc1a+AcpAmfKbZVmCWyIP2XwFdgmGvLuTdO S8FTPYragov6ouZ66Hmiv/dn+apTD5Ye8+hFCMIcWohoyQ4jQbr+qv5NYd/xcqCmGmYu jL0HB/Sz5fZ1uhB3p447WNKO5ol81CmOqdYB9KtojOM9MBsQff3QB9pWOqlXiCEVrwdD DLrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jH/0ruA5i4owuXTx/HGX42cpo0SMXjcQEx9rET5hw4Q=; b=Heqj8YZ05Ez+Y8RSJ3hmzIunVaM1o6IPQP7EgGDfnLp/ygeUYd4RiaXrpIPsaBSPRU 3DO8DSaHSFxwBDYLYNP5FB9uud8+TvRTQuIucH+ck/5Jv2KHmbuNiybgjihHmlwaHH1w keid+7o07X5tcsFm9DTY+xaYjAQ9Akw14MtBUUGI0DU637NZqwwjbVdLbgyIk9RkWXWR FDw//PfBK0CXhMORlE9fn5iY6iMnT6KpJDDBu9GCrZ+58l7lAd5LxRa6PP8L2TeOmhL0 sgdjRGZsUnP+cS/OOfBz+zv1ud/V/vN0Hvg9Fu2ssU3ewafIO40Wnbc3oYTdDJUWDsck A3+g== X-Gm-Message-State: APjAAAViDWSpZ+JZRaGn+kaBlmBaOFMb6HUaNQL9TyYM6AwM6W4HcJYu gi+KsllLLAip+BrW32T0d2gtAA== X-Google-Smtp-Source: APXvYqx8pnNRvU9n0JgPXEubKOTdHqTfyLrD/+sxod8RCDGXBGtDk+EjFX2DYrxfUj9gW3dXK7HsVQ== X-Received: by 2002:adf:a4cf:: with SMTP id h15mr4852915wrb.222.1571771825863; Tue, 22 Oct 2019 12:17:05 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x7sm25758175wrg.63.2019.10.22.12.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:05 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4F7211FF8C; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 01/19] travis.yml: reduce scope of the --enable-debug build Date: Tue, 22 Oct 2019 20:16:46 +0100 Message-Id: <20191022191704.6134-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Adding debug makes things run a bit slower so lets not hammer all the targets. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- v2 - drop superfluous --enable-debug-tcg in configure string --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d0b9e099b9c..7d90b87540f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -124,12 +124,13 @@ matrix: - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" + # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower - env: - - CONFIG="--enable-debug --enable-debug-tcg --disable-user" + - CONFIG="--enable-debug --target-list=${MAIN_SOFTMMU_TARGETS}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug" - # TCG debug can be run just on it's own and is mostly agnostic to user/softmmu distinctions + # TCG debug can be run just on its own and is mostly agnostic to user/softmmu distinctions - env: - CONFIG="--enable-debug-tcg --disable-system" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug" From patchwork Tue Oct 22 19:16:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181629 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="hS9U0lcL"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNZp0G8sz9sPZ for ; Wed, 23 Oct 2019 06:18:24 +1100 (AEDT) Received: from localhost ([::1]:41996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzfg-0002VQ-5w for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:18:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36333) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzef-0002QI-6s for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005Ko-2H for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:17 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:52808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzec-0005D0-2g for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:15 -0400 Received: by mail-wm1-x331.google.com with SMTP id r19so18588234wmh.2 for ; Tue, 22 Oct 2019 12:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KiDA2cJ0DTJfxqnwbgK1IdDPGYCe7Quzjtxag58HSlE=; b=hS9U0lcLs/HkUxrCswFOn+TrQlA7ykzcifrDPFewXZPj0FC7Of478hMnSavOVFCg/s SYrFphbQaeogf7eWaO4dlWYz4V2mMcDnCJAlZ3qpjMk4yf+r/f6Iyq0+DHL0oCXQncWu S9dQ2RvhSXqENqpz+YMqyVf3bpWKJtopnuSEGj7ZHI8boPREFa1WQpjKyJ9OXD8BFR7Y 3Nd3C+rX2NnyqmflLbWFDRJeebDaOv8a41uFmEAXbl9iSdlipsxlnzL6//k+LSnxsqdU yHaU4LattFc9zlgUJuuEn7wXU6vDepYSm8fdMtJTR2eu8nb12NBQ0qFylv3S7oBtKZlY 7Gdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KiDA2cJ0DTJfxqnwbgK1IdDPGYCe7Quzjtxag58HSlE=; b=eno4cZaAMcEyK2BOOSttxl5TaJM8n2hUgCqa494k5CeW/CyvQBG3SdFFspoU4BVJKz fbrhnZkBoKk//tz4FbIYf+KcaGdk7XWsL+4B0CvEfPAdCzumT1LABMXsAhwu0imlWwxx bACE2mf0m7IWL4xwoaVwu0oGvViYRNRPsrPcqLR9N9pPsodVdj1Uib7KSwBZzkIwGmPv L0XQIjcASUuN8Yop2KqGpMxMRWZ0XEyLiNFXo2a05e+5VqYoX29eO394VN8mZ7Frt4aS MBBWaONVBP7jQVtuEgM4Ti9y0mGbLdvNNrI95tABV4mSZNEt7Jh+oUSFRmOlxwNVKZVb nSzA== X-Gm-Message-State: APjAAAUNYQ9/vUqqbubFpW8S93r//bJJ0rhEWBK21em7tE/85SS7G6Ak YnoOOPZ4Z7tDsc15KApJWxehbw== X-Google-Smtp-Source: APXvYqzujeF8H1WCRd+IkA76OBOS5fZUrTWs1HjBDEkQumkhaMvGpCClI7pPYWqKqn/g0OW/MCO+nA== X-Received: by 2002:a1c:5458:: with SMTP id p24mr4163602wmi.32.1571771828178; Tue, 22 Oct 2019 12:17:08 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g184sm12826147wma.8.2019.10.22.12.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:05 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7A6851FF90; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 03/19] travis.yml: Use libsdl2 instead of libsdl1.2, and install libsdl2-image Date: Tue, 22 Oct 2019 20:16:48 +0100 Message-Id: <20191022191704.6134-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth We've removed support for SDL 1.2 quite a while ago already, so let's use SDL 2 now in Travis to get test coverage for SDL again. And while we're at it, also add libsdl2-image-dev which can be used by QEMU nowadays, too. Signed-off-by: Thomas Huth Message-Id: <20191009170701.14756-3-thuth@redhat.com> --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7be2a9949f5..b446e04e8ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,8 @@ addons: - libpixman-1-dev - libpng12-dev - librados-dev - - libsdl1.2-dev + - libsdl2-dev + - libsdl2-image-dev - libseccomp-dev - libspice-protocol-dev - libspice-server-dev @@ -309,7 +310,8 @@ matrix: - libpixman-1-dev - libpng12-dev - librados-dev - - libsdl1.2-dev + - libsdl2-dev + - libsdl2-image-dev - libseccomp-dev - libspice-protocol-dev - libspice-server-dev From patchwork Tue Oct 22 19:16:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181633 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="HnK3LEJx"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNfK5tw0z9sNx for ; Wed, 23 Oct 2019 06:21:29 +1100 (AEDT) Received: from localhost ([::1]:42046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzih-0006ba-5I for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:21:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36332) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzef-0002QH-76 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005Ka-1m for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:17 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:40584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzec-0005Eo-5H for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:15 -0400 Received: by mail-wr1-x444.google.com with SMTP id o28so19317206wro.7 for ; Tue, 22 Oct 2019 12:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wolmT8DGMqT5/SDubOMcrLiX89iFV1BFF9nqoSEWVkQ=; b=HnK3LEJx9gsdvqumlXaMtpCoB5AR5sr3T1FVazQjE2kovg409U707XspFFYwlTOjyp 2PLtqDUGlMnHbKKV0z4AzcvyXBzwVBmiBZt+MJUBszyhV1VBvzhiKDXl8FjfjQ5HYr3n P64Q/kqcV6w47l5p/JbwIOef66fvhEEUV+odwBMXz4N/+jHFSCp3jmzb7UkmNJ3RXkJ0 XFUL8BGp/uAXRMedhTrUQNtukYqk8+uJQFDFsnubQvQ8mJnqRJm+BRIAOuwHm8IGZHm3 kXcF4njP4AXjDENug+XJBAV6Jcgq17gu522wUa+mauWJJsYQsBo8atMSCAwjK/wC7koV cDSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wolmT8DGMqT5/SDubOMcrLiX89iFV1BFF9nqoSEWVkQ=; b=QMxT4J9Zf3mSGmhQwQvOfQZb4CmD6MVEa5mUtOJ6jk3423989D/0BMfFnHij861y+3 asTIVoKiZPMUx0z0VZcBhN06hoy1dpdiEuPiNAAOYA5sNyYE+/Z2M5EBJfJ1zNQbkab7 aXsLH+Oeq/pMrtTkZyHaXwFC7o4vSd+jwhm1YOcG3a5NKL3xoy8FTSJylZrr2yvx5YKI kl5LyIACtxyaNV7Nfv9A6crQ/wPLsM4t8DjgKSQPdEwkYx98EOO9ejF7p/VyTfleMffK wKMmhNn35Fzs6qH1AKC8vzXGgsB9tguTnW0dh4EsF9aDchA+I8MC7sMghTuI3Cj/wk1f AyYg== X-Gm-Message-State: APjAAAUfCywogrNe8E7kcuz92FeR3YvrVEZJrsRxtV+5y8oix2nr7Cc1 HJhnSpZ8fE9fWz7GflXo+KQ1JQ== X-Google-Smtp-Source: APXvYqxOMcMFcTwwrmjNwnUVF5T3NLSq+p2K+5HyNwbDNH/XSS6PqDND7Hes+HjcmafhaL9UI67TYA== X-Received: by 2002:adf:ee03:: with SMTP id y3mr4809702wrn.116.1571771829144; Tue, 22 Oct 2019 12:17:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x7sm25758204wrg.63.2019.10.22.12.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:06 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 90D281FF91; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 04/19] travis.yml: Use newer version of libgnutls and libpng Date: Tue, 22 Oct 2019 20:16:49 +0100 Message-Id: <20191022191704.6134-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth libgnutls-dev and libpng12-dev are not available in newer versions of Ubuntu anymore, so installing these packages fails e.g. in the new arm64 containers on Travis. Let's use newer versions of these packages by default instead. (The old versions still get tested in the "gcc-9" build). Signed-off-by: Thomas Huth Message-Id: <20191009170701.14756-4-thuth@redhat.com> --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b446e04e8ae..e65e53f3d7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ addons: - libcap-dev - libcap-ng-dev - libgcc-4.8-dev - - libgnutls-dev + - libgnutls28-dev - libgtk-3-dev - libiscsi-dev - liblttng-ust-dev @@ -37,7 +37,7 @@ addons: - libnfs-dev - libnss3-dev - libpixman-1-dev - - libpng12-dev + - libpng-dev - librados-dev - libsdl2-dev - libsdl2-image-dev From patchwork Tue Oct 22 19:16:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181634 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="eU33qTDy"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNgv5410z9sNx for ; Wed, 23 Oct 2019 06:22:51 +1100 (AEDT) Received: from localhost ([::1]:42070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzk0-0008UO-Vb for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:22:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36394) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzeh-0002Rm-Gz for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005L5-81 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:18 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:41461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005F8-0B for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x429.google.com with SMTP id p4so19334487wrm.8 for ; Tue, 22 Oct 2019 12:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vvU9WS5QfaOqxMDyhhQhtaEUX4XoV/gPkr7meS65DwI=; b=eU33qTDyWdDXR4rB/zkWNWIvYySHL+wtrLwLJOdtiZbqfabi2w16K72m5U5VuwQNHI 0fzTAjN4bHXkEv5/kn0T2P77lj6pL/y2tzALidWg+KcGwNVQ6/TO/tsEwkV5ZuP33VjB KDUvKhX3iX0hqRg9Q+07kc++OeXjtInX/0ddBx5wQNYOW4UtMORlHC+MxwXwR1Gvw+VY D4EdsOjQ9drV7btBDmcAEeET7p3bd0tCbgrsKVeVXbaoAO7WFmdcYkJjY6dZPMAhkBc1 o+x6bJBl9r3DQ0e//MsorrHmv54KtPd1ORI0rspyDjp7yHFEs3Z86/Y5pDmGu8YKeTeo VH3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vvU9WS5QfaOqxMDyhhQhtaEUX4XoV/gPkr7meS65DwI=; b=WzDxSNyzTWgTxfklE0XvCOIhZqEBxQkLZeYy7Z0Cm9ItYG8MfNrVL/vWXin0KF891F +lF+gqGsF+/Psuo32cfCbzqyhvTyq+nNsiwum4e4+R8JMrhbrDasnLkAN3tRom9oO7Wg bxENqoTkVIqUff9EFxcaCkquJvL2DE/oygGMYCOAd7kYRMCQICA6Xirn2Zt3ndBpDDVA 6/BgqD+SjL5gZJtoTKRBFl3OQoTiNAHL8WNoN8KUgIphrMeOtvTAnFGph5Wop1SJJPIi XWWzJB/Grv8/28AeDtULpiXcCACUmA6J2/s3JS6w5FYqCKZpX+RAFGSCoZtYSOBxdqbT tOww== X-Gm-Message-State: APjAAAUqaFoCJkYtgcmAXxq26vBNSpgLGOcRz7AZzeYS1Z9ACsEyzk3p YVn4MCe43j97501a6SfQ9dqXBw== X-Google-Smtp-Source: APXvYqxqlMbBD7Ti5jJXE80tdXUa90e0e9ozMVxCtDGfl9D7U9IXlkuSkw2FmXGglcjF68X8AFGemA== X-Received: by 2002:adf:e2c5:: with SMTP id d5mr4646065wrj.283.1571771830073; Tue, 22 Oct 2019 12:17:10 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id n17sm7601668wrt.25.2019.10.22.12.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A5F441FF92; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 05/19] travis.yml: Fix the ccache lines Date: Tue, 22 Oct 2019 20:16:50 +0100 Message-Id: <20191022191704.6134-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth The "command -v ccache && ccache ..." likely were supposed to test the availability of ccache before running the program. But this shell construct causes Travis to abort if ccache is not available. Use an if-statement instead to fix this problem. Signed-off-by: Thomas Huth Message-Id: <20191009170701.14756-5-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e65e53f3d7e..7e0d4ad2b31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,13 +91,13 @@ git: before_script: - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then export PATH="/usr/local/opt/ccache/libexec:$PATH" ; fi - - command -v ccache && ccache --zero-stats + - if command -v ccache ; then ccache --zero-stats ; fi - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } script: - make -j3 && travis_retry ${TEST_CMD} after_script: - - command -v ccache && ccache --show-stats + - if command -v ccache ; then ccache --show-stats ; fi matrix: From patchwork Tue Oct 22 19:16:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181632 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="FSB1IPeU"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNfJ17ngz9sNx for ; Wed, 23 Oct 2019 06:21:28 +1100 (AEDT) Received: from localhost ([::1]:42042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzif-0006Ts-DF for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:21:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36349) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzef-0002Qc-JA for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005LI-9a for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:17 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:45625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005Fu-1j for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x444.google.com with SMTP id q13so14346553wrs.12 for ; Tue, 22 Oct 2019 12:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=To1y6osBAB74ZdPanXvzGu0hmS7AhXWKsdyOl06cDGM=; b=FSB1IPeUqSMD7J1d3ONhrFn6KsuiP9WaIlBlDw+mn/MhvafRRcoblRV8MWfZi41Lei Oi7EfC1gdrzOc2FskvLhKqOOpmOSxXTKkmHWQnE/fPT+GCfzlAAyJZ6ubrQp40NAdJrT Kcm8ph+ZpjqH9cq8ofBWf8NQIeKdRC1cjq9PZXkbE5qzG3PUeDt7U1pLHLis4hs6CL/P JxCtoWgNAZWwbjk39FYbl15FJ/lpIKZB6P/VpJ3fGFTFlGvdKEeYywL85EKm9ieGwT1w gmWINCDuSfYnndZQbeKJ1lcab7QLLxuPjNsdBIugPBATzVA23NQEDPRqBlsx2H87y+2y PG2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=To1y6osBAB74ZdPanXvzGu0hmS7AhXWKsdyOl06cDGM=; b=by+D2qBWMiIU3IIcOUbbu9AFZ2b4jC1ThwOBKWwFn3ypbsfL0yy0SSdJ5kYBQVkh+3 /36X1qA8Wj8GLRAvKYxNKPzwX7Ce6x7FZm+JLYIBdApIj2KKeKh37r4SkMHdZOcti7Tt BHwwpt3L50x7UGGoVM5u8OyQQ+loccBMknqTwXyFBngUFFzsieZSRSmGMwRJL9DwXNz6 3WR5K+3LFVev1VzcIvBUoFXidBBR82uIt4MNQFW0IRekd/3SJkOzUh+52qq7reEXtav/ uWA/R1XM4NiOL6BjmdkWNAlc0TjkuuBwps3FeT1LsAsv89DCRPAYJJBvNs7wHZbwQiRX AyOg== X-Gm-Message-State: APjAAAV/T7xYrAck/4dqhYQpeQlmtRbGX9lSsZXsQUcTWUYgbuGgzfw1 TPp8yqlhNa5lENHPH4Ds9J0W2w== X-Google-Smtp-Source: APXvYqyl9LUxlCkcxfLVHgYohj8o2VIR03OAYcCWp4f+2IdGk79jUpf0t6XPlgeUW70BrcFjKaVfvg== X-Received: by 2002:a5d:62c5:: with SMTP id o5mr986972wrv.388.1571771830970; Tue, 22 Oct 2019 12:17:10 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j19sm35467507wre.0.2019.10.22.12.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BD6341FF93; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 06/19] travis.yml: Test the release tarball Date: Tue, 22 Oct 2019 20:16:51 +0100 Message-Id: <20191022191704.6134-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Add a job to generate the release tarball and build/install few QEMU targets from it. Ideally we should build the 'efi' target from the 'roms' directory, but it is too time consuming. This job is only triggered when a tag starting with 'v' is pushed, which is the case with release candidate tags. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20191007160450.3619-1-philmd@redhat.com> Signed-off-by: Alex Bennée --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7e0d4ad2b31..f2b679fe701 100644 --- a/.travis.yml +++ b/.travis.yml @@ -343,3 +343,26 @@ matrix: - CONFIG="--target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - TEST_CMD="make -j3 check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" + + + # Release builds + # The make-release script expect a QEMU version, so our tag must start with a 'v'. + # This is the case when release candidate tags are created. + - if: tag IS present AND tag =~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/ + env: + # We want to build from the release tarball + - BUILD_DIR="release/build/dir" SRC_DIR="../../.." + - BASE_CONFIG="--prefix=$PWD/dist" + - CONFIG="--target-list=x86_64-softmmu,aarch64-softmmu,armeb-linux-user,ppc-linux-user" + - TEST_CMD="make install -j3" + - QEMU_VERSION="${TRAVIS_TAG:1}" + - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" + before_script: + - command -v ccache && ccache --zero-stats + - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} + script: + - make -C ${SRC_DIR} qemu-${QEMU_VERSION}.tar.bz2 + - ls -l ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 + - tar -xf ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 && cd qemu-${QEMU_VERSION} + - ./configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } + - make install From patchwork Tue Oct 22 19:16:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181630 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="J2bSKq5h"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNcH3VY7z9sPZ for ; Wed, 23 Oct 2019 06:19:43 +1100 (AEDT) Received: from localhost ([::1]:42004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzgy-0003kY-T2 for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:19:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36361) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzef-0002Qv-Rc for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005LS-Aa for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:17 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:38755) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005I6-0V for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x443.google.com with SMTP id v9so8062254wrq.5 for ; Tue, 22 Oct 2019 12:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VVvH7cAnAB8K2nnuUridcFUTxcRBjM1kLOxGGOEimW8=; b=J2bSKq5hhCy8tsE1l/M/4RAGDc4CuTkZaccL/noXmv7vBq8j1AvmxEy7eitVMcPvI6 rBBKG+dEyeq9aVQejkZlzd0eLitU/n4tm38xl68XFqgcsvkaOHw/fzkiy40Vvh0gsmRi 7tMiypeyDs9DQk/Q/MPeKof0x6OC+G2H4XHb2tBPNHXK89SfAWaL1WXwZdVKTolK9Say Sqcb+UUUd1C0kOshtDLnomiSGW/FIQWEP61msMDufgsmW57THkjkMtc+rzUdnJnk1OFq nCkNs284tI5awmAZLsjuxpILzb56cJyxRrKdtXkvy0vLLvnTPHWOsFL5FegTeJNO147G O6dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VVvH7cAnAB8K2nnuUridcFUTxcRBjM1kLOxGGOEimW8=; b=F6HhuU7/WZgctqT3vxeXQqWEFf/J4jplogDkop6TVHBX4/kbJURm60IgzEZMjCCi8u 5vzpfCuOz2JdLOFI9rFPleEDlRQyLUHvh7NgL/Wq7KaTE4FtzSMWw75D4X5k2fgowowe sHa6xoBxF/JmuLCtRBqgz666v4VW1SYXStcwy+KoJZL0BbsccTJSNr+e+R9x8new/5od DdAfpajGu3ylmB9XmTMkJSLwBf6IULv7iEfah6IxFKCWedpShya+Kyzl0mxqnRGt5zDq eruDFFks845NtuAQfIGrzGBaaaFetgqGYhrB7bS1Irp5W2gWRD6I1xNUBK0Ug5QsNpLw ZMkw== X-Gm-Message-State: APjAAAVBl2+VqSkF3zWYXq/ov/nixDedqSiAnXxcrvuq8jXdtXdfWyqn d5K8/fiMuIfOVxY9tDEKkUlgFA== X-Google-Smtp-Source: APXvYqxHDbWDrkskzXYREhqyltYBIa+G6QoCaQJtFLL2NBV2fKxHXN770MC5+zQdVumdNQ6ARtFuVg== X-Received: by 2002:a5d:424a:: with SMTP id s10mr4701657wrr.108.1571771832659; Tue, 22 Oct 2019 12:17:12 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g11sm18634767wmh.45.2019.10.22.12.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D48F41FF96; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 07/19] cirrus.yml: reduce scope of MacOS build Date: Tue, 22 Oct 2019 20:16:52 +0100 Message-Id: <20191022191704.6134-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, Ed Maste , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, Li-Wen Hsu , aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The MacOS build can time out on Cirrus running to almost an hour. Reduce the scope to the historical MacOS architectures much the same way we do on Travis. Signed-off-by: Alex Bennée --- .cirrus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 8326a3a4b16..4b042c0e12c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,5 +1,6 @@ env: CIRRUS_CLONE_DEPTH: 1 + MACOS_ARCHES: i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu freebsd_12_task: freebsd_instance: @@ -22,6 +23,6 @@ macos_task: install_script: - brew install pkg-config python gnu-sed glib pixman make sdl2 script: - - ./configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; } + - ./configure --python=/usr/local/bin/python3 --target-list=${MACOS_ARCHES} || { cat config.log; exit 1; } - gmake -j$(sysctl -n hw.ncpu) - gmake check -j$(sysctl -n hw.ncpu) From patchwork Tue Oct 22 19:16:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181641 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="brddRrEK"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNrH3b4vz9sNx for ; Wed, 23 Oct 2019 06:30:07 +1100 (AEDT) Received: from localhost ([::1]:42312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzr2-000052-Gv for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:30:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36397) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzeh-0002Rn-Hw for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005LD-8o for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:18 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:45626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005IF-1M for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x444.google.com with SMTP id q13so14346668wrs.12 for ; Tue, 22 Oct 2019 12:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+VD/m4Cu25zUbCunHR/eAJrfDLHr+QomcQ2i0WEOmJw=; b=brddRrEK/jdp6QmFZym0ziDgj65h2hVge/R16d0Utn7KA06D3nJVehf14ZZyHOfYS4 8taWqyAyfH9+b+YR5ZJSVPE9VN079+zHpKnkOVhoLGq+CWT5rHUsmvuXeBn0SjAF2YEH uDh+SCxpx/FhlVMqrRq935lKsUGO10JW7uW9BLLCAdAHz9MxZrqj+dW6Nq3/gca6esFL hnmAa4A/KCcjqRyuGE/oafiayKt4iHf0+jg1RvbLlp8zKfbE7hrpXBorIgNBu56Dhixi B16Rt8CNU9VxLLDQrcOGslDFimDLGiWR8ZqJM5QUn6nojpJTz8CfiXdP4yinFiJYz1Dv zLuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+VD/m4Cu25zUbCunHR/eAJrfDLHr+QomcQ2i0WEOmJw=; b=YXoB1kr6axiG5kiatAsNi/uVjrjapKyfPSKyMZ3dEfWHF9Xz7oqt0mrg+G10Hp5wOy nQD6kF4wJ9MrdT9qkCXl1t/cWNDWRG6aqD+w6Mi/ix3CB1Jcyg16xkhq+zdGo9KhOFya TyY/OZawMN7khsW3WKMiraIRqPAFfXO2ole3eCwsyjh+6zrIxr8HsO3CbfQaHqQFGNOE G21zZSGaZ4wksS8kqnGgy/JERhxDqSyrGyncnK8r0fMkNdxN2hRVeaMcSHRcYjiTZjo1 Rx7hzs8Cy55o4ModdwJXUzUfKOpG2VjCemDkmxiZJgnPnk9GsW4Y1eD9aZVIis6E8cLH K0Hg== X-Gm-Message-State: APjAAAVXlkFuj+jApHrJmB4Lr5+4Ra39ZubQRmZZ/fjFYNvwSrEK4h/Q WVJb/qa8wcI/FIBVVpWC8Zwzog== X-Google-Smtp-Source: APXvYqx0zGa2vws3JlLAwLTkQQ0Y/LbfMCbVriuIO3uY/9HByjbJ7tXdJfAunzlcscrS4mCNXR905Q== X-Received: by 2002:adf:db81:: with SMTP id u1mr4783094wri.347.1571771833191; Tue, 22 Oct 2019 12:17:13 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x21sm7054233wmj.42.2019.10.22.12.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EA3E61FF98; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 08/19] travis.yml: bump Xcode 10 to latest dot release Date: Tue, 22 Oct 2019 20:16:53 +0100 Message-Id: <20191022191704.6134-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" As 10.3 is available lets use it. I don't know what Apple's deprecation policy is for Xcode because it requires an AppleID to find out. Signed-off-by: Alex Bennée --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f2b679fe701..da6a2063fca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -247,7 +247,7 @@ matrix: - env: - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu" os: osx - osx_image: xcode10.2 + osx_image: xcode10.3 compiler: clang From patchwork Tue Oct 22 19:16:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181638 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="cqXXCneC"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNmv2nqHz9sNx for ; Wed, 23 Oct 2019 06:27:11 +1100 (AEDT) Received: from localhost ([::1]:42160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzoD-0004uC-8N for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36351) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzef-0002Qe-K1 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005LM-9h for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:17 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:35614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005Ic-1t for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x444.google.com with SMTP id l10so18906543wrb.2 for ; Tue, 22 Oct 2019 12:17:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fIE39M6WEo2MphCpMZQ+O6lu2X6W83TgfKFvtWGX81M=; b=cqXXCneChwyWhXlxhUI8C2VEEOG1YqIwBNmaXA1tcYRrHgpeOol9i0RpBBCk1TMr0N 0VOAYlATli0SDqBQ8HdH3Oka0PaX8zCAXMJpfyOJW8izsDH/bC6GTweK034N7TZmKvV6 vsMVzw0VJHcCDy0eHEhq1zDgexVpnhBzhf2+M3GTvdyNdwDNAVynJ1XDYlf8UCZq3XqG kyfx87Nh3chKNeRn09B6PNUSZtuhiT7+e68eNSLznUgfXidZf/DOCGOGGqVPKaJE7xLY a7C6sMjHawJ6vzwb0xOyz7aS4u3IzYxPlxUt5gCSLpJZir9Zb0C1VS/sbGdilJZf8w3l wHPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fIE39M6WEo2MphCpMZQ+O6lu2X6W83TgfKFvtWGX81M=; b=f4fmkH93Bdi4i1/7gG/tEYxPscMaQrMvG9mlBlUctErqb1c2q+16mh98kK4YKdMPVJ xZnfZ42R2kJTfaThS41+T69qqrnrlQl8Qqwv2Z1Rya3qTZ46HnTcRKLal5SyJ8aoy/59 HoWo2pxPtX2n12bCsqpOosxjsVFUlnP9tCPnSpvJkSW7yz1TKpjFDhiUO8aAhUfTPvMq /ZjEK5kX17sCiEmL2MXTMQ6hG/gftz45K6cZghSOJ9NVnGuhmeu6GrRtpWyVQz2kw6u3 NY25z5/RM9zp8xi6MsmSnxWd1yJZewr0zA5wO//8ZSAFQU2F4WKjUk69PnOeLaMsR8xD PlwQ== X-Gm-Message-State: APjAAAWulofCFWKbyK9Tmp5/smXmovd8hN3xRCk/GE0Gukn/SL7x+DFM r7dl6yKCtCubAKEsSPdX5BxhKQ== X-Google-Smtp-Source: APXvYqxQTR/rXZUYxMM8zI9wy8RH7IJnEBbxQJ47Q8wHhXRUr6HsLojQZi4JeuYAftACiz6m5F1bJA== X-Received: by 2002:a5d:5227:: with SMTP id i7mr4756741wra.39.1571771834059; Tue, 22 Oct 2019 12:17:14 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o4sm30892303wre.91.2019.10.22.12.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0B3F71FF99; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 09/19] cirrus.yml: add latest Xcode build target Date: Tue, 22 Oct 2019 20:16:54 +0100 Message-Id: <20191022191704.6134-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, Ed Maste , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, Li-Wen Hsu , aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" CirrusCI provides a mojave-xcode alias for the latest Xcode available. Let's use it to make sure we track the latest releases. Signed-off-by: Alex Bennée --- .cirrus.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 4b042c0e12c..59146a89c83 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -26,3 +26,14 @@ macos_task: - ./configure --python=/usr/local/bin/python3 --target-list=${MACOS_ARCHES} || { cat config.log; exit 1; } - gmake -j$(sysctl -n hw.ncpu) - gmake check -j$(sysctl -n hw.ncpu) + +macos_xcode_task: + osx_instance: + # this is an alias for the latest Xcode + image: mojave-xcode + install_script: + - brew install pkg-config gnu-sed glib pixman make sdl2 + script: + - ./configure --cc=clang --target-list=${MACOS_ARCHES} || { cat config.log; exit 1; } + - gmake -j$(sysctl -n hw.ncpu) + - gmake check -j$(sysctl -n hw.ncpu) From patchwork Tue Oct 22 19:16:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181639 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="CeuLlaAt"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNpf1dlYz9sNx for ; Wed, 23 Oct 2019 06:28:42 +1100 (AEDT) Received: from localhost ([::1]:42298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzpf-0006tI-HU for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:28:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36439) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzej-0002Sw-7h for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005La-CI for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:20 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:33402) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005Jm-4M for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x442.google.com with SMTP id s1so10575757wro.0 for ; Tue, 22 Oct 2019 12:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O1yTnwnOMYBWFrsx8+srCnJtUFWB2Fa+51tIMG3xU7M=; b=CeuLlaAtxtrmBiVxK3+U3stEwbxFMwwocrY+ZuxzUk+2ivBotST0gW6u0AuWa3uHaQ ltvn/llpwFWi5vEMLAOfLmPInXyPxs/wbv3TosCp/8a3HUpmWhwJIbghmDHfs17ZPR1i lyHTek4uKvM/+le1ASKWSGiW996e1dvAaUpPC2Awbk+glwdTJSbGe7TxVxIZxLVCXRCC 8EtgZCTECuKdeiCbwm1OWfYiWA2fmJrgAQWYlDmNr4ihcflKAgtoML2DVCHs71GbMYLs +wJhRgFu5acw1vz4KcF6gEtkEVrrrV1AJqdDrkcsJI6zyo3DEY4ci3Z5CEBwgo9tmBGL WYYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O1yTnwnOMYBWFrsx8+srCnJtUFWB2Fa+51tIMG3xU7M=; b=JKyJaCCqV2YyUkbjslhhqssEj7ulsexwMCUyWTg4IpUQDN7JE0BmnIw8HZSs55X5B0 O+dckFuUQ/1Qk9DJfePtmSCGCZZVjgJ7z7uOsWjKnvrNJOOF+Ob1GZqPx7HOQgjx642d JAEpf3T/xEgJgWpA76nbb1vkmm4XyAdPASTsAzw2Z0CIqP2WyJU//b8zcL42IQgH34Sg XdvxL+gk9JFfO2swXbfoiBqtB4dzm374Lz0fadKC8Myn0hVydWfynFaCVi8amEDYjlyg 75sntcR0oNnKmswu7GUMQ5K4f8jBRNis/dVAgknkjGtPuoiHTHWn/CP5h5pgxoJnxxAp URFw== X-Gm-Message-State: APjAAAVPETFtwc75VVKqNM+lcYVKA9ySpaaFxf/Ka2j2tYWuL9kDbYTm XjKzKjngm4dHAD+lmByoh8WWOw== X-Google-Smtp-Source: APXvYqxxJYG+RzDfaaWL5dCFuLS9qOF/b5Qrf0WUAA6jk+dIaeFEhvTqgEJ4XaHcJGZB/5Wfxb4OJg== X-Received: by 2002:a05:6000:4c:: with SMTP id k12mr3555029wrx.100.1571771834679; Tue, 22 Oct 2019 12:17:14 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r1sm13770768wrw.60.2019.10.22.12.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 253731FF9A; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 10/19] tests/vm: netbsd autoinstall, using serial console Date: Tue, 22 Oct 2019 20:16:55 +0100 Message-Id: <20191022191704.6134-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, Eduardo Habkost , stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , Kamil Rytarowski , cota@braap.org, Gerd Hoffmann , stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, Kamil Rytarowski , aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Gerd Hoffmann Instead of fetching the prebuilt image from patchew download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Signed-off-by: Gerd Hoffmann Reviewed-by: Kamil Rytarowski Tested-by: Thomas Huth [ehabkost: rebased to latest qemu.git master] Signed-off-by: Eduardo Habkost Message-Id: <20191018181705.17957-2-ehabkost@redhat.com> [AJB: add sha512sum, rm path check] Signed-off-by: Alex Bennée --- tests/vm/basevm.py | 10 ++- tests/vm/netbsd | 188 ++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 186 insertions(+), 12 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index b5d1479bee9..4921e47f9f2 100755 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -92,19 +92,25 @@ class BaseVM(object): logging.info("KVM not available, not using -enable-kvm") self._data_args = [] - def _download_with_cache(self, url, sha256sum=None): + def _download_with_cache(self, url, sha256sum=None, sha512sum=None): def check_sha256sum(fname): if not sha256sum: return True checksum = subprocess.check_output(["sha256sum", fname]).split()[0] return sha256sum == checksum.decode("utf-8") + def check_sha512sum(fname): + if not sha512sum: + return True + checksum = subprocess.check_output(["sha512sum", fname]).split()[0] + return sha512sum == checksum.decode("utf-8") + cache_dir = os.path.expanduser("~/.cache/qemu-vm/download") if not os.path.exists(cache_dir): os.makedirs(cache_dir) fname = os.path.join(cache_dir, hashlib.sha1(url.encode("utf-8")).hexdigest()) - if os.path.exists(fname) and check_sha256sum(fname): + if os.path.exists(fname) and check_sha256sum(fname) and check_sha512sum(fname): return fname logging.debug("Downloading %s to %s...", url, fname) subprocess.check_call(["wget", "-c", url, "-O", fname + ".download"], diff --git a/tests/vm/netbsd b/tests/vm/netbsd index ee9eaeab504..9558a672efa 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -2,10 +2,11 @@ # # NetBSD VM image # -# Copyright 2017 Red Hat Inc. +# Copyright 2017-2019 Red Hat Inc. # # Authors: # Fam Zheng +# Gerd Hoffmann # # This code is licensed under the GPL version 2 or later. See # the COPYING file in the top-level directory. @@ -13,30 +14,197 @@ import os import sys +import time import subprocess import basevm class NetBSDVM(basevm.BaseVM): name = "netbsd" arch = "x86_64" + + link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.1/images/NetBSD-8.1-amd64.iso" + csum = "718f275b7e0879599bdac95630c5e3f2184700032fdb6cdebf3bdd63687898c48ff3f08f57b89f4437a86cdd8ea07c01a39d432dbb37e1e4b008f4985f98da3f" + size = "20G" + pkgs = [ + # tools + "git-base", + "pkgconf", + "xz", + "python37", + + # gnu tools + "bash", + "gmake", + "gsed", + "flex", "bison", + + # libs: crypto + "gnutls", + + # libs: images + "jpeg", + "png", + + # libs: ui + "SDL2", + "gtk3+", + "libxkbcommon", + ] + BUILD_SCRIPT = """ set -e; - rm -rf /var/tmp/qemu-test.* - cd $(mktemp -d /var/tmp/qemu-test.XXXXXX); + rm -rf /home/qemu/qemu-test.* + cd $(mktemp -d /home/qemu/qemu-test.XXXXXX); + mkdir src build; cd src; tar -xf /dev/rld1a; - ./configure --python=python2.7 {configure_opts}; + cd ../build + ../src/configure --python=python3.7 --disable-opengl {configure_opts}; gmake --output-sync -j{jobs} {target} {verbose}; """ + poweroff = "/sbin/poweroff" def build_image(self, img): - cimg = self._download_with_cache("http://download.patchew.org/netbsd-7.1-amd64.img.xz", - sha256sum='b633d565b0eac3d02015cd0c81440bd8a7a8df8512615ac1ee05d318be015732') - img_tmp_xz = img + ".tmp.xz" + cimg = self._download_with_cache(self.link, sha512sum=self.csum) img_tmp = img + ".tmp" - sys.stderr.write("Extracting the image...\n") - subprocess.check_call(["ln", "-f", cimg, img_tmp_xz]) - subprocess.check_call(["xz", "--keep", "-dvf", img_tmp_xz]) + iso = img + ".install.iso" + + self.print_step("Preparing iso and disk image") + subprocess.check_call(["ln", "-f", cimg, iso]) + subprocess.check_call(["qemu-img", "create", "-f", "qcow2", + img_tmp, self.size]) + + self.print_step("Booting installer") + self.boot(img_tmp, extra_args = [ + "-bios", "pc-bios/bios-256k.bin", + "-machine", "graphics=off", + "-cdrom", iso + ]) + self.console_init() + self.console_wait("Primary Bootstrap") + + # serial console boot menu output doesn't work for some + # reason, so we have to fly blind ... + for char in list("5consdev com0\n"): + time.sleep(0.2) + self.console_send(char) + self.console_wait("") + self.console_wait_send("> ", "boot\n") + + self.console_wait_send("Terminal type", "xterm\n") + self.console_wait_send("a: Installation messages", "a\n") + self.console_wait_send("b: US-English", "b\n") + self.console_wait_send("a: Install NetBSD", "a\n") + self.console_wait("Shall we continue?") + self.console_wait_send("b: Yes", "b\n") + + self.console_wait_send("a: ld0", "a\n") + self.console_wait_send("a: This is the correct", "a\n") + self.console_wait_send("b: Use the entire disk", "b\n") + self.console_wait("NetBSD bootcode") + self.console_wait_send("a: Yes", "a\n") + self.console_wait_send("b: Use existing part", "b\n") + self.console_wait_send("x: Partition sizes ok", "x\n") + self.console_wait_send("for your NetBSD disk", "\n") + self.console_wait("Shall we continue?") + self.console_wait_send("b: Yes", "b\n") + + self.console_wait_send("b: Use serial port com0", "b\n") + self.console_wait_send("f: Set serial baud rate", "f\n") + self.console_wait_send("a: 9600", "a\n") + self.console_wait_send("x: Exit", "x\n") + + self.console_wait_send("a: Full installation", "a\n") + self.console_wait_send("a: CD-ROM", "a\n") + + self.print_step("Installation started now, this will take a while") + self.console_wait_send("Hit enter to continue", "\n") + + self.console_wait_send("d: Change root password", "d\n") + self.console_wait_send("a: Yes", "a\n") + self.console_wait("New password:") + self.console_send("%s\n" % self.ROOT_PASS) + self.console_wait("New password:") + self.console_send("%s\n" % self.ROOT_PASS) + self.console_wait("Retype new password:") + self.console_send("%s\n" % self.ROOT_PASS) + + self.console_wait_send("o: Add a user", "o\n") + self.console_wait("username") + self.console_send("%s\n" % self.GUEST_USER) + self.console_wait("to group wheel") + self.console_wait_send("a: Yes", "a\n") + self.console_wait_send("a: /bin/sh", "a\n") + self.console_wait("New password:") + self.console_send("%s\n" % self.GUEST_PASS) + self.console_wait("New password:") + self.console_send("%s\n" % self.GUEST_PASS) + self.console_wait("Retype new password:") + self.console_send("%s\n" % self.GUEST_PASS) + + self.console_wait_send("a: Configure network", "a\n") + self.console_wait_send("a: vioif0", "a\n") + self.console_wait_send("Network media type", "\n") + self.console_wait("autoconfiguration") + self.console_wait_send("a: Yes", "a\n") + self.console_wait_send("DNS domain", "localnet\n") + self.console_wait("Are they OK?") + self.console_wait_send("a: Yes", "a\n") + self.console_wait("installed in /etc") + self.console_wait_send("a: Yes", "a\n") + + self.console_wait_send("e: Enable install", "e\n") + proxy = os.environ.get("http_proxy") + if not proxy is None: + self.console_wait_send("f: Proxy", "f\n") + self.console_wait("Proxy") + self.console_send("%s\n" % proxy) + self.console_wait_send("x: Install pkgin", "x\n") + self.console_init(1200) + self.console_wait_send("Hit enter to continue", "\n") + self.console_init() + + self.console_wait_send("g: Enable sshd", "g\n") + self.console_wait_send("x: Finished conf", "x\n") + self.console_wait_send("Hit enter to continue", "\n") + + self.print_step("Installation finished, rebooting") + self.console_wait_send("d: Reboot the computer", "d\n") + + # setup qemu user + prompt = "localhost$" + self.console_ssh_init(prompt, self.GUEST_USER, self.GUEST_PASS) + self.console_wait_send(prompt, "exit\n") + + # setup root user + prompt = "localhost#" + self.console_ssh_init(prompt, "root", self.ROOT_PASS) + self.console_sshd_config(prompt) + + # setup virtio-blk #1 (tarfile) + self.console_wait(prompt) + self.console_send("echo 'chmod 666 /dev/rld1a' >> /etc/rc.local\n") + + # turn off mprotect (conflicts with tcg) + self.console_wait(prompt) + self.console_send("echo security.pax.mprotect.enabled=0 >> /etc/sysctl.conf\n") + + self.print_step("Configuration finished, rebooting") + self.console_wait_send(prompt, "reboot\n") + self.console_wait("login:") + self.wait_ssh() + + self.print_step("Installing packages") + self.ssh_root_check("pkgin update\n") + self.ssh_root_check("pkgin -y install %s\n" % " ".join(self.pkgs)) + + # shutdown + self.ssh_root(self.poweroff) + self.console_wait("entering state S5") + self.wait() + os.rename(img_tmp, img) + os.remove(iso) + self.print_step("All done") if __name__ == "__main__": sys.exit(basevm.main(NetBSDVM)) From patchwork Tue Oct 22 19:16:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181635 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="GreiRrDr"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNjV2Z6nz9sP6 for ; Wed, 23 Oct 2019 06:24:14 +1100 (AEDT) Received: from localhost ([::1]:42094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzlM-0001mo-09 for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:24:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36379) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzeg-0002RH-8Z for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005MG-Vh for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:18 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:44858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005Ku-Oi for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x434.google.com with SMTP id z9so19298818wrl.11 for ; Tue, 22 Oct 2019 12:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vLJ2YSmOllt3Q5f6C9bffaEhtm/oTDIY5U5spBdjavA=; b=GreiRrDrn1dTZvi+EVPtSfZ2qeMn4Q1x/1sQt24uacUchA3poE31MCxyLvMX2LalGH goenCo2T7vnVJBeIQ4wNLz3Uxf0wKVOnuZj34sTjXDoqbY2FWRza+Ksq1jeCDsQ2/ORR vj8qJN+5U5BVBoVvudHtmcRnfX7iHXLtYOE3NYd3pLb4AN9BXXxsRko4yeA5F3D7aTjT ZLDhrajPKcx84Lfu9nMx+8SE1E9JF5ewdmaYV+nHRYhqErJVBrlsW1L3AKn7bewTtWgV xtRbspt8Nn4PIBgecefaSOD5nnfR2pmUdYB6cnznEdybTG0GNwORqekj3N+CPxPqcCr4 bang== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vLJ2YSmOllt3Q5f6C9bffaEhtm/oTDIY5U5spBdjavA=; b=PDnB4uyQLTKxnlZQaAIEYOEBW32ilSB084YzDUrORXHikyWhJd/T6+eo8ea2PrRkbx 6BY4jnTXHDKOVVvmFMGoymQQFlwCQ647R9WaeLyswzyJrfsLYizuYQPwIjevTkW4VP61 poOT+wQgJ4H0u6K5erCLxmd8zo6zsCIAOh9WJfp+t9jw2RQZbxhW+4RfPhg4dv/HfLPW 2KHGxdbBtiRMWFj/FWqKIXDDVqHMYYIPAIEkpotMkAsbTqqIKhYD25G7NdMMEr7k4D6p RONX31HOzgV5fB0Mbxi/L9qI298/EGtQNGFnNLDjugy58+6A8TdOrq5K5cmbgjo3sJPL kE/w== X-Gm-Message-State: APjAAAXeo76oZQ/RbzORBKsOt6ItR2E3rLd20BslwZCV9HgC+we0f+4b SLOWHadxEWq/7hwQMEaUleYuhw== X-Google-Smtp-Source: APXvYqxqWOx/BjJJ6Jn6AI5kPJwHNVS6cL72N5MU/zfvRWNaiYHDL6lr3RxWJnT4Gk3Drrgj6yvL2w== X-Received: by 2002:a5d:4003:: with SMTP id n3mr4596124wrp.95.1571771835578; Tue, 22 Oct 2019 12:17:15 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id e3sm17592237wme.39.2019.10.22.12.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:11 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3CAC81FF9B; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 11/19] tests/vm: Let subclasses disable IPv6 Date: Tue, 22 Oct 2019 20:16:56 +0100 Message-Id: <20191022191704.6134-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::434 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, Eduardo Habkost , stefanb@linux.vnet.ibm.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Eduardo Habkost The mechanism will be used to work around issues related to IPv6 on the netbsd image builder. Signed-off-by: Eduardo Habkost Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20191018181705.17957-3-ehabkost@redhat.com> Signed-off-by: Alex Bennée --- tests/vm/basevm.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 4921e47f9f2..59bd1d31fbe 100755 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -57,6 +57,8 @@ class BaseVM(object): arch = "#arch" # command to halt the guest, can be overridden by subclasses poweroff = "poweroff" + # enable IPv6 networking + ipv6 = True def __init__(self, debug=False, vcpus=None): self._guest = None self._tmpdir = os.path.realpath(tempfile.mkdtemp(prefix="vm-test-", @@ -81,7 +83,8 @@ class BaseVM(object): self._args = [ \ "-nodefaults", "-m", "4G", "-cpu", "max", - "-netdev", "user,id=vnet,hostfwd=:127.0.0.1:0-:22", + "-netdev", "user,id=vnet,hostfwd=:127.0.0.1:0-:22" + + (",ipv6=no" if not self.ipv6 else ""), "-device", "virtio-net-pci,netdev=vnet", "-vnc", "127.0.0.1:0,to=20"] if vcpus and vcpus > 1: From patchwork Tue Oct 22 19:16:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181648 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="QP6x4850"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNw332y5z9sNx for ; Wed, 23 Oct 2019 06:33:23 +1100 (AEDT) Received: from localhost ([::1]:42496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzuD-0003Xk-6n for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:33:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37531) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMznU-0004wu-R0 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMznT-00026i-Mt for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:24 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:38868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMznT-00025p-Ci for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:23 -0400 Received: by mail-wr1-x436.google.com with SMTP id v9so8087385wrq.5 for ; Tue, 22 Oct 2019 12:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FAqFQJqp9wB9CdQPIdWZc2GaC2MYvXPxclSsx2WiX5w=; b=QP6x4850OFgTIOy7Fxl414ti+BsoxT3yD3P+RDuaAWsoIAAmC9urz5YJq7m1I3irTo bb7NQeb4+9pNS6uUSiGMdZtomQ6r4bFO2SapJrvAoXX9gY7+susFDjwEQJCAYO0sgRWr aXBihF84rl9aVjlKVHmjf+ZVw6NdmIn41X3ygRYq//x2HPGLYlKHnl7FSSyHw03m6JQc dgyeqPi/Bida5zs3x0ldhYv1mFTxhQc0k8C87Qga4jTvWVH+0dglCqhn1dLhwNuReavf HgqDgnzv536VDKB7eJWk63/4oLAeHPyuoE3QbRFeOYU2myx5dqM/EOqktptgr8o8rkGG xQeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FAqFQJqp9wB9CdQPIdWZc2GaC2MYvXPxclSsx2WiX5w=; b=ipuq0D7DgVwx5U+ulT6+RhyTn43Kcqk9TSc84TNIz7dHTD+zo2QXzDDsZ6TqSsNAJ6 s/4+CTA1mhmCMPBNP8p19rtvuqpO0b7Z5EidV1eJck6rUZR0L0cRr3R3Lpj6cq3WkqSF 4t7m59ymD7JifiGhfiS2pMMsH+Iu1PjCHe4/FoV3AH4L1pP0Ogpn07w4g7pl3VSQ7buQ HX2E9c+0//OhtO5BG+PxRWZ1Rp4NCoUTdm1nPktvYotZjQHKq76cACVqAt/DQwFIuCDy KrSIBCXQY0BlINxxGC8k+qMatV8nqBjfhta/kZ4E/xmz10kRgr+5qN7S1ORYq0FXJHQr H/qw== X-Gm-Message-State: APjAAAVIzyaOpK078TUdyqYJcjwpSxXxQmrOyPc/lgs+eTehuZyrkmLf zMQsBiRYB2tZIU3MjGZuaV04yA== X-Google-Smtp-Source: APXvYqwB3kPAvgN9apQXs3bY0grYqLcRaTmppWfewT8VyHWtoxXd8L9v+5OGsVrU/3Gy2EfnUA7qWw== X-Received: by 2002:adf:9b9d:: with SMTP id d29mr4943460wrc.293.1571772382229; Tue, 22 Oct 2019 12:26:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z142sm19702344wmc.24.2019.10.22.12.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:26:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5570A1FF9C; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 12/19] tests/vm/netbsd: Disable IPv6 Date: Tue, 22 Oct 2019 20:16:57 +0100 Message-Id: <20191022191704.6134-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, Eduardo Habkost , stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , Kamil Rytarowski , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Eduardo Habkost Workaround for issues when the host has no IPv6 connectivity. Signed-off-by: Eduardo Habkost Reviewed-by: Thomas Huth Message-Id: <20191018181705.17957-4-ehabkost@redhat.com> Signed-off-by: Alex Bennée --- tests/vm/netbsd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/vm/netbsd b/tests/vm/netbsd index 9558a672efa..d4dd1929f2d 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -63,6 +63,13 @@ class NetBSDVM(basevm.BaseVM): """ poweroff = "/sbin/poweroff" + # Workaround for NetBSD + IPv6 + slirp issues. + # NetBSD seems to ignore the ICMPv6 Destination Unreachable + # messages generated by slirp. When the host has no IPv6 + # connectivity, this causes every connection to ftp.NetBSD.org + # take more than a minute to be established. + ipv6 = False + def build_image(self, img): cimg = self._download_with_cache(self.link, sha512sum=self.csum) img_tmp = img + ".tmp" From patchwork Tue Oct 22 19:16:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181637 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="A58/CEve"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNlM266Mz9sNx for ; Wed, 23 Oct 2019 06:25:51 +1100 (AEDT) Received: from localhost ([::1]:42144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzmv-0003df-2G for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:25:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36442) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzej-0002Sz-7Z for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzeg-0005Nk-3L for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:20 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:39075) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzef-0005MW-T5 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:18 -0400 Received: by mail-wm1-x343.google.com with SMTP id r141so7653783wme.4 for ; Tue, 22 Oct 2019 12:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t90FRs36jykQWIQiuf5k/HIsomfoZi6hqWnwwcBmJOI=; b=A58/CEve1bOsXJfvmqX9zNw9jJj517JTAESaQ4S/vEklYwUiYxyQP6LfbnCKAOvPru mXu9Borla2VdiPFSC3x7TsoEpp5vKk/NQ3xnACRtBe1x4CyF74uWak8cOjQricciBEP3 liwvVbj6v4w2qyQJnSilInNZXXiojIjieic5W3ZeEkp1l5puWPY9jDK+nZxXN652EctG 7AEN1KxV8u2gUxvLFNB2VW8cwNIkd+BNPDpNzNxf3APBD/hmG5MyIQOcKD6z3k6anAMA aMMjOFMLrwnR7dk2/KJIKOX8cJKaQFZhl35PHARSTjghwsF1rz+JZpAiQrMkzxN5ugkq OYBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t90FRs36jykQWIQiuf5k/HIsomfoZi6hqWnwwcBmJOI=; b=AYhIRFU3wnl/9IPXQtoclKCzaMerqeBVWhAn4z53to+hH7TJspmLMyOZD5xKCdKmHx e0SXG14UH2zI4WUbn0iaGg/euHgzCfU//mTalHFs0ZxBetnveYpTfwI0nJuWpCclPb5O 1PF64oWs5TshBVtk2V8L5hMy2QDLb3UsdCYCimdEkwS/Q1LEBrRWsBJhU682Esw7vugt nLV+uEGsgoXlAT1N1AbkXHR+zx+Snkj4XtYCJTXVxHboRAOz9WlonZLZEODR/cLI1QM1 n6KPrkTTKKK5F+xZcVXeg4DNo/yialW5c646vMUwhK9i8xNZ+9xyAkJ55b5nXpE5kp95 Vzmw== X-Gm-Message-State: APjAAAUqSF2C0p1vkpVtLzxugr6/s+Y0pB5KCsrTN+E2Vf5gTs6A5QKy J5HHSCtzDhx+6Y+IK1TAIf2RSQ== X-Google-Smtp-Source: APXvYqz5zbEshz26wnbOF01rWBN7Td4KpTklmBs2WepRM+KMGxcq2vzT6N8PmS9A+F+E3GIs73B2Fg== X-Received: by 2002:a7b:c041:: with SMTP id u1mr4305307wmc.88.1571771836688; Tue, 22 Oct 2019 12:17:16 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o4sm30892371wre.91.2019.10.22.12.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6BE051FF9D; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 13/19] travis.yml: cache the clang sanitizer build Date: Tue, 22 Oct 2019 20:16:58 +0100 Message-Id: <20191022191704.6134-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hopefully we'll see the same benefits as the other builds. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index da6a2063fca..c43597f1331 100644 --- a/.travis.yml +++ b/.travis.yml @@ -189,6 +189,7 @@ matrix: - env: - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} " + - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-sanitize" compiler: clang before_script: - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; } From patchwork Tue Oct 22 19:16:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181636 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="jPeUPUP6"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNjZ0cFjz9sPZ for ; Wed, 23 Oct 2019 06:24:18 +1100 (AEDT) Received: from localhost ([::1]:42104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzlP-00024d-Og for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:24:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36465) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzej-0002Tl-UY for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzeh-0005Q5-KL for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:21 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:39600) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzeh-0005Na-EC for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:19 -0400 Received: by mail-wr1-x444.google.com with SMTP id a11so3238597wra.6 for ; Tue, 22 Oct 2019 12:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ifdTWY7rA8JzLf+c4o7pX4/w+sZoXMC1jEUoG7lAHv4=; b=jPeUPUP6T0TNgGu6WSyoaEuW/ws6xMG3ufV7u/6Vsp3BrV0xLEedvQ5mcfkpO2DDbt JvAGXKz7YdkB+dxZy9ReQFLccX3feX9qd/cP/uPrLyg8e6IGl7ihM5vOlbO2xV+rjYvv cgEfYQWFYC0rGfX5CfG77aIb/VlDVZqLxKCosky++5hGf5dKp5QMP3sJeOaDxnqhjBCS CtoH5zJST4JoXvVvv+xq6FoeYBxCEfbnNaI/mAQQDdsN37MRcO/ZyI7XUyjiExImTalW cAw4J92rOCWLuX27LrT/+ui7uZJgYZtZhfm/7Dz9vufIRPbD+FIzAzC1NvDkVkH1++mG 1C8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ifdTWY7rA8JzLf+c4o7pX4/w+sZoXMC1jEUoG7lAHv4=; b=BIc6SDj824tlPuVM0PvKAOIEmJa81D87iplX1VzuYA+Ii1CqnB5v39X6shkwpvXV7O 89qF+2ThUH1gI2AcgUb5hd66iJksTGjIpbWj7UHTTPsPem4GFOLXDJxaRlfunUh2/a+x wg7JMg65/BQxHvOkJdyg6z83KTSfZXADHd7ONJD6ThrlTNTGd4M8HQzDt+mir6sEZgnI kPQnhRJmG5+ujmrGMbhV6usg6HZyvzFvY9YAdHxBuiTvO3Qj2fRZi6/7512J9m79mPdU +BDHcS1F5uEpJ2DNlTYQcnl88FJaMEC0NOZ+t3IZwSk/yaz4H2pGu/x24BsADaEQC+Mj BC3w== X-Gm-Message-State: APjAAAXkevrnPJPVZ4y412N1iUbmiQsX/4eduzFwcmq2PS/IFalrWXfD WJOAIrL5Hb9srvpSJC+2ZXV0Fw== X-Google-Smtp-Source: APXvYqzHxSsV236LaS9ViuVgyFPnP0sjA+pk37Cu13+vzYSAw3y2EEB2WOAkpEjVfNEQOPg/GPHjaA== X-Received: by 2002:adf:92e7:: with SMTP id 94mr5185809wrn.199.1571771837272; Tue, 22 Oct 2019 12:17:17 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m7sm20390526wrv.40.2019.10.22.12.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 833DD1FF9E; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 14/19] iotests: remove 'linux' from default supported platforms Date: Tue, 22 Oct 2019 20:16:59 +0100 Message-Id: <20191022191704.6134-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Kevin Wolf , berrange@redhat.com, "open list:Block layer core" , stefanb@linux.vnet.ibm.com, John Snow , richard.henderson@linaro.org, f4bug@amsat.org, Max Reitz , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: John Snow verify_platform will check an explicit whitelist and blacklist instead. The default will now be assumed to be allowed to run anywhere. For tests that do not specify their platforms explicitly, this has the effect of enabling these tests on non-linux platforms. For tests that always specified linux explicitly, there is no change. For Python tests on FreeBSD at least; only seven python tests fail: 045 147 149 169 194 199 211 045 and 149 appear to be misconfigurations, 147 and 194 are the AF_UNIX path too long error, 169 and 199 are bitmap migration bugs, and 211 is a bug that shows up on Linux platforms, too. This is at least good evidence that these tests are not Linux-only. If they aren't suitable for other platforms, they should be disabled on a per-platform basis as appropriate. Therefore, let's switch these on and deal with the failures. Reviewed-by: Max Reitz Signed-off-by: John Snow Message-Id: <20191022072135.11188-2-thuth@redhat.com> --- tests/qemu-iotests/iotests.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index 3a8f378f90d..75e64ef85be 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -869,9 +869,14 @@ def verify_protocol(supported=[], unsupported=[]): if not_sup or (imgproto in unsupported): notrun('not suitable for this protocol: %s' % imgproto) -def verify_platform(supported_oses=['linux']): - if True not in [sys.platform.startswith(x) for x in supported_oses]: - notrun('not suitable for this OS: %s' % sys.platform) +def verify_platform(supported=None, unsupported=None): + if unsupported is not None: + if any((sys.platform.startswith(x) for x in unsupported)): + notrun('not suitable for this OS: %s' % sys.platform) + + if supported is not None: + if not any((sys.platform.startswith(x) for x in supported)): + notrun('not suitable for this OS: %s' % sys.platform) def verify_cache_mode(supported_cache_modes=[]): if supported_cache_modes and (cachemode not in supported_cache_modes): @@ -933,7 +938,8 @@ def execute_unittest(output, verbosity, debug): r'Ran \1 tests', output.getvalue())) def execute_test(test_function=None, - supported_fmts=[], supported_oses=['linux'], + supported_fmts=[], + supported_platforms=None, supported_cache_modes=[], unsupported_fmts=[], supported_protocols=[], unsupported_protocols=[]): """Run either unittest or script-style tests.""" @@ -950,7 +956,7 @@ def execute_test(test_function=None, verbosity = 1 verify_image_format(supported_fmts, unsupported_fmts) verify_protocol(supported_protocols, unsupported_protocols) - verify_platform(supported_oses) + verify_platform(supported=supported_platforms) verify_cache_mode(supported_cache_modes) if debug: From patchwork Tue Oct 22 19:17:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181640 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ZlfQOeQ+"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNpf5xm1z9sP6 for ; Wed, 23 Oct 2019 06:28:42 +1100 (AEDT) Received: from localhost ([::1]:42304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzpg-0006xK-65 for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:28:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37476) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMznT-0004uB-EZ for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMznS-00025W-HA for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:23 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:40667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMznR-000246-IS for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:22 -0400 Received: by mail-wr1-x444.google.com with SMTP id o28so19342078wro.7 for ; Tue, 22 Oct 2019 12:26:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TE2/ZCAXM0Ir/veH6eAjWvYmsY95+T3NphBUd07C2xo=; b=ZlfQOeQ+aKBOuEfrd09X17sAVYVE0UAABOtp8Em0wXsrbbT7SD3rOVL6GtLFT5t7zP lL+TGpwNbBOaiTzwL//5MznxREiBQVLM2WLnk/xEtFL34vycx1XDC+YgYTllsnWNDfDL vav/rqYhajx0fzqVRu5llYfu8piIvD9gJMoWmIcx2/SN+y+s78inUvFTX7Wd1bAQOETu 1J14b6DwT6cCz+e00ROh++NcKoP2V8uGlaN3NetSKVXNOZJ2JB8xVLW3c6hizCcAspey qOZztXbFCshq6wT//zcqhTZuiuRTjyaVaxEPyZvmFn/0zv2X08E3qiAPaMdsGgzH5bCN OrUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TE2/ZCAXM0Ir/veH6eAjWvYmsY95+T3NphBUd07C2xo=; b=BF4EF6abkPUGcXma9LFE88iR9obHH0x9fLmJnQT9qYT7ChvhnEx1LeR+pg5wzyrYCS lNNJAUjb/sRBw5IDvisMGqlp3r+ronKAFRQarUhQ+6MnDLYt+28tv/T1y8WUYciQhJqx CVpWidvjIixzqg6u9VhnUyBpaOqzgpPmW/WhR3cWo+WGlIMXKINVXzqMaGk5Lp09x+ep pFDnw3ubRNoi9nIB3ydQx5PBY6vBgHyS91AOUrPJqi2O1oJuVeAo+IQj6Ov+pDbcidbz E35CHLNC1hSHXuVSZpUkPfyBkAe76ofex74cfdeOb5WrV133RuzPa/0lb1EanQzmblJ4 MLWQ== X-Gm-Message-State: APjAAAVesFo0Q84n4Iw2sIDgAyROkbb5HToW/OGEZA5uKZeH6A7CPVWK vOnftKkaavw/hv15GydKPo4Ckg== X-Google-Smtp-Source: APXvYqxE2kKdxkp63yUxscnjKpjUF4yuTGgvzMX8jfEJYU3u0z2BVEZxsDncjNfCTUbTpmg0bsMnSQ== X-Received: by 2002:adf:a547:: with SMTP id j7mr4813821wrb.154.1571772380189; Tue, 22 Oct 2019 12:26:20 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 6sm3345951wmd.36.2019.10.22.12.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:26:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 99A651FF9F; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 15/19] iotests: Test 041 only works on certain systems Date: Tue, 22 Oct 2019 20:17:00 +0100 Message-Id: <20191022191704.6134-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Kevin Wolf , Thomas Huth , berrange@redhat.com, "open list:Block layer core" , stefanb@linux.vnet.ibm.com, richard.henderson@linaro.org, f4bug@amsat.org, Max Reitz , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth 041 works fine on Linux, FreeBSD, NetBSD and OpenBSD, but fails on macOS. Let's mark it as only supported on the systems where we know that it is working fine. Signed-off-by: Thomas Huth Message-Id: <20191022072135.11188-3-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé --- tests/qemu-iotests/041 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/qemu-iotests/041 b/tests/qemu-iotests/041 index 8568426311e..0326888c980 100755 --- a/tests/qemu-iotests/041 +++ b/tests/qemu-iotests/041 @@ -1123,4 +1123,5 @@ class TestOrphanedSource(iotests.QMPTestCase): if __name__ == '__main__': iotests.main(supported_fmts=['qcow2', 'qed'], - supported_protocols=['file']) + supported_protocols=['file'], + supported_platforms=['linux', 'freebsd', 'netbsd', 'openbsd']) From patchwork Tue Oct 22 19:17:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181647 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="DeZOUmjD"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNtD0fG8z9sNx for ; Wed, 23 Oct 2019 06:31:48 +1100 (AEDT) Received: from localhost ([::1]:42348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzsf-0002AK-J0 for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:31:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37484) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMznT-0004ui-Pl for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMznS-00025d-Hv for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:23 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:39676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMznS-000231-Bc for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:22 -0400 Received: by mail-wr1-x444.google.com with SMTP id a11so3263349wra.6 for ; Tue, 22 Oct 2019 12:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ffy3OIxeLVHFunzuVFuVov7mBJ8H3hjvxjkH7Fg2UW8=; b=DeZOUmjDWJZljWTWukP1OOJQim057RBUXLM1kYBxDtwpvPX24KvtItGmbY4HqBEddQ 2kZEsZHigqpp6YKWThQvvbJjK6MvHe7B+BkTTUPeKepqkPWIm5dIvAw8lxtjxUWhQbQH 59bFNHWByiYe5z4vBH+8TUeiOteF9LyAwx7ait1RHxAh01XoWQyMDMnA0fWH6JvVn7P5 XkLQKU2OYy2/d9Fg0hx9ZG30pIaB6WIav/x5xM5eUeteFos1opn7MtbFjnH895Njp3T5 sKvz7QR4uUkwRET81ePNEf+bs+IINR5t+Utd6DvQEJ54Fl7CQuCXF/a8sqPL/D15vtk5 S2cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ffy3OIxeLVHFunzuVFuVov7mBJ8H3hjvxjkH7Fg2UW8=; b=EuCbJcJH5A2jxmQr9zPWiv1HsNxoFkb06fH8/M7dNOijhhhUWN6O7iy/eal656ifkP ifGhuk2os7CeoviSTmsKLM+GyThS01OHI91XW6QXSR13NsSTjcn1eMv++NaOCQMqeR0M De1ogYsAZTJy+NNsBHDvuzbcn36mnHItR8VxOZsSHJL6V/abFj+Ue558RPbaZoJRwJYh m2/08MjTwc3GT31LPHKQEfSfSIKD9DbfOJJQ3movIIVJErz3UAHkBNeka7ayeascE7+N T5jYD8XDoN1aH2YebULD6UWRxLKRAHRX2uGc7/d9Yt5eBiUzzhVRJkwIA3qNy1v47FVE wXWQ== X-Gm-Message-State: APjAAAV8GRfhZ93SnOcfT9jYQ/as6Gm8rqufzK29uK4KwaRdT2HA+ngG dtpBCOSBbhCYZeC5s5ZD7VlMLA== X-Google-Smtp-Source: APXvYqyLHxUiR2wExjDGzRw94SuCZW555UyjjRscbBJGROFNhOM2xk5zn8s8vXb30QsVibCRbMKjqQ== X-Received: by 2002:adf:9b9d:: with SMTP id d29mr4943329wrc.293.1571772379700; Tue, 22 Oct 2019 12:26:19 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 37sm30238721wrc.96.2019.10.22.12.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:26:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B01BA1FFA3; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 16/19] iotests: Test 183 does not work on macOS and OpenBSD Date: Tue, 22 Oct 2019 20:17:01 +0100 Message-Id: <20191022191704.6134-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Kevin Wolf , Thomas Huth , berrange@redhat.com, "open list:Block layer core" , stefanb@linux.vnet.ibm.com, richard.henderson@linaro.org, f4bug@amsat.org, Max Reitz , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth In the long term, we might want to add test 183 to the "auto" group (but it still fails occasionally, so we cannot do that yet). However, when running 183 in Cirrus-CI on macOS, or with our vm-build-openbsd target, it currently always fails with an "Timeout waiting for return on handle 0" error. Let's mark it as supported only on systems where the test is working fine (i.e. Linux, FreeBSD and NetBSD). Signed-off-by: Thomas Huth Message-Id: <20191022072135.11188-4-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé --- tests/qemu-iotests/183 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qemu-iotests/183 b/tests/qemu-iotests/183 index 04fb344d08e..ab5a7089549 100755 --- a/tests/qemu-iotests/183 +++ b/tests/qemu-iotests/183 @@ -42,6 +42,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.filter . ./common.qemu +_supported_os Linux FreeBSD NetBSD _supported_fmt qcow2 raw qed quorum _supported_proto file From patchwork Tue Oct 22 19:17:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181650 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="iYQDLutP"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNyd50Zcz9sNx for ; Wed, 23 Oct 2019 06:35:37 +1100 (AEDT) Received: from localhost ([::1]:42544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzwN-0005TV-Bn for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:35:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37543) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMznV-0004xp-HA for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMznU-00027E-8f for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:25 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:42496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMznU-00026b-25 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:24 -0400 Received: by mail-wr1-x441.google.com with SMTP id r1so9556404wrs.9 for ; Tue, 22 Oct 2019 12:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LpJXKQKkVgScovOu0Bd6ZFI8XIdqfOawG4aSS/zoE0s=; b=iYQDLutPJOnZIZm9HXBfzFWbYMMwMfh+V76yE/CiZawGqnveccxCJD0TBxpJP65OEX tj1VQH5X8JlMIeHUgNzx0s1SwhUFRDtMjgfLn3h2ICrpd+svQAWl4sy11S8qkWrT/ZSz vlSqxlrVnEMNBh9x05Fc7Mn/BzWbd9x1Z9dVZPt9gtvxwvCoOmUhJnGbK8NceijqMFlD g9U13z4VYC8/HLt8SKiQG9hObJ9cpD8/JipCc5XEaqHXV8MbVw5PmRk1usjxXic0BLj1 sEaWa29Cx+xJL9odLeBjpAGwFhNfkNBaastV4sUbeMEThNdLPbus4tedW7hzOLXAwm7a RMxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LpJXKQKkVgScovOu0Bd6ZFI8XIdqfOawG4aSS/zoE0s=; b=kCXigkhJjLX1saxU7c01LDzAGMNF1V7kk58fyw0ID21B2uxx7VoKhVf+lAnd1YfXY6 m7dvkT5KWm6Jn4XmDNo5LwiEEnHT2Zm+we5fpD9bsLW++S+fyXSO3NVQfZrrFstkBlL/ ULBC2N0/hKENZGTOoYdfVQphGllzx+jGDLyvnOB3egmEbwhbVqvIBG6G6f5DL+jLM3nz H+R4LzHINw0fSJqZXs9UACLUZPtEONG159eER7Na4X/gPXODW7Qphhuq/dE0syjqC8zQ yzwJMM80HgRygohXOVvwARXdpw92dTcgQH8hcC69siMjQOjK/hbETja4ekKoTEQ/+tQq Jy+A== X-Gm-Message-State: APjAAAVWNENvLFhLxtERHLbLUwOMxzUdG3En0WPlO6vjMeHgXuJX0h7B NeB//fk4FTeDWzOIgRglkgJbcQ== X-Google-Smtp-Source: APXvYqxKqbIf15Q0Q1WnyyrmTJpMzgsMla4XdJw7x1+97ttj1Woi7Bt1E2cWKUq/h50wDHCJGHiQKA== X-Received: by 2002:a05:6000:10d:: with SMTP id o13mr4737511wrx.321.1571772382945; Tue, 22 Oct 2019 12:26:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v20sm15804359wml.26.2019.10.22.12.26.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:26:22 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C64A11FFA5; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 17/19] iotests: Skip "make check-block" if QEMU does not support virtio-blk Date: Tue, 22 Oct 2019 20:17:02 +0100 Message-Id: <20191022191704.6134-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, stefanb@linux.vnet.ibm.com, richard.henderson@linaro.org, f4bug@amsat.org, Max Reitz , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth The next patch is going to add some python-based tests to the "auto" group, and these tests require virtio-blk to work properly. Running iotests without virtio-blk likely does not make too much sense anyway, so instead of adding a check for the availability of virtio-blk to each and every test (which does not sound very appealing), let's rather add a check for this at the top level in the check-block.sh script instead (so that it is possible to run "make check" without the "check-block" part for qemu-system-tricore for example). Reviewed-by: Max Reitz Signed-off-by: Thomas Huth Message-Id: <20191022072135.11188-5-thuth@redhat.com> --- tests/check-block.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/check-block.sh b/tests/check-block.sh index 679aedec50c..e9e2978818a 100755 --- a/tests/check-block.sh +++ b/tests/check-block.sh @@ -26,10 +26,24 @@ if grep -q "CFLAGS.*-fsanitize" config-host.mak 2>/dev/null ; then exit 0 fi -if [ -z "$(find . -name 'qemu-system-*' -print)" ]; then +if [ -n "$QEMU_PROG" ]; then + qemu_prog="$QEMU_PROG" +else + for binary in *-softmmu/qemu-system-* ; do + if [ -x "$binary" ]; then + qemu_prog="$binary" + break + fi + done +fi +if [ -z "$qemu_prog" ]; then echo "No qemu-system binary available ==> Not running the qemu-iotests." exit 0 fi +if ! "$qemu_prog" -M none -device help | grep -q virtio-blk >/dev/null 2>&1 ; then + echo "$qemu_prog does not support virtio-blk ==> Not running the qemu-iotests." + exit 0 +fi if ! command -v bash >/dev/null 2>&1 ; then echo "bash not available ==> Not running the qemu-iotests." From patchwork Tue Oct 22 19:17:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181651 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Kktoz4rO"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNzS1FpSz9sP6 for ; Wed, 23 Oct 2019 06:36:20 +1100 (AEDT) Received: from localhost ([::1]:42564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzx3-0006gu-OT for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:36:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37518) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMznU-0004wD-Gk for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMznT-00026K-5t for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:24 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:39319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMznT-00024J-07 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:23 -0400 Received: by mail-wm1-x334.google.com with SMTP id r141so7674554wme.4 for ; Tue, 22 Oct 2019 12:26:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QOLEg7xmqkR0qKe9FHUO6HsPeD95QlCUJggtiyjFmQ0=; b=Kktoz4rOjD3/indQ0VnDxTqVO+Y5ncCJyy4TthePZts3N2wTjWiX177UIH8VP1A37T Q7uyO0PnELr56Hs37bqYt+iF1yHZpBg4ik8MXhbqNEjILVcGKSaWfvJjIBQQZs4OEi1Q +5lIjkOoB3o71bpUvW6u+VOjqRdRduEfsAApITDbNpQp2iS6fV8H5MCRC9mE+DMriGsj 4ox2VeykM7uV95e5wDG0JPaqD8KrLwm6Cz1lY/wpvpxFa6BHF4zJtX9uXtwj5vXgIlXG 91o8J7XUscm/lyZMxd8YviLLj66pDshIFpVolsdv6Z+92JVDFvmq6LdlXH06rZJKVQ0A 2HXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QOLEg7xmqkR0qKe9FHUO6HsPeD95QlCUJggtiyjFmQ0=; b=L8iXTu8ppvGeFs8O8o3aN0RP9NouwFPemKtd7zYu1HkP92nU6glbeNOZTumBBzFEGx dOfBxYyCBbk+EdVCELIg9XwWve5UfUFuOOUHr0EEyHJ+31YPCtVuexRQEQQcj/bM6GTH ueVpTCQEFmborNVDn0b2sa6nhvbcmUKtL0qWnzGKqyEZdqDrUiMjjwGaC6wc+pAXvxTG C/feVdsxVX691MvLvddQEtNdZk8vNRmjTi9p5l/WQepMGb67MyJvrVx3ZirI7/9Unojz A/RnzvAQmfqrPLmvfeX9WPxtt6M7ldCY59FYA68mJ3KJf8YNIx5QbnDnYjZSyMNiC7js 5tzw== X-Gm-Message-State: APjAAAXgrikiLedHk+6M99eoZt+7IShH2fHVGMcwc4Xp+VufKKLCgPIi 4eAjHW50/QMqqUZeqzjHS0UCow== X-Google-Smtp-Source: APXvYqyy7s7Rj2O8j/UEncfQTx1m0pcgZqvmbXQsimErEF2gjJ5hXCW9eVvdGaPMSWMqgWFegYyRSA== X-Received: by 2002:a1c:35c3:: with SMTP id c186mr4277780wma.94.1571772380832; Tue, 22 Oct 2019 12:26:20 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s13sm17352070wmc.28.2019.10.22.12.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:26:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DC0D01FFA6; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 18/19] iotests: Enable more tests in the 'auto' group to improve test coverage Date: Tue, 22 Oct 2019 20:17:03 +0100 Message-Id: <20191022191704.6134-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Kevin Wolf , Thomas Huth , berrange@redhat.com, "open list:Block layer core" , stefanb@linux.vnet.ibm.com, richard.henderson@linaro.org, f4bug@amsat.org, Max Reitz , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth According to Kevin, tests 030, 040 and 041 are among the most valuable tests that we have, so we should always run them if possible, even if they take a little bit longer. According to Max, it would be good to have a test for iothreads and migration. 127 and 256 seem to be good candidates for iothreads. For migration, let's enable 091, 181, and 203 (which also tests iothreads). Reviewed-by: Max Reitz Signed-off-by: Thomas Huth Message-Id: <20191022072135.11188-6-thuth@redhat.com> --- tests/qemu-iotests/group | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group index a73df279e5e..33b499ed410 100644 --- a/tests/qemu-iotests/group +++ b/tests/qemu-iotests/group @@ -51,7 +51,7 @@ 027 rw auto quick 028 rw backing quick 029 rw auto quick -030 rw backing +030 rw auto backing 031 rw auto quick 032 rw auto quick 033 rw auto quick @@ -61,8 +61,8 @@ 037 rw auto backing quick 038 rw auto backing quick 039 rw auto quick -040 rw -041 rw backing +040 rw auto +041 rw auto backing 042 rw auto quick 043 rw auto backing 044 rw @@ -112,7 +112,7 @@ 088 rw quick 089 rw auto quick 090 rw auto quick -091 rw migration +091 rw auto migration 092 rw quick 093 throttle 094 rw quick @@ -148,7 +148,7 @@ 124 rw backing 125 rw 126 rw auto backing -127 rw backing quick +127 rw auto backing quick 128 rw quick 129 rw quick 130 rw auto quick @@ -197,7 +197,7 @@ 177 rw auto quick 178 img 179 rw auto quick -181 rw migration +181 rw auto migration 182 rw quick 183 rw migration 184 rw auto quick @@ -218,7 +218,7 @@ 200 rw 201 rw migration 202 rw quick -203 rw migration +203 rw auto migration 204 rw quick 205 rw quick 206 rw @@ -270,7 +270,7 @@ 253 rw quick 254 rw backing quick 255 rw quick -256 rw quick +256 rw auto quick 257 rw 258 rw quick 260 rw quick From patchwork Tue Oct 22 19:17:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 1181649 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="C6ZOa74E"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yNx15VgTz9sNx for ; Wed, 23 Oct 2019 06:34:13 +1100 (AEDT) Received: from localhost ([::1]:42524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzv1-0004Ut-HJ for incoming@patchwork.ozlabs.org; Tue, 22 Oct 2019 15:34:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37490) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMznT-0004uu-VV for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMznS-00025t-Ph for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:23 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:55491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMznS-00025H-Jb for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:26:22 -0400 Received: by mail-wm1-x336.google.com with SMTP id g24so9415493wmh.5 for ; Tue, 22 Oct 2019 12:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CR15GmJcpTxUHSy0ueYvJce2z343jSaRkeBQ2QiDxqA=; b=C6ZOa74EIOFdkz6DKBKo/YIFzj6BOKROAT4nnwiWM71zgqs8IiNsiCzoDtZvMlHxW9 g8hKE3D5C/OLbKfW8naUSl9aWxo44MbNEXRkmZQRX5/vnT9dSOYA3ORMuyDUgBrpdiG4 A+2tRZ5vKD+fu+6nHmnI0AenXp7MNqXpvDsV63f2J5tESleaYewu9c4jBm4lY2G3iQnY uWOPcEL1SLJAHkaIdUSvcttgtnWe/+15JZJ+ETkQPLVsgzUxXIfM7TqR8Oc+kYLeY6eQ F5Ucyc0ZeKA6DXX2ptUwiBbOXO+Q+XWREgA8faNB+Un8M0RNPagBW29aKHL36Y97WlrM Enpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CR15GmJcpTxUHSy0ueYvJce2z343jSaRkeBQ2QiDxqA=; b=XTKpwnI7JEQCAfjlHzQ5P3VWZZhTZpZnYaTg/cLhwvqGdWLi87qR7EIQiJ+4CvMV9p AJ/ShXPxKpk2zJ773ymNVbDK+qZgVtfbKu2CgtOYAcJkC18d5URBpyRixfUFkxk0EaAE ZX3YQrqkhmNuGbONxUWXwyZ35LYwCN4pcbiTYd67kF4nmpXcHmhbue4mrO1ZMLtQ1oOQ ThE0eEdJMm+6/+SC317/pPgHiB5N9ZXld8LpQ0gA1xiykLwnf5OWn2K7h0PZIfn2LKy7 KQzZzJQqsYBSE6+1SiW9Nz6o+Hb+dZIKUXqfXEFhQt6V82MNUYK5hGuDDhyB37zoArT0 ANOg== X-Gm-Message-State: APjAAAU1S+gZFy0UgeQQxrTo8xWX+ecT2f0XJlCblXdID1eqUP0MMCRV Xd2HsP6NzSF5v9FMCaakAlkhTA== X-Google-Smtp-Source: APXvYqzUTrHi1MiGsp2DEk4PxGSNBMDpTamEghgokyd8bFeOa4lJkxLPQPusnBF05ELsRV66qG/0Tg== X-Received: by 2002:a7b:cf05:: with SMTP id l5mr4278222wmg.119.1571772381393; Tue, 22 Oct 2019 12:26:21 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h17sm20578690wme.6.2019.10.22.12.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:26:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id F14421FF8C; Tue, 22 Oct 2019 20:17:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 19/19] iotests: Remove 130 from the "auto" group Date: Tue, 22 Oct 2019 20:17:04 +0100 Message-Id: <20191022191704.6134-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::336 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Kevin Wolf , Thomas Huth , berrange@redhat.com, "open list:Block layer core" , stefanb@linux.vnet.ibm.com, John Snow , richard.henderson@linaro.org, f4bug@amsat.org, Max Reitz , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Peter hit a "Could not open 'TEST_DIR/t.IMGFMT': Failed to get shared 'write' lock - Is another process using the image [TEST_DIR/t.IMGFMT]?" error with 130 already twice. Looks like this test is a little bit shaky, so for the time being, let's disable it from the "auto" group so that it does not gate the pull requests. Reviewed-by: John Snow Signed-off-by: Thomas Huth Message-Id: <20191022072135.11188-7-thuth@redhat.com> --- tests/qemu-iotests/group | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group index 33b499ed410..4596497bced 100644 --- a/tests/qemu-iotests/group +++ b/tests/qemu-iotests/group @@ -151,7 +151,7 @@ 127 rw auto backing quick 128 rw quick 129 rw quick -130 rw auto quick +130 rw quick 131 rw quick 132 rw quick 133 auto quick