From nobody Mon Apr 29 17:55:07 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1568910719; cv=none; d=zoho.com; s=zohoarc; b=YMjmwbd9d/PTjIBfNJvvZI/O5Z9JyQKkRI060uecHTpvFfwiYhWnZ03oAYuSODWaqpRODGVDWbTibk54YuxBGhkv7muFVfT6xiypa+u7RaCkZOpIrYrkvq5W2Pgrqf5AW7wTVubQs9sQ4wDG3lo6GWiyKpxTIOLAq+h9ZX47HPg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568910719; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=TcV7Su3zCO7xA/zSOflPYEeAOsCPdToEUPCwrKDb6wQ=; b=cZBmqgLrSPoM0ecC2rIPz6GGktdyhb9L7t3FYIgs5MVxrnz0zFXswJ3jRk9Wwid0crkillyaMhjOGDUrreJArNCpO6V1xiPKgWeLxoVfzaMcUEso13jDIb15pm+nEPHA5vmgl6MgX/UCmB96evbjFjOzWZ0uJg1xWYkStcVl4W8= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1568910719756663.9554097896968; Thu, 19 Sep 2019 09:31:59 -0700 (PDT) Received: from localhost ([::1]:46368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAzLW-0005Ij-TA for importer@patchew.org; Thu, 19 Sep 2019 12:31:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43487) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAzGy-0001SB-9V for qemu-devel@nongnu.org; Thu, 19 Sep 2019 12:27:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAzGx-00005l-8B for qemu-devel@nongnu.org; Thu, 19 Sep 2019 12:27:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47290) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iAzGx-00005J-31 for qemu-devel@nongnu.org; Thu, 19 Sep 2019 12:27:11 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4584510DCC82; Thu, 19 Sep 2019 16:27:10 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-123-8.rdu2.redhat.com [10.10.123.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6B6145D9CD; Thu, 19 Sep 2019 16:27:08 +0000 (UTC) From: Cleber Rosa To: Eduardo Habkost , qemu-devel@nongnu.org, Peter Maydell Subject: [PULL 1/2] tests/acceptance: Specify arch for QueryCPUModelExpansion Date: Thu, 19 Sep 2019 12:26:57 -0400 Message-Id: <20190919162658.27442-2-crosa@redhat.com> In-Reply-To: <20190919162658.27442-1-crosa@redhat.com> References: <20190919162658.27442-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.64]); Thu, 19 Sep 2019 16:27:10 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 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 Zheng , Aleksandar Rikalo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Willian Rampazzo , Cleber Rosa , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: David Gibson At the moment this test runs on whatever the host arch is. But it looks for 'unavailable-features' which is an x86 specific cpu property. Tag it to always use qemu-system-x86_64. Signed-off-by: David Gibson Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Cleber Rosa Message-Id: <20190918070654.19356-1-david@gibson.dropbear.id.au> Signed-off-by: Cleber Rosa --- tests/acceptance/cpu_queries.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries= .py index e71edec39f..af47d2795a 100644 --- a/tests/acceptance/cpu_queries.py +++ b/tests/acceptance/cpu_queries.py @@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test): """ =20 def test(self): + """ + :avocado: tags=3Darch:x86_64 + """ self.vm.set_machine('none') self.vm.add_args('-S') self.vm.launch() --=20 2.21.0 From nobody Mon Apr 29 17:55:07 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1568910528; cv=none; d=zoho.com; s=zohoarc; b=KAMCsBeFCWF6cyWC4qAPB/a1GvQAgywjgjYoVsRmKNNhf9QttHUiyKvk/keotybB76mflS7oK5lneqeDhgbcjVRRbQkDy5PTUqz248/4er17sNqO5HAXtL4iC86WCelaYm22j9jtosE7+z5ItmsMsZ0VCE1uDUNhsiP5xbq9y+4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568910528; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=8MAxf7PICtG9oNMvbj8ZBTal10U69XrWwwn+5IQoMXc=; b=X3Qdvv+taEA5rxHbCYzEvo1ADvLgORD0xAKXxvVJprO6LQ5qSl3iYS3Shsj5iHqWYbNhM0M2qPtVJoEf5ONAHiylohK/SAmliq4Qw7cRfxbq35KEtAQeUSgTVVcfznD+jBAUfVSkIByWa6TbrEizFrt9vUSP+PXK5Oz6F3duW/U= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1568910528946356.87842691485844; Thu, 19 Sep 2019 09:28:48 -0700 (PDT) Received: from localhost ([::1]:46330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAzIT-0002qc-ME for importer@patchew.org; Thu, 19 Sep 2019 12:28:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43502) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAzH4-0001dn-JG for qemu-devel@nongnu.org; Thu, 19 Sep 2019 12:27:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAzH3-0000AI-EY for qemu-devel@nongnu.org; Thu, 19 Sep 2019 12:27:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57740) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iAzH3-00009u-78 for qemu-devel@nongnu.org; Thu, 19 Sep 2019 12:27:17 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6A96C87642; Thu, 19 Sep 2019 16:27:16 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-123-8.rdu2.redhat.com [10.10.123.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7685A5D9CC; Thu, 19 Sep 2019 16:27:10 +0000 (UTC) From: Cleber Rosa To: Eduardo Habkost , qemu-devel@nongnu.org, Peter Maydell Subject: [PULL 2/2] BootLinuxSshTest: Only run the tests when explicitly requested Date: Thu, 19 Sep 2019 12:26:58 -0400 Message-Id: <20190919162658.27442-3-crosa@redhat.com> In-Reply-To: <20190919162658.27442-1-crosa@redhat.com> References: <20190919162658.27442-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 19 Sep 2019 16:27:16 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 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 Zheng , Aleksandar Rikalo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Gerd Hoffmann , Willian Rampazzo , Cleber Rosa , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 Currently the Avocado framework does not distinct the time spent downloading assets vs. the time spent running a test. With big assets (like a full VM image) the tests likely fail. This is a limitation known by the Avocado team. Until this issue get fixed, do not run this tests automatically. Tests can still be run setting the AVOCADO_TIMEOUT_EXPECTED environment variable. Reported-by: Gerd Hoffmann Reported-by: David Gibson Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Cleber Rosa Message-Id: <20190918122748.2144-1-philmd@redhat.com> Signed-off-by: Cleber Rosa --- tests/acceptance/linux_ssh_mips_malta.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/acceptance/linux_ssh_mips_malta.py b/tests/acceptance/li= nux_ssh_mips_malta.py index 134f10cac3..7200507a3a 100644 --- a/tests/acceptance/linux_ssh_mips_malta.py +++ b/tests/acceptance/linux_ssh_mips_malta.py @@ -12,7 +12,7 @@ import logging import paramiko import time =20 -from avocado import skipIf +from avocado import skipUnless from avocado_qemu import Test from avocado.utils import process from avocado.utils import archive @@ -171,7 +171,7 @@ class LinuxSSH(Test): self.run_common_commands() self.shutdown_via_ssh() =20 - @skipIf(os.getenv('CONTINUOUS_INTEGRATION'), 'Running on Travis-CI') + @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout= ') def test_mips_malta32eb_kernel3_2_0(self): """ :avocado: tags=3Darch:mips @@ -186,7 +186,7 @@ class LinuxSSH(Test): =20 self.check_mips_malta('be', kernel_path, 'mips') =20 - @skipIf(os.getenv('CONTINUOUS_INTEGRATION'), 'Running on Travis-CI') + @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout= ') def test_mips_malta32el_kernel3_2_0(self): """ :avocado: tags=3Darch:mipsel @@ -201,7 +201,7 @@ class LinuxSSH(Test): =20 self.check_mips_malta('le', kernel_path, 'mips') =20 - @skipIf(os.getenv('CONTINUOUS_INTEGRATION'), 'Running on Travis-CI') + @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout= ') def test_mips_malta64eb_kernel3_2_0(self): """ :avocado: tags=3Darch:mips64 @@ -215,7 +215,7 @@ class LinuxSSH(Test): kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) self.check_mips_malta('be', kernel_path, 'mips64') =20 - @skipIf(os.getenv('CONTINUOUS_INTEGRATION'), 'Running on Travis-CI') + @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout= ') def test_mips_malta64el_kernel3_2_0(self): """ :avocado: tags=3Darch:mips64el --=20 2.21.0