From patchwork Mon Sep 27 17:02:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533476 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=dz89ugWA; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8H755mZz9t9b for ; Tue, 28 Sep 2021 03:08:35 +1000 (AEST) Received: from localhost ([::1]:32770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUu7F-0001Ky-FV for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:08:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1Z-0002Bi-K2 for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:44 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:22975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1V-0002fC-6l for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ch+SNQ3QN3dmBSgz+yeGRI826NTaBq1nvpxL9SnQaJM=; b=dz89ugWAdbtxBpR0+IbRFYxrwCRYCXtGPiTCSESzHBqFRICfj2hx1ZT2BZx0F86K9fjiPT BwP3hwRa2WAEymfu4Mclzxa2FRtG0nRB+cOFqb/v6iDBGL4+L7DZxLU+PuA2b016ny9ILw /rV37z0dwx0BtVwz87w1kXyQgoB50BQ= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-304-N3GmKZKXMpOxUvSWHw8A1g-1; Mon, 27 Sep 2021 13:02:34 -0400 X-MC-Unique: N3GmKZKXMpOxUvSWHw8A1g-1 Received: by mail-wm1-f72.google.com with SMTP id o28-20020a05600c511c00b0030cdce826f9so180055wms.5 for ; Mon, 27 Sep 2021 10:02:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ch+SNQ3QN3dmBSgz+yeGRI826NTaBq1nvpxL9SnQaJM=; b=qIhtEsa7n+CvJhjJNcflkC33APTvwdiPGZUef9YmTo+0Kx8N2IHagMTmeQ73uQlKCU 8+0ZUIxtdC1mRvfz/DOGel/dX5tkAnijCimQCKDBZ96rrY8skQY44lyKx345Lxiw8oOb yAT/MlZdIulUO0+3x9w3PHp9kb0YiGNfKH3pA5h2Q1kwu8ChjtxqORNLTPJihRQFVMFK k9dCHh5bEFy+SqBLP887+19gS0NRXweYFhYVdEQCIFEoK+cTcEXj/OrUwS2Pq5qSxXIp yxn1wVia3EuHrKtIJnyHm2X0PtQVY7OfKSPQj6RVKPiFSaL9/B47nHg86UVccigcAN6Q k6Tw== X-Gm-Message-State: AOAM533E7puYEafWaPAoi2oQnqPgmypY2Gdspv+MVvBtyBE176MjbRjW QbHcko5xkWu8VGWTXP2OV7yIowNHtMD/NbDEhb5c8oBFfaB/4JuGRGBNj0JisBhPE3c+B1XiO/h xhV1tMW8v3IPZAChEXwi4Norm1Pws39BDqmMy/NVrH0Ux2l1WiFiI9FNn4S1ErMWm X-Received: by 2002:a05:600c:20c:: with SMTP id 12mr137695wmi.90.1632762153449; Mon, 27 Sep 2021 10:02:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuNBC5ahw/Sj3K3qnX/Y8jxwlFxs/GwkCThGqE+wNUqjjf3MUHLmPuXyM7NJ5/nVEc7tr+Gw== X-Received: by 2002:a05:600c:20c:: with SMTP id 12mr137662wmi.90.1632762153112; Mon, 27 Sep 2021 10:02:33 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id i67sm69008wmi.41.2021.09.27.10.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:02:32 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 01/21] tests/acceptance: add replay kernel test for s390x Date: Mon, 27 Sep 2021 19:02:07 +0200 Message-Id: <20210927170227.2014482-2-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Thomas Huth , Pavel Dovgalyuk Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Pavel Dovgalyuk This patch adds record/replay test which boots Linux kernel on s390x platform. The test uses kernel binaries taken from boot_linux_console test. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Willian Rampazzo Acked-by: Thomas Huth [PMD: Drop default '-smp 1' as suggested by Thomas] Signed-off-by: Philippe Mathieu-Daudé Message-Id: <162737551785.1735673.6775108576116333386.stgit@pasha-ThinkPad-X280> --- tests/acceptance/replay_kernel.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_kernel.py index bb32b312402..06a09d66791 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -207,6 +207,21 @@ def test_arm_cubieboard_initrd(self): '-initrd', initrd_path, '-no-reboot')) + def test_s390x_s390_ccw_virtio(self): + """ + :avocado: tags=arch:s390x + :avocado: tags=machine:s390-ccw-virtio + """ + kernel_url = ('https://archives.fedoraproject.org/pub/archive' + '/fedora-secondary/releases/29/Everything/s390x/os/images' + '/kernel.img') + kernel_hash = 'e8e8439103ef8053418ef062644ffd46a7919313' + kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + + kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=sclp0' + console_pattern = 'Kernel command line: %s' % kernel_command_line + self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=9) + def test_ppc64_pseries(self): """ :avocado: tags=arch:ppc64 From patchwork Mon Sep 27 17:02:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533477 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OCprETj8; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8JQ1z4jz9t9b for ; Tue, 28 Sep 2021 03:09:40 +1000 (AEST) Received: from localhost ([::1]:37218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUu8H-0004Fu-1d for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:09:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1f-0002CH-9C for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:48 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:29384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1b-0002k8-61 for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=28MYPmvj046+z22igZ1+cW5IJfZzrl5tVnoGjfF3hyA=; b=OCprETj8H+uZyqooCRp+YIk2bdORN5M4xQ1+ifI4ogk26fWG/EVh0T6uNRmdrvMpvfVE/d 9LrXqG/qRlfHetFW/lvdLTlg/el4iQKVqejyQQcow2mdTzIgpdwterKR1ZtMDLdovjItw+ WyfRhTIkem8feffQHbFjciU1Uu2XAV8= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-201-6PQk1SoTOe6e4Y2WEdMcXg-1; Mon, 27 Sep 2021 13:02:39 -0400 X-MC-Unique: 6PQk1SoTOe6e4Y2WEdMcXg-1 Received: by mail-wm1-f72.google.com with SMTP id j142-20020a1c2394000000b0030d06638a56so207241wmj.9 for ; Mon, 27 Sep 2021 10:02:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=28MYPmvj046+z22igZ1+cW5IJfZzrl5tVnoGjfF3hyA=; b=VWL3iI2McvW+q66+ReV+t/T1fz8HB0hhmQeVJg68U05iG/NcPeBQOg9mMfBKqh2O26 YQ1P0/P5fGT83dVwgWSTh9JjjJbkH50dY7MieBn5J/CDNXmBlOETZzIPz2xAw/RC8goV AE2G7CHbbH7fgelQ04fbpyYqD5JSkKvu/dBvLVXwfpcv8SD8wAQrWJuEPtZlIrckzAQg ENifgMhuJZlZE28X5XgtBzcu21Beh032U1kA4vEV3mqVDu8VMlxsJaZbQFoKZILvkdHH gGOUwpUeq3AT7ZuBgRZ1of48j6TftBK4vAroxPPcQeIFyP2pnMfLVRNDXtWbqYChRAYH +ucg== X-Gm-Message-State: AOAM533VmLyLKFkImR5qEyu2IHRyTaGooA11OD4sVyy1Y0JfTZ6PocOq a7d37vxbbvtZViKCXXSqJSIKP/noCO5QXDXSTgHnrUpU9KoODDtkdzv2inBvOdWtiZQnaPz2pgY L78W3Z/hYQvsJOfYwLsgllIRkxVx2cZIcm2vG1sfsQr9E7EGU2VaiIRaifx9BXDt7 X-Received: by 2002:adf:f84e:: with SMTP id d14mr1071492wrq.359.1632762157897; Mon, 27 Sep 2021 10:02:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFjtmNPGsVo1x8qhxmCS19YLhH48y+KdIxsMXc68RBKPqmHmolyfQ9qPlb78VQFXh5OSIjdw== X-Received: by 2002:adf:f84e:: with SMTP id d14mr1071472wrq.359.1632762157722; Mon, 27 Sep 2021 10:02:37 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id 8sm47002wmo.47.2021.09.27.10.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:02:37 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 02/21] tests/acceptance: add replay kernel test for openrisc Date: Mon, 27 Sep 2021 19:02:08 +0200 Message-Id: <20210927170227.2014482-3-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Pavel Dovgalyuk Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Pavel Dovgalyuk This patch adds record/replay test which boots Linux kernel on openrisc platform. The test uses kernel binaries taken from boot_linux_console test. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <162737552350.1735673.14603125561530143423.stgit@pasha-ThinkPad-X280> --- tests/acceptance/replay_kernel.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_kernel.py index 06a09d66791..1bf7e997fe3 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -317,6 +317,17 @@ def test_ppc64_e500(self): file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) self.do_test_advcal_2018(file_path, 'uImage') + def test_or1k_sim(self): + """ + :avocado: tags=arch:or1k + :avocado: tags=machine:or1k-sim + """ + tar_hash = '20334cdaf386108c530ff0badaecc955693027dd' + tar_url = ('https://www.qemu-advent-calendar.org' + '/2018/download/day20.tar.xz') + file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) + self.do_test_advcal_2018(file_path, 'vmlinux') + def test_ppc_g3beige(self): """ :avocado: tags=arch:ppc From patchwork Mon Sep 27 17:02:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533475 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Nw/09Ayg; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8Gj2p4Gz9t9b for ; Tue, 28 Sep 2021 03:08:13 +1000 (AEST) Received: from localhost ([::1]:58556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUu6s-000889-4u for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:08:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1g-0002DB-S8 for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:50 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:22164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1d-0002me-BQ for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VpAEVWKmfuJG2mreiBrMIG5NXEVdSrwx115WkbKX6dI=; b=Nw/09AygZ+hxNI2ctSd4H+5X4MNSrx4VdHw8qCIVJZiAHPcMg0KEJRbaaBdh6hOvpoFtvF 0o3fyGEyxcMksgOhOhpk1z6eam7XFXqxgGhmnNkhXEcKw6sV7krOglzy6Q4cGZg/CNtLh4 EZKCTo0A7XEpmwLYkmzNBE8Hw9HqOBU= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-122-pFNEZLEpObuMURBo_ZtUqw-1; Mon, 27 Sep 2021 13:02:43 -0400 X-MC-Unique: pFNEZLEpObuMURBo_ZtUqw-1 Received: by mail-wm1-f70.google.com with SMTP id n30-20020a05600c3b9e00b002fbbaada5d7so461081wms.7 for ; Mon, 27 Sep 2021 10:02:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VpAEVWKmfuJG2mreiBrMIG5NXEVdSrwx115WkbKX6dI=; b=a7khrZovgmLoWDpwgw/sUDNoJzEAEBb1NV6Vh1Bd3v8uhJBQu7DzWoHn22BNn6yAB7 f5I6+7ZrF3UzyzCPUnk5XmZyNdqFisKVvek+Gyz47gxdUjBbf/3Omz/cy8tL682+iM14 It+iLPWko4NvSPU4AuSDT5Q7ux6QYJuuCkqdWtQKjnXlP8q+yXAhpndqqumwoqjRTiiz mKK6TdKeQXwGzvcwF+M+Vng0kUR8/gjSh8kA/t36gveAlB142x0+07oMbsOVaFV+z3UP 7tgws0sXcerpj5vOO1bToa+5t7Np8hOIed5smUV9koapKeEXIt6RpAJHA1NDYR44s6X0 souQ== X-Gm-Message-State: AOAM532wz5E5wqkxhSrt9odw50bqTPE4zWZkO5Jo0c+C0/Ud76Hx8haj 0nDNV88zyrCvGNIsGJgispB+PBs/Aeb7qR7UvRPrFM3lGVvaeGkrO4hkhsX6K12hl3xjLA+jM1b A9URceFkLPXL+mtemzDqIF0g3Vl8S9eOGkmi80xlVkZ+bF6BR60w1LsNt0uMvODB9 X-Received: by 2002:adf:f687:: with SMTP id v7mr1039032wrp.347.1632762162450; Mon, 27 Sep 2021 10:02:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQTlYpyLEyVF/6uil77ldBqUslhPVfhlKj9lEmpEwVyPdc3y46fuqWqsHbKpflV3g5lDQ+sA== X-Received: by 2002:adf:f687:: with SMTP id v7mr1039005wrp.347.1632762162215; Mon, 27 Sep 2021 10:02:42 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id v10sm4617188wrm.71.2021.09.27.10.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:02:41 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 03/21] tests/acceptance: add replay kernel test for nios2 Date: Mon, 27 Sep 2021 19:02:09 +0200 Message-Id: <20210927170227.2014482-4-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Pavel Dovgalyuk Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Pavel Dovgalyuk This patch adds record/replay test which boots Linux kernel on nios2 platform. The test uses kernel binaries taken from boot_linux_console test. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <162737552919.1735673.12493523185952280539.stgit@pasha-ThinkPad-X280> --- tests/acceptance/replay_kernel.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_kernel.py index 1bf7e997fe3..93251819927 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -328,6 +328,17 @@ def test_or1k_sim(self): file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) self.do_test_advcal_2018(file_path, 'vmlinux') + def test_nios2_10m50(self): + """ + :avocado: tags=arch:nios2 + :avocado: tags=machine:10m50-ghrd + """ + tar_hash = 'e4251141726c412ac0407c5a6bceefbbff018918' + tar_url = ('https://www.qemu-advent-calendar.org' + '/2018/download/day14.tar.xz') + file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) + self.do_test_advcal_2018(file_path, 'vmlinux.elf') + def test_ppc_g3beige(self): """ :avocado: tags=arch:ppc From patchwork Mon Sep 27 17:02:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533480 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=JlRsfDtW; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8MH0fcbz9t9b for ; Tue, 28 Sep 2021 03:12:11 +1000 (AEST) Received: from localhost ([::1]:41366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuAi-00072J-Rc for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:12:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1l-0002E8-CQ for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:53740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1j-0002sf-PS for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:02:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cA6omHLKJTr0G5Ch5LiMvS/MMlK5eI4IqUB/lSzT8zs=; b=JlRsfDtWDM6ZiiGEb0DC7YwXCxG5kK2NmwGnjfSL+zHK8LAgpbaTF/u0egjyezliGOM/s6 f/2MvKwVrKY+bFldnIPp9Q5j2fFDB4UrucWobb1RvpL7IYtyURaqESEH/fu2c3q3cnjjKo IlZQRIdeF2ohRK46n0amm83WCMFXXaY= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-584-D7pGIe9-M063C4b6WwBSqg-1; Mon, 27 Sep 2021 13:02:49 -0400 X-MC-Unique: D7pGIe9-M063C4b6WwBSqg-1 Received: by mail-wm1-f71.google.com with SMTP id p25-20020a1c5459000000b0030cac3d9db1so503757wmi.6 for ; Mon, 27 Sep 2021 10:02:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cA6omHLKJTr0G5Ch5LiMvS/MMlK5eI4IqUB/lSzT8zs=; b=Njz16jrkdWAlBSeH5T9eYjcAzjRmcJUDhV2m5wsV6mILrNcgOdMB3JlNqvUsma1oiK 0SIaeIRN9tVc+suZ6YqmpKu2/V22R67aPwLfwOzP67EF+3W0Q39OfSSmgWziPuVrRMfN wwJ7Ngw1Y6nKBZmu0Buv7hkaJtR4HzCtat3twcy7WTKnsSSrSq5z78kSPZV7QL+VNBoO G+t0iRWV1Ygr1TrJxcwoMrUe7mcQS8DDflMAJ1YP9LvGxh30MTHSOJht2wYhATMYjW77 GyEw8X/hJMVnmTpBqPSlS74PemT3l9j691tUIuelZJ5V3dEArKyaNKFoKlfRmCE4c0cq mDtw== X-Gm-Message-State: AOAM530Tw2PBGM4hxbd9V6lbaYbFbII37AnUvo7fYE0Xw75kIJ+7brwv 6tc27e/ifY8mF+IHL9diXUkxOMpxNOPoJBiAaFVXrXKewLdI9MmlIRXGK1qEj0aEn0CDbPmg4YL 3KOa8Mhzkc3c00q1Pm7ZJPJiv3dJgrQLXYn9sS4ghOh+bIoelO9MjuLJKxr5NeZcI X-Received: by 2002:a5d:648b:: with SMTP id o11mr1033798wri.315.1632762167199; Mon, 27 Sep 2021 10:02:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3f47lrrl4dYetRoKOPnwDf2mvRl0hTXZID0GO433ZNxXJdQR3ftylYcd769CgK32t6CQeFQ== X-Received: by 2002:a5d:648b:: with SMTP id o11mr1033763wri.315.1632762166930; Mon, 27 Sep 2021 10:02:46 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id y197sm100012wmc.18.2021.09.27.10.02.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:02:46 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 04/21] tests/acceptance: add replay kernel test for alpha Date: Mon, 27 Sep 2021 19:02:10 +0200 Message-Id: <20210927170227.2014482-5-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Pavel Dovgalyuk Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Pavel Dovgalyuk This patch adds record/replay test which boots Linux kernel on alpha platform. The test uses kernel binaries taken from boot_linux_console test. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <162737553482.1735673.10021851966976933952.stgit@pasha-ThinkPad-X280> --- tests/acceptance/replay_kernel.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_kernel.py index 93251819927..c68a9537301 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -222,6 +222,23 @@ def test_s390x_s390_ccw_virtio(self): console_pattern = 'Kernel command line: %s' % kernel_command_line self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=9) + def test_alpha_clipper(self): + """ + :avocado: tags=arch:alpha + :avocado: tags=machine:clipper + """ + kernel_url = ('http://archive.debian.org/debian/dists/lenny/main/' + 'installer-alpha/20090123lenny10/images/cdrom/vmlinuz') + kernel_hash = '3a943149335529e2ed3e74d0d787b85fb5671ba3' + kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + + uncompressed_kernel = archive.uncompress(kernel_path, self.workdir) + + kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=ttyS0' + console_pattern = 'Kernel command line: %s' % kernel_command_line + self.run_rr(uncompressed_kernel, kernel_command_line, console_pattern, shift=9, + args=('-nodefaults', )) + def test_ppc64_pseries(self): """ :avocado: tags=arch:ppc64 From patchwork Mon Sep 27 17:02:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533484 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Is3V1atx; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8QT28g7z9tk7 for ; Tue, 28 Sep 2021 03:14:55 +1000 (AEST) Received: from localhost ([::1]:49938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuDM-0004Pq-4b for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:14:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1y-0002XR-QF for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:06 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:53320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1v-00033M-P8 for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vRgWYEGsAgU7uIIj68INIPW3631NH105ds18Xph/6rE=; b=Is3V1atxTKS0laSQYv1VuYnQcdGhKQHHBZiyMNstabgpVq5yfFVB3zbPX9oRPEZCyxoISf LXBASwoZCFC0t5cc4ClKZhga3Uuj5oauvovFiCx9QV3k/ODfgsK06Vlu1W+FSQkwj5CW2Y hZVSBXhlAQULfDTRQiXl2gDMozdma6M= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-557-BreAnMqoMIKzFnYpLciewQ-1; Mon, 27 Sep 2021 13:02:54 -0400 X-MC-Unique: BreAnMqoMIKzFnYpLciewQ-1 Received: by mail-wm1-f72.google.com with SMTP id m2-20020a05600c3b0200b0030cd1310631so177686wms.7 for ; Mon, 27 Sep 2021 10:02:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vRgWYEGsAgU7uIIj68INIPW3631NH105ds18Xph/6rE=; b=r/buyeL7sz/V64PhrZHcgnievjH2QZuA/a2reBTq+KijvIt3IxEFqJoO4rYsmUCyUM lCRuOYVAI+SlmH2eYDWxEJIdDe2CO5fNsVzShVvgQzwsglzwRFWHCc5gvK2hvGvf8zZt 4KraFuw7pZ2akAKh1PST6o8I5Rj5gX2J49KSFZF5FtpQYcNuK3eywUgjtVGgj6wTq3H1 BIvJbfPyRd1MHHAOu6z1Lu4imFM4++yvGin7dnfwaI4elA0toW3bDM1/JB4c91dMJ2mZ XDDJCBF0YF6+ikZsn5uqXBvah1Guv6UYkSRNipj83+ZF+JJe8Qek9aZYKchrXb/CFfRh LJJw== X-Gm-Message-State: AOAM531lzJsPx+4CE8F8Yz7jXaNGQCJLQNHJe6FiyYykWEq70PL0K75w NUCrgVWhiznFCPU/w57PjT5LnbirrzVTLU2Ew9rJorTc6SWhklw3Sf5Oc6CjOV4jZtJOzwSWFhR 9I8/Eu+VJkdLlIW7gdi0kmGxgqQuZuQSsmrewYvKZ6ISEA+WKmSAuNoAeDlro/D78 X-Received: by 2002:adf:ded1:: with SMTP id i17mr1075170wrn.83.1632762172044; Mon, 27 Sep 2021 10:02:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqiLU35jXyGdjD/P8O5Tevc+W3mytoyTvWIX4B9mr1aQ8vyK7iZQXUrw5hCkv96HMKmRIdIQ== X-Received: by 2002:adf:ded1:: with SMTP id i17mr1075133wrn.83.1632762171773; Mon, 27 Sep 2021 10:02:51 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id m2sm104958wmm.3.2021.09.27.10.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:02:51 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 05/21] tests/acceptance: Linux boot test for record/replay Date: Mon, 27 Sep 2021 19:02:11 +0200 Message-Id: <20210927170227.2014482-6-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Pavel Dovgalyuk , Pavel Dovgalyuk Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Pavel Dovgalyuk This patch adds a test for record/replay, which boots Linux image from the disk and interacts with the network. The idea and code of this test is borrowed from boot_linux.py This test includes only x86_64 platform. Other platforms and machines will be added later after testing and improving record/replay to completely support them. Each test consists of the following phases: - downloading the disk image - recording the execution - replaying the execution Replay does not validates the output, but waits until QEMU finishes the execution. This is reasonable, because QEMU usually hangs when replay goes wrong. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <162737554047.1735673.13133593401566029378.stgit@pasha-ThinkPad-X280> --- MAINTAINERS | 1 + tests/acceptance/replay_linux.py | 116 +++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 tests/acceptance/replay_linux.py diff --git a/MAINTAINERS b/MAINTAINERS index d7915ec128e..069db6d2995 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2973,6 +2973,7 @@ F: include/sysemu/replay.h F: docs/replay.txt F: stubs/replay.c F: tests/acceptance/replay_kernel.py +F: tests/acceptance/replay_linux.py F: tests/acceptance/reverse_debugging.py F: qapi/replay.json diff --git a/tests/acceptance/replay_linux.py b/tests/acceptance/replay_linux.py new file mode 100644 index 00000000000..15953f9e496 --- /dev/null +++ b/tests/acceptance/replay_linux.py @@ -0,0 +1,116 @@ +# Record/replay test that boots a complete Linux system via a cloud image +# +# Copyright (c) 2020 ISP RAS +# +# Author: +# Pavel Dovgalyuk +# +# This work is licensed under the terms of the GNU GPL, version 2 or +# later. See the COPYING file in the top-level directory. + +import os +import logging +import time + +from avocado import skipUnless +from avocado.utils import cloudinit +from avocado.utils import network +from avocado.utils import vmimage +from avocado.utils import datadrainer +from avocado.utils.path import find_command +from avocado_qemu import LinuxTest + +class ReplayLinux(LinuxTest): + """ + Boots a Linux system, checking for a successful initialization + """ + + timeout = 1800 + chksum = None + hdd = 'ide-hd' + cd = 'ide-cd' + bus = 'ide' + + def setUp(self): + super(ReplayLinux, self).setUp() + self.boot_path = self.download_boot() + self.cloudinit_path = self.prepare_cloudinit() + + def vm_add_disk(self, vm, path, id, device): + bus_string = '' + if self.bus: + bus_string = ',bus=%s.%d' % (self.bus, id,) + vm.add_args('-drive', 'file=%s,snapshot,id=disk%s,if=none' % (path, id)) + vm.add_args('-drive', + 'driver=blkreplay,id=disk%s-rr,if=none,image=disk%s' % (id, id)) + vm.add_args('-device', + '%s,drive=disk%s-rr%s' % (device, id, bus_string)) + + def launch_and_wait(self, record, args, shift): + vm = self.get_vm() + vm.add_args('-smp', '1') + vm.add_args('-m', '1024') + vm.add_args('-object', 'filter-replay,id=replay,netdev=hub0port0') + if args: + vm.add_args(*args) + self.vm_add_disk(vm, self.boot_path, 0, self.hdd) + self.vm_add_disk(vm, self.cloudinit_path, 1, self.cd) + logger = logging.getLogger('replay') + if record: + logger.info('recording the execution...') + mode = 'record' + else: + logger.info('replaying the execution...') + mode = 'replay' + replay_path = os.path.join(self.workdir, 'replay.bin') + vm.add_args('-icount', 'shift=%s,rr=%s,rrfile=%s' % + (shift, mode, replay_path)) + + start_time = time.time() + + vm.set_console() + vm.launch() + console_drainer = datadrainer.LineLogger(vm.console_socket.fileno(), + logger=self.log.getChild('console'), + stop_check=(lambda : not vm.is_running())) + console_drainer.start() + if record: + cloudinit.wait_for_phone_home(('0.0.0.0', self.phone_home_port), + self.name) + vm.shutdown() + logger.info('finished the recording with log size %s bytes' + % os.path.getsize(replay_path)) + else: + vm.event_wait('SHUTDOWN', self.timeout) + vm.shutdown(True) + logger.info('successfully fihished the replay') + elapsed = time.time() - start_time + logger.info('elapsed time %.2f sec' % elapsed) + return elapsed + + def run_rr(self, args=None, shift=7): + t1 = self.launch_and_wait(True, args, shift) + t2 = self.launch_and_wait(False, args, shift) + logger = logging.getLogger('replay') + logger.info('replay overhead {:.2%}'.format(t2 / t1 - 1)) + +@skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout') +class ReplayLinuxX8664(ReplayLinux): + """ + :avocado: tags=arch:x86_64 + :avocado: tags=accel:tcg + """ + + chksum = 'e3c1b309d9203604922d6e255c2c5d098a309c2d46215d8fc026954f3c5c27a0' + + def test_pc_i440fx(self): + """ + :avocado: tags=machine:pc + """ + self.run_rr(shift=1) + + def test_pc_q35(self): + """ + :avocado: tags=machine:q35 + """ + self.run_rr(shift=3) From patchwork Mon Sep 27 17:02:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533473 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ZdbA7+9l; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ89r1y6rz9t9b for ; Tue, 28 Sep 2021 03:03:58 +1000 (AEST) Received: from localhost ([::1]:50430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUu2l-0002X0-6s for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:03:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1w-0002R6-FN for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:04 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:50841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1t-000326-OA for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kPn5GHEDutfKNKZw8lA1qzDG/9Zl78E1M/sfSpGJuu0=; b=ZdbA7+9lEXksLTGMGMaOzGNSSrBXbQIJFzCXo/O8KyrFUyrkeHkRW/yH+vHKcxoUbR7Mju z68Jmuv6Ss8Dw9ZI5+bWxmYPgOHXMzcHhuRwZvAZ00DWJ2I9AV6225ITe/fiiMdPB1mvwI tgLLtgLekdaa7EA5IH0iB0sMFFM1Ij0= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-558-sAc426WxO32SVl7fPIuesA-1; Mon, 27 Sep 2021 13:02:57 -0400 X-MC-Unique: sAc426WxO32SVl7fPIuesA-1 Received: by mail-wm1-f71.google.com with SMTP id d12-20020a1c730c000000b0030b4e0ecf5dso175471wmb.9 for ; Mon, 27 Sep 2021 10:02:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kPn5GHEDutfKNKZw8lA1qzDG/9Zl78E1M/sfSpGJuu0=; b=5WMSVAxojJbS6ZgndX5IQuVsa3bKDeegV7D8cNB8d6UTNwWiU/ihDWgKQV/L69856F 5uzSaWIDtaLneOkVtPXYoMU/NGs42nkpXw/1zyoWMBmsS+mnGmTJ7100f1RMh2ahC/nO aX7uAMsmmXmCJxVv3CnXcjVMKM2qpbd1729XJngh0eup5FbIChCN/fulf5oCZVToAAZ5 PyvdlwpT3hM1D8gLfSO43oP2MTa9Mbijg+uukqE08W7wX59GQY48keRpOnlJ+vbhs72z kC7e3nz746QalBvjXKT0TEJ5lNSlK+V3MxIqpC7WELrI/UmtTP4XN5riLfBkaNoyWobT lpXw== X-Gm-Message-State: AOAM532jQnimkFTaxRr8pnUWFJg870cDul89lO33f+z5AS7xGge80m9H yQnb+brmn9H3kHOHrGZknrrVKFyidNsy5TodZL68i2oWaPOlskR1I9+uhg53UvdO2KScJTJmPA6 7WKgCS/xy16p6YvrVrBN/eTFtbEcfcTEiQJbgzlBZle6LPNmB8wQqmz7dISZn9Fwq X-Received: by 2002:adf:e74b:: with SMTP id c11mr1073449wrn.101.1632762176385; Mon, 27 Sep 2021 10:02:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO4h5vtep0WjRypFwTuyp631vpRY8xUV65e8biEejGGtrDoEQi72/xS3Sc4AK2gR00vzTbDg== X-Received: by 2002:adf:e74b:: with SMTP id c11mr1073414wrn.101.1632762176159; Mon, 27 Sep 2021 10:02:56 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id 189sm84643wmz.27.2021.09.27.10.02.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:02:55 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 06/21] Acceptance tests: add myself as a reviewer for the acceptance tests Date: Mon, 27 Sep 2021 19:02:12 +0200 Message-Id: <20210927170227.2014482-7-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo Signed-off-by: Willian Rampazzo Acked-by: Wainer dos Santos Moschetta Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210809192907.42138-1-willianr@redhat.com> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 069db6d2995..f98523cfe0f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3485,6 +3485,7 @@ W: https://trello.com/b/6Qi1pxVn/avocado-qemu R: Cleber Rosa R: Philippe Mathieu-Daudé R: Wainer dos Santos Moschetta +R: Willian Rampazzo S: Odd Fixes F: tests/acceptance/ From patchwork Mon Sep 27 17:02:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533474 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=FUjsrz+z; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8GZ45HRz9t9b for ; Tue, 28 Sep 2021 03:08:06 +1000 (AEST) Received: from localhost ([::1]:58816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUu6m-0008J2-9n for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:08:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1y-0002XD-OC for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:06 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu1w-00034M-8e for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7mdXDk9PuuMhb2IWlDywxJ7KPADtZTFWFXw/QSSlAd8=; b=FUjsrz+zz+rmMBkUqxJ06qRRSv3TGpZTeVxvwa/QgiFMHvxOa93dvFC4LDAgrIwOiw2pgu POTQVYxDXUlNCjk2DtpPASX843sGMcDYyEFQ2e6QApPxYw+kmfXlOKM2YNVKxVEgB2qx81 X+pKNH6TdEZVuqsJ9dpujjxUhaE73Bc= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-202--ELMGv0YPraNYAxQlOVtdg-1; Mon, 27 Sep 2021 13:03:02 -0400 X-MC-Unique: -ELMGv0YPraNYAxQlOVtdg-1 Received: by mail-wm1-f70.google.com with SMTP id n30-20020a05600c3b9e00b002fbbaada5d7so461454wms.7 for ; Mon, 27 Sep 2021 10:03:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7mdXDk9PuuMhb2IWlDywxJ7KPADtZTFWFXw/QSSlAd8=; b=wDgPOw7lFAaYbKLJXARjItXApMQRrjLhY/IjeUyl0Qlf2iiA+vED6pwcg6MiFN0APS nOiZWMcwGk+ii7sXcOsXJxBrvoYUKykoIrFTECFnLaxQJHWRvP3u2JKCdFgaoSOaZZzA QfT2Icd3Gp20rz6hCvaibhxXlZxihiU04NCGTYOue80EjFDjXmXdkx92iE/ikzAtT7Ah x594bLVCpkke1gTg2d/bq9uGe90ZIZRB7YuMgi8D0s3Y0lzlGAF4mVp29UspV3UfC92x Ob9WRG6x7VHTP/HBnGtHmbRs9gfSo4pG90uR/WbLtP/8Rf1QeuAnKgsdcEk2hGZ6zbeF s3xQ== X-Gm-Message-State: AOAM532RJWY1JktkjR7FxXLjUDQ8kOBNnxi3cmAfBXfYXGRERvcwJQeg nHTQiYTmjl+8mBFK/fbcFAESLzhqz6+1AO2cTS7ybUSsR018c1GkVhTeVnBEdkewZuBIK9b0UpA RabDLuq6OmvIe2CbGEazFEcwDmkhiBDEBkhmbLhaUgp1p7z6t46EoheoOOg+i9Yve X-Received: by 2002:a05:600c:17d8:: with SMTP id y24mr95678wmo.129.1632762181038; Mon, 27 Sep 2021 10:03:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbofEC0Wu+RW2QbQsNe1LdH7aLtvY8RHgmKPmQi/E1sMrJjz80xKkkazZkZ0OkKBFUr0cE3w== X-Received: by 2002:a05:600c:17d8:: with SMTP id y24mr95648wmo.129.1632762180752; Mon, 27 Sep 2021 10:03:00 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id 1sm115907wms.0.2021.09.27.10.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:00 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 07/21] Acceptance Tests: add standard clean up at test tearDown() Date: Mon, 27 Sep 2021 19:02:13 +0200 Message-Id: <20210927170227.2014482-8-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa The avocado.Test class, used as the basis of the avocado_qemu.Test class, performs a clean of temporary directories up as part of its own tearDown() implementation. But the avocado_qemu.Test class is currently missing the same clean up, as it implemented its own tearDown() method without resorting to the upper class behavior. This brings avocado_qemu.Test behavior in sync with the standard avocado.Test behavior and prevents temporary directories from cluttering the test results directory (unless instructed to do so with Avocado's "--keep-tmp" option). Reported-by: Peter Maydell Signed-off-by: Cleber Rosa [willianr: respin to new Python super format] Signed-off-by: Willian Rampazzo Reviewed-by: Wainer dos Santos Moschetta Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210920204932.94132-2-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index 2c4fef3e149..d9e1b32aa16 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -276,6 +276,7 @@ def tearDown(self): for vm in self._vms.values(): vm.shutdown() self._sd = None + super().tearDown() def fetch_asset(self, name, asset_hash=None, algorithm=None, From patchwork Mon Sep 27 17:02:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533487 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XvX+CrLZ; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8Vr1VqZz9sR4 for ; Tue, 28 Sep 2021 03:18:44 +1000 (AEST) Received: from localhost ([::1]:58088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuH3-0001m3-VI for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:18:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu22-0002hI-2K for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:10 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:41395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu20-000384-EK for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B6rQjxAy72iJxoMGR7Rv5VxW4F4jqkPf51TKeKH4908=; b=XvX+CrLZxAS3LzD5pDCG50IzCHCrJLK1yssLMY48aKUDtuVjFMHgW+aP95mcpTF2/3S2At mR0Wksk10Qczud8lexUt72++PtdpM5FTsI0baR0JEH65iKvo99VkstOSfQcHRJ15nEm2OI rVRDLqM45sY10L/yo8CzJ27ZJ39+3Nc= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-536-FIrY6AJsNky_6OGs08YpZA-1; Mon, 27 Sep 2021 13:03:06 -0400 X-MC-Unique: FIrY6AJsNky_6OGs08YpZA-1 Received: by mail-wr1-f72.google.com with SMTP id l9-20020adfc789000000b00160111fd4e8so14324883wrg.17 for ; Mon, 27 Sep 2021 10:03:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B6rQjxAy72iJxoMGR7Rv5VxW4F4jqkPf51TKeKH4908=; b=cz2mWxYPhBUe0/uB+F/l+l0Ezczpm4DzSVFdIyPwHEqxv02UWwMjwEO1ZMFv+7wh1j m4BBcFmDst2uMNyGlJGGHA7/LsFQFPJBfKaO/CKP3FCEkOfwarP/llvFG2Q14NEL+cJ3 S1Uuebh81a8b0X9U9KGJuSNBCEc5SWhqI4LiWHcrdnN+ZQx/kK+CT1v7iZE4ODJOEZuz nkaZ1f4aiPdNRQjp7DZQ/I2kwn/QvJhTI3VPH+6DRPE8CC+B0CqrL+hHgfkL3BHR39HR BmcN+y6uiWlNHTu5lTvQntvJRpHTKVVZJmQJW2gcUD16UH5T8iVBs8h1E3ULN62Uqh4C 0/Ag== X-Gm-Message-State: AOAM531LmDLvq1BxyaGMK4Dtz/JI0Ogr9m6LK9uaLW8Zhfdi6uEU3CWa Xhd6aJhK/QCaUAWuwdZn0PmCQQgEJdqC0zftFxhigW0wtU5LWuoLZcdzmkmaDmCiSWoQ9zKrcHg O5MZfpMCAmHlNObmkEIUnGNRliXjPanBbdB35PDm4fTtjK8ulEJM/5uPKbCaoRKV6 X-Received: by 2002:adf:e44f:: with SMTP id t15mr1121789wrm.394.1632762185219; Mon, 27 Sep 2021 10:03:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiBnfSGm555uCL2xeYS1Qkl84z0Dqy/U9fLfxkFY2JBnKkwycNnO/7HXcMJxKTQ0jt5lgpxg== X-Received: by 2002:adf:e44f:: with SMTP id t15mr1121761wrm.394.1632762185061; Mon, 27 Sep 2021 10:03:05 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id z133sm64393wmc.45.2021.09.27.10.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:04 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 08/21] avocado_qemu: standardize super() call following PEP3135 Date: Mon, 27 Sep 2021 19:02:14 +0200 Message-Id: <20210927170227.2014482-9-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo PEP3135 states when calling super(), there is no need to use arguments. This changes the calls on avocado_qemu to standardize according to PEP3135 and avoid warnings from linters. Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210920204932.94132-3-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index d9e1b32aa16..d2077d63cda 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -282,7 +282,7 @@ def fetch_asset(self, name, asset_hash=None, algorithm=None, locations=None, expire=None, find_only=False, cancel_on_missing=True): - return super(Test, self).fetch_asset(name, + return super().fetch_asset(name, asset_hash=asset_hash, algorithm=algorithm, locations=locations, @@ -470,7 +470,7 @@ def _set_distro(self): self.distro.checksum = distro_checksum def setUp(self, ssh_pubkey=None, network_device_type='virtio-net'): - super(LinuxTest, self).setUp() + super().setUp() self._set_distro() self.vm.add_args('-smp', '2') self.vm.add_args('-m', '1024') From patchwork Mon Sep 27 17:02:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533478 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=BmK0aulE; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8LB11Rmz9t9b for ; Tue, 28 Sep 2021 03:11:14 +1000 (AEST) Received: from localhost ([::1]:39028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUu9n-0005RZ-SE for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:11:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu26-0002uR-MN for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:57193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu24-0003Bb-Mq for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IKfiq28KwaCW2FhO3C3XMBnTMqiuEqzPEChSBk4TZWs=; b=BmK0aulEtcW9ylMHUtnDXwhdR1vCljuzGak4gMwreAoRT0DZz91LQ3pEsYtNzOthV47c1E i+Dnh//tanBq5wkLgbZPpIzId1IPKsvBs1mlC07Ms+9eQxf4AjggIgVgIHCqwO+/VPMcbw KJqz2KWE75G9nPKqpaySevpf1glhry8= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-412--Ouzvj2eOOKQgjz_Fsxetg-1; Mon, 27 Sep 2021 13:03:11 -0400 X-MC-Unique: -Ouzvj2eOOKQgjz_Fsxetg-1 Received: by mail-wm1-f69.google.com with SMTP id m2-20020a05600c3b0200b0030cd1310631so178050wms.7 for ; Mon, 27 Sep 2021 10:03:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IKfiq28KwaCW2FhO3C3XMBnTMqiuEqzPEChSBk4TZWs=; b=3nCm3MqXa4jit+1I7tZSINM1C8UM3z4kRCHfbgkb5ZIWAxoRtBMSY5cMDVTqKmtx/J iUP56Gj9subqglgD2MPz+1q+V78IOzryD+OccR+bbhC1b9uRDTwWQisa7m5uQhtRhDfM atfsfG8pO+9ccEf/v+79YJlTpVwGFnVt6KHJgQYOjjDNWVYCofxXUKbTatUo7hX0TlPe i4Zv0mPaGvv+NfPwEZ16uGnMjCBSf+OWKw0iuHACqN+uJQ2W3L5Ou0VF/UfVzk0Taa+r GTRkOmVrlN7QHu8G6L166zqt74R4zNDLAXGBcQMEgQa9uI0LEJt0gtYJZkirHZySBhG7 faBg== X-Gm-Message-State: AOAM5323dHjMGDMRpjZVmTAiLtWMnVL3nPxEGwpMKQTEcLUWxalcy/+w oEBXQzwZsdy+xVhD8kevJVZvpY9Shf7Obxbg1EkkaNTHd2d8Txoo3T+MHL1gn79NIF5Hai72MK9 /aWTxqoByWoDT9zwyv+Gd1KGppBWmzXy0sOuAcTU0pZRBkssTNkZKsN+qDxvKtY2s X-Received: by 2002:a05:6000:1787:: with SMTP id e7mr1102268wrg.202.1632762189568; Mon, 27 Sep 2021 10:03:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp23u46G61pMWo8e2AbguEBwJJezhNyKsx7v3kFzOig2GYu9ZwZ4Pu3/qwGOpiI9m2QbwULw== X-Received: by 2002:a05:6000:1787:: with SMTP id e7mr1102231wrg.202.1632762189281; Mon, 27 Sep 2021 10:03:09 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id q7sm18273195wrc.55.2021.09.27.10.03.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:08 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 09/21] avocado_qemu: fix import module based on isort Date: Mon, 27 Sep 2021 19:02:15 +0200 Message-Id: <20210927170227.2014482-10-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210920204932.94132-4-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index d2077d63cda..edb9ed74852 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -12,19 +12,13 @@ import os import shutil import sys -import uuid import tempfile +import uuid import avocado - -from avocado.utils import cloudinit -from avocado.utils import datadrainer -from avocado.utils import network -from avocado.utils import ssh -from avocado.utils import vmimage +from avocado.utils import cloudinit, datadrainer, network, ssh, vmimage from avocado.utils.path import find_command - #: The QEMU build root directory. It may also be the source directory #: if building from the source dir, but it's safer to use BUILD_DIR for #: that purpose. Be aware that if this code is moved outside of a source @@ -42,11 +36,9 @@ sys.path.append(os.path.join(SOURCE_DIR, 'python')) from qemu.machine import QEMUMachine -from qemu.utils import ( - get_info_usernet_hostfwd_port, - kvm_available, - tcg_available, -) +from qemu.utils import (get_info_usernet_hostfwd_port, kvm_available, + tcg_available) + def is_readable_executable_file(path): return os.path.isfile(path) and os.access(path, os.R_OK | os.X_OK) From patchwork Mon Sep 27 17:02:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533481 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=LL3dYMWg; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8Np36Kvz9sX1 for ; Tue, 28 Sep 2021 03:13:30 +1000 (AEST) Received: from localhost ([::1]:45908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuC0-0001kW-7o for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:13:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2D-0003D2-DW for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:21 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2B-0003GR-To for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Khb8hgEBtXVnFEmx9u95JviCusuAqE5zASz4r+rPaZQ=; b=LL3dYMWgBtJuPoh8Rd7nG0FasDJZrAcrQRB2HJGN9asG0ANlt5Cdjv408n7DwDcAuBlbE6 8KxFdvQ9RHOYd3z+XxjBKTj84USoZpsvCd9jrosW123HgHEF+ILtMayMPFqpfZbDlIWdCN M0WTRGA5JQ6IVq9pdiMdWW9y5mS3YaA= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-321-EssGaRXAPamfCuLUHSAM7Q-1; Mon, 27 Sep 2021 13:03:15 -0400 X-MC-Unique: EssGaRXAPamfCuLUHSAM7Q-1 Received: by mail-wr1-f69.google.com with SMTP id r15-20020adfce8f000000b0015df1098ccbso14371220wrn.4 for ; Mon, 27 Sep 2021 10:03:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Khb8hgEBtXVnFEmx9u95JviCusuAqE5zASz4r+rPaZQ=; b=r2MwDjsiR7iOrJKL1JHaDVns6ubHRCWTfENMlNEMFVDfh0Ln51/5ovSSnHZqoitQWQ QOzULRRMq0EJg3RuA3wxahYAM+sb5LdX0McC0mG8SEbE5lrKXa2BEq01Aj/ZxhoZLuT7 PIdHXOORjq+4o4iXIhuQEkIRl/jJu67llunzB8n5voZVwrjhaPyC2r2cFPSHDh3u9yAo le7HTAOqRczWYHaoop2NZ9UxM+6PQRYLLwRkHYNSfGnjoz0YRtyQLKeRQFnQmimsCAqU 2k4NFNrAkcnhNGN7oNt7ygYGqW01vsmNMTxuFt2ziy0l3rDL18bWDKO0wVIscdBVLTYy EXQg== X-Gm-Message-State: AOAM533uOuGZTPgLGe9MsWyJru/8HS+gON5z6jdy2aWq79hWV2DTAkF1 WQ99O85lWtjzsE4WKvDxt+3kDlQkIVIKcnJq9UOzE0o7T/gnM9YTCWjryqQPuZnHCQahBvRQqgo 09Vdoa78hOosy8G5BMKvol5UVcbJWaN9g9DXa93w70KuNEM/O3U3409a73T6ogWZe X-Received: by 2002:a5d:6c6d:: with SMTP id r13mr999924wrz.439.1632762193944; Mon, 27 Sep 2021 10:03:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1jYj/NJft1hQuOQz0kG8I8fcMs2r23GhvtvY0/l7THjYL+iueg8va2s0ORjEHsP5nvFgMyA== X-Received: by 2002:a5d:6c6d:: with SMTP id r13mr999891wrz.439.1632762193729; Mon, 27 Sep 2021 10:03:13 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id n7sm17270297wra.37.2021.09.27.10.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:13 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 10/21] avocado_qemu: tweak ssh connect method Date: Mon, 27 Sep 2021 19:02:16 +0200 Message-Id: <20210927170227.2014482-11-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo The current implementation will crash if the connection fails as the `time` module is not imported. Fix the import problem. While here, tweaks the connection to wait progressively when the connection fails. Signed-off-by: Willian Rampazzo [PMD: Reworded description] Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210920204932.94132-5-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index edb9ed74852..c3613f92620 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -13,6 +13,7 @@ import shutil import sys import tempfile +import time import uuid import avocado @@ -305,8 +306,7 @@ def ssh_connect(self, username, credential, credential_is_key=True): self.ssh_session.connect() return except: - time.sleep(4) - pass + time.sleep(i) self.fail('ssh connection timeout') def ssh_command(self, command): From patchwork Mon Sep 27 17:02:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533486 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=jUrX6CBC; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8TC3GyVz9tk7 for ; Tue, 28 Sep 2021 03:17:19 +1000 (AEST) Received: from localhost ([::1]:54376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuFh-0007Xl-7T for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:17:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2H-0003Op-9Q for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:25 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2E-0003Il-GT for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XNDsKvAscMS2RHzun2iIZm543slpyVWUrcnGtw4rUrY=; b=jUrX6CBCblXZjVAO2z/6KUZ25ZDng90KBL5yL+qo1VCiWPOJ6UxkOF4fcg0w4nXDEfJ7vN 3LCzZkder6vqYI2tMeurJiE0qV/UkZRlec0R7ghxGafmsUHV9qmJzs548WABT3OcbiW+Aa 8kG+yVIJXCANVzAPK8zzeSOvQTlWlsQ= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-293-btHM4gcoOOCyhtGd8YfaFw-1; Mon, 27 Sep 2021 13:03:20 -0400 X-MC-Unique: btHM4gcoOOCyhtGd8YfaFw-1 Received: by mail-wm1-f72.google.com with SMTP id j21-20020a05600c1c1500b00300f1679e4dso461252wms.4 for ; Mon, 27 Sep 2021 10:03:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XNDsKvAscMS2RHzun2iIZm543slpyVWUrcnGtw4rUrY=; b=apYGPF04m2ogJE5/PoUhY8HO8b141RHpaPkZoXiql0QGL3f2PULomZT9l4DVa5rhbm MXOQZjLMRM7BFwv4cXDSBJTq/dqS08P6ZxpW/xtrWD3+iHnYCG7fWPkHYI6Oidq/dg8S sU/gsgRUTgAummoMBogxGc3yluXoxBXTuF6PwLqycO209Xn6wf174s3as/6CEbCE6eX/ GtcE7gU+eTP8ieu2OV8N5Dpq8EOrTtfOSVemmIyd2lae2M7AHahc5QNbE+qQ/ZOmdXla lssxqf/KCCd0nhD3xC73ow6Mcv7F5ndsw5r78/jrmLYK4SoXeK/if//oKrEnIZH24/9E kNeA== X-Gm-Message-State: AOAM531fLtKyeeL1pecupGT5W2ocRAPi7VhpCOpvpo79hOUNAzB5sla9 /CRiiVVZdte+5QhTbE0PgBjT+u99pdYRSSETNYLvBW4M3lEXfqbtDB13twcfZC7syIwW3ugZG0V eJaPf6lJy7XhzxWJR3RSinCbzpXURg0nGtNlU2ZXgrl3RLtj1kqQRVHlUX3m9GZrq X-Received: by 2002:adf:e742:: with SMTP id c2mr251102wrn.18.1632762198360; Mon, 27 Sep 2021 10:03:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhSNGqlupuDrsuITJ488kpOwCbFYU2Adc1aVVZIz8EDu1ROfHvNkaiSnGkV6qim06FGaa2jA== X-Received: by 2002:adf:e742:: with SMTP id c2mr251077wrn.18.1632762198150; Mon, 27 Sep 2021 10:03:18 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id i1sm18025916wrb.93.2021.09.27.10.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:17 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 11/21] avocado_qemu: explicitly return None to avoid R1710 Date: Mon, 27 Sep 2021 19:02:17 +0200 Message-Id: <20210927170227.2014482-12-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo The linter is complaining the `pick_default_qemu_bin` is not explicitly returning None. Fix it to explicitly return None and avoid R1710 inconsistent-return-statements. Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210920204932.94132-6-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index c3613f92620..35318ce2a9c 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -72,6 +72,7 @@ def pick_default_qemu_bin(arch=None): qemu_bin_relative_path) if is_readable_executable_file(qemu_bin_from_bld_dir_path): return qemu_bin_from_bld_dir_path + return None def _console_interaction(test, success_message, failure_message, From patchwork Mon Sep 27 17:02:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533482 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=SCT4v6H7; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8PX6Rqmz9tk7 for ; Tue, 28 Sep 2021 03:14:08 +1000 (AEST) Received: from localhost ([::1]:47390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuCc-0002jw-Ku for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:14:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2J-0003Uq-Sp for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:28 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:45358) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2I-0003Ll-BI for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ffI3S1UrC74DSBmsku7f8Hx9pHdpkOvYCVSvX97/5y8=; b=SCT4v6H7qQP82YTuGezJVRD4VHukvbo8haTH4gNLEsLM5OO6EqondjaZM9NFk5YcYKU71D W8DqfmUqFN+skEI03HU0v9QmfVHTEcWWHLy+CIzvfyWBe2qws8Owfn7IkCvp7D7sPJOSs5 Wk1+qoGarKp7+fU5JMb9+hKVgNPjn9c= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-tP-9l1ggM7O6kEeePiRtvA-1; Mon, 27 Sep 2021 13:03:24 -0400 X-MC-Unique: tP-9l1ggM7O6kEeePiRtvA-1 Received: by mail-wm1-f71.google.com with SMTP id y76-20020a1c7d4f000000b0030cf1eaf5cbso213327wmc.0 for ; Mon, 27 Sep 2021 10:03:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ffI3S1UrC74DSBmsku7f8Hx9pHdpkOvYCVSvX97/5y8=; b=sfVjr7jMjxqsAX5rxXrzbrfeGXcgs0lOJBBiEgIL44iSyhZK5mcjT7pS2UYfscWLsh ERC/vgl9vKhb2/VDSYBpiSwAyU/ZghCA3MZAgAnpER2qR81//o4iWdHkCgyZ0l1kiCAk TU6ZH9hC4c5F85jpvQ41qmlGpARdpCijhPuTTiXpO+vT3dv0jK91rfYhmGwPojIOmPUf W+geIkPMIIgVD3ukVQezF7zN3/C7by4apPkg3wfaJBXp8hbrnx1qKzugxj6CSd7nx7Vg kWSQcZF1Y04483+bLaWZ5MSmQqkb8XY+FMcAM++mYDrMrh1NlDzlzGc/ImDRSM89X7mV 38cg== X-Gm-Message-State: AOAM532H/L/4hhywY9pPEkzZzzn0LQKO4egvuhenZlyzyEk5j8NaP0MM Kmg97eO5OQ/m71z0PnAs0UVucrVUmwX4i/ySLS10z+YBPLDJyoFG+qc7oL5PzZrjPZp6HWitGLM RZ+BPw1vGLGtwgypJSkk6Wf3HPa5XHiIGyFJuUmjP3rqiTmRaBHNL6VY3oTRqfkAb X-Received: by 2002:a05:6000:14d:: with SMTP id r13mr1115490wrx.420.1632762202952; Mon, 27 Sep 2021 10:03:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcP1qA/im/0KRmiZN0ME7C1xlTWjvRTOWGplcPu7zZBXH3lAqlyL9vzBhL5fpbjcT3r7GOag== X-Received: by 2002:a05:6000:14d:: with SMTP id r13mr1115456wrx.420.1632762202720; Mon, 27 Sep 2021 10:03:22 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id m21sm69825wmq.37.2021.09.27.10.03.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:22 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 12/21] avocado_qemu: fix inheritance order on LinuxTest class Date: Mon, 27 Sep 2021 19:02:18 +0200 Message-Id: <20210927170227.2014482-13-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo Class hierarchy on Python is defined from right to left. Although the current code is not harmful, let's fix it to avoid problems in the future. Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210920204932.94132-7-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index 35318ce2a9c..1841053e2c1 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -424,7 +424,7 @@ def default_kernel_params(self): return self._info.get('kernel_params', None) -class LinuxTest(Test, LinuxSSHMixIn): +class LinuxTest(LinuxSSHMixIn, Test): """Facilitates having a cloud-image Linux based available. For tests that indend to interact with guests, this is a better choice From patchwork Mon Sep 27 17:02:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533491 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=QNcJB0zd; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8dz44Kyz9tk7 for ; Tue, 28 Sep 2021 03:24:55 +1000 (AEST) Received: from localhost ([::1]:42314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuN3-00029R-BH for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:24:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2Q-0003ir-B2 for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2N-0003R0-Rs for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mhGqr1t891o054kB4FzWFV92AJKwIKbsNyCWXLesBJE=; b=QNcJB0zdUKRFG5QWRD74IQ7zdcsFeHQO04Ncd/KY3QtHkHe4l09/GV+mwz+OG8AcFgX+ay PWQs3LAootVMJLF1crfaNZHeED6GZkMY4hcZty1IE2YJ5D6yEMmwaODkWr63PgebnDQw3X I5yWwfSqJeesyhxSpfTjwhYBmCeIlpU= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-457-uYHX3wC7PxKfz8d3t6Ck_g-1; Mon, 27 Sep 2021 13:03:29 -0400 X-MC-Unique: uYHX3wC7PxKfz8d3t6Ck_g-1 Received: by mail-wr1-f69.google.com with SMTP id j15-20020a5d564f000000b00160698bf7e9so1027101wrw.13 for ; Mon, 27 Sep 2021 10:03:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mhGqr1t891o054kB4FzWFV92AJKwIKbsNyCWXLesBJE=; b=aQSFSxRnTequaZ6bNcMUQotMzo4261GMtttK9PHO1t6Lu7PuWbkpKkM7CgWYvpO+VJ C/tbeWcYyoh8ln7bmfGdRhUVHo+H9a1PABf5aEBEY3MFsGiEoGYWY97Bc+t24KujcjWS MM+6kpnDkVMXffMBWk/W9LqnMeAsqwD3E8Yd3uZKDkNlt66EiBE5UswsFbkvLYTJCuyD 6NxunE4J5Exe7/ilgSGhhBHXRQWLVn6OLogyqP/jFB0L/H5qSHSKd91iiQ9HRTB2IT8P fbAgu+4cz/GHwkkYUdsfc2Tu0MUOPKLBoOgLTyNN5LjCz25aFHtaGcpaeravIa3nXPPB OK1Q== X-Gm-Message-State: AOAM533aqjLJZgJc9xinCm9gPrUc9H9sn4L7NcrZWmMqHCvmVFhQu88o 3uCtethqbWTKDCfeUQ37StVUnpwBkgj4Bs21PF3P6tZ40IRWyojIzwRNhVtLBnJ+EdiQPtOKthA UXrMh8qFSut5Bw875gersvvpiiJKFNoenBHhFUd7Jt2sPeFmnZbr9utgd9peQQnBF X-Received: by 2002:a1c:21c3:: with SMTP id h186mr167828wmh.20.1632762207824; Mon, 27 Sep 2021 10:03:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMKOcHVjY+iVeK3uGqwijgreU4pdJL73gNLtYP84ICYAfan9yV6aQ+ag2TNcNbV2qulXUcOg== X-Received: by 2002:a1c:21c3:: with SMTP id h186mr167786wmh.20.1632762207511; Mon, 27 Sep 2021 10:03:27 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id n26sm50478wmi.43.2021.09.27.10.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 13/21] tests/Makefile: allow control over tags during check-acceptance Date: Mon, 27 Sep 2021 19:02:19 +0200 Message-Id: <20210927170227.2014482-14-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo Although it is possible to run a specific test using the avocado command-line, a user may want to use a specific tag while running the ``make check-acceptance`` during the development or debugging. This allows using the AVOCADO_TAGS environment variable where the user takes total control of which tests should run based on the tags defined. This also makes the check-acceptance command flexible to restrict tests based on tags while running on CI. e.g.: AVOCADO_TAGS="foo bar baz" make check-acceptance Signed-off-by: Willian Rampazzo Tested-by: Wainer dos Santos Moschetta Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210923161141.232208-2-willianr@redhat.com> --- docs/devel/testing.rst | 14 ++++++++++++++ tests/Makefile.include | 12 +++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 4a0abbf23d3..d1841e35d57 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -732,6 +732,20 @@ available. On Debian and Ubuntu based systems, depending on the specific version, they may be on packages named ``python3-venv`` and ``python3-pip``. +It is also possible to run tests based on tags using the +``make check-acceptance`` command and the ``AVOCADO_TAGS`` environment +variable: + +.. code:: + + make check-acceptance AVOCADO_TAGS=quick + +Note that tags separated with commas have an AND behavior, while tags +separated by spaces have an OR behavior. For more information on Avocado +tags, see: + + https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/tags.html + The scripts installed inside the virtual environment may be used without an "activation". For instance, the Avocado test runner may be invoked by running: diff --git a/tests/Makefile.include b/tests/Makefile.include index 6e16c05f10b..f6484e5b31d 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -92,7 +92,12 @@ TESTS_RESULTS_DIR=$(BUILD_DIR)/tests/results # Any number of command separated loggers are accepted. For more # information please refer to "avocado --help". AVOCADO_SHOW=app -AVOCADO_TAGS=$(patsubst %-softmmu,-t arch:%, $(filter %-softmmu,$(TARGETS))) +ifndef AVOCADO_TAGS + AVOCADO_CMDLINE_TAGS=$(patsubst %-softmmu,-t arch:%, \ + $(filter %-softmmu,$(TARGETS))) +else + AVOCADO_CMDLINE_TAGS=$(addprefix -t , $(AVOCADO_TAGS)) +endif $(TESTS_VENV_DIR): $(TESTS_VENV_REQ) $(call quiet-command, \ @@ -128,8 +133,9 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images $(call quiet-command, \ $(TESTS_VENV_DIR)/bin/python -m avocado \ --show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \ - --filter-by-tags-include-empty --filter-by-tags-include-empty-key \ - $(AVOCADO_TAGS) \ + $(if $(AVOCADO_TAGS),, --filter-by-tags-include-empty \ + --filter-by-tags-include-empty-key) \ + $(AVOCADO_CMDLINE_TAGS) \ $(if $(GITLAB_CI),,--failfast) tests/acceptance, \ "AVOCADO", "tests/acceptance") From patchwork Mon Sep 27 17:02:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533479 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OY6KtAYy; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8LC4qdVz9t9b for ; Tue, 28 Sep 2021 03:11:15 +1000 (AEST) Received: from localhost ([::1]:39214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUu9o-0005Z0-Oe for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:11:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2S-0003jW-VW for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:50186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2R-0003Tu-JQ for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762215; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VcZeajeug5FjjL0Vw6aTUbYAKJ2OWK+8xl7oF2aw2Yg=; b=OY6KtAYyrOYFNa7dmQ0uTTJ2jZVjtF1uAiF7cSJ/S5TyEdMuarJTmVBHqnqOF6k6NPo7Mc W5WM8ACrqzis1yOcb/o/GIjbDONP1uKl6Y6TJyh5367o8F725M/OkqCO819LOmZIs9pujF zH5KarBIYHewioxtvC/z78T3eEI3TFc= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-576-dyyoAZMsOUeeF9MndTa1KA-1; Mon, 27 Sep 2021 13:03:33 -0400 X-MC-Unique: dyyoAZMsOUeeF9MndTa1KA-1 Received: by mail-wm1-f72.google.com with SMTP id b139-20020a1c8091000000b002fb33c467c8so508058wmd.5 for ; Mon, 27 Sep 2021 10:03:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VcZeajeug5FjjL0Vw6aTUbYAKJ2OWK+8xl7oF2aw2Yg=; b=uiJvUbTrTgys+Ke86jW7Y3ipgwuAKvMOYUTMNw31PPQ2/mC2IJITty+W9PX08VRfGE OQiTr54I3qJB+hqXIDZ40/mt5FvJE+swucUrRuUD9r/HbR4NDJbNBf+91zv1cG48lcyY b1kegX8foAnz5xqjotVWuQwY9JyhHy2eNZY0XwTaxJEyk3OdDFA7pcAYgcPR6wEyzh4S Ke7jrohrId11I9W7+Lwkbqd8JY0RM6im+oowgSHwYw+QeIVSGMmBGFW8V2kR9ItYcAMD E1YdcTbN1Kt4fDIEAtAMOhCLViG7CKKTblQGqiqLztAtpgkx/osEZg2ijTUKeBExZQ8u tb1w== X-Gm-Message-State: AOAM532q5TQayxcvcQ5SMuA0pohlkD6ot8rnojJwAkqyD+8OdH51U32+ ozdH+tG6/OFPtk/eylSCFtaPrfW8aIuRxdgM5xqQT6ER1I1dNUbS+Dfd5E/kdnGJdtGLM0KAMH4 g49HLZ6TFlwbB4LXM6Vr3/MuSyUUbXz+S8pVOuYuweRaqRCCckJjip2xHSSFPgC2r X-Received: by 2002:a5d:43ca:: with SMTP id v10mr1073680wrr.139.1632762212126; Mon, 27 Sep 2021 10:03:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0rm/vrSaFMIpx0IL74+ni1jvPIBw7S8oZns+HLKILW4h1j6iMoqkqGTGKgBiSZ7K80DyXpQ== X-Received: by 2002:a5d:43ca:: with SMTP id v10mr1073658wrr.139.1632762211937; Mon, 27 Sep 2021 10:03:31 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id i1sm18026488wrb.93.2021.09.27.10.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:31 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 14/21] docs/devel/testing: add instruction to run a single acceptance test Date: Mon, 27 Sep 2021 19:02:20 +0200 Message-Id: <20210927170227.2014482-15-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo Add instructions to the Acceptance tests section about running a single test file or a test within the test file. Signed-off-by: Willian Rampazzo Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210923161141.232208-3-willianr@redhat.com> --- docs/devel/testing.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index d1841e35d57..c9f6b97f876 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -754,6 +754,34 @@ may be invoked by running: tests/venv/bin/avocado run $OPTION1 $OPTION2 tests/acceptance/ +Note that if ``make check-acceptance`` was not executed before, it is +possible to create the Python virtual environment with the dependencies +needed running: + + .. code:: + + make check-venv + +It is also possible to run tests from a single file or a single test within +a test file. To run tests from a single file within the build tree, use: + + .. code:: + + tests/venv/bin/avocado run tests/acceptance/$TESTFILE + +To run a single test within a test file, use: + + .. code:: + + tests/venv/bin/avocado run tests/acceptance/$TESTFILE:$TESTCLASS.$TESTNAME + +Valid test names are visible in the output from any previous execution +of Avocado or ``make check-acceptance``, and can also be queried using: + + .. code:: + + tests/venv/bin/avocado list tests/acceptance + Manual Installation ------------------- From patchwork Mon Sep 27 17:02:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533488 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=M70oJL+A; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8W30VR3z9t1C for ; Tue, 28 Sep 2021 03:18:55 +1000 (AEST) Received: from localhost ([::1]:58550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuHE-00025g-RE for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:18:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2a-0003qD-B9 for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:44 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2Y-0003Ye-IS for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762220; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vgeLl83LUv4CVvYnrCBYDZZxrjbLUE14bcfIj+YK0Kw=; b=M70oJL+A6ZofEZ7R3lHP0bskenxmv1RTY71Y3aSEs8HXS8q3dGkImu0YJ4GI0gnBVxX/Sb xiU8ClsrGqwhpfBabr4uw1789HQNAwTS1TPMJP0njEesBxqRU3u8tGLnEwT+15v8vXgaNQ fhThkCqyYJ0OkHEfaYdvyXsoy95IS4w= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-573-GaLBppAmOfm2ytR73cheqg-1; Mon, 27 Sep 2021 13:03:38 -0400 X-MC-Unique: GaLBppAmOfm2ytR73cheqg-1 Received: by mail-wm1-f70.google.com with SMTP id z137-20020a1c7e8f000000b0030cd1800d86so507859wmc.2 for ; Mon, 27 Sep 2021 10:03:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vgeLl83LUv4CVvYnrCBYDZZxrjbLUE14bcfIj+YK0Kw=; b=xABcoiMhZT1BcnrDlI6fFeKd+93TBv/nUjtJgdXf0ZsYowRaD1tbrMr+PdG17g346g Ja6oQsklFgbvOgj3q/VSgGpBLG3N/nhchAtjUOi5I3bDdk0dM42EQTtM6R76cm9qVO4L hnP6YZz06sLfHBi2N2L76FsQtqAuDgyMHqhiPvzyc1uv+3Vkiv1pu4XdU1JGI3Lq9SNi bjVLNUeBs0BJjVmXTidjDWXFA4VklNhrxAKHvlHv9zat5L1l2hcKdgNFlYwFR76yi2z9 upAk9fGJb8exWV5Lafwi5mpbNb95Hh0TCO9n+rmhPweEbL7JPSMuS6A5voc3ADpy6aho yEdg== X-Gm-Message-State: AOAM5334dXY/OB72w8dTDxb1JkX4quiFhbb/yd+OJzQW6RslNS7zawsR AAJhhu1JnDyOMVss2MeygyaZVYVVETaiNtj8hnwaiUWfM5KcWwOLCo0BjUvcEr7Vk6i73zjzcN4 XU4rTN1axHpEMgf6bghGrAU00m1s0Qd/+2xZr4mOQDhmfMVyvzmcRMAYnTiWO3lRz X-Received: by 2002:a5d:47a4:: with SMTP id 4mr1090772wrb.274.1632762216640; Mon, 27 Sep 2021 10:03:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+OwjWfoekY1VQfr9O1kNEpxkhgyRUbg4RaZUUeavoYB3slCDNxHm7H0iyO9nKlFtWH5tXQA== X-Received: by 2002:a5d:47a4:: with SMTP id 4mr1090734wrb.274.1632762216371; Mon, 27 Sep 2021 10:03:36 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id u5sm18576902wrg.57.2021.09.27.10.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:35 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 15/21] tests/Makefile: add AVOCADO_TESTS option to make check-acceptance Date: Mon, 27 Sep 2021 19:02:21 +0200 Message-Id: <20210927170227.2014482-16-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , =?utf-8?q?Daniel_P_=2E_Berrang?= =?utf-8?q?=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Willian Rampazzo Add the possibility of running all the tests from a single file, or multiple files, running a single test within a file or multiple tests within multiple files using `make check-acceptance` and the AVOCADO_TESTS environment variable. Suggested-by: Daniel P. Berrangé Signed-off-by: Willian Rampazzo Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210923161141.232208-4-willianr@redhat.com> --- docs/devel/testing.rst | 27 +++++++++++++++++++++++++++ tests/Makefile.include | 5 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index c9f6b97f876..64c97447956 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -746,6 +746,33 @@ tags, see: https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/tags.html +To run a single test file, a couple of them, or a test within a file +using the ``make check-acceptance`` command, set the ``AVOCADO_TESTS`` +environment variable with the test files or test names. To run all +tests from a single file, use: + + .. code:: + + make check-acceptance AVOCADO_TESTS=$FILEPATH + +The same is valid to run tests from multiple test files: + + .. code:: + + make check-acceptance AVOCADO_TESTS='$FILEPATH1 $FILEPATH2' + +To run a single test within a file, use: + + .. code:: + + make check-acceptance AVOCADO_TESTS=$FILEPATH:$TESTCLASS.$TESTNAME + +The same is valid to run single tests from multiple test files: + + .. code:: + + make check-acceptance AVOCADO_TESTS='$FILEPATH1:$TESTCLASS1.$TESTNAME1 $FILEPATH2:$TESTCLASS2.$TESTNAME2' + The scripts installed inside the virtual environment may be used without an "activation". For instance, the Avocado test runner may be invoked by running: diff --git a/tests/Makefile.include b/tests/Makefile.include index f6484e5b31d..e69c4fae53e 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -88,6 +88,9 @@ clean-tcg: $(CLEAN_TCG_TARGET_RULES) TESTS_VENV_DIR=$(BUILD_DIR)/tests/venv TESTS_VENV_REQ=$(SRC_PATH)/tests/requirements.txt TESTS_RESULTS_DIR=$(BUILD_DIR)/tests/results +ifndef AVOCADO_TESTS + AVOCADO_TESTS=tests/acceptance +endif # Controls the output generated by Avocado when running tests. # Any number of command separated loggers are accepted. For more # information please refer to "avocado --help". @@ -136,7 +139,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images $(if $(AVOCADO_TAGS),, --filter-by-tags-include-empty \ --filter-by-tags-include-empty-key) \ $(AVOCADO_CMDLINE_TAGS) \ - $(if $(GITLAB_CI),,--failfast) tests/acceptance, \ + $(if $(GITLAB_CI),,--failfast) $(AVOCADO_TESTS), \ "AVOCADO", "tests/acceptance") # Consolidated targets From patchwork Mon Sep 27 17:02:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533489 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=hFDbvtTv; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8XQ4yVbz9t1C for ; Tue, 28 Sep 2021 03:20:04 +1000 (AEST) Received: from localhost ([::1]:33208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuIL-0004C7-AM for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:20:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2g-000412-VW for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:47280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2b-0003bt-CN for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MpP5Tl9WYK/fILavty5FzAb3Tv6ivEOl60j6QfURE0k=; b=hFDbvtTvWOkuLkIUSxItQ0K/m6UkbiBgohEVig8bR9syqoruibdgux5xLfdzc/F2AGN8p7 fCE2MEEvlCie7PHeEEzOFFJUjPC5oLJG38/lYJJy7M+2pjzmkJRB7inYIE49lPcwwITvze 7RLKg9Ui95a1wvUqIStmMnhhte6s3/w= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-452-5Z6QnPB8PXKtTPP5otfalg-1; Mon, 27 Sep 2021 13:03:42 -0400 X-MC-Unique: 5Z6QnPB8PXKtTPP5otfalg-1 Received: by mail-wr1-f69.google.com with SMTP id j16-20020adfa550000000b0016012acc443so14341373wrb.14 for ; Mon, 27 Sep 2021 10:03:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MpP5Tl9WYK/fILavty5FzAb3Tv6ivEOl60j6QfURE0k=; b=dxkgXb2MoOVhw6oMUOeBtAtLa1L0yYjWeAhDTHBlsHhHWD2QP61bSHLnwnsb0e/zyQ VhoLza9RukramVw2D1HLp+XGE6ILHBwKDlQ62AhU4sZfz2/Esr9upIDTVHv1dANxDMND H2EPt11qplpxitY8sMBP7yTa2I5OJ48SJrgnL1KHq51t4Vze1vz142Sy9VXU/ivtJFaw W4qhF5oTZLj5UOKAYZnUWq2Bl7c9x8ss1obE//asL9sPvZrxeZi5r+vjmmJSWErVHDEL fXLHRYvMAlNY8zoY0UW4uw10y+HQpgwGgEHa92fxnf/F0CwMmO1aDxRS3kUkdXSgEt7i wsEQ== X-Gm-Message-State: AOAM533Lv33erhMCIa19eVzTgzitTzdMEi25JjXntWiodS59m3srrMYF 6xFPGxwEMDCOQYVNWrZgIWumw1z9+aEkOvSOYyvqYnENkxrESD3ONCkZ3l5Nn6zdimZxL3aVq87 b56A07PmDQ75yBYmkNlTzpOB6BgwRCCe9AiFQwNMJ5q2oZ3+w71foyLQ+Wdv/51NI X-Received: by 2002:a1c:1c7:: with SMTP id 190mr131338wmb.158.1632762221031; Mon, 27 Sep 2021 10:03:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0vJxZGZvTxGY47QttacHGTYMYUABrc5tJNBpja/T2/x7ZN6Z1W6NSaXv48Q6ltnF+VkRYFA== X-Received: by 2002:a1c:1c7:: with SMTP id 190mr131303wmb.158.1632762220678; Mon, 27 Sep 2021 10:03:40 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id e5sm17224018wrd.1.2021.09.27.10.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:40 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 16/21] qemu: Split machine_ppc.py acceptance tests Date: Mon, 27 Sep 2021 19:02:22 +0200 Message-Id: <20210927170227.2014482-17-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-Daud=C3=A9?= , David Gibson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: David Gibson machine_ppc.py contains tests for 3 different ppc based machine types. It is listed in MAINTAINERS along with the PPC TCG cpu code. That's not really accurate though, since it's really more about testing those machines than the CPUs. Therefore, split it up into separate files for the separate machine types, and list those along with their machine types in MAINTAINERS. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: David Gibson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210927044808.73391-2-david@gibson.dropbear.id.au> --- MAINTAINERS | 4 +- tests/acceptance/machine_ppc.py | 69 ---------------------------- tests/acceptance/ppc_mpc8544ds.py | 32 +++++++++++++ tests/acceptance/ppc_pseries.py | 35 ++++++++++++++ tests/acceptance/ppc_virtex_ml507.py | 34 ++++++++++++++ 5 files changed, 104 insertions(+), 70 deletions(-) delete mode 100644 tests/acceptance/machine_ppc.py create mode 100644 tests/acceptance/ppc_mpc8544ds.py create mode 100644 tests/acceptance/ppc_pseries.py create mode 100644 tests/acceptance/ppc_virtex_ml507.py diff --git a/MAINTAINERS b/MAINTAINERS index f98523cfe0f..bf1fc5b21e8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -274,7 +274,6 @@ F: target/ppc/ F: hw/ppc/ F: include/hw/ppc/ F: disas/ppc.c -F: tests/acceptance/machine_ppc.py RISC-V TCG CPUs M: Palmer Dabbelt @@ -1270,6 +1269,7 @@ L: qemu-ppc@nongnu.org S: Odd Fixes F: hw/ppc/mpc8544ds.c F: hw/ppc/mpc8544_guts.c +F: tests/acceptance/ppc_mpc8544ds.py New World (mac99) M: Mark Cave-Ayland @@ -1340,6 +1340,7 @@ F: tests/qtest/spapr* F: tests/qtest/libqos/*spapr* F: tests/qtest/rtas* F: tests/qtest/libqos/rtas* +F: tests/acceptance/ppc_pseries.py PowerNV (Non-Virtualized) M: Cédric Le Goater @@ -1361,6 +1362,7 @@ M: Edgar E. Iglesias L: qemu-ppc@nongnu.org S: Odd Fixes F: hw/ppc/virtex_ml507.c +F: tests/acceptance/ppc_virtex_ml507.py sam460ex M: BALATON Zoltan diff --git a/tests/acceptance/machine_ppc.py b/tests/acceptance/machine_ppc.py deleted file mode 100644 index a836e2496f1..00000000000 --- a/tests/acceptance/machine_ppc.py +++ /dev/null @@ -1,69 +0,0 @@ -# Test that Linux kernel boots on ppc machines and check the console -# -# Copyright (c) 2018, 2020 Red Hat, Inc. -# -# This work is licensed under the terms of the GNU GPL, version 2 or -# later. See the COPYING file in the top-level directory. - -from avocado.utils import archive -from avocado_qemu import Test -from avocado_qemu import wait_for_console_pattern - -class PpcMachine(Test): - - timeout = 90 - KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 ' - panic_message = 'Kernel panic - not syncing' - - def test_ppc64_pseries(self): - """ - :avocado: tags=arch:ppc64 - :avocado: tags=machine:pseries - """ - kernel_url = ('https://archives.fedoraproject.org/pub/archive' - '/fedora-secondary/releases/29/Everything/ppc64le/os' - '/ppc/ppc64/vmlinuz') - kernel_hash = '3fe04abfc852b66653b8c3c897a59a689270bc77' - kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) - - self.vm.set_console() - kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=hvc0' - self.vm.add_args('-kernel', kernel_path, - '-append', kernel_command_line) - self.vm.launch() - console_pattern = 'Kernel command line: %s' % kernel_command_line - wait_for_console_pattern(self, console_pattern, self.panic_message) - - def test_ppc_mpc8544ds(self): - """ - :avocado: tags=arch:ppc - :avocado: tags=machine:mpc8544ds - """ - tar_url = ('https://www.qemu-advent-calendar.org' - '/2020/download/day17.tar.gz') - tar_hash = '7a5239542a7c4257aa4d3b7f6ddf08fb6775c494' - file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) - archive.extract(file_path, self.workdir) - self.vm.set_console() - self.vm.add_args('-kernel', self.workdir + '/creek/creek.bin') - self.vm.launch() - wait_for_console_pattern(self, 'QEMU advent calendar 2020', - self.panic_message) - - def test_ppc_virtex_ml507(self): - """ - :avocado: tags=arch:ppc - :avocado: tags=machine:virtex-ml507 - """ - tar_url = ('https://www.qemu-advent-calendar.org' - '/2020/download/hippo.tar.gz') - tar_hash = '306b95bfe7d147f125aa176a877e266db8ef914a' - file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) - archive.extract(file_path, self.workdir) - self.vm.set_console() - self.vm.add_args('-kernel', self.workdir + '/hippo/hippo.linux', - '-dtb', self.workdir + '/hippo/virtex440-ml507.dtb', - '-m', '512') - self.vm.launch() - wait_for_console_pattern(self, 'QEMU advent calendar 2020', - self.panic_message) diff --git a/tests/acceptance/ppc_mpc8544ds.py b/tests/acceptance/ppc_mpc8544ds.py new file mode 100644 index 00000000000..ce840600c1c --- /dev/null +++ b/tests/acceptance/ppc_mpc8544ds.py @@ -0,0 +1,32 @@ +# Test that Linux kernel boots on ppc machines and check the console +# +# Copyright (c) 2018, 2020 Red Hat, Inc. +# +# This work is licensed under the terms of the GNU GPL, version 2 or +# later. See the COPYING file in the top-level directory. + +from avocado.utils import archive +from avocado_qemu import Test +from avocado_qemu import wait_for_console_pattern + +class Mpc8544dsMachine(Test): + + timeout = 90 + KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 ' + panic_message = 'Kernel panic - not syncing' + + def test_ppc_mpc8544ds(self): + """ + :avocado: tags=arch:ppc + :avocado: tags=machine:mpc8544ds + """ + tar_url = ('https://www.qemu-advent-calendar.org' + '/2020/download/day17.tar.gz') + tar_hash = '7a5239542a7c4257aa4d3b7f6ddf08fb6775c494' + file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) + archive.extract(file_path, self.workdir) + self.vm.set_console() + self.vm.add_args('-kernel', self.workdir + '/creek/creek.bin') + self.vm.launch() + wait_for_console_pattern(self, 'QEMU advent calendar 2020', + self.panic_message) diff --git a/tests/acceptance/ppc_pseries.py b/tests/acceptance/ppc_pseries.py new file mode 100644 index 00000000000..f14a884ee16 --- /dev/null +++ b/tests/acceptance/ppc_pseries.py @@ -0,0 +1,35 @@ +# Test that Linux kernel boots on ppc machines and check the console +# +# Copyright (c) 2018, 2020 Red Hat, Inc. +# +# This work is licensed under the terms of the GNU GPL, version 2 or +# later. See the COPYING file in the top-level directory. + +from avocado.utils import archive +from avocado_qemu import Test +from avocado_qemu import wait_for_console_pattern + +class pseriesMachine(Test): + + timeout = 90 + KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 ' + panic_message = 'Kernel panic - not syncing' + + def test_ppc64_pseries(self): + """ + :avocado: tags=arch:ppc64 + :avocado: tags=machine:pseries + """ + kernel_url = ('https://archives.fedoraproject.org/pub/archive' + '/fedora-secondary/releases/29/Everything/ppc64le/os' + '/ppc/ppc64/vmlinuz') + kernel_hash = '3fe04abfc852b66653b8c3c897a59a689270bc77' + kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash) + + self.vm.set_console() + kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'console=hvc0' + self.vm.add_args('-kernel', kernel_path, + '-append', kernel_command_line) + self.vm.launch() + console_pattern = 'Kernel command line: %s' % kernel_command_line + wait_for_console_pattern(self, console_pattern, self.panic_message) diff --git a/tests/acceptance/ppc_virtex_ml507.py b/tests/acceptance/ppc_virtex_ml507.py new file mode 100644 index 00000000000..27f7bf2d492 --- /dev/null +++ b/tests/acceptance/ppc_virtex_ml507.py @@ -0,0 +1,34 @@ +# Test that Linux kernel boots on ppc machines and check the console +# +# Copyright (c) 2018, 2020 Red Hat, Inc. +# +# This work is licensed under the terms of the GNU GPL, version 2 or +# later. See the COPYING file in the top-level directory. + +from avocado.utils import archive +from avocado_qemu import Test +from avocado_qemu import wait_for_console_pattern + +class VirtexMl507Machine(Test): + + timeout = 90 + KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 ' + panic_message = 'Kernel panic - not syncing' + + def test_ppc_virtex_ml507(self): + """ + :avocado: tags=arch:ppc + :avocado: tags=machine:virtex-ml507 + """ + tar_url = ('https://www.qemu-advent-calendar.org' + '/2020/download/hippo.tar.gz') + tar_hash = '306b95bfe7d147f125aa176a877e266db8ef914a' + file_path = self.fetch_asset(tar_url, asset_hash=tar_hash) + archive.extract(file_path, self.workdir) + self.vm.set_console() + self.vm.add_args('-kernel', self.workdir + '/hippo/hippo.linux', + '-dtb', self.workdir + '/hippo/virtex440-ml507.dtb', + '-m', '512') + self.vm.launch() + wait_for_console_pattern(self, 'QEMU advent calendar 2020', + self.panic_message) From patchwork Mon Sep 27 17:02:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533490 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=DCkmYKIS; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8ZL1tWyz9tk7 for ; Tue, 28 Sep 2021 03:21:46 +1000 (AEST) Received: from localhost ([::1]:36632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuJz-0006ZE-S0 for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:21:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2l-0004Bw-9U for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:29223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2h-0003hZ-5u for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xo8oTLyul7HaZanB9otUsIZ7T0Gdbb3D/S6pHKJH9f4=; b=DCkmYKISgE2/Vg0XWOHdFhDAE8Cu84qf9Nfp1jchqVSsDqTJmU7I+RwttY11FjDM55lSUm 22JwIq/wWwkihHk/ys4iCSwpYTJQHvNl/RIVcFV+oJn/rKJZuyEqbEw1VikLEK7QVXPziG jkw2LL5jLUMVRHP6fz2xPTs2o6rc/vA= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-44-Kn3pBbhQN9Ol3V3w00qivA-1; Mon, 27 Sep 2021 13:03:46 -0400 X-MC-Unique: Kn3pBbhQN9Ol3V3w00qivA-1 Received: by mail-wm1-f71.google.com with SMTP id j21-20020a05600c1c1500b0030ccce95837so184904wms.3 for ; Mon, 27 Sep 2021 10:03:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xo8oTLyul7HaZanB9otUsIZ7T0Gdbb3D/S6pHKJH9f4=; b=77monM2MZVXNM4K9OSErCLztY+dlaV9YVvMDw5daY0MrZi5DzOaZCmfwT5Dr5CA3LQ 1LMOl2pWbDa0k8ukQtoEZIDwMpZb6QcPpGcG8CzZ43DflcipoMTydvhHlNgL+FgzEcUX KwGLNS+eZFtkxXkvutd2tCM6kLkq4ju/xYuq2OcJDSjyqPfdND36oOb1w9T99oleZFAt i32HFGtti7viTo6BxNx0R7RY0ULgp0wTmwd8n8vioZ1/T2+YRQGLeZM8SOQFLIl0edIM U8sbqM2kc2RNJmfHgzA/VMdUlzgYzBHigxhuuWDEUPKb2LGkgphi2fRLeU0sHP4l7sY5 ZbRA== X-Gm-Message-State: AOAM532Z3WWAdLGrhj7zMZ1kzh8/p9uE9HEqm/utkq7+klAjRU4x2LqF 5SF41E3APG+ElckJZVoHWnq3aKeyVLeV1RdAqLlyUSNI4eplMxCRppHEa2xpuRJxmrHOTTtBffU M3eM611a3iwhSDqUU9hwj7DiiwvUpHWyMTCtcAE2nxzwYOUXIT02SPA0Dznx0+j+h X-Received: by 2002:adf:f48b:: with SMTP id l11mr1108576wro.254.1632762225193; Mon, 27 Sep 2021 10:03:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxytqHFun0uAeOrgs4iDZ27u+U8zZkq0fHGRhElAHAxTWQyv0UI4+bPfE2NvXo0FJ72pbgMfQ== X-Received: by 2002:adf:f48b:: with SMTP id l11mr1108555wro.254.1632762225026; Mon, 27 Sep 2021 10:03:45 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id v10sm18013321wri.29.2021.09.27.10.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:44 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 17/21] Acceptance Tests: improve check-acceptance description Date: Mon, 27 Sep 2021 19:02:23 +0200 Message-Id: <20210927170227.2014482-18-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Cleber Rosa Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa The "check-acceptance" make rule won't necessarily run *all* available tests, because it employs a filter based on the currently configured targets. This change in the description of the rule makes that behavior extra clear. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210924185506.2542588-3-crosa@redhat.com> --- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index e69c4fae53e..7426522bbed 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -16,7 +16,7 @@ ifneq ($(filter $(all-check-targets), check-softfloat),) @echo " $(MAKE) check-tcg Run TCG tests" @echo " $(MAKE) check-softfloat Run FPU emulation tests" endif - @echo " $(MAKE) check-acceptance Run all acceptance (functional) tests" + @echo " $(MAKE) check-acceptance Run acceptance (functional) tests for currently configured targets" @echo @echo " $(MAKE) check-report.tap Generates an aggregated TAP test report" @echo " $(MAKE) check-venv Creates a Python venv for tests" From patchwork Mon Sep 27 17:02:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533494 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=UnrFO8gL; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8jV4WMPz9tk7 for ; Tue, 28 Sep 2021 03:27:58 +1000 (AEST) Received: from localhost ([::1]:48648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuQ0-0006Z5-DC for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:27:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2m-0004DT-1K for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:35863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2i-0003jQ-MC for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N1o/M4XNrGTbxBsI5IFBMJL/wUMj83voLO7bWtA3Hr4=; b=UnrFO8gLmT2Hoexdnf6a5Tbc+gDqMGeKns9srCZ14oQ36axLoNiU9ilFJkBhJPIfrm1Mdi W3QgzMpw/hQnpxwUAm3+RpxsfoCO+jWjSq8RehGQJjYLsZIzfLxDP4vN1Ajitd6olJSdlP KsyZZKJp56qArcwP+wUNIpdWEw+KapI= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-394-EJ1QEo7YMYGeMjsEDa2T5Q-1; Mon, 27 Sep 2021 13:03:50 -0400 X-MC-Unique: EJ1QEo7YMYGeMjsEDa2T5Q-1 Received: by mail-wm1-f72.google.com with SMTP id b139-20020a1c8091000000b002fb33c467c8so508344wmd.5 for ; Mon, 27 Sep 2021 10:03:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N1o/M4XNrGTbxBsI5IFBMJL/wUMj83voLO7bWtA3Hr4=; b=wc2HsRKd41ODyNqpY7TZipnokSeOfEA+l/jWfznlI5ABjqMshUf/pK5wsIqcU3dzYE ntHvFPHeuapywWZHrZcI6YE7utArC1yu9wyG/6jGVKKQEtlFDoJLpNGv78zMYT7vai/q kKPqHoHxOrcqJFBXO9EhRfk4qtGAY4+zYsLDyi43ck9pzWfYRt24ZZhu9DdPwgMmKWXz RqrFGaWnCtAAwjmz4RMCGNF1jlm60QdeohKIR/TB/kM8A5VJiAt0s34dwj4bDk4XIOfo k+HARapXu3nuFtFVtUZTLHaM2MUQDdbUg+swD0/MzG+4w29DN/2EEkHfbkSoXKsbojtT S2KQ== X-Gm-Message-State: AOAM531emqL0n7PpTtlWcz67/Md4uLlvMlFEVh1tEP5yoRiM5LLGGt+0 XfUtIwbCeN8PJAgHuyCasVVYJHddIygyVV8skMCEQO8UXO8NtXRxI3srZnARw4UZGManKZp97iJ 3SZAFbtIRa7E7qUenjNTX2+PLqPZdkjt9zuPdJ7klwo/UikTSClAAwNnx6TiWjRuE X-Received: by 2002:a7b:c5c9:: with SMTP id n9mr102081wmk.141.1632762229502; Mon, 27 Sep 2021 10:03:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzV+yx4ox6pMkfKWmDFtYZoqgixrGwy1JET5X9ypHxJkWANrxb+Ephy6RNRQzfbq7M6pd3Mvg== X-Received: by 2002:a7b:c5c9:: with SMTP id n9mr102054wmk.141.1632762229319; Mon, 27 Sep 2021 10:03:49 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id o17sm17055943wrj.96.2021.09.27.10.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:48 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 18/21] acceptance/tests/vnc.py: use explicit syntax for enabling passwords Date: Mon, 27 Sep 2021 19:02:24 +0200 Message-Id: <20210927170227.2014482-19-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Cleber Rosa Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa This matches the command line on 82a17d1d67, where the "on" or "off" should be explicitly given. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210924185506.2542588-9-crosa@redhat.com> --- tests/acceptance/vnc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/vnc.py b/tests/acceptance/vnc.py index 22656bbcc2b..f301fbb4f56 100644 --- a/tests/acceptance/vnc.py +++ b/tests/acceptance/vnc.py @@ -45,7 +45,7 @@ def test_change_password_requires_a_password(self): 'Could not set password') def test_change_password(self): - self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password') + self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password=on') self.vm.launch() self.assertTrue(self.vm.qmp('query-vnc')['return']['enabled']) set_password_response = self.vm.qmp('change-vnc-password', From patchwork Mon Sep 27 17:02:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533483 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XVYCrrdE; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8Pb2Y87z9tk7 for ; Tue, 28 Sep 2021 03:14:11 +1000 (AEST) Received: from localhost ([::1]:47642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuCf-0002tZ-34 for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:14:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2o-0004LH-QB for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:58 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:30840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2n-0003nj-2g for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:03:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5bFkDFbIjMJzau3RcdY7C5P6hQBBwhKKwN7KGrhpIBI=; b=XVYCrrdErJkMrepVJjT6YxcRx9F/CqGFaa4H0YXUHrJeHpIYPQjju1I+thoIphQfS3UyAe IwPMQElPx8s2q4tQM8oiFk2WFuOYe6KUPB9te8TvIVnLrn3mkmeYlbcKXbpZPX0+kb/6VC pLqKAmjyqzIZ+y72s1IH/6JDiWsa71c= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-335-zDAHD9XwMsC0uA3jjWmoxA-1; Mon, 27 Sep 2021 13:03:55 -0400 X-MC-Unique: zDAHD9XwMsC0uA3jjWmoxA-1 Received: by mail-wr1-f69.google.com with SMTP id j15-20020a5d564f000000b00160698bf7e9so1027484wrw.13 for ; Mon, 27 Sep 2021 10:03:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5bFkDFbIjMJzau3RcdY7C5P6hQBBwhKKwN7KGrhpIBI=; b=5Hejg25C7jskEoC/Kv/b5W03ygT6HyiVkXrhM0Ns2QA7PEQipXi9gVkMupNBlguj0K jibCI2sQGSmnIDI/vNyTO1j9gsFPRsD8c1k01rpY3OPozvwiImHuQfpkOl+NvQTFHWyG jchTGrC7ue+Sqmd5P8cU3JasOvvtox5z6QWdPpXYOaRmxc73oHBtD166ZqCEoTF6ANYz z7zYAYSFmVbQDdSqUvPOQ0LE69dEWwkt/9IjzSPyoEg2GAd/Aco5B66DOU+PdiKVilVG IcrPxucPAHuw402soUusbh5Vz1fz2NjJ2FLDvDkxOtFh67ewkG4a9v8l2EznNE1vx4to lB7Q== X-Gm-Message-State: AOAM530R1bIvd0nnx716dD5eJQMaxAFrmvQzILyIOpPPC35x/G17KRIi yZet/ZBF+Nbfc1UrbYQ6D0IMmdCZkOzds7PqdUG44Dgj2XFhGRSySCIt0YbWhCb/CXW+Jqeicpr pseXIswYssougNt7RU0fD2qb2l4Bgs1nuMhnoePaRzr6NYQeIz6mSSbGLlDs///NV X-Received: by 2002:adf:d1cf:: with SMTP id b15mr1076525wrd.181.1632762233836; Mon, 27 Sep 2021 10:03:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYAPC7o5YQgfkQeFvr3poZzoX0VCp521vrpnKth7pmsfmIEzVpF0AviSpvh7rlbp3P6/8+jQ== X-Received: by 2002:adf:d1cf:: with SMTP id b15mr1076500wrd.181.1632762233653; Mon, 27 Sep 2021 10:03:53 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id x9sm8564611wrv.82.2021.09.27.10.03.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:53 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 19/21] tests/acceptance/boot_xen.py: removed unused import Date: Mon, 27 Sep 2021 19:02:25 +0200 Message-Id: <20210927170227.2014482-20-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Cleber Rosa Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa Just a clean up for an unused import. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210924185506.2542588-13-crosa@redhat.com> --- tests/acceptance/boot_xen.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/acceptance/boot_xen.py b/tests/acceptance/boot_xen.py index 3479b5233b8..fc2faeedb55 100644 --- a/tests/acceptance/boot_xen.py +++ b/tests/acceptance/boot_xen.py @@ -13,7 +13,6 @@ import os -from avocado import skipIf from avocado_qemu import wait_for_console_pattern from boot_linux_console import LinuxKernelTest From patchwork Mon Sep 27 17:02:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=LRUmy4cq; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8jj5XKlz9tk7 for ; Tue, 28 Sep 2021 03:28:09 +1000 (AEST) Received: from localhost ([::1]:49334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuQB-000732-FM for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:28:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu32-0004uS-FH for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:04:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:23863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu30-0003za-PG for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:04:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G8K9ed+faCJSkU8JIvgLkS2K6sq/kvjt1grHOu9ILGo=; b=LRUmy4cqLPc/kNzpN8FWlvTH3O1XhGAVdin9hum8e8hTdeXAUBWg3tk2/n5oGurgUlitCe zc8w1fd4VOJkTuTnDZeHeEaeDCM4UNylkmB4m9qhqVKZUb2y+tNwjTZsbyJq/weIit23jL 26XioW8oLIIMlTZd6vXDvsLcPBq0MR4= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-470-Pc6hvbmbMtG0oFGsNOMoHQ-1; Mon, 27 Sep 2021 13:03:59 -0400 X-MC-Unique: Pc6hvbmbMtG0oFGsNOMoHQ-1 Received: by mail-wr1-f69.google.com with SMTP id a17-20020adfed11000000b00160525e875aso6792558wro.23 for ; Mon, 27 Sep 2021 10:03:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G8K9ed+faCJSkU8JIvgLkS2K6sq/kvjt1grHOu9ILGo=; b=qRoh7brbUYBcl6OYvWh4qXX0YQqaZlji54GDMmCnJAD/IeNL5z3LLZLBKuNL/kdSzG 78UMStLWOE5Aw9td1lx6/pHlp0I1TBLTAU+62HzUy9ZlTgciPEG9UsW8NbhvOVfqTYbP TvFMq2lh0iw18b7bvTcBeyMK0avZ9MpK1q5f/8uJWUKrXSVT1O100tG3devRP6TTdPun e1gu2W9HMFyCPHAIcet7X6TDD2vIFjNthXMzoQ752AxrQU2Et4J+JlwbPCNnxRT1saoT xHbsWUckEJ+tDdLxr3/iidtL0aiZDC0TpHVtmJygSCq3b5J2lnVYQyGKCp7WCi7WZgIt p3eQ== X-Gm-Message-State: AOAM530nGBC33/jq1EK4o0Y01w6PKCoQ8IEtlmJM4/GOjDH7/mhhbJWC NXQZVCFYpKC/+5zIruwvJNwuT/oPYzdKaWGge5INvZunPStnJJMiod/xTJMhbe20JTceLCYpUuI Dx4+NbRhmhpVvpTjddOW8CA3hokIKQwU0ovCrekxUiDcAx7vnD22KqqhiXTYE7r6H X-Received: by 2002:a5d:648f:: with SMTP id o15mr1100112wri.338.1632762238475; Mon, 27 Sep 2021 10:03:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz75V6uYtT4cC4DSP6bYlb9To2lsg3o4tIIBBW4hgvGXOs0I+m+1aXqFyIbQowgUtSICzdnrw== X-Received: by 2002:a5d:648f:: with SMTP id o15mr1100076wri.338.1632762238198; Mon, 27 Sep 2021 10:03:58 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id a25sm65327wmj.34.2021.09.27.10.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:57 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 20/21] tests/acceptance/ppc_prep_40p.py: NetBSD 7.1.2 location update Date: Mon, 27 Sep 2021 19:02:26 +0200 Message-Id: <20210927170227.2014482-21-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Cleber Rosa Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa The NetBSD-7.1.2-prep.iso is no longer available on the CDN, but it's still available in the archive. Let's update its location so that users without the file on cache can still fetch it and run the test. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210924185506.2542588-15-crosa@redhat.com> --- tests/acceptance/ppc_prep_40p.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/ppc_prep_40p.py b/tests/acceptance/ppc_prep_40p.py index 2993ee3b078..6b28a69ea59 100644 --- a/tests/acceptance/ppc_prep_40p.py +++ b/tests/acceptance/ppc_prep_40p.py @@ -67,8 +67,8 @@ def test_openbios_and_netbsd(self): :avocado: tags=machine:40p :avocado: tags=os:netbsd """ - drive_url = ('https://cdn.netbsd.org/pub/NetBSD/iso/7.1.2/' - 'NetBSD-7.1.2-prep.iso') + drive_url = ('https://archive.netbsd.org/pub/NetBSD-archive/' + 'NetBSD-7.1.2/iso/NetBSD-7.1.2-prep.iso') drive_hash = 'ac6fa2707d888b36d6fa64de6e7fe48e' drive_path = self.fetch_asset(drive_url, asset_hash=drive_hash, algorithm='md5') From patchwork Mon Sep 27 17:02:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1533492 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=bxwk+0Da; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ8f64y32z9tk7 for ; Tue, 28 Sep 2021 03:25:02 +1000 (AEST) Received: from localhost ([::1]:42892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUuNA-0002Xy-EE for incoming@patchwork.ozlabs.org; Mon, 27 Sep 2021 13:25:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2x-0004hi-LD for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:04:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:38169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUu2w-0003vb-5J for qemu-devel@nongnu.org; Mon, 27 Sep 2021 13:04:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762245; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sD2NNIPpKeKq2FjUafo3prqnKNAc6Lz4pFYyGXUtzkY=; b=bxwk+0DaGswAM38gQ3hBqqtkG+HmTeBHFhRjUaLZ0cSGDoDlO32T/h45Zy1j3zJ4efKTU5 9ztMDZPMj3eW2oIAEGXFmtX3j04nI2GDtmU2cSf0bmd8EtujlaNKI3iFtXPgfHLwUnWKWE 4Q373c71x139XMYwOEqulD6JKyj0ylg= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-301-pl0KUwNIPH-CMIwVK-Q0UQ-1; Mon, 27 Sep 2021 13:04:04 -0400 X-MC-Unique: pl0KUwNIPH-CMIwVK-Q0UQ-1 Received: by mail-wm1-f72.google.com with SMTP id b139-20020a1c8091000000b002fb33c467c8so508554wmd.5 for ; Mon, 27 Sep 2021 10:04:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sD2NNIPpKeKq2FjUafo3prqnKNAc6Lz4pFYyGXUtzkY=; b=0E7jvFeLNyEbRvDeFJbG+FZuh7dIuBJC+Lq+khLZogQAw3Gyig+Wy1qFetqyuZokbN uMDbOFR6wcLJbXVv9Uc60bUQj+wnWcwKr0yZVlIpiLSwCvMQc/44O3p4DpqyzLpny0/l ctkyX6vcN9JkpWxUB93zH4rWd6u0RBF63aqvk5tnsLAFRvJI69TdAKIZEYuHkbB5ZE06 F1qb8NKCtNkODectDdcfzyQdL2+E8HDpUFwKHFfFOnGPvl+ahmRjuJeksWtLMFfRX6i8 i1I+R3W1/AioNxmH3wWO9SgggAPVxAzXCFw3Ei5y8+HS6q5g4o1TlwPOeArWea/aoFl+ w/8Q== X-Gm-Message-State: AOAM530oGwUg1oeOIsvMzY+ZS6eplGevbZmVfs8GyBoV+3K8L3MJ4+gJ 9XAv4u6JRBTXdXcXghPyS0UvdrHFGoGASeZRMEP/qLv4Ho0K3/eF9Qs9nK+9LZj8m/jytvYJttQ tsB1psW2AAnoR4uq3BlQSyfkyJXkukMm9OB9Q4xP8RCNBF9aI/pgrRPUNJsEICjRT X-Received: by 2002:adf:e101:: with SMTP id t1mr1027258wrz.395.1632762242987; Mon, 27 Sep 2021 10:04:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzamxbHHFp4zTkGbHueZ5BH3ipIObaevjWFq9lkGpVe8F2+ztN0TmVyYtk4Rd1CNQ2g8b46sg== X-Received: by 2002:adf:e101:: with SMTP id t1mr1027233wrz.395.1632762242772; Mon, 27 Sep 2021 10:04:02 -0700 (PDT) Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id y197sm103870wmc.18.2021.09.27.10.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:04:02 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 21/21] tests/acceptance/ppc_prep_40p.py: clean up unused import Date: Mon, 27 Sep 2021 19:02:27 +0200 Message-Id: <20210927170227.2014482-22-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Cleber Rosa Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa Just a removal of an unused imported symbol. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210924185506.2542588-16-crosa@redhat.com> --- tests/acceptance/ppc_prep_40p.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/acceptance/ppc_prep_40p.py b/tests/acceptance/ppc_prep_40p.py index 6b28a69ea59..5e61e686bd0 100644 --- a/tests/acceptance/ppc_prep_40p.py +++ b/tests/acceptance/ppc_prep_40p.py @@ -7,7 +7,6 @@ import os -from avocado import skipIf from avocado import skipUnless from avocado_qemu import Test from avocado_qemu import wait_for_console_pattern