From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762158; cv=none; d=zohomail.com; s=zohoarc; b=IpVNLQdjeb3PVe18DtDA5iSM8GFU6Ku+SJM4Ur6ko3VBivxIIn++WH85NE44MLKkHAWq2hlgcAO+xrrz/G25jCjDu9G3AIAGnUHk6vvbAVu3JdLO3lSlbtJfiwsj7ji0jEV4jDiEa+2nD2wok31TMAWHCkYEgekUznZW2tULCPY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762158; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ch+SNQ3QN3dmBSgz+yeGRI826NTaBq1nvpxL9SnQaJM=; b=FtVN26I4y8+W1O009TR/NKfFb3fyZ+5E/hlxNL1n5nyKY2Gm7N0Nm5xmp1+PiRtZxY48BCF9jvqejGfFOUIhejpSx6aaAR0DXTL8dn00F6ga7ixTG182EKuLDhENvZtzwqFRuanMgv/Xc9BPoJEusnSRLtSuxtztmpBHhTNQG0s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762158529529.4666242758568; Mon, 27 Sep 2021 10:02:38 -0700 (PDT) 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-70-oNsmIjkIPzG19w0HGmZC1A-1; Mon, 27 Sep 2021 13:02:34 -0400 Received: by mail-wm1-f71.google.com with SMTP id m2-20020a05600c3b0200b0030cd1310631so177273wms.7 for ; Mon, 27 Sep 2021 10:02:34 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762157; 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=G8MwuvpojOxWsO5avZlEiplvTx22nA2nIl6YNtOklFAvGs+b2k62XmJXahTuBFd+dYRZae Ll95xOuaueYUp5CUmkqbfCsLG/l4KongB0l5zrivVPkzYpBqPZ/fr3+T8ZVEbZ8oUkdBQa pBycJbjiinzv6h09UwWgqF+U/8NpEQ4= X-MC-Unique: oNsmIjkIPzG19w0HGmZC1A-1 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=V/MmS/MiYkII+ojLHGcIJsWai6Wf8nF0jzftKkYcBOisvdu8qZkdpwGEwd+x1sNvRo lqdxmP+f7t1Q5DX3787+BTUcb0v8HHUb0twtMyBKUbozBaK4UmlNHgfxqfNWcRlsYp59 8/hANLHgZvUyYAeYm468aqxf9aBIrZdOznorEjd7/KOoYWNuhmW0/Ycn9JlBPTHhagJr fgvFd5X2izR/vWpufZaI4m3cCrMy8VEvSTGwZ1m9r2gN/Vx+WaKO/J5oUrCi+heqLnwM 7VMs4fcZH9uuOz8wVIROWafjmpXcGtFM9982lb1iRfA8bZ4gpt9SroP4Stu37nrX/ygY QC2A== X-Gm-Message-State: AOAM531TeB+dpitTA4cQnq78r/pBvikP3t/6G8+bAbQb8Te4tVHvbDtb RcvgNwhZDccKD5+H5ll1t74dhGtCkb3HjXaDm0dwT/aDWJeFQngBywtQWnlvpqEn37ZN3Kc0tJy 950a7DOCVQlToFA== X-Received: by 2002:a05:600c:20c:: with SMTP id 12mr137680wmi.90.1632762153290; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk , Pavel Dovgalyuk , Willian Rampazzo , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762160475100001 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=C3=A9 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_ke= rnel.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')) =20 + def test_s390x_s390_ccw_virtio(self): + """ + :avocado: tags=3Darch:s390x + :avocado: tags=3Dmachine:s390-ccw-virtio + """ + kernel_url =3D ('https://archives.fedoraproject.org/pub/archive' + '/fedora-secondary/releases/29/Everything/s390x/os/i= mages' + '/kernel.img') + kernel_hash =3D 'e8e8439103ef8053418ef062644ffd46a7919313' + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + + kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dsclp0' + console_pattern =3D 'Kernel command line: %s' % kernel_command_line + self.run_rr(kernel_path, kernel_command_line, console_pattern, shi= ft=3D9) + def test_ppc64_pseries(self): """ :avocado: tags=3Darch:ppc64 --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762163; cv=none; d=zohomail.com; s=zohoarc; b=X8oKF5MOgZJFpzwzEeDB/6NhwhE/x1T9eyPt3H0Dg1HYIiteVApbVKSeqacRgsZ5TPNhqjNvIjXQuHoQTICY9f7OOX3Tl9gCf+Lg//YVEHlXwesY5TWSrQpWQH49HPHcK7Or/vSRXyRZO1TR4xzfvSxd3b42pedqDWGVNiFmXJY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762163; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=28MYPmvj046+z22igZ1+cW5IJfZzrl5tVnoGjfF3hyA=; b=UsMXRW93Iw+5Swi/RsnYsub2n1FmqG/cjlRm9In2rxBSZXiPZaxHzZoZm4gm2iz8m9xOqBTUwbBAJdKMBdhYJiAuCgsP97IdaxTEhdjfnVjmznZPyZLwjM9kc++o7ilH20eZ9YRJ6QT+TgR+V27mL/erDb56pMJ0w/sboSKXxBg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762163211991.8429308123393; Mon, 27 Sep 2021 10:02:43 -0700 (PDT) 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-187-1isxb_SCMgOofxWHHPSwZQ-1; Mon, 27 Sep 2021 13:02:39 -0400 Received: by mail-wm1-f71.google.com with SMTP id n3-20020a7bcbc3000000b0030b68c4de38so176183wmi.8 for ; Mon, 27 Sep 2021 10:02:39 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: 1isxb_SCMgOofxWHHPSwZQ-1 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=3rHlzO7kujnX20+mTHU+7xIEMEw5LFEuScNod8Ne4mM4nXAVjZqRrr4KE9YKDmro2b esAT0xBP63FnUx1gLa6/AioHtB4usPSA594sLtE3O04b+Q1G6iuMw/oOs1cDg3C+mmNX QlkGW2Q2yQF2Yb27/c8XFl9qk5Z/n60ar4JGs/kNpCraYLg6RdCTKFEUf+XqnlkJApOQ KB1/vdhbafkC3j4li6no121rzdroeL5DuQqsZn3OvVNEejv+5mIKNOHx+nAF3eRu1+sL VFIoWeMgpl3VFOaH9tjK4EXkTvsDr06KJNlMp0h3J7rzXvjgupZ0y576cidkBVn30qF7 ggXQ== X-Gm-Message-State: AOAM530WYQVGcLORT021rYns0AFn5mvswcu+RMZcJS1ak1WCiMHVLh/j t7A1lDKP5VL1idKuSeRJQcpOi48wBkxnEzSQHRCvGsuQCZLKmXqstjwj9FqbBpqYGmUTitHofnD RCeOMgZPcOqu++w== X-Received: by 2002:adf:f84e:: with SMTP id d14mr1071485wrq.359.1632762157861; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk , Pavel Dovgalyuk , Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762163880100001 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=C3=A9 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_ke= rnel.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 =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) self.do_test_advcal_2018(file_path, 'uImage') =20 + def test_or1k_sim(self): + """ + :avocado: tags=3Darch:or1k + :avocado: tags=3Dmachine:or1k-sim + """ + tar_hash =3D '20334cdaf386108c530ff0badaecc955693027dd' + tar_url =3D ('https://www.qemu-advent-calendar.org' + '/2018/download/day20.tar.xz') + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + self.do_test_advcal_2018(file_path, 'vmlinux') + def test_ppc_g3beige(self): """ :avocado: tags=3Darch:ppc --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762166; cv=none; d=zohomail.com; s=zohoarc; b=N5rzz7JB3azuhyuQN3C4M3y0GRpJri4J/7GBXq29Pl9S9FiJw0fDx0aOfJmS63TmZtdLBQknTMinLC/GRnHbj8m+MfUK+QAZpE48y/iQlIPExYN9/tVkZSG2C958jePEs87mSl27J1cJq/5wE1VUEs8BRPgzpXed3Ay1t/S8l5w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762166; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=VpAEVWKmfuJG2mreiBrMIG5NXEVdSrwx115WkbKX6dI=; b=SNueVuvvzFg3uWbTXm/vZfKdrE/+dgdW3aDcyj+6S0ocCb1A78XR433POy2w3U3a0odCocvIOa6gi6cgQF+g1wTl25obNsb4FX1VOw8BEX4V9iS8nr2N2eQLg92d86uPzPHV0E+kE2f3SuqgaINlDz5pzh7RuFlWMNBY70Quk10= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762166752304.4884715337238; Mon, 27 Sep 2021 10:02:46 -0700 (PDT) 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-122-vDQj4sYJNWmB5uM5d3I2jA-1; Mon, 27 Sep 2021 13:02:43 -0400 Received: by mail-wm1-f69.google.com with SMTP id j21-20020a05600c1c1500b00300f1679e4dso460572wms.4 for ; Mon, 27 Sep 2021 10:02:43 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: vDQj4sYJNWmB5uM5d3I2jA-1 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=cdrbjkCpJBxcySuCI9odREkw91OrQSp2ZBDbZCLi8AZHxaKtub0fUNAPKQTix6G9+T vejWo89uiOkpqEiwocLU1hx2EgMEasmIpJvJ2xxvRWb63GhGOc9BYj6rGQ1gItKo1NxZ PWs7EcRfqIIMfjSiwB247TqJMlb+fERvcVlxwPEvL22WdQ8uoFI/iKGqSxvHKvoiMDUM dIXUicVwZ3BpJ//3WG/Z42/HPC6uK4FFRSro4bS0K/rcuuwVUVaUaMuX0F3i1QVLcj/p 4Vlj0oAsHuP1Hu8Ce+FPAVubVB+ToQka4ABzpxit9+T3a4vYb8uhPzdO2ztM8p+AHplN 03iQ== X-Gm-Message-State: AOAM530qwZ5RCjbMxlrUbbbuMd3NWDqI5c0BUdNQlzkUaeN9pr0M1duZ +sbJwfMGHpLWd1SpEi1DdAMofvrA0m4mUN9k2Wd8u3LivRv+6EL0U3PBB5qyIIlMYGO4iPZhzap VPvSrePubSpSiLw== X-Received: by 2002:adf:f687:: with SMTP id v7mr1039027wrp.347.1632762162409; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk , Pavel Dovgalyuk , Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762168485100003 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=C3=A9 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_ke= rnel.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 =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) self.do_test_advcal_2018(file_path, 'vmlinux') =20 + def test_nios2_10m50(self): + """ + :avocado: tags=3Darch:nios2 + :avocado: tags=3Dmachine:10m50-ghrd + """ + tar_hash =3D 'e4251141726c412ac0407c5a6bceefbbff018918' + tar_url =3D ('https://www.qemu-advent-calendar.org' + '/2018/download/day14.tar.xz') + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + self.do_test_advcal_2018(file_path, 'vmlinux.elf') + def test_ppc_g3beige(self): """ :avocado: tags=3Darch:ppc --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762171; cv=none; d=zohomail.com; s=zohoarc; b=QRomSCMc70wu/rBnGnTLuLJo9wjzLA9jb48OcAByQM8pWjrKdVW3rhzuSy4QkBmjFEokrkohreuwrrm73EilxzG5OLT5Vy4Jw7e0rVGLL4AW6LxegTgTiZxXyb1zXrffs+48bcByuNxJfg9Rt6rfpYz2opjESQkImDLfiazL/Qo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762171; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=cA6omHLKJTr0G5Ch5LiMvS/MMlK5eI4IqUB/lSzT8zs=; b=NYFbCUXhZMoVy8f/gLSHShb8qISJW5AQZy7/Nm/TWDDug8ADez9KPuMJMKozSPiQOG5Y4bumG3rdUbyICrW79qHYRVn0iWJVTc7Hw0dLXhZzwFvjEGMki/03q5CBTNa7urslzF6feEa6hf7wreaycxF3ZDp0vqKA4j9toYV8zPU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762171158739.3202985748414; Mon, 27 Sep 2021 10:02:51 -0700 (PDT) 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-32-8VXJXDicOqCkLy11Q-GiaQ-1; Mon, 27 Sep 2021 13:02:48 -0400 Received: by mail-wm1-f71.google.com with SMTP id v5-20020a1cac05000000b0030b85d2d479so506827wme.9 for ; Mon, 27 Sep 2021 10:02:48 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762170; 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=JuMJNSNt9GJ0TtK6R1+W+eS+HtPVSnrxMwnyuBGX7GhV8y2euwa/Goq0Mqp2BhxsiJHrxJ z/rzyHk3XueqXzKk6/irFh36CZa5pZcrtM/RYJSsaYyjCA3rRK9hyqNEMxUZHVF5W7g088 hePLwKR/miwXccjgbPOgCMYm8rCczXY= X-MC-Unique: 8VXJXDicOqCkLy11Q-GiaQ-1 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=vNCcxTZvJdMsyQszCUT2tvDZxxbi2mio6jhJpiSpC5ybZlAKIOEUkJPkHAQNf2FgJL rSuHxr2FNyv6R5pOSlUsdwmvXxvKMN1SuE5GKU7XIRPD1wOpnFVRw0HpKbPhFHTtbTEI S2ntivao82uIXIu4LXNZvcL3BO5O7Qvat0RW4lL/+guYeplRG0oMmVNSu6CcQ6U0xTn4 B8eqSY3esptYSjmg0OOF+XSTKp6srqxwp0yA88C76d5drGMjFfL3buMPlAZ/0RzFA4Gs lkCEiFkNZ/fyyZzg7N6Xvc4mM6XFK2MfThT0us5WpEZ0jcCNjey91aAHhEnjqleeLJlR 4ZyA== X-Gm-Message-State: AOAM531do9XOpHeKrfw+CMJ5GrNQXB6tDBNlFyHKsytKfDMvLvcExNo4 35BQ8R9VAF63zlf0bhD1Xa5hJOJc4YcnyaTlhVuum3fKpFfR+w3gDayvL672cTTjHCbW7OBxPJg 9U3S5xdXYAN7ONA== X-Received: by 2002:a5d:648b:: with SMTP id o11mr1033780wri.315.1632762167113; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk , Pavel Dovgalyuk , Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762171903100001 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=C3=A9 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_ke= rnel.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 =3D 'Kernel command line: %s' % kernel_command_line self.run_rr(kernel_path, kernel_command_line, console_pattern, shi= ft=3D9) =20 + def test_alpha_clipper(self): + """ + :avocado: tags=3Darch:alpha + :avocado: tags=3Dmachine:clipper + """ + kernel_url =3D ('http://archive.debian.org/debian/dists/lenny/main= /' + 'installer-alpha/20090123lenny10/images/cdrom/vmlinu= z') + kernel_hash =3D '3a943149335529e2ed3e74d0d787b85fb5671ba3' + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + + uncompressed_kernel =3D archive.uncompress(kernel_path, self.workd= ir) + + kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3DttyS0' + console_pattern =3D 'Kernel command line: %s' % kernel_command_line + self.run_rr(uncompressed_kernel, kernel_command_line, console_patt= ern, shift=3D9, + args=3D('-nodefaults', )) + def test_ppc64_pseries(self): """ :avocado: tags=3Darch:ppc64 --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762178; cv=none; d=zohomail.com; s=zohoarc; b=hq7KTNP24rD8uj0LRanyUvD17dPxK5+flBOmAIjtlhMILRz3qM9qo+Tj7T2mCfRV/K+FrfH3iG2mUK5KaxwtF5IvdqYOMHmo6ZD6vlj97fZ0MeZ8sD1GKRJ001C25Q/6rUYwDqRygezIsFGMH+pGGdV+Qjy00GVAbar8t+pN1Fg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762178; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=vRgWYEGsAgU7uIIj68INIPW3631NH105ds18Xph/6rE=; b=TGgK+l75ozXLKqzRxhgXjkjnVFQ1GKFhfKS9/dUyj0AhpJc0H7rEcwz7kgbSZFxV4ds6GlRzgumUDjdAyjs8HtRmHm0VFZZlAVoTyW4KbKwBkpRUxCqK2vGdT0WNbp4WBFn3HH8GuqJ4au1pFEiBZ2j2cL/CxxwBAC65NRIkTrY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762178522641.2709611507287; Mon, 27 Sep 2021 10:02:58 -0700 (PDT) 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-438-2pdkRqojPi-JS8ihQKkcDg-1; Mon, 27 Sep 2021 13:02:53 -0400 Received: by mail-wm1-f71.google.com with SMTP id p63-20020a1c2942000000b0030ccf0767baso460501wmp.6 for ; Mon, 27 Sep 2021 10:02:53 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762177; 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=Bvzd5PrKmipTMqlUV72tSxtAxfwBDaoBS9Ct6IgpNbnOvui3bvSn2saJ7wJaNUwRqLZWHk 2WyexXxam1hr3bYVdTW+f1ysCnRlnBoxYAnC0t+0oaQdsbDI+EJP9DIZCFAQjBNsvjySTd 2vKFzj8/qe7w3h66aN/XSKHbiaE9dqE= X-MC-Unique: 2pdkRqojPi-JS8ihQKkcDg-1 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=wKwMyJXgHIDsaKZ+hQq42a8mY6lm02o8Z0rz4PtKPN8F9Upf9/y1iyY8HwZGKKt+Dz kfTjAMlL969ja0lG4/Gjzj3NXOrEAHIBdLUep00E3R5VQ4onk1v1d84dvwtXcdZW81wv KeBU8W75u3+gq7JeFibKAY1YsdTXqwOgD5C0xnJnUdid76HMAXq6sznCOJqtxtyMWbpe oP9aIrCBhj4OZXdMjrkWs+9UDgDoMry0TNaGZ/QzjBeZNrreooMTOyWvLaFjEoN3a+c0 pd5yUbM1beLIx1GuSrfxIX1CDflR+ZtAC6COVI7VzmusKNtFtzYvYDf6nz1/HeGW4llo 3viA== X-Gm-Message-State: AOAM531jwuVXWT6TkgWS88xwWUa0aAZJ9PqssPjBbdoaWnCcMfKHXqN2 FxePEA1smjZ0hXXPqWk9kSH+GKiVXbPDIW7J4kyjCmy/CfD8h5WDODjWyunrrcgAI/5UXwGUN3C 8gHd9F93s7sN6hA== X-Received: by 2002:adf:ded1:: with SMTP id i17mr1075160wrn.83.1632762171958; Mon, 27 Sep 2021 10:02:51 -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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk , Pavel Dovgalyuk , Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762180016100001 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=C3=A9 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 =20 diff --git a/tests/acceptance/replay_linux.py b/tests/acceptance/replay_lin= ux.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 =3D 1800 + chksum =3D None + hdd =3D 'ide-hd' + cd =3D 'ide-cd' + bus =3D 'ide' + + def setUp(self): + super(ReplayLinux, self).setUp() + self.boot_path =3D self.download_boot() + self.cloudinit_path =3D self.prepare_cloudinit() + + def vm_add_disk(self, vm, path, id, device): + bus_string =3D '' + if self.bus: + bus_string =3D ',bus=3D%s.%d' % (self.bus, id,) + vm.add_args('-drive', 'file=3D%s,snapshot,id=3Ddisk%s,if=3Dnone' %= (path, id)) + vm.add_args('-drive', + 'driver=3Dblkreplay,id=3Ddisk%s-rr,if=3Dnone,image=3Ddisk%s' %= (id, id)) + vm.add_args('-device', + '%s,drive=3Ddisk%s-rr%s' % (device, id, bus_string)) + + def launch_and_wait(self, record, args, shift): + vm =3D self.get_vm() + vm.add_args('-smp', '1') + vm.add_args('-m', '1024') + vm.add_args('-object', 'filter-replay,id=3Dreplay,netdev=3Dhub0por= t0') + 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 =3D logging.getLogger('replay') + if record: + logger.info('recording the execution...') + mode =3D 'record' + else: + logger.info('replaying the execution...') + mode =3D 'replay' + replay_path =3D os.path.join(self.workdir, 'replay.bin') + vm.add_args('-icount', 'shift=3D%s,rr=3D%s,rrfile=3D%s' % + (shift, mode, replay_path)) + + start_time =3D time.time() + + vm.set_console() + vm.launch() + console_drainer =3D datadrainer.LineLogger(vm.console_socket.filen= o(), + logger=3Dself.log.getChild('console'), + stop_check=3D(lambda : not vm.is_runni= ng())) + 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 =3D time.time() - start_time + logger.info('elapsed time %.2f sec' % elapsed) + return elapsed + + def run_rr(self, args=3DNone, shift=3D7): + t1 =3D self.launch_and_wait(True, args, shift) + t2 =3D self.launch_and_wait(False, args, shift) + logger =3D 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=3Darch:x86_64 + :avocado: tags=3Daccel:tcg + """ + + chksum =3D 'e3c1b309d9203604922d6e255c2c5d098a309c2d46215d8fc026954f3c= 5c27a0' + + def test_pc_i440fx(self): + """ + :avocado: tags=3Dmachine:pc + """ + self.run_rr(shift=3D1) + + def test_pc_q35(self): + """ + :avocado: tags=3Dmachine:q35 + """ + self.run_rr(shift=3D3) --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762180; cv=none; d=zohomail.com; s=zohoarc; b=FzBkdyGUrah49HctL3arKjsNHcU0GHcO6JT6t5rjDhM+3mjrbRD0HJFBrQ9xFJqHmTPIZfezF1gbfoGQiiQN7eq4EGoIc45nBYHabDRLkKE3FH6vBxKyYElAQqfzDwQJWTC3KX9Gq0czBIIoQEx5aCT5MlbPDFRvXTO5yheGhqo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762180; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=kPn5GHEDutfKNKZw8lA1qzDG/9Zl78E1M/sfSpGJuu0=; b=X7rmc51naVjKHhCAJSernKqQEw3kRdAwUUQTiolTUz9GstGS0LjgZjwpqbxDApVcY95zmK+Rx2hdT9Ra/hxjOh28FSesE3htupUgHc94j6/oqnMaNUaGGu0K4YQiIpOvKXKrz/oqI9Azv5OjQTEf6MVmHq58qpJ0WuFzdsaPynY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1632762180860685.7067778902048; Mon, 27 Sep 2021 10:03:00 -0700 (PDT) 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-35-11xwBtFEMh2O4YsRLV5WFw-1; Mon, 27 Sep 2021 13:02:57 -0400 Received: by mail-wm1-f71.google.com with SMTP id y23-20020a05600c365700b003015b277f98so184296wmq.2 for ; Mon, 27 Sep 2021 10:02:57 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762179; 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=QMCZ4sHVePCwOjzaX8wf0nsjGeeg+oShDa9eDLW13mIes9D8J5GeAG7NMgH5RTjVkuw/Se Y8CeGWhPVFB7YkJ5fH7JBmTOGvsEC8B0ZmwgYsq96EIQRmEpxvBVhZxR7zJ5gT9ZKDEzYa iA6/S5UXBi9TcJhIJL4ZzZmI8a/995M= X-MC-Unique: 11xwBtFEMh2O4YsRLV5WFw-1 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=ATe9ec3QQ47WE5gm/6NXiLU4R39oUunYJrpnSsxAUeImbRlbBmRXflVKnsg5rWztfX ijgkBQ16/TcinpSCKdRhJMzvJ7tLvevtWty+IQa6xyWcMxr9Ylp3P0Zng41agRbU1Lr/ /8EbNq6e7IzYoAfICbtAPNP0DEKUqOKRKDG+AKHufOZXLZtyOY8qgELru+BmBMEeU6Ov uxvzPb2XhKxghEqpjj8eFmkqIP9Op/u5pYcLNqkFjXDu9GYmPu1+bTTZU0WJ1nWoo1eQ UKwzMH5j5JO72UgQ4IoypnMf2BtfO0tWxkRQvmN1Uf7DEoMBiwEFPf6BKkPY7Cl1zCuW ihSA== X-Gm-Message-State: AOAM531ugjvfGiwkrpqwD/SdsWL+lV8n2JSCleiN5iRJp/9fohC5gh0s VKPb89cbu7o6bD+9HnLBmVPU3QHX3mytx21v+fnUr63f+lyc72E4Lls63s3zD79YAoeN5I0cWP9 GNg8irraopuewJA== X-Received: by 2002:adf:e74b:: with SMTP id c11mr1073430wrn.101.1632762176276; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762182349100001 From: Willian Rampazzo Signed-off-by: Willian Rampazzo Acked-by: Wainer dos Santos Moschetta Signed-off-by: Philippe Mathieu-Daud=C3=A9 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=C3=A9 R: Wainer dos Santos Moschetta +R: Willian Rampazzo S: Odd Fixes F: tests/acceptance/ =20 --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762184; cv=none; d=zohomail.com; s=zohoarc; b=MMOnxIWvFVOZ1UHb3vGkTb6sEZKMSGzNSvyflQsgLyIi+jtz6VZfGQgUddHbj6CvjxTGkVy/bIigu8Nha3NIy4pbwKgAOvw84xJNnYo6S4qWtiJFKW/i55JrN4PsuFSqV9/nriJ7jgZjrcrtljRekk0HIWH4BMZkohdDFvLaIow= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762184; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=7mdXDk9PuuMhb2IWlDywxJ7KPADtZTFWFXw/QSSlAd8=; b=kU5U7Wt2bjfD9DnsVtrxG3n+99VBW+/5DKRXLUN8UwgqSN0I6JEsG8ptcTOfOpLhQXel4MrfRJrMJX0LVyaWO7URJMLgB1NQ3jrJwNwJgiKoGoXI2IAbNIeg74GByhDJGA3c3ZA4ygUR2a7f1Op+FUlknNvvQxMSExXnBmFaVoM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762184739713.3450132027277; Mon, 27 Sep 2021 10:03:04 -0700 (PDT) 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-236-jM2ahhWRMZ2GT98Xi2TgLw-1; Mon, 27 Sep 2021 13:03:02 -0400 Received: by mail-wm1-f69.google.com with SMTP id z194-20020a1c7ecb000000b0030b7ccea080so461358wmc.8 for ; Mon, 27 Sep 2021 10:03:02 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: jM2ahhWRMZ2GT98Xi2TgLw-1 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=DWQqF7Pq5s4QA8+7cVetzDr8X01NmByP8D0bqCKVZmpSWs0TSns597I2FR6pxKjp6R OjFXA4Lf2L6CAP9SpYOdTrWdUyGxiL7G7mozw9Do9ga6+aAki0ymo4h4lIm7IK3oFwDm CdMtsn9DeLsVi5cYYT5IxjYWzJifSK6X6wC+BvNJJE41nTSn8Sy1QvYXMsimLGs/F1Y1 wEniFEz65j/xx8tMpOm3Tvo+4ySy++SbgarlJZy80RY2KBuqBNbD0xQACn3hADGj/k4W dNM0A3Xc9rOVRSvSqp4x/hug1hXFizALrgeXFzKrb2DJjg5omDNasKxdln57vwn03Zcp huDg== X-Gm-Message-State: AOAM5315zvQUwKlXT6D+p7bBTJH5hIDM/ne1Zcc6X3PFiqRh2nJZbJf3 xlLu3J3qZBm8IL8g+IiLKmwxXWGddNDLCrt9xtRGstc3lqdL7bWCRIem2gS25KFgRbHx3PfiuM1 B/xH7DSZo2fgdgw== X-Received: by 2002:a05:600c:17d8:: with SMTP id y24mr95670wmo.129.1632762180995; Mon, 27 Sep 2021 10:03:00 -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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , Peter Maydell , Willian Rampazzo , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762185996100001 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=C3=A9 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/a= vocado_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 =3D None + super().tearDown() =20 def fetch_asset(self, name, asset_hash=3DNone, algorithm=3DNone, --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762188; cv=none; d=zohomail.com; s=zohoarc; b=nmsCBi+ZvRRiEjCRRlrSOq17axPNoqpr6j/g8BW0RK5QYTDev20qrXSMXlwouIN2QcKGLutA8KZQLVs6eh6Hz9IeynYL6EIMo4DLdn7Uibxd1kpinZkr7b8fw7MeMnbaicg5Nm60CMcV4coo1UNUxzHJlCG+GGK6NzYhCYYYC7g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762188; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=B6rQjxAy72iJxoMGR7Rv5VxW4F4jqkPf51TKeKH4908=; b=G73y9pX7D9zcltkBswBR87aIlGFZ9inXPmkWQxMvfuNkkQ5mwYYSq+4A1PFdKyBBXwCCOA6gg/+inu3ZsovWFsAzU+cHRtNLqDJmwE3/EegDLBTkZHK/nKN6h561V+zJcktzntOm6tnZhMjtd6Bn7pLeLYoZ3kfgszMsd9YcrZY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762188701708.7473420762277; Mon, 27 Sep 2021 10:03:08 -0700 (PDT) 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-167-ggE3uDtWMwCBQPHhi11m6Q-1; Mon, 27 Sep 2021 13:03:06 -0400 Received: by mail-wm1-f69.google.com with SMTP id l42-20020a05600c1d2a00b0030d02f09530so199245wms.0 for ; Mon, 27 Sep 2021 10:03:06 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: ggE3uDtWMwCBQPHhi11m6Q-1 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=hQjYAHn9Zpb3WP9Q277E/o0PkEbHtJa49OkaINks110dA/9ZTQb1WnkvkaOqBy1dlU seAMCvrFJu/2i3272LCDg/1RsFlxm/BQFLdgc5umGDtkWYgGUorqiFWaK4RSJyFAkjUd rbdXtxoKIGdDObLW71DBzuCraH9vAeoMdUp7wrrkNXscUZFCw+1kT1xdubL0pNpJxHq9 QqCiBiLd06BGQJfP+RoMwLjlec/PKJ+Xad2XSWEKP9/UCWU3nRrt7G9eoHO/fNZGjpfs LwaM+AMDyKw+1PVNZrEkOmRDKgSGk+cbXHhaE3Q32sfww8psTAz3tSLTHbzfTsmzF8yF aIzQ== X-Gm-Message-State: AOAM531AyTJnLiKaw4R15+lrQ5lCizYFK4T3jzkQXYsqR3ID+l6yNf+5 HkGQnM15Y6rq9q3WC5J5uXsFaKvw1swoGxQBp3YjyL4rwBdDu+ZZoAAuVq1+foUZBNHISwF8HEZ NWuoZhk6d/bgJuA== X-Received: by 2002:adf:e44f:: with SMTP id t15mr1121780wrm.394.1632762185187; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762189101100001 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=C3=A9 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/a= vocado_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=3DNone, algorithm=3DNone, locations=3DNone, expire=3DNone, find_only=3DFalse, cancel_on_missing=3DTrue): - return super(Test, self).fetch_asset(name, + return super().fetch_asset(name, asset_hash=3Dasset_hash, algorithm=3Dalgorithm, locations=3Dlocations, @@ -470,7 +470,7 @@ def _set_distro(self): self.distro.checksum =3D distro_checksum =20 def setUp(self, ssh_pubkey=3DNone, network_device_type=3D'virtio-net'): - super(LinuxTest, self).setUp() + super().setUp() self._set_distro() self.vm.add_args('-smp', '2') self.vm.add_args('-m', '1024') --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762193; cv=none; d=zohomail.com; s=zohoarc; b=mXPnc7RLCLqIhWxFLrax+Fp0TgNIiBuHtokfVDYIAh6ILZiADTis5W2VKWxBzfNirfxx2k8ZYSwSkb180jsL4VKrrbB+yxnGjzINt9gi5S1Wuc3AZLL3+QwWWyN0xVq+GgJIvkncBG+lv8YZC9n2RB5RuEEd7dxszN4o0Hxsx0Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762193; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=IKfiq28KwaCW2FhO3C3XMBnTMqiuEqzPEChSBk4TZWs=; b=bKGVZ2vDbRV8h3yQrhOGwaSmMwEbiJl2cCYllMi7x/gJcw7XRcsEo+CdEEpZJki4KteWeEg+UuYh7qyvIhgYDbZ1wNtHTeKgIR2pJ+5rWkEIHPSJVa9yty5fcTQbrOJ0XcxU7t3nHw6U0G/BNcC+QCcgwa3MmXTFdr5mSg70wNg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762193148125.18983340221644; Mon, 27 Sep 2021 10:03:13 -0700 (PDT) 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-549-Q2aTZSg4ON2nZiNeod6Q9Q-1; Mon, 27 Sep 2021 13:03:10 -0400 Received: by mail-wr1-f72.google.com with SMTP id x7-20020a5d6507000000b0015dada209b1so14278645wru.15 for ; Mon, 27 Sep 2021 10:03:10 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: Q2aTZSg4ON2nZiNeod6Q9Q-1 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=DxzfPFVbtJ4h0hoj8qIuvcxOtzRUN1OLR4gNYb2b8qkGH9LZF0TSwun3hEjuLV0KNS fcI1iqfpVQpwdVpxFMWWt1C6/j3jcum9RiZm4oGcAs66Dcl7I+Rbnd3JJPQIv6xhT9mI WGQ7s9hmrFcIzlRComoMm6c6OnYYv2o7VVk872h5Niy8mTjV6E1WTxqvREVry2Y3xhpG lvSTRJP8rWkf5MnJEccz2FoY9a0f3XVYUbyn+pjnA12RV6520N44X0HW5dDXw3YhRcE4 avcvtkIaNByK6CCBQOztsLCpM0MPl90U24OgpZtOhjEtdxFfJl0olNyb9cau/O5vpz0L Hfmw== X-Gm-Message-State: AOAM532wS12n9DFjQji6Bs87YbXw8ApuvD7Ir+7D74jS9ZBfXuFcup8b F+MkTuqceOWkorwRYhThCws/bf3hnzTKmQZbM57OvBBT0jnzzbW1NnjrwUOjN1RVO+fgERveNzZ 4uIl46Tqlb/5i+g== X-Received: by 2002:a05:6000:1787:: with SMTP id e7mr1102257wrg.202.1632762189484; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762194280100001 From: Willian Rampazzo Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daud=C3=A9 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/a= vocado_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 =20 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 =20 - #: 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')) =20 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) + =20 def is_readable_executable_file(path): return os.path.isfile(path) and os.access(path, os.R_OK | os.X_OK) --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762198; cv=none; d=zohomail.com; s=zohoarc; b=mpRUMvWPuVmZnULhOr4BoHMu+VNeEKrntL55pPouyK94Y5gV9tJMZmVCq98PsKydd297qHUbUiw0+hqfr71gg69E71uczj/K7YOra6aM0ngQWLnczq1UlQ2W4eFriiCcjfH1/TuHVVVJnNPhUfLy5tEKnpAsT7T8aGQpAUpLa14= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762198; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Khb8hgEBtXVnFEmx9u95JviCusuAqE5zASz4r+rPaZQ=; b=TSIhLoK4ekM6jYRFR80wBeKMvtBQSW5l7cS5ojkJvW8tSuKA8SjCv67Dk71QgOy3ols5J/oHZX3qeCrDzRqMvmMTXxIHi6vDUGB6WwBEZI1HJ3Mp2aQW+WPz6Igp3FzIuuVsMJMhUGN2wNZ4RYkH43MeGZISSSJGD6v4V6Ry4e8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762198742991.994620715404; Mon, 27 Sep 2021 10:03:18 -0700 (PDT) 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-268--RJtN2rGN160KfmnDdjhLg-1; Mon, 27 Sep 2021 13:03:15 -0400 Received: by mail-wm1-f71.google.com with SMTP id 17-20020a05600c029100b00305eac9f29aso187410wmk.1 for ; Mon, 27 Sep 2021 10:03:14 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762197; 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=XANefPfjW+J4JbYoY+YPxt2O6sSXM+DEgRsvjQ/KuIf7VIH61llNXvG/S5K0AJ/5yKR0ov YoF2QrHSdWKJVj24PCZ+6RGjICgHmuPdCQDitlRviCMgafCVJixwJ1rSneO3w5koAyQC1H TrHnn/DY9/I2OBt6EBoDIDnqJzskY98= X-MC-Unique: -RJtN2rGN160KfmnDdjhLg-1 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=6n+BMvtFpnzoB+hXgSdHzhbt5TGKwd8k7S3cXQmQsYsGNwY5lobFU8SF7JJ381zMum XIWhwIcGwwg1At11q5jUYHSC5ubeKCltBpqAbRFdB6NxRyv6wL2a99Q8DT34JjiwEJsf E4JzyZmMWXodoRU4dehWNgljqUklO3/zj+PstwsVuVOrwcXB53VrxN2NvVle1oZZ6lY1 fT/YvfzJSKfRnDsehJXxy8enE6ClmAIjL/RMXTa9V43W0BKIpYT2ZWg4FkzXqAokq1iH NPLHKloDW577Mwsy117KWjAcxGwNQktg+8YBtlMDl8ykYdvnfZm97t/7g9m+rwavMztG 36yA== X-Gm-Message-State: AOAM532i0tA7Ozixb+oLli4zAvT+F/pA9Y+N6RUaeYpo8pE/yL6OUHQU hzsuCsmfXQSRHEIcyhBj5hYyWxIUGyZp5TtyntSp92+hcHHNF6uIbUzQZTL0Pah8y9HRWX/nk8O ovHydDmLUlENIpg== X-Received: by 2002:a5d:6c6d:: with SMTP id r13mr999903wrz.439.1632762193858; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762200146100001 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=C3=A9 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/a= vocado_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 =20 import avocado @@ -305,8 +306,7 @@ def ssh_connect(self, username, credential, credential_= is_key=3DTrue): self.ssh_session.connect() return except: - time.sleep(4) - pass + time.sleep(i) self.fail('ssh connection timeout') =20 def ssh_command(self, command): --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762202; cv=none; d=zohomail.com; s=zohoarc; b=DJro9hjJfIbVZ5mdw9Nz/GsXegBINOZDyz4ztHcc7Khza8qjEhZxkPDUn0dTvdV818PBk7mNk6G54536yk0IiQb7I+aw6oFTHWOJ0EAbbcfCAOrZUtii6HhNvB6qlhH6kXgq6ht9u18QFa9G3C7F8YqOGH2R6dBrH/aMCNvzbEQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762202; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=XNDsKvAscMS2RHzun2iIZm543slpyVWUrcnGtw4rUrY=; b=Fc8E+c9L9SM1bYlnbxVhp6Q05TUAwVQM1Sb2Zy2deMuyTa4gkV6WMKNAV481+uRDIn9p9tlews6PDnrUSAk3a4AyoRFECIQxyOrLW+ZDFxazzR05ZuTbT1bWOPF/4vtuB3nmHl4po6DfRX6LmHIwwDCgLfm7ChqJDD7Ui9eEUCI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762202908412.3437366024242; Mon, 27 Sep 2021 10:03:22 -0700 (PDT) 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-246-DIPsojmpMnazxGCpkxCnfg-1; Mon, 27 Sep 2021 13:03:19 -0400 Received: by mail-wm1-f72.google.com with SMTP id m9-20020a05600c4f4900b003057c761567so462913wmq.1 for ; Mon, 27 Sep 2021 10:03:19 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: DIPsojmpMnazxGCpkxCnfg-1 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=IjBX/aVgic/Hun6/d8poHn2O25lBOmfUjqolC4HiBeQK8jVA17D5oIaFWMyPHyTZRn Ru5pDP+FufGdZmI66lP5nZQmjar0zFB6llb/dzXH7mS+JV43fLfulV+Wn2XvwNenCNsQ reDZsZKWGPsIEmN52vA8wqJQaB0bpMu9wRf5Yfsh/GjCbQK3p2PkZqCluCs5zEbG4koT 3wOXsELRAuXHqBRw4T3SSkJurkBKdA3tmlTcGDckRgIe/J+sZihN6/RbZ+xGxgIqpcWZ GwPIFDwolDt+2LzPUa9SgntZTXNpIOqaTPfxCuKIs3Lt589ZM4E47AP2VrQRJTOW3v1I 1gGQ== X-Gm-Message-State: AOAM531h+1d+LMz00h+EZEDzouO6TUPq3fMhv7uwN6YXaj4h2vUwn3QC uDHV5IOWr9MtsfMbi0ejarq0zlwIDTxwbdWh+kx5NUmYoIrgoJ9NsWTo8CwyERLXVgcIuwB2ebt qTk/NyGNaqeuaiA== X-Received: by 2002:adf:e742:: with SMTP id c2mr251088wrn.18.1632762198267; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762205355100001 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=C3=A9 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/a= vocado_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=3DNone): qemu_bin_relative_path) if is_readable_executable_file(qemu_bin_from_bld_dir_path): return qemu_bin_from_bld_dir_path + return None =20 =20 def _console_interaction(test, success_message, failure_message, --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762206; cv=none; d=zohomail.com; s=zohoarc; b=Hw8dnn3S2vm8D7ymDKy3Cs0pWDXSHV7dZLkAx5fV3+ntp0tH0I2Cta9FsDms++EPGvkB5b/NhZsr/hb3KJw84hZ95Q25YSgQXou8wCTJDJl198+dYtpI8pL4+LD9npBrZrslCrrBGiSJpS0xEH/qBl8GmdDm9qCFbnoaWoZcBeY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762206; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ffI3S1UrC74DSBmsku7f8Hx9pHdpkOvYCVSvX97/5y8=; b=b3MNzYroYFDqRaIk5nAMtNO1Pac5mNBmr79s6o5jQeQHxMMmXDu5JYNeQuD6MKj7fh3j7qSXbLWwLloI9zTiMtnHxN8t4X2lqO9FMpvEfxZr86SUTuYi7XuJLH2vIPC83F5pO9Tb91uOpqUrkS4JMCIUg4TFA8JS3vP8ka2JkGE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762206571348.8107951628299; Mon, 27 Sep 2021 10:03:26 -0700 (PDT) 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-536-4YuEV8t6Psy6rQn95VwJIg-1; Mon, 27 Sep 2021 13:03:24 -0400 Received: by mail-wm1-f69.google.com with SMTP id z137-20020a1c7e8f000000b0030cd1800d86so507653wmc.2 for ; Mon, 27 Sep 2021 10:03:24 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: 4YuEV8t6Psy6rQn95VwJIg-1 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=ANqBd/2klIXSbMipEB1r6TJZnsBHBRJqWhACQ/VJdGhPm7D2tHnq9Hn79wpCv7UrBI Um7PCTTxjJrNym9S0uAEkPVXL+uLH9y8Mk7assXKVFuiaFKujBeaQICPztMdBRssYIW9 rYTR1izFPmI5zUdbKNWGthhyy6ayGAy0lXpoipwT/eY7eOfwsduhZvDjJJ3EOSV8Czsn UOx3GdrpwkThYAO9GGJ+fWgWHggc0cCmk9CyjZ3FacmmVCk2DxlYtjyZK+H0c/iXyiI8 tMgpc5riBSzwvLy9HNZxbmdF4TlAUMoib/jB9FENwA4K9j1qXILx5A8UmaedGlnthqMd h65Q== X-Gm-Message-State: AOAM530P3XcKi6r3pZdqYCq17Tof+AU5/2/dGZzw6EGW3cw7T4f5XO52 jAAQohJyxVGm56T8bnhjCnRaZ9sKtsMMCqZikltADMdm8AJMA8PfL51Va9Xo1XDMZ5HFNuPoojY 66LlafcOLZQuc7Q== X-Received: by 2002:a05:6000:14d:: with SMTP id r13mr1115486wrx.420.1632762202926; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762207544100003 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=C3=A9 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/a= vocado_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) =20 =20 -class LinuxTest(Test, LinuxSSHMixIn): +class LinuxTest(LinuxSSHMixIn, Test): """Facilitates having a cloud-image Linux based available. =20 For tests that indend to interact with guests, this is a better choice --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762212; cv=none; d=zohomail.com; s=zohoarc; b=BmpHa3TqUX4rG8HPw6a27M64BW0LR258YhBpMGKpxuHY30uoVV5R8fmn+IjbQOqTL8779xAAf3v+1Nr06RdFyneVPpTXNUWQ3v5i3c8sePQQdZiO+qAJzy8iDDFTUHPwm84wKVOv3h0ZUsh8lYR6alHb/HjczXP5pBREgX/tUsM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762212; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=mhGqr1t891o054kB4FzWFV92AJKwIKbsNyCWXLesBJE=; b=luYPYAyQ5CM0gXc60zxlhHOjckSEuW9w6OmnTykgiwL47XLF9k7BCCJJ1+vlvexIcU03Ue6B8Lx9UXuJ76g3KmuPIMXbLbYQkhZ1WRuXFdssgcWO7zUi7M0ZwHDoafMCeF3ZIkkwFadkaSEKXNpCAWmkv9R72jtgNZx9co2Lpvw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 163276221211349.123275264473705; Mon, 27 Sep 2021 10:03:32 -0700 (PDT) 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-302-tseoy7zLMC2pxKdhRea_bw-1; Mon, 27 Sep 2021 13:03:28 -0400 Received: by mail-wr1-f72.google.com with SMTP id z15-20020adfec8f000000b001606a799300so493164wrn.19 for ; Mon, 27 Sep 2021 10:03:28 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: tseoy7zLMC2pxKdhRea_bw-1 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=KJSKKvxX+BY09vXGNW4Wccn5RLTEJKKHdne1quOkAjADL30KfVDWXzRinwSC7AN66l +eI7HSK1/Iz/1/Gk+iM+3vU/lZg/kvEJ1SY0QjW8vNygfQkkPL0tqKMdSSaSpu04L5E1 Jgnsa5S5AOVrzwN/pbDDfkYBNG/YRvUmflrdi4oNJV6LrEk00PvgpzE1QOjJaL7xORqF Ak+pI4JgCoyYm5MmBQritXZENDoz3xcDScPUUccOlD6RBD8Di9j1jtR0lSglLOdlLX5q odhyVlTMrEs60MB6VvWF0s8typJn9ifvRfEbqkc3CzSsnLmRC1ECHExDsuw7HRy1uwat MSQA== X-Gm-Message-State: AOAM5338HK4GelXQkjDoGvg0VQQClgYy0LeCOzaUDXErRzoCwTDjXdTv Mrb0xFyQkgdA5iASbQUVOAUhpiBWmbyhZylZ08+lEDlxdupIq5/ERop6aXDH5HKMtLGKj8BwZtm BZJcXF4iVWoAQyA== X-Received: by 2002:a1c:21c3:: with SMTP id h186mr167813wmh.20.1632762207737; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , Wainer dos Santos Moschetta , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762212879100003 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=3D"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=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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, depend= ing on the specific version, they may be on packages named ``python3-venv`` and ``python3-pip``. =20 +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=3Dquick + +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/t= ags.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=3D$(BUILD_DIR)/tests/results # Any number of command separated loggers are accepted. For more # information please refer to "avocado --help". AVOCADO_SHOW=3Dapp -AVOCADO_TAGS=3D$(patsubst %-softmmu,-t arch:%, $(filter %-softmmu,$(TARGET= S))) +ifndef AVOCADO_TAGS + AVOCADO_CMDLINE_TAGS=3D$(patsubst %-softmmu,-t arch:%, \ + $(filter %-softmmu,$(TARGETS))) +else + AVOCADO_CMDLINE_TAGS=3D$(addprefix -t , $(AVOCADO_TAGS)) +endif =20 $(TESTS_VENV_DIR): $(TESTS_VENV_REQ) $(call quiet-command, \ @@ -128,8 +133,9 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-v= m-images $(call quiet-command, \ $(TESTS_VENV_DIR)/bin/python -m avocado \ --show=3D$(AVOCADO_SHOW) run --job-results-dir=3D$(TESTS_RESUL= TS_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") =20 --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762216; cv=none; d=zohomail.com; s=zohoarc; b=e+3qYiQBI5Gd2XHfp5ZB0rUbJmTfp6yQf4KxSBZfNAHxC5RU3sXpq5jD2Uv/Ts/sHG8goU4BEYee1ibQuRrFbedrG0AS1eWyDFC7ePRNOcwc7xJnVMpc70YxMoP+0F8Vi00S/fOEIIsgvbAaK67Ix9bmSrGvhx2jVkly433Nr3Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762216; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=VcZeajeug5FjjL0Vw6aTUbYAKJ2OWK+8xl7oF2aw2Yg=; b=PiJrVZRXT5YS4Og4XTPCb8bRWUgyJNWExjIzZBsZh24gQYa9M7fGRbfOlC39NG9m9twoOA/Z3ccte9xsfJgFAq0XDQI/7EO9t7I9AGRlBJR+0lpxBId6gYZPwuZMdM2D2CTTqST6DkT7bPVhL5ORF7CYAqzcHXCJuxDOSWwcAIc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 16327622167091019.5274367252471; Mon, 27 Sep 2021 10:03:36 -0700 (PDT) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-508-rqoKSDVsPKetKaMIRCh2tQ-1; Mon, 27 Sep 2021 13:03:33 -0400 Received: by mail-wr1-f70.google.com with SMTP id x2-20020a5d54c2000000b0015dfd2b4e34so14330639wrv.6 for ; Mon, 27 Sep 2021 10:03:33 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762214; 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=IsWLFHZZnt9YOUePVkcGOJGfWtR1hr/YhbYhkFkZ4qsz/4dkXMjDL7gWkQWLVKEXqNLW+/ 2Gvts5t14BXqBUF47MsubZewOG1L9CW439KcDfZSL1dP0el/J1QMouaF6sEbW1grPQtRet gdVTcihq6cKoTAfE91VecT4T2cbHy+s= X-MC-Unique: rqoKSDVsPKetKaMIRCh2tQ-1 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=ZJEr6fCMGbOMnfbcdpcCRj4A5uV+VBrj77UBN4U1775U72sdz+f6y/CQ9mTNgg9eKX rtdIylvToMDP0ETmkWwDpx7ecNfZ5lsSxGIKE+wkWROM02iwrqd8XPLrvJ2nhHHlmr92 2UsN38FYbts914b5tz0uN9f9S5bIh2JzN7GF155FEZT6bssSHsBJQTW9DKMh1cVMQcHE ORNytw1jHl+6hRD0/ShazfNCnkVMG1nYOw+LI3BywjIhQgxhxc7DXFjkRBrV/Axm/eTK a5pttKgJS170sHoxSgWWVA+bGAkhKQ1mYr29nKvTDjd4bGrUonPa9oP6GUEqjg7AY0GJ TE0g== X-Gm-Message-State: AOAM531LpIZ4QCBTG2FRH5H0u0dRq4hA/PNqqRfpGYZ78eZt0SVob74w vOzKzTKuoFkIpxm0DCRmMkAG/XzRmcDygOJleJ/6Nnuv6I02nr8HaGrxhJZS7Q5fmuKFMMmnRpL cufPEaB+P2sIgAQ== X-Received: by 2002:a5d:43ca:: with SMTP id v10mr1073676wrr.139.1632762212092; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762219753100001 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=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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: =20 tests/venv/bin/avocado run $OPTION1 $OPTION2 tests/acceptance/ =20 +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.$TESTNA= ME + +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 ------------------- =20 --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762222; cv=none; d=zohomail.com; s=zohoarc; b=d3Qssdp0pVvGccd1hqHHY7QLUHuLikQ/4/2LtS6dDa0yXdEFqAMNuAp15rSzM63oiT1ACxufZWG2lmYmZMGlrmh0XH1ndvOINdOf+X8T7COIbnSlMZMnrAqQFdJCJX80FSmW5SM/pgupBZOWHFhq3e56G6VK2vq7B+xYOP6W87o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762222; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=vgeLl83LUv4CVvYnrCBYDZZxrjbLUE14bcfIj+YK0Kw=; b=irSnFYHfNg1GQJ8r8PMVajN/COXj3z+nZENAymQejPOqBPtMpb/u0vPBx+ymDa5WjfUZ7QKurDa6eXH3IIyddcu+pxxquaLh2YzlMYA3AgKgZprn5o/mKVLPA0P81nilvyMnSz189+vvDFVYZYkwmu8kQYAdxErGOxZbb8ws97c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762222556253.94611979714682; Mon, 27 Sep 2021 10:03:42 -0700 (PDT) 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-367--tbeV9LDPzmXuslr9GugTw-1; Mon, 27 Sep 2021 13:03:38 -0400 Received: by mail-wr1-f69.google.com with SMTP id k2-20020adfc702000000b0016006b2da9bso14317138wrg.1 for ; Mon, 27 Sep 2021 10:03:38 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762221; 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=SA8iJcJM/z1ITcH/CnW1dnktJsVmr14loEkABcc+vpE3RbMlaDdl0zxNAb+VukvBtEZSwo L0ypLMs/lCSx0dyFGRwxMCjwqC8+jyMtGP7mbM7mthH7dRg8Vy1us3f87tbAvX2HtcHk+C 6xNu1Nze0uXx4dFQdDjcThZaU2rZoWw= X-MC-Unique: -tbeV9LDPzmXuslr9GugTw-1 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=POBFlNkAbbNuxgjkMmMu7DihcuEcBcq85blzO4SHePL6wV9gisF4fI6NV1QfvHkl04 msrRne7f8jIq7o8oGWfXsKZ+teae8Nc3WC7rN/dep8xefTlx5OiY/xZw9MPkNBLrhK5P ZWZpa0gpSmPuxEb9L5YsAgIUsTSpHU7p8Cp2q5UQcvoKTbhfRw8Ks2RVVE2Bbu6t6DPX nMaTVRLQokrDzaJ5bA7s7qlCjp3pPnjVavkr9imudES6un1T4xyustBsblZL1S6LffmG m3XvtiLfx1xZKWhtmtu4n93BgppnkpEAWkgux6QdCmMntXN8M90uO8iGly2iW2sW1yb5 liRA== X-Gm-Message-State: AOAM532D85Fl67atPVrdIHx1SwtpI2Pq7z0MfLp2dimXQxpOWdWAnOO9 873VJDLosZcmLp5mKFwDtBiE1U+TFcqLV/rNdv3HANFtGSztg70chMKE2+IR+zclMT2JcfnDuL1 oNSjUsrrGwZaiVA== X-Received: by 2002:a5d:47a4:: with SMTP id 4mr1090764wrb.274.1632762216600; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762223713100001 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=C3=A9 Signed-off-by: Willian Rampazzo Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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: =20 https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/t= ags.html =20 +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=3D$FILEPATH + +The same is valid to run tests from multiple test files: + + .. code:: + + make check-acceptance AVOCADO_TESTS=3D'$FILEPATH1 $FILEPATH2' + +To run a single test within a file, use: + + .. code:: + + make check-acceptance AVOCADO_TESTS=3D$FILEPATH:$TESTCLASS.$TESTNAME + +The same is valid to run single tests from multiple test files: + + .. code:: + + make check-acceptance AVOCADO_TESTS=3D'$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=3D$(BUILD_DIR)/tests/venv TESTS_VENV_REQ=3D$(SRC_PATH)/tests/requirements.txt TESTS_RESULTS_DIR=3D$(BUILD_DIR)/tests/results +ifndef AVOCADO_TESTS + AVOCADO_TESTS=3Dtests/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-v= m-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") =20 # Consolidated targets --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762232; cv=none; d=zohomail.com; s=zohoarc; b=hcQmwFZg00Akvv7lZCMD+dRceMtMIzNQrVr8ddnjZnbYUpeKXAxvGxz64PwgyL+osvVHeh+iuOTN0G9VQpMInN8p3xCnCtxaLe3ROWDPyheelAR2yCCUVPyOcoCplJm20WRyqUJlwgE4eU0+8iqyOS0A5IQRscKEYgAfZbBfZBo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762232; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=MpP5Tl9WYK/fILavty5FzAb3Tv6ivEOl60j6QfURE0k=; b=ajXNYbD6w5V5aEyVC/qOBQX0fT/4r6KWdRXLlPtdW/95+3rB6Ww/AlzrGeYPka6JMVLr6MYPMGGlqWKHrVp/YmwnK1OV5kAB/HUFm938iusTx+kR1kGeSAmV1QJe9ShusuvOh1JxEXl+7NlQkOEij566ZQS0PTnhAHR1kJgZkr8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762232324779.2001280469073; Mon, 27 Sep 2021 10:03:52 -0700 (PDT) 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-515-8BjmLTH6O0uLeUPOq4MmLg-1; Mon, 27 Sep 2021 13:03:42 -0400 Received: by mail-wr1-f72.google.com with SMTP id z15-20020adfec8f000000b001606a799300so493332wrn.19 for ; Mon, 27 Sep 2021 10:03:42 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762231; 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=IgjpfZ5Cncf5n06Yd8ei5H35zSSQqWKpGmAOb09KsVU0WEL08rN33DQjnXXkxMI5PpgrU0 ppJH8X+OUqxH+auEauiu1PPtWMVJGfNuLoWhT3XFlYf2mPXpyqKjMcrxCcOmIZCy31Ur3Z AE40KjcmPxenhxRTKwJDyHtZj0FlpKY= X-MC-Unique: 8BjmLTH6O0uLeUPOq4MmLg-1 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=JERdYsLtYDmIXZd55XNbADI4GE6M9boScBi1Yks1fJtTc+xpFijMqRmViAZwKw3VwF qP+kZfmfB3usxxlJmue8GMTDjM8J0jRl9LtwP9nET7nxw0VpYQJqSufrHVCsHfSNHrT5 eghlyVE4bn/YzlAKXQXt2FZIhbH6LECbupdTKOMt0QyU4hwUax9gM7fIIglQccHhDKZ5 pPm2NVV/8AKiYQa03sotbwwLsxF/jvDOvh2/xGu4CPEe5cGiQ+8XF+assUYIIfaetXSZ WQTlR+M6gEiUxqOHhIZIToNARp7RAwP0QGJRsrfY3xZ2bun/23OjRTSHcL1RyloPEEOL NX1w== X-Gm-Message-State: AOAM532rIsSVF1/45Zvu2j6fI1KMm4l62RTVCXd/JFvT9dnkMf+YAQof f47EB5aLhd+1/sWpc8Yf0LI4F8p1j6gxoARDrTKRs81lqkc9T95NXCE6kMynTf+I1/dozVuCLwy zhfdkRfv5PnPfTQ== X-Received: by 2002:a1c:1c7:: with SMTP id 190mr131325wmb.158.1632762220948; Mon, 27 Sep 2021 10:03:40 -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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Gibson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762234223100010 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=C3=A9 Signed-off-by: David Gibson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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 =20 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 =20 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 =20 PowerNV (Non-Virtualized) M: C=C3=A9dric 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 =20 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 =3D 90 - KERNEL_COMMON_COMMAND_LINE =3D 'printk.time=3D0 ' - panic_message =3D 'Kernel panic - not syncing' - - def test_ppc64_pseries(self): - """ - :avocado: tags=3Darch:ppc64 - :avocado: tags=3Dmachine:pseries - """ - kernel_url =3D ('https://archives.fedoraproject.org/pub/archive' - '/fedora-secondary/releases/29/Everything/ppc64le/os' - '/ppc/ppc64/vmlinuz') - kernel_hash =3D '3fe04abfc852b66653b8c3c897a59a689270bc77' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) - - self.vm.set_console() - kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dhvc0' - self.vm.add_args('-kernel', kernel_path, - '-append', kernel_command_line) - self.vm.launch() - console_pattern =3D 'Kernel command line: %s' % kernel_command_line - wait_for_console_pattern(self, console_pattern, self.panic_message) - - def test_ppc_mpc8544ds(self): - """ - :avocado: tags=3Darch:ppc - :avocado: tags=3Dmachine:mpc8544ds - """ - tar_url =3D ('https://www.qemu-advent-calendar.org' - '/2020/download/day17.tar.gz') - tar_hash =3D '7a5239542a7c4257aa4d3b7f6ddf08fb6775c494' - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_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=3Darch:ppc - :avocado: tags=3Dmachine:virtex-ml507 - """ - tar_url =3D ('https://www.qemu-advent-calendar.org' - '/2020/download/hippo.tar.gz') - tar_hash =3D '306b95bfe7d147f125aa176a877e266db8ef914a' - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_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.dt= b', - '-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_mpc85= 44ds.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 =3D 90 + KERNEL_COMMON_COMMAND_LINE =3D 'printk.time=3D0 ' + panic_message =3D 'Kernel panic - not syncing' + + def test_ppc_mpc8544ds(self): + """ + :avocado: tags=3Darch:ppc + :avocado: tags=3Dmachine:mpc8544ds + """ + tar_url =3D ('https://www.qemu-advent-calendar.org' + '/2020/download/day17.tar.gz') + tar_hash =3D '7a5239542a7c4257aa4d3b7f6ddf08fb6775c494' + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_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 =3D 90 + KERNEL_COMMON_COMMAND_LINE =3D 'printk.time=3D0 ' + panic_message =3D 'Kernel panic - not syncing' + + def test_ppc64_pseries(self): + """ + :avocado: tags=3Darch:ppc64 + :avocado: tags=3Dmachine:pseries + """ + kernel_url =3D ('https://archives.fedoraproject.org/pub/archive' + '/fedora-secondary/releases/29/Everything/ppc64le/os' + '/ppc/ppc64/vmlinuz') + kernel_hash =3D '3fe04abfc852b66653b8c3c897a59a689270bc77' + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + + self.vm.set_console() + kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dhvc0' + self.vm.add_args('-kernel', kernel_path, + '-append', kernel_command_line) + self.vm.launch() + console_pattern =3D '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_vi= rtex_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 =3D 90 + KERNEL_COMMON_COMMAND_LINE =3D 'printk.time=3D0 ' + panic_message =3D 'Kernel panic - not syncing' + + def test_ppc_virtex_ml507(self): + """ + :avocado: tags=3Darch:ppc + :avocado: tags=3Dmachine:virtex-ml507 + """ + tar_url =3D ('https://www.qemu-advent-calendar.org' + '/2020/download/hippo.tar.gz') + tar_hash =3D '306b95bfe7d147f125aa176a877e266db8ef914a' + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_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.dt= b', + '-m', '512') + self.vm.launch() + wait_for_console_pattern(self, 'QEMU advent calendar 2020', + self.panic_message) --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762229; cv=none; d=zohomail.com; s=zohoarc; b=KGl2EJuAv9TPWV5AqxoFyZOlMoqKbef8C5PGphKG8qYWbhxeZxbQ9BMNzg3PcPCoXAluHPyXaQDanTEuDjnNeJQdxKv6ltdAUabZrz71oqitt4uvbwLGi7OKruuWANVpCiF4gVyVZO0tozmFqwUU+ME+szZ1M7sDGrZgDMmx0aQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762229; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=xo8oTLyul7HaZanB9otUsIZ7T0Gdbb3D/S6pHKJH9f4=; b=oGq5jeRFNMdDspvCXVvyPLXHifggT6dtvx6DOYIIFCPNWbCtsI7WmllkT4B1ZETJ+TL2+7RoPMNcfAF1oVHL9EuxqGuN3btitzmKu7OqXGreN0ZyqnzHZYI5VFVR4WDw+ctUEnmiYCocGE4lMGMZ/N97Gx2TFd04Jo5idsiw0IQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762229053138.9737033924473; Mon, 27 Sep 2021 10:03:49 -0700 (PDT) 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-404-ucA7mkBVPWO5tQ-BBYBSIg-1; Mon, 27 Sep 2021 13:03:46 -0400 Received: by mail-wm1-f69.google.com with SMTP id y142-20020a1c7d94000000b0030cdc76dedeso463717wmc.5 for ; Mon, 27 Sep 2021 10:03:46 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762228; 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=gtsolnJVIQn3Nq0p0bFiswHBO0hWHmNA8i+d40c62kLN7/OU3MYTvBDR+UvnENIUUrQEH7 Ww05sqaW9vfp4BiwfjFgaKM37wJzdJ9wuLS72X9KgDsRiNRtgEQUjYKVeiuAhrV79H0wFi vLUCK3bZg+7hjROkPmAOL0MZxQT4B7k= X-MC-Unique: ucA7mkBVPWO5tQ-BBYBSIg-1 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=jOoFkBzlMzlV3m7yxFP2KIoSKqUQ/SuX4aSlzMNWLyJAPbEl1eLWqgx1M7q/PCdjPF G4YKy+x6YbOprCnfnaQqdRiFxeSsqDF8Vjr35ce4LpXc9Ei3cTdUIirtvG8EKDLAN4Xj K/M/FHfc+nmdYLtBOf855mz/5RKN0OE1r/HpgO1v26JnkrxjZZLqmq/ZlL1nwmr6QS+D dj6/rs59DMzqDI97N8MZpXAfNSznVTQlNQbDib8UgZTL5z55MPDRDRyWk+6JhUUmDdR9 CKSnpIQAqcynx4lyoTLXpBtAZAtiITPhFTZgfpx+njJogQ2bmMPe4dyJBwXcgsUkH8xX za5Q== X-Gm-Message-State: AOAM532ZZPMEEwWoWMhmydzPdiPvgMY+n5wTalP89mapCRjIWzyP4Trk x9hBj9DhaKj+d2NI/OtOtCW2wlhpYV3CNb7zma2hQmAgFwQjE4otZtu6LQ22LPQaGBIvROPvaFp FwleGM1p93gbwDA== X-Received: by 2002:adf:f48b:: with SMTP id l11mr1108572wro.254.1632762225169; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762229829100003 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=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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) test= s" + @echo " $(MAKE) check-acceptance Run acceptance (functional) tests fo= r currently configured targets" @echo @echo " $(MAKE) check-report.tap Generates an aggregated TAP test rep= ort" @echo " $(MAKE) check-venv Creates a Python venv for tests" --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762232; cv=none; d=zohomail.com; s=zohoarc; b=CvZ0JAHtAyZe2/jPRP1RK5YND6jrSDE3NQyVf31Xh9Lt02l+rza8dr1f2cR8TWHnKPZCdGbuDL3L3904/Jl4pXtizOk1GTvirzihAJWYgcLa8uJpBkCoiwQNC9b77SXYhou7FI2eoh/7WdhGLxnY6XJAPAvVQfn9LV6fzxIq/w8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762232; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=N1o/M4XNrGTbxBsI5IFBMJL/wUMj83voLO7bWtA3Hr4=; b=JFDlgIFuVblxxyeGGQuT7yeUmtOg0vqLKELBea62myt4zKcwKZmgesERo9ktm2ofSXfWv8KLWTirXsH/e2+qosE/0f+w6BXINhkfuEklvlys3xKWjh81g/M7Rhmm4WsWR2BoOw0aOXmIH7h2VynQaIdqnORBSCULFfvV9HV9no0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762232920496.6203786306703; Mon, 27 Sep 2021 10:03:52 -0700 (PDT) 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-471-n-dxRCx5OkqjjymqlgFf2g-1; Mon, 27 Sep 2021 13:03:50 -0400 Received: by mail-wm1-f70.google.com with SMTP id 17-20020a05600c029100b00305eac9f29aso188173wmk.1 for ; Mon, 27 Sep 2021 10:03:50 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762231; 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=VShoEsgswn5hSQs5G3Ozf2XYgMClWcuMIzVf2D32nKVVgkCIGJYtCKxhDRB4pTHDDEVICH 2z/Akyn3PMLhxMdDBSvj5gd0yOVftR93jhRJI839c3WzxhD5GzAu24RTvRU1wf8fcygpzL xfSnPGCvOwEYOsJ0Y9BfxcBP9h0SvdI= X-MC-Unique: n-dxRCx5OkqjjymqlgFf2g-1 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=d91MRZVHoV01h0wi1WMY0DVOAi5FcuLGK1BaENuvbeIEB2F3X1LduM7nb3FpeOecI+ F623eN6IYlhuAzaXcLer2zDZ48OFcvFA2+1INlCyYX4X/8TBaQHqBbDbF34Ijzl4LSP/ Yymc+1rNeo28GEoRu7Hl1nvEzAFt3ayJwo3V0xQBcmm8wdD/YRl5TCzaIUhAMfVgUdDK A7c7Xl/d541ZF4HwwqaPJTiKyoNLdRoaIKJ0Fc6Y16mTDADYJIgLQOgEx5rssF1gg/bY ZpyYOVqKpKJNNGoWumpoyFRlsgtaMCgJXpwCPVKn2Sp4CXkfYeRilEdH5DLBpklGD7eX JSmA== X-Gm-Message-State: AOAM532xx1YY1MQV0wrMxylFfJL+/Cs0qqGBEyas9lqKc/UAifGkEfeX KDAQTW+sJ/U2Cj9R22AYTp9kFEwaM8ByJJFzkZxwmydEMeoU0ELswEjkUNJuc6c6rRrGDWLBhCr GRtLImN+FZO2XwA== X-Received: by 2002:a7b:c5c9:: with SMTP id n9mr102076wmk.141.1632762229466; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762234179100009 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=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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') =20 def test_change_password(self): - self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password') + self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password=3Don') self.vm.launch() self.assertTrue(self.vm.qmp('query-vnc')['return']['enabled']) set_password_response =3D self.vm.qmp('change-vnc-password', --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762237; cv=none; d=zohomail.com; s=zohoarc; b=O+6LtBuQY9pkLa6GFleaQY12ruxpyYLG7d3klWxaR57x+W7D+ZRBmZTLqdkDon8M1BnXY2Y0RKGVsPwcdD4HaoZ/9RFFsiXz/Bh482TXsDTcMwVNhFhhRfmjmTgqU2wj/hvkzr2sxq7/txi84r394C5kfsbD9DiKNsFY03cuj9k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762237; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=5bFkDFbIjMJzau3RcdY7C5P6hQBBwhKKwN7KGrhpIBI=; b=R/dDl9EVS0TuqcJFFltVbEy4dCiUtKcCptROJLksdRyZCA3s61f/j61ccjInzfUs/wqp6SNHKAXT96VXWdMDNZeoqGiLd+yrqECeBDjhxsbIQYUe4M58XrQnbbLZGghmOqPBjlaNAhs+J3P2QSnPeghp2iWdQLAvnW9K/eI7/ew= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762237467667.6863457675606; Mon, 27 Sep 2021 10:03:57 -0700 (PDT) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-346-6Jta3JIuPIywunlwoez93g-1; Mon, 27 Sep 2021 13:03:54 -0400 Received: by mail-wr1-f71.google.com with SMTP id j16-20020adfa550000000b0016012acc443so14341560wrb.14 for ; Mon, 27 Sep 2021 10:03:54 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: 6Jta3JIuPIywunlwoez93g-1 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=Bu0FdBpE8Du0wEqqTb1SEsBbFpEJnyAnlnYdbA7x6mLJa30l3z+zRniWlhbRtJKeHI 5yesDDdWYgxHpDcEsDYck62bEBUr5Z49w54ljgVgoCrFFC2CUmevvNEsyIHZSIy+hznP bfQdewEnnl2jTyfjAea24rc29hEukzFpNQIL4NTIyD0bNiaLApHuIzbdTDE4aY3IB/K6 XYOr00xMmroRw7feR0LQl1sEEMLVhyaYnAVox+8v8sGiIXLjK4rIdJlN4NpNd57y7Orh VjTt5jfi/cULYNlK1rjvsumuYiVHnwyT5KKe8tuya5xkVKbZa3cKaWRVmGvs5YJ5qac7 z17w== X-Gm-Message-State: AOAM5329nMk3E+T2kTROtuxyyoi5UKdY5Z7WA85yvqzmskJ6cgImUtpl 43JiKh8gRBQFSHRIcac2t7QKICOkxEXz8toLG/jofe58AKw4kbvRMq0J2WSrjAM+s9Kfugk3ig6 cCLj11TWAvCplDA== X-Received: by 2002:adf:d1cf:: with SMTP id b15mr1076517wrd.181.1632762233800; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762238625100001 From: Cleber Rosa Just a clean up for an unused import. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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 @@ =20 import os =20 -from avocado import skipIf from avocado_qemu import wait_for_console_pattern from boot_linux_console import LinuxKernelTest =20 --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762243; cv=none; d=zohomail.com; s=zohoarc; b=Ts+UhESeoLVIxtfOqp1hyg4mj6d6ZRI3ogAN5WMyVpHAaVbYHlCEXTY0Ye19QQwgEiJVhrhwhOToCyPytB6b/Oygn0vpJlZykFqTRDwOhIVRUeZ93f1r8NYR/TN0G6MlwkkIEB5e7xMSzLv/qqBynjNYGLXBClMUFDs7rZWC2Ng= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762243; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=G8K9ed+faCJSkU8JIvgLkS2K6sq/kvjt1grHOu9ILGo=; b=GFo1vlglIBl1gDOoqjCp7BuwoIox9+qllnG4gu6BKSgqv01fiO5ctHe8aANiOk7RoV3SVaBrK9Cg6rRelTav/L5NP0zgVL/qGyNYlaXPzKyJsvHTYF6AeJ+V+x7xCpEQM936nzLXeak8hd1QRZ6Yga/x0mAIND73+QNMIgofD3I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762243914186.6069669576666; Mon, 27 Sep 2021 10:04:03 -0700 (PDT) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-331-3Dw8lPjaO2GM9prTOMOmww-1; Mon, 27 Sep 2021 13:03:59 -0400 Received: by mail-wr1-f71.google.com with SMTP id m1-20020a056000180100b0015e1ec30ac3so14321410wrh.8 for ; Mon, 27 Sep 2021 10:03:59 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762243; 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=dhlxitMs635NdgUyxzX6EuLH81TzjbHnpboKO2NPwM+odYoXnxtK1mt6Vf6sX2iD2b1muq PDgaZ/GjOZ6h9j91LyfZwYQhM3OVd1BXTFCqnbgdZ/c6nqR91tL/8TdBWBLr7VmZ5R6Czj kDFSgusmceuKrx5VnV+5UJ+3XtSqOT0= X-MC-Unique: 3Dw8lPjaO2GM9prTOMOmww-1 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=KPKQKYw+Q4qI366m2f/1xhIeAR/iCLMU6YyiEdWsveOAfMqJ1MzVn6wFQi5t9d1v0S 5gWoplrHX8eu6y7efGtR61Xsd85Rqu3zxyvB9WgHLnNzxrKBQyl3ue8TKyPcnc+ejQgj KaYunLeU/cYaTHS7Jm4zgsYfYKp8p/Ha5YmJRGC6LPZfzMvmDf8Vq4LSk2NldtGXcrOV ZbS1Poq2FZRnCiKi5ecXu2Ak/MkElX9uvO+effHXvsdr6NovxkPDk0C8MftvduO9/n7n 1Rd1VbHBPoZz8896ViyoPD0ck4NJUEmFaw+9AKGeswJrQiVCMZDIRhShmstNWAL+X+7j 5rpg== X-Gm-Message-State: AOAM530LVz74aUn8cEHRKUa5AlbLPKC247psuVWxykm8sCzujBrj3/gm UXPhHkn+Rwi4UTalclnxwThTkv6nzg+bxmi97jlGfszE7qklr0gzsvfvbo9zr4wmef8fif04uQc s87HbyJPsNSxKHg== X-Received: by 2002:a5d:648f:: with SMTP id o15mr1100095wri.338.1632762238323; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762244804100003 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=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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_4= 0p.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=3Dmachine:40p :avocado: tags=3Dos:netbsd """ - drive_url =3D ('https://cdn.netbsd.org/pub/NetBSD/iso/7.1.2/' - 'NetBSD-7.1.2-prep.iso') + drive_url =3D ('https://archive.netbsd.org/pub/NetBSD-archive/' + 'NetBSD-7.1.2/iso/NetBSD-7.1.2-prep.iso') drive_hash =3D 'ac6fa2707d888b36d6fa64de6e7fe48e' drive_path =3D self.fetch_asset(drive_url, asset_hash=3Ddrive_hash, algorithm=3D'md5') --=20 2.31.1 From nobody Sun Feb 8 14:22:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762246; cv=none; d=zohomail.com; s=zohoarc; b=PvzEkGpW9VFgI+X7ru02yvC9edCRxFfnRjGfYNo5ppV+Y1tJN9QBXze222cyh05rnYejmTQUk24juWKPRtNYWHsocfr08C7DoGx/Gnxa4Iy4L5hzV6CRH5IjZciCJNJMi5GLkyTZG+Gpi/RlPBnCi81Q3ulM81nXHB9sK5l+kZ4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762246; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=sD2NNIPpKeKq2FjUafo3prqnKNAc6Lz4pFYyGXUtzkY=; b=fQka5daUZnK2Sf1qkFv1bGZhrpyncYC2BLiBw/3lTAkkPXa7bdovV3ajihNcquy1/PyMDC3IdFFDe0SfGnxHwj2mg9xiGCaYiKsPQi5yKbomeG0w/Ct1B3OEYG/CnWjY4duphTAU4Jz+c/mTDqB/x10kJTYmceSmPsm3c3sh0dc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632762246414844.8687336006763; Mon, 27 Sep 2021 10:04:06 -0700 (PDT) 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-398-ceQ9D7HDN96fG1M7oJmtCg-1; Mon, 27 Sep 2021 13:04:04 -0400 Received: by mail-wm1-f72.google.com with SMTP id j21-20020a05600c1c1500b0030ccce95837so185253wms.3 for ; Mon, 27 Sep 2021 10:04:03 -0700 (PDT) Return-Path: Return-Path: 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) 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= X-MC-Unique: ceQ9D7HDN96fG1M7oJmtCg-1 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=EQv3aX5NZysFNUenIHlQHjtVU/p+vARvCmiJRKrPT9U9FpvBgyd4eC0FCvefa0WAx1 79ReKMH7CSnWioEMNzIGwDObicS2qV2AqhE0G0QIJH1cFDJMyZvh/gfVX2S+JHQpK6n1 FzpZQ++pZy5Ou2511wQDKCpBxdB3Nm9SefZB4C5hFceqqJc9sDZxsXCKN+XPwplm5QP3 WuUA+/hU1v4SmyW9B3EJ+PJdRn5+PeTrX13459HlnrzL+CKzYqjMQq8ivGDT5o3zH0FK KcT8IVaQ4jDWsBZ2QAMAPDx2tD+WxH+Y8M9aM9c+Ip9sRRxJoiM5uc4wLqeixfg0Qha+ 4tTg== X-Gm-Message-State: AOAM533RbNvXEm/pmaKXUgZb0CDe8Nvxi2oItUlQMATWONmA2gMO25hY a6V82HBiJqhSuVc3lhMWpjnfypa7nGAiglk6mfQBfGrXosSFnuBo+Kdim2XCq5MDc/t1SEwhF+o cJNSiASjogFzJxg== X-Received: by 2002:adf:e101:: with SMTP id t1mr1027251wrz.395.1632762242953; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762247151100001 From: Cleber Rosa Just a removal of an unused imported symbol. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 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_4= 0p.py index 6b28a69ea59..5e61e686bd0 100644 --- a/tests/acceptance/ppc_prep_40p.py +++ b/tests/acceptance/ppc_prep_40p.py @@ -7,7 +7,6 @@ =20 import os =20 -from avocado import skipIf from avocado import skipUnless from avocado_qemu import Test from avocado_qemu import wait_for_console_pattern --=20 2.31.1