From patchwork Mon Oct 26 19:07:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 11858451 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BC82D139F for ; Mon, 26 Oct 2020 19:10:47 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6BDBD207C3 for ; Mon, 26 Oct 2020 19:10:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CuwOtXxt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6BDBD207C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:59930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX7tG-00057K-Ej for patchwork-qemu-devel@patchwork.kernel.org; Mon, 26 Oct 2020 15:10:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kX7qH-0002C0-Cv for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:41 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:20753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kX7qF-0006pn-GO for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603739258; 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=7CT9njDsFv7z3bPi4MElJcX4QFjJnLsmcrJhB+d6sQ0=; b=CuwOtXxt2mQ8bnmEwHMssSFf+plkE2snaMZQFJlBs5mdJRoO/7tqJG0d9HArWq4V0BPEYa rwtTv9RrmUNP+mTkxCrG5LV6jmk0dB4o1mLBO7MgR4DRmVcjcPaaz0mFymzDWvEAMvRGNa 2AhB1J1UfjHt/S2p8anuPEHN3D13GTg= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-461-2d1KTYOzOqOggTCVgkQRbw-1; Mon, 26 Oct 2020 15:07:36 -0400 X-MC-Unique: 2d1KTYOzOqOggTCVgkQRbw-1 Received: by mail-ed1-f72.google.com with SMTP id a73so5205685edf.16 for ; Mon, 26 Oct 2020 12:07:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7CT9njDsFv7z3bPi4MElJcX4QFjJnLsmcrJhB+d6sQ0=; b=PNXJFnLZW0xIlYBwK0fbB62Y5q5NeKjd8CmRddSXo/RBtU3BgtA8Zto9OWaJT0ghll rLp5TJN+hbnRaEBkTM2e8cnHDGjilF2ji/se4G0qIB418jEdum3jtatgLA/urpbJBYhC /Erry9XpnFeitJxzkOHabKmS5wuj7LNGF1sqL2OmApwi1g1tbE49saFJ2kaeZcESLbd0 kfvnr4HCpBwZmSRSFiPR47J3zyeWABT3i8/CdKL3PCJyDMdZjyAJIYFo5x/3NuiXYrDH bQ3iwnS7qtOlmZnpmozHYstf1t8fHsrNZom+6jLEybXNv4INVnHQoiXg+O2qsKsD/dIZ eSWw== X-Gm-Message-State: AOAM533yB5jCuXnlZMLqNRegGf/dZvc/BWz3ufWnQGvpG8UOuPysp8X/ 9v7aaZ54/La/4rYKuzXY7K5+C+ngUS4rEHrRB0yAmg8S6U5r1J5WnSqyEFXsTJsF/mTW6uGhVg4 E1xR2KnNUDi8JwHg= X-Received: by 2002:a50:d65c:: with SMTP id c28mr11611681edj.279.1603739254656; Mon, 26 Oct 2020 12:07:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7691Eoc3/823C/lNN/zwZ14iS85WxeCapR/EGFlLe2tsDoA89BHLhJrbKVwjxgADbbVqu2Q== X-Received: by 2002:a50:d65c:: with SMTP id c28mr11611597edj.279.1603739253712; Mon, 26 Oct 2020 12:07:33 -0700 (PDT) Received: from x1w.redhat.com (237.red-88-18-140.staticip.rima-tde.net. [88.18.140.237]) by smtp.gmail.com with ESMTPSA id e2sm6361275ejd.81.2020.10.26.12.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 12:07:33 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 1/4] tests/boot_linux_console: Boot Trusted Firmware-A on the Raspberry Pi 3 Date: Mon, 26 Oct 2020 20:07:23 +0100 Message-Id: <20201026190726.19515-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201026190726.19515-1-philmd@redhat.com> References: <20201026190726.19515-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/26 02:39:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Luc Michel , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé This test runs Trusted Firmware-A on the Raspberry Pi 3. We deliberately stop the boot process when the EDK2 UEFI version is displayed. The binary is build on AppVeyor CI using Pete Batard repository [1]. ATF v2.1 binary are used (see [2]). It is very simple and fast: $ avocado --show=app,console run -t atf tests/acceptance JOB ID : 1e748d7c9e9011cf0af3250ddc8ebf2389d6204e JOB LOG : avocado/job-results/job-2020-02-16T18.08-1e748d7/job.log (1/1) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_aarch64_raspi3_atf: console: NOTICE: Booting Trusted Firmware console: NOTICE: BL1: v2.1(release):v2.1 console: NOTICE: BL1: Built : 15:26:06, May 13 2019 console: NOTICE: rpi3: Detected: Raspberry Pi 3 Model B (1GB, Sony, UK) [0x00a02082] console: NOTICE: BL1: Booting BL2 console: ERROR: rpi3_sdhost: timeout status 0x40 console: NOTICE: BL2: v2.1(release):v2.1 console: NOTICE: BL2: Built : 15:26:01, May 13 2019 console: NOTICE: BL1: Booting BL31 console: NOTICE: BL31: v2.1(release):v2.1 console: NOTICE: BL31: Built : 15:26:04, May 13 2019 console: =UEFI firmware (version UEFI Firmware v1.15 built at 11:58:44 on Feb 14 2020) PASS (1.54 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 JOB TIME : 1.88 s [1] https://github.com/pbatard/RPi3#summary [2] https://github.com/ARM-software/arm-trusted-firmware/blob/v2.1/docs/plat/rpi3.rst Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Luc Michel Message-Id: <20200217103442.30318-1-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- tests/acceptance/boot_linux_console.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py index 0118ed59156..415e32ef0d6 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -889,6 +889,28 @@ def test_arm_orangepi_uboot_netbsd9(self): # Wait for user-space wait_for_console_pattern(self, 'Starting root file system check') + def test_aarch64_raspi3_atf(self): + """ + :avocado: tags=arch:aarch64 + :avocado: tags=machine:raspi3 + :avocado: tags=cpu:cortex-a53 + :avocado: tags=device:pl011 + :avocado: tags=atf + """ + zip_url = ('https://github.com/pbatard/RPi3/releases/download/' + 'v1.15/RPi3_UEFI_Firmware_v1.15.zip') + zip_hash = '74b3bd0de92683cadb14e008a7575e1d0c3cafb9' + zip_path = self.fetch_asset(zip_url, asset_hash=zip_hash) + + archive.extract(zip_path, self.workdir) + efi_fd = os.path.join(self.workdir, 'RPI_EFI.fd') + + self.vm.set_console(console_index=1) + self.vm.add_args('-nodefaults', + '-device', 'loader,file=%s,force-raw=true' % efi_fd) + self.vm.launch() + self.wait_for_console_pattern('version UEFI Firmware v1.15') + def test_s390x_s390_ccw_virtio(self): """ :avocado: tags=arch:s390x From patchwork Mon Oct 26 19:07:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 11858449 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7F69A157C for ; Mon, 26 Oct 2020 19:09:51 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2D2BD2080A for ; Mon, 26 Oct 2020 19:09:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bPXqDozQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D2BD2080A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:57936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX7sM-0004CY-6G for patchwork-qemu-devel@patchwork.kernel.org; Mon, 26 Oct 2020 15:09:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kX7qL-0002IN-Ar for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:45 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kX7qJ-0006pw-IS for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603739262; 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=R4NQKTT0N4YaHyuFI7iWRatURDvw2djrZGhLWKYnYYw=; b=bPXqDozQu0dgEsA/SMNauTxDvgQYwkTAb/YGjD3SRLMG91kmKeDmvI8rWLu8KStnh5opG7 Kr5sliPbl7A7QNdF29vrag+fte5uY4wEZlbUjQFK9KhMF4HILKDqQ/TG4ncyNOnvv1erxU QO2C4yLBoBvI6jMnmQt7OybyX77RLHo= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-71-qmuHN6VyNSO4MsiYrYLfEQ-1; Mon, 26 Oct 2020 15:07:40 -0400 X-MC-Unique: qmuHN6VyNSO4MsiYrYLfEQ-1 Received: by mail-ed1-f69.google.com with SMTP id dn20so5236945edb.14 for ; Mon, 26 Oct 2020 12:07:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R4NQKTT0N4YaHyuFI7iWRatURDvw2djrZGhLWKYnYYw=; b=OOxg6l9wxl1sycLwY33K8MyPzjauAOC5ll2ztZ8+JPywQVnuCKycve5cCYUSBvOZWI vZqPauE46ZAg+kmhDw+tmrIKIi44DJ6Nf+OCHUfxAerZZKkhPshDs13WX2ermMHZbm0C gmUvk2RTH7XL4EEeEfMbaX4y0qOVLQEP6Ox6Oh4Kq5a0OvkkOBY4bkrskImlomPT/xnP ORAjjTjoAKjpyIgyzAa8qTqjy6LxOGT35f2V5+pk5JXN5hAttXMyo2YPC7vMW6Niuj0W UPqW1ewasHDDUQsu60KlhEQ66X66xH+ERlRs4AxkA4CJgZVeC3OvqoENOhsjiYy6kB8z ABMw== X-Gm-Message-State: AOAM531XagbMXVyGZcMn0VmmGN5U5nFWFgrqyknXVYzZaXYRYLYXgaI3 EeTIQd+huR1l5+ljDYlzR4hpnO71npoGfRsnL0E0vbA1VKwYAE9QfExnoHd7+yC7Z8ZgtSooyA9 eoZ6Yr+4+6kuPBPc= X-Received: by 2002:a17:906:a149:: with SMTP id bu9mr16616410ejb.115.1603739258899; Mon, 26 Oct 2020 12:07:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7JInhPPkFsh1VFBN7oZdYwF/goz23poAPdQGOx0aYSMWpQrfSxWZ1o3lvMldRmSfp/wRE1A== X-Received: by 2002:a17:906:a149:: with SMTP id bu9mr16616392ejb.115.1603739258703; Mon, 26 Oct 2020 12:07:38 -0700 (PDT) Received: from x1w.redhat.com (237.red-88-18-140.staticip.rima-tde.net. [88.18.140.237]) by smtp.gmail.com with ESMTPSA id h13sm5752787edz.43.2020.10.26.12.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 12:07:38 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 2/4] tests/acceptance: Add a 'virt_kvm' test using the GICv3 Date: Mon, 26 Oct 2020 20:07:24 +0100 Message-Id: <20201026190726.19515-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201026190726.19515-1-philmd@redhat.com> References: <20201026190726.19515-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/26 02:39:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Willian Rampazzo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" The current 'virt_kvm' test is restricted to GICv2, but can also work with a GICv3. Duplicate it but add a GICv3 test which can be tested on some hardware. Noticed while running: $ avocado --show=app run -t machine:virt tests/acceptance/ ... (2/6) tests/acceptance/boot_linux.py:BootLinuxAarch64.test_virt_kvm: ERROR: Unexpected empty reply from server (1.82 s) The job.log content is: L0351 DEBUG| Output: 'qemu-system-aarch64: host does not support in-kernel GICv2 emulation\n' With this patch: $ avocado --show=app run -t device:gicv3 tests/acceptance/ (1/1) tests/acceptance/boot_linux.py:BootLinuxAarch64.test_virt_kvm_gicv3: PASS (55.10 s) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Willian Rampazzo Message-Id: <20200929224857.1225107-1-philmd@redhat.com> --- tests/acceptance/boot_linux.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tests/acceptance/boot_linux.py b/tests/acceptance/boot_linux.py index 0055dc7cee7..c743e231f47 100644 --- a/tests/acceptance/boot_linux.py +++ b/tests/acceptance/boot_linux.py @@ -182,10 +182,11 @@ def test_virt_tcg(self): self.add_common_args() self.launch_and_wait() - def test_virt_kvm(self): + def test_virt_kvm_gicv2(self): """ :avocado: tags=accel:kvm :avocado: tags=cpu:host + :avocado: tags=device:gicv2 """ if not kvm_available(self.arch, self.qemu_bin): self.cancel(KVM_NOT_AVAILABLE) @@ -195,6 +196,20 @@ def test_virt_kvm(self): self.add_common_args() self.launch_and_wait() + def test_virt_kvm_gicv3(self): + """ + :avocado: tags=accel:kvm + :avocado: tags=cpu:host + :avocado: tags=device:gicv3 + """ + if not kvm_available(self.arch, self.qemu_bin): + self.cancel(KVM_NOT_AVAILABLE) + self.vm.add_args("-accel", "kvm") + self.vm.add_args("-cpu", "host") + self.vm.add_args("-machine", "virt,gic-version=3") + self.add_common_args() + self.launch_and_wait() + class BootLinuxPPC64(BootLinux): """ From patchwork Mon Oct 26 19:07:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 11858453 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B879139F for ; Mon, 26 Oct 2020 19:12:03 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE722207C3 for ; Mon, 26 Oct 2020 19:12:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="FQNJMFIR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE722207C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:34426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX7uT-0006KP-Mo for patchwork-qemu-devel@patchwork.kernel.org; Mon, 26 Oct 2020 15:12:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kX7qV-0002Qm-Rh for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:40442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kX7qQ-0006qR-Bn for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603739269; 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=jbGe26nA5DAVeoeVhr1ezg+4GNEk52SyIQCQUZatzHg=; b=FQNJMFIR+bOcFSrOBPqzYNdGnJjFqBAEt6RwJAZEmwQycPYkyDomzy8Y1H2B5lbYYRQUVp 00s5Z+omvesy2vu3oxJvZ3roBJHjT12Rb5AZKE6cREnL0vEQfjnosB35SaSXiUVYAIM6Zh pJwrHCYonu8Z7t7rK4mksdqJ59URsQ8= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-468-arphqcc0M6G70WzxVvvaAA-1; Mon, 26 Oct 2020 15:07:45 -0400 X-MC-Unique: arphqcc0M6G70WzxVvvaAA-1 Received: by mail-ej1-f72.google.com with SMTP id x12so5823503eju.22 for ; Mon, 26 Oct 2020 12:07:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jbGe26nA5DAVeoeVhr1ezg+4GNEk52SyIQCQUZatzHg=; b=i01EVMsQ91hmqRrEJopZyOqrj8AhcjWcxq3gOz/rVFMqBi5xU0VgnzOPLOX1TWCSb/ O55d7aUgYPD+2lUvWEVxxGCyvM98RFZxe8VM11nrgp0awG1hYqaNDhyOeglSNwHPtPQW hG1Yc32JHBMwPEGwLfGohxHiZhtMX0ue9QW7RObCOpxplnWs6bLpj+D1jwroqO8dhjri 1gwZn2KaXAEUAcjd7gMS5Ygmw85GxbbTD0qr0gG8MAQ5yXvDQ/goPJtd2354CycnKJ6G XoB/6AWhNxKeztGJxWWt3PRIKQr2PS0QuPqKEKxZMkkagBYmYA6GBBE8RrwPS/g7lAc8 G5Tg== X-Gm-Message-State: AOAM531pKPouVo1qVCKQNn+dDvcWyTvKp+sKI0m75IkTEvQ8hCQi1GwC vUuwfSWv0VTaHmNblXvrha3fykl/tok3EcQeoM5QW3tLTL1+h4KTKtO5uRCLrI123xMie5XzBfv w104tvHUhXheo85g= X-Received: by 2002:a17:906:a38d:: with SMTP id k13mr17088754ejz.524.1603739264115; Mon, 26 Oct 2020 12:07:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnuDvxB1/IqDcGfyOgGNu9L7M0MUUZye8VOxA3jCCZPHOMI+OTO9IbaofYvZ8TJE52k0R4Tg== X-Received: by 2002:a17:906:a38d:: with SMTP id k13mr17088733ejz.524.1603739263930; Mon, 26 Oct 2020 12:07:43 -0700 (PDT) Received: from x1w.redhat.com (237.red-88-18-140.staticip.rima-tde.net. [88.18.140.237]) by smtp.gmail.com with ESMTPSA id 11sm6382536ejy.19.2020.10.26.12.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 12:07:43 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 3/4] tests/acceptance: Allow running Orange Pi test using cached artifacts Date: Mon, 26 Oct 2020 20:07:25 +0100 Message-Id: <20201026190726.19515-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201026190726.19515-1-philmd@redhat.com> References: <20201026190726.19515-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/25 21:03:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bin Meng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Niek Linnenbank , Cleber Rosa , Bin Meng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Unfortunately the Armbian 19.11.3 image has been removed from the dl.armbian.com file server. Developers having the artifact cached can still run the test. Allow them to, until we find a proper solution to share binaries with the whole community. This avoids (when file manually added to cache): BootLinuxConsole.test_arm_orangepi_bionic_19_11: CANCEL: Missing asset https://dl.armbian.com/orangepipc/archive/Armbian_19.11.3_Orangepipc_bionic_current_5.3.9.7z (1.06 s) Reported-by: Bin Meng Signed-off-by: Philippe Mathieu-Daudé Tested-by: Bin Meng Tested-by: Niek Linnenbank Reviewed-by: Niek Linnenbank Message-Id: <20201023131808.3198005-3-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daudé --- tests/acceptance/boot_linux_console.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py index 415e32ef0d6..8f433a67f84 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -780,6 +780,8 @@ def test_arm_orangepi_sd(self): # Wait for VM to shut down gracefully self.vm.wait() + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), + 'Test artifacts fetched from unreliable dl.armbian.com') @skipUnless(os.getenv('AVOCADO_ALLOW_LARGE_STORAGE'), 'storage limited') @skipUnless(P7ZIP_AVAILABLE, '7z not installed') def test_arm_orangepi_bionic(self): From patchwork Mon Oct 26 19:07:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 11858461 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 716F814B7 for ; Mon, 26 Oct 2020 19:13:50 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 263A42080A for ; Mon, 26 Oct 2020 19:13:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GPXY+JN3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 263A42080A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:36650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX7wD-0007KT-5n for patchwork-qemu-devel@patchwork.kernel.org; Mon, 26 Oct 2020 15:13:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kX7qX-0002RP-NG for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:59708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kX7qV-0006rh-I1 for qemu-devel@nongnu.org; Mon, 26 Oct 2020 15:07:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603739274; 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=pwT4moo83BHvNKvdSJN7HO0ctYsohM97736gAr9OGRw=; b=GPXY+JN3tybvWrvl0rRwEm+6hVyQbXN8HUGngyWcAgfE+1iuJpiz+b0Two0RAw+qeoDBNU cTrMzQZpXEA11GXkTZiwZg7k7SKAy2bFtI0SILwFA8zNuDWDJc/YHoivYjWi4a8JHbH2xP I1K62jR1jbF/e8+V/N0QPd3Cm+oTGiU= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-8-DzbVV4x2PLu78VMnlzJyEQ-1; Mon, 26 Oct 2020 15:07:51 -0400 X-MC-Unique: DzbVV4x2PLu78VMnlzJyEQ-1 Received: by mail-ej1-f72.google.com with SMTP id z25so5885817ejd.2 for ; Mon, 26 Oct 2020 12:07:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pwT4moo83BHvNKvdSJN7HO0ctYsohM97736gAr9OGRw=; b=jnXD+6jM0ok3Wb0smBpCvPuDGQR6EQ8G8LXCsZNwk9KrBVlg92ozZNf99eGsrlK9US LXEJcyeobA48CvUZNRbQODuuSyEEcb/WVLx/4GmPcU1SZr+O4MFkYu/yarBsNjrk71o2 u+HstK0OsOKl1PO7Ir3aKly51DQYZGA7JzkxQbw6cHmNfPl/VUtu6i6s78RK04yhFyhS vH+fTiyjqEtUcrQDef3WyBMlvOXrdMZ3si87wSdrpRv1+vJDwf9PN0ZyWZBVtq09/4ko oDtWkRIrUgDxVoGmLPWqV4d696lvpIA6sU9WeebcN9JSkMhHIQRz9B8gQuEXOIPnGa49 q7/g== X-Gm-Message-State: AOAM532n/WtZaesUJ7ybsqVbDuwFFxQGv+GhZiX0+l/Lf4AN1ByW76f5 wxKnPcyu3Q5vl+S3zkK5hJL5/IVCx7N8hEJj0rGtH1BpPEKi6Pi3KGt33b80sL8uQcOJbqT13Ep WyFv9wewNP6Y/YSk= X-Received: by 2002:aa7:d7ca:: with SMTP id e10mr17057869eds.269.1603739270138; Mon, 26 Oct 2020 12:07:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/JgiqEbPPvQcO3+q+o0DOJwGqSkY8f/3/bRJ0Cxbh7gO45z7dybiWrS6hXpXuUli5S2dvTw== X-Received: by 2002:aa7:d7ca:: with SMTP id e10mr17057743eds.269.1603739268834; Mon, 26 Oct 2020 12:07:48 -0700 (PDT) Received: from x1w.redhat.com (237.red-88-18-140.staticip.rima-tde.net. [88.18.140.237]) by smtp.gmail.com with ESMTPSA id gy6sm6349930ejb.7.2020.10.26.12.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 12:07:48 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 4/4] docs/devel/testing.rst: Update outdated Avocado URLs Date: Mon, 26 Oct 2020 20:07:26 +0100 Message-Id: <20201026190726.19515-5-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201026190726.19515-1-philmd@redhat.com> References: <20201026190726.19515-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/25 21:03:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Avocado documentation referred returns 404 error. Update the broken links. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Cleber Rosa Message-Id: <20201010080741.2932406-1-philmd@redhat.com> --- docs/devel/testing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 0c3e79d31cd..0aa7a13bbad 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -654,7 +654,7 @@ To manually install Avocado and its dependencies, run: Alternatively, follow the instructions on this link: - http://avocado-framework.readthedocs.io/en/latest/GetStartedGuide.html#installing-avocado + https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/installing.html Overview -------- @@ -837,7 +837,7 @@ Parameter reference To understand how Avocado parameters are accessed by tests, and how they can be passed to tests, please refer to:: - http://avocado-framework.readthedocs.io/en/latest/WritingTests.html#accessing-test-parameters + https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#accessing-test-parameters Parameter values can be easily seen in the log files, and will look like the following: