From nobody Sun May 5 23:29:01 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1599452530; cv=none; d=zohomail.com; s=zohoarc; b=HVGnhmNBfLJSwI5x1l36h+sz7Gqmhch+lgPItAYis77YBo//SENgruR0MDWMW2TnXBbHeylqjp0PUmicZj57baN0VY8z/9XgcODM9zfVx4wS+LyW+qqL0ij8BHlZNbdAjTgGNkWk7z0ka9+ko6kKJ3tYFwov+i7UlIqdfJR7VVk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599452530; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=1sO/F9TedgAcWLmV1eWEgoBI98exY9YnRjP3JaWCDl0=; b=lwCyXFjaSnwiYF07OwrtME4irS+cFoegqIsOYOiqHoeVvFZqzFuuQE0vzZxS2Zfa3Z5hM4Ru6YVMBBmqxOgew+3XVuLuLoEfQeMuxpybHrPgABW9sgu7k5JCyOJr2QwPr0aFkVHaGdmitgUr+FBgWkDEszhNhe5FhAuLCuw8b1I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599452530689517.2353977354892; Sun, 6 Sep 2020 21:22:10 -0700 (PDT) Received: from localhost ([::1]:34974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kF8fR-0000eM-BD for importer@patchew.org; Mon, 07 Sep 2020 00:22:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF8dn-0006mw-2x for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:20:27 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:42717 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kF8dk-0006xx-Vs for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:20:26 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-230-VvGfPN2DNMS6gq778xRX0Q-1; Mon, 07 Sep 2020 00:20:16 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0134E1009443; Mon, 7 Sep 2020 04:20:14 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-120-166.rdu2.redhat.com [10.10.120.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 354F21002D49; Mon, 7 Sep 2020 04:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599452423; 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=1sO/F9TedgAcWLmV1eWEgoBI98exY9YnRjP3JaWCDl0=; b=AYMYale4RQwHeE9V9gTfKtq34adOiaLKCHrZg1jYaZamJE+pPvmTPFquo0Dd0qNXTp6bAV 0RpjV5FjVBDqaBwixxzBNRFMPjVwrs0l9i8ET8XkYoypIem/u7ZBGQUOaQDcxXDPYzqv3y GW2b658IrGue/+HmyciDCQWnEzKWNLk= X-MC-Unique: VvGfPN2DNMS6gq778xRX0Q-1 From: Cleber Rosa To: qemu-devel@nongnu.org Subject: [PATCH 1/4] Acceptance tests: use an available kernel image package for arm Date: Mon, 7 Sep 2020 00:19:57 -0400 Message-Id: <20200907042000.415931-2-crosa@redhat.com> In-Reply-To: <20200907042000.415931-1-crosa@redhat.com> References: <20200907042000.415931-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=crosa@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.61; envelope-from=crosa@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 21:15:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.099, 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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: Peter Maydell , Sarah Harris , Mark Cave-Ayland , Thomas Huth , Jiaxun Yang , KONRAD Frederic , Willian Rampazzo , Yoshinori Sato , Wainer dos Santos Moschetta , Aleksandar Markovic , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Antony Pavlov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aleksandar Rikalo , Eduardo Habkost , Fabien Chouteau , qemu-arm@nongnu.org, Michael Rolnik , Pavel Dovgalyuk , Cleber Rosa , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Beraldo Leal , qemu-ppc@nongnu.org, Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Which means a newer kernel version. Expected output was changed to match the new kernel too. Signed-off-by: Cleber Rosa --- tests/acceptance/boot_linux_console.py | 44 +++++++++++++------------- tests/acceptance/replay_kernel.py | 8 ++--- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index aaa781a581..751b47b8fd 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -490,12 +490,12 @@ class BootLinuxConsole(LinuxKernelTest): :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:cubieboard """ - deb_url =3D ('https://apt.armbian.com/pool/main/l/' - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.de= b') - deb_hash =3D '1334c29c44d984ffa05ed10de8c3361f33d78315' + deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' + 'linux-image-dev-sunxi_20.08_armhf.deb') + deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) kernel_path =3D self.extract_from_deb(deb_path, - '/boot/vmlinuz-4.20.7-sunxi') + '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun4i-a10-cubieboard.= dtb' dtb_path =3D self.extract_from_deb(deb_path, dtb_path) initrd_url =3D ('https://github.com/groeck/linux-build-test/raw/' @@ -522,7 +522,7 @@ class BootLinuxConsole(LinuxKernelTest): exec_command_and_wait_for_pattern(self, 'cat /proc/cpuinfo', 'Allwinner sun4i/sun5i') exec_command_and_wait_for_pattern(self, 'cat /proc/iomem', - 'system-control@1c00000') + '1c00000.system-control') # cubieboard's reboot is not functioning; omit reboot test. =20 def test_arm_cubieboard_sata(self): @@ -530,12 +530,12 @@ class BootLinuxConsole(LinuxKernelTest): :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:cubieboard """ - deb_url =3D ('https://apt.armbian.com/pool/main/l/' - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.de= b') - deb_hash =3D '1334c29c44d984ffa05ed10de8c3361f33d78315' + deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' + 'linux-image-dev-sunxi_20.08_armhf.deb') + deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) kernel_path =3D self.extract_from_deb(deb_path, - '/boot/vmlinuz-4.20.7-sunxi') + '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun4i-a10-cubieboard.= dtb' dtb_path =3D self.extract_from_deb(deb_path, dtb_path) rootfs_url =3D ('https://github.com/groeck/linux-build-test/raw/' @@ -573,12 +573,12 @@ class BootLinuxConsole(LinuxKernelTest): :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:orangepi-pc """ - deb_url =3D ('https://apt.armbian.com/pool/main/l/' - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.de= b') - deb_hash =3D '1334c29c44d984ffa05ed10de8c3361f33d78315' + deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' + 'linux-image-dev-sunxi_20.08_armhf.deb') + deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) kernel_path =3D self.extract_from_deb(deb_path, - '/boot/vmlinuz-4.20.7-sunxi') + '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun8i-h3-orangepi-pc.= dtb' dtb_path =3D self.extract_from_deb(deb_path, dtb_path) =20 @@ -598,12 +598,12 @@ class BootLinuxConsole(LinuxKernelTest): :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:orangepi-pc """ - deb_url =3D ('https://apt.armbian.com/pool/main/l/' - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.de= b') - deb_hash =3D '1334c29c44d984ffa05ed10de8c3361f33d78315' + deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' + 'linux-image-dev-sunxi_20.08_armhf.deb') + deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) kernel_path =3D self.extract_from_deb(deb_path, - '/boot/vmlinuz-4.20.7-sunxi') + '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun8i-h3-orangepi-pc.= dtb' dtb_path =3D self.extract_from_deb(deb_path, dtb_path) initrd_url =3D ('https://github.com/groeck/linux-build-test/raw/' @@ -629,7 +629,7 @@ class BootLinuxConsole(LinuxKernelTest): exec_command_and_wait_for_pattern(self, 'cat /proc/cpuinfo', 'Allwinner sun8i Family') exec_command_and_wait_for_pattern(self, 'cat /proc/iomem', - 'system-control@1c00000') + '1c00000.system-control') exec_command_and_wait_for_pattern(self, 'reboot', 'reboot: Restarting system= ') # Wait for VM to shut down gracefully @@ -641,12 +641,12 @@ class BootLinuxConsole(LinuxKernelTest): :avocado: tags=3Dmachine:orangepi-pc :avocado: tags=3Ddevice:sd """ - deb_url =3D ('https://apt.armbian.com/pool/main/l/' - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.de= b') - deb_hash =3D '1334c29c44d984ffa05ed10de8c3361f33d78315' + deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' + 'linux-image-dev-sunxi_20.08_armhf.deb') + deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) kernel_path =3D self.extract_from_deb(deb_path, - '/boot/vmlinuz-4.20.7-sunxi') + '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun8i-h3-orangepi-pc.= dtb' dtb_path =3D self.extract_from_deb(deb_path, dtb_path) rootfs_url =3D ('http://storage.kernelci.org/images/rootfs/buildro= ot/' diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_ke= rnel.py index b79fc8daf8..80a460814f 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -132,12 +132,12 @@ class ReplayKernel(LinuxKernelTest): :avocado: tags=3Darch:arm :avocado: tags=3Dmachine:cubieboard """ - deb_url =3D ('https://apt.armbian.com/pool/main/l/' - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.de= b') - deb_hash =3D '1334c29c44d984ffa05ed10de8c3361f33d78315' + deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' + 'linux-image-dev-sunxi_20.08_armhf.deb') + deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) kernel_path =3D self.extract_from_deb(deb_path, - '/boot/vmlinuz-4.20.7-sunxi') + '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun4i-a10-cubieboard.= dtb' dtb_path =3D self.extract_from_deb(deb_path, dtb_path) initrd_url =3D ('https://github.com/groeck/linux-build-test/raw/' --=20 2.25.4 From nobody Sun May 5 23:29:01 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1599452593; cv=none; d=zohomail.com; s=zohoarc; b=CmpKSmrCrJBQgF4p7w77V3oUTkxhZ/Bx6CPaIyeUpi4nPd5nFlR+1Sjo08ZWEg5+QqRn0bb10q+oidCjwegmyEUHNxUf6PWbFPUNIUKS+Asb5LwwPH1LVUXMCn5+ngZuYXB1jrFyxz3j6m/gFWRqvTsSunk0TWq0r8Cc6DJS6Lc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599452593; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=IJ4slLay8b89rpTy43SAQf3zve8jR9BeHUD3qmKqNaw=; b=M/ncApFqNuAj9Y+qTT88VKKnRgu9h6MhiMTlk8BpxaLINQ4l/jpiJB+bYc54aY2vvvuYl9ZKjoDiyj6cnC6zBsmmcOuqyyaLq406uaXmf6/kxzbrtC3CQw6BLDl3CSVOt/DG2wqSAWBdJzrnPmA0oFP32BddT0aRbb4s/KeOIvw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599452593437951.3364192074714; Sun, 6 Sep 2020 21:23:13 -0700 (PDT) Received: from localhost ([::1]:40924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kF8gS-0002zg-8K for importer@patchew.org; Mon, 07 Sep 2020 00:23:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF8dq-0006ta-As for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:20:33 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:54319 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kF8do-0006yb-Mv for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:20:30 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-145-Bcf1S9CSN8CC9SzS1QLozw-1; Mon, 07 Sep 2020 00:20:19 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0823180F040; Mon, 7 Sep 2020 04:20:17 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-120-166.rdu2.redhat.com [10.10.120.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A8621002D57; Mon, 7 Sep 2020 04:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599452427; 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=IJ4slLay8b89rpTy43SAQf3zve8jR9BeHUD3qmKqNaw=; b=hXBQxoGR968zZsiGaGrcB9DGukHEPLxZIHL19J38dvYP8Si9UJ3z8aeTB32/cdZpVuECut H1uVOMO5DrIwPplNg4lASUiEs3xDwrsV6lYFAPRMoOtW34NPNqWJJcscC/zTBjT0UgnwTJ 1BdbxPP0pS/NfsT7ZytiOcRCGI/Mfww= X-MC-Unique: Bcf1S9CSN8CC9SzS1QLozw-1 From: Cleber Rosa To: qemu-devel@nongnu.org Subject: [PATCH 2/4] boot linux test: update arm bionic URL Date: Mon, 7 Sep 2020 00:19:58 -0400 Message-Id: <20200907042000.415931-3-crosa@redhat.com> In-Reply-To: <20200907042000.415931-1-crosa@redhat.com> References: <20200907042000.415931-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=crosa@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=207.211.31.81; envelope-from=crosa@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 22:29:02 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.099, 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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: Peter Maydell , Sarah Harris , Mark Cave-Ayland , Thomas Huth , Jiaxun Yang , KONRAD Frederic , Willian Rampazzo , Yoshinori Sato , Wainer dos Santos Moschetta , Aleksandar Markovic , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Antony Pavlov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aleksandar Rikalo , Eduardo Habkost , Fabien Chouteau , qemu-arm@nongnu.org, Michael Rolnik , Pavel Dovgalyuk , Cleber Rosa , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Beraldo Leal , qemu-ppc@nongnu.org, Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Which uses an xz compressed file, which has builtin support for decompression on avocado.utils.archive. So the check for P7ZIP can be dropped, and extraction logic simplified. Signed-off-by: Cleber Rosa Reviewed-by: Willian Rampazzo --- tests/acceptance/boot_linux_console.py | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index 751b47b8fd..c75c512c8b 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -22,12 +22,6 @@ from avocado.utils import process from avocado.utils import archive from avocado.utils.path import find_command, CmdNotFoundError =20 -P7ZIP_AVAILABLE =3D True -try: - find_command('7z') -except CmdNotFoundError: - P7ZIP_AVAILABLE =3D False - """ Round up to next power of 2 """ @@ -687,7 +681,6 @@ class BootLinuxConsole(LinuxKernelTest): self.vm.wait() =20 @skipUnless(os.getenv('AVOCADO_ALLOW_LARGE_STORAGE'), 'storage limited= ') - @skipUnless(P7ZIP_AVAILABLE, '7z not installed') def test_arm_orangepi_bionic(self): """ :avocado: tags=3Darch:arm @@ -695,14 +688,13 @@ class BootLinuxConsole(LinuxKernelTest): :avocado: tags=3Ddevice:sd """ =20 - # This test download a 196MB compressed image and expand it to 1GB + # This test download a 275MB compressed image and expand it to 1.1= GB image_url =3D ('https://dl.armbian.com/orangepipc/archive/' - 'Armbian_19.11.3_Orangepipc_bionic_current_5.3.9.7z') - image_hash =3D '196a8ffb72b0123d92cea4a070894813d305c71e' - image_path_7z =3D self.fetch_asset(image_url, asset_hash=3Dimage_h= ash) - image_name =3D 'Armbian_19.11.3_Orangepipc_bionic_current_5.3.9.im= g' - image_path =3D os.path.join(self.workdir, image_name) - process.run("7z e -o%s %s" % (self.workdir, image_path_7z)) + 'Armbian_20.08.1_Orangepipc_bionic_current_5.8.5.img.= xz') + image_hash =3D 'b4d6775f5673486329e45a0586bf06b6dbe792199fd182ac6b= 9c7bb6c7d3e6dd' + image_path_xz =3D self.fetch_asset(image_url, asset_hash=3Dimage_h= ash, + algorithm=3D'sha256') + image_path =3D archive.extract(image_path_xz, self.workdir) image_pow2ceil_expand(image_path) =20 self.vm.set_console() --=20 2.25.4 From nobody Sun May 5 23:29:01 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1599452644; cv=none; d=zohomail.com; s=zohoarc; b=Nv7SdPRU1naI1U82XVoVoDBljJCkV5VkL5mPyYkYLEfG57TpqMbMjrqAHPt/R398HgeXeM18ry9ohRz0x8g4MJ9S/VzqQN0mk9DdCkVWF1XZgfE+Cp6sG4JXo05ILKmfe9eqKvz3K6suWEFE0O1TV1tTOKjJEARf7EQhGIsI7W4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599452644; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=GiFJBPvIhB511xK7+MZlX+hVc52c1HiLvujW1F20PqA=; b=Ypup4oJMvEA3fXzC5f2IsHlzPL0ns+zM5iZDo/V0OSAREXNlFLEgO18FTBWhEoq5EtzhQIkdT9yxtcNQWtv1Rimuvjx3FnkZf+ixrOYWKDWIdsAEQG8fuEZb+PDMh0xUJctkSQh8fOjjjukbu3833aNwBEIvdN1kF86xNbpZiek= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599452644002522.7929654446854; Sun, 6 Sep 2020 21:24:04 -0700 (PDT) Received: from localhost ([::1]:43800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kF8hG-0004Ay-PQ for importer@patchew.org; Mon, 07 Sep 2020 00:24:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF8dw-0006vh-21 for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:20:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:47474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kF8ds-0006zC-8C for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:20:34 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-38-qbx0IgqVPx2m3jNrnkR6jQ-1; Mon, 07 Sep 2020 00:20:25 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 37BBB109106D; Mon, 7 Sep 2020 04:20:23 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-120-166.rdu2.redhat.com [10.10.120.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 336071002D49; Mon, 7 Sep 2020 04:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599452430; 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=GiFJBPvIhB511xK7+MZlX+hVc52c1HiLvujW1F20PqA=; b=H4n/Ae/nnjDGNjFygg0Vp1eaHfTMeHQgoqUOKxuG692aIViAHfucv+Z4hZf5bItOGjBaum JSg38orUEHtmr3mjufYSkJUt1dAwSU/5IwTLij24cl/RX89H3qxx8olcZfU+3UcIN+3fMO w8j0QFR8Sqv2mrOnw3BDNTX0s3eh07Y= X-MC-Unique: qbx0IgqVPx2m3jNrnkR6jQ-1 From: Cleber Rosa To: qemu-devel@nongnu.org Subject: [PATCH 3/4] tests: bump avocado version Date: Mon, 7 Sep 2020 00:19:59 -0400 Message-Id: <20200907042000.415931-4-crosa@redhat.com> In-Reply-To: <20200907042000.415931-1-crosa@redhat.com> References: <20200907042000.415931-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=crosa@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=63.128.21.124; envelope-from=crosa@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 22:17:11 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.099, 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=-1, RCVD_IN_MSPIKE_WL=-0.01, 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: Peter Maydell , Sarah Harris , Mark Cave-Ayland , Thomas Huth , Jiaxun Yang , KONRAD Frederic , Willian Rampazzo , Pavel Dovgalyuk , Yoshinori Sato , Wainer dos Santos Moschetta , Willian Rampazzo , Aleksandar Markovic , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Antony Pavlov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aleksandar Rikalo , Eduardo Habkost , Fabien Chouteau , qemu-arm@nongnu.org, Michael Rolnik , Pavel Dovgalyuk , Cleber Rosa , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Beraldo Leal , Pavel Dovgalyuk , qemu-ppc@nongnu.org, Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Pavel Dovgalyuk Reverse debugging test uses gdb remote client of avocado framework. This client was fixed since the currently used version 76. Therefore this patch bumps the version to 81 and fixes command line version compatibility issue. Signed-off-by: Pavel Dovgalyuk Message-Id: <159903462803.28509.16851113546106095750.stgit@pasha-ThinkPad-X= 280> Reviewed-by: Willian Rampazzo Reviewed-by: Cleber Rosa Tested-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- tests/Makefile.include | 2 +- tests/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index 9ac8f5b86a..0687c8bcda 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -517,7 +517,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-v= m-images --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 $(GITLAB_CI),,--failfast=3Don) tests/acceptance, \ + $(if $(GITLAB_CI),,--failfast) tests/acceptance, \ "AVOCADO", "tests/acceptance") =20 # Consolidated targets diff --git a/tests/requirements.txt b/tests/requirements.txt index f9c84b4ba1..036691c922 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,5 +1,5 @@ # Add Python module requirements, one per line, to be installed # in the tests/venv Python virtual environment. For more info, # refer to: https://pip.pypa.io/en/stable/user_guide/#id1 -avocado-framework=3D=3D76.0 +avocado-framework=3D=3D81.0 pycdlib=3D=3D1.9.0 --=20 2.25.4 From nobody Sun May 5 23:29:01 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1599452715; cv=none; d=zohomail.com; s=zohoarc; b=meifFBPXqZAH7lmxs3CadQxjHi2t7rEgImvdQ+Y98hdi8BAd2gyG3UUn5PBYG9aE5c73oYVjHHC8oGFfdvl/D1wQpIXhm4HAgt0ZGTIFrjkQv+q/nVMcbpw8gKLIl5gBRTP6oa7aDwlLi05r1VAQyrp5b+/KLlP7kZXkEYMZ1zM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599452715; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SYOSV6EDVuNoeQYVbP20eu/S3uD6NVkPPfw/7luLoEM=; b=a5/Qlzt84aoVXDiyjovei+BBk/PuiB06EKUUUBx349mZK2HAO8NwbGqhIZd0gb3sxEhLV9PGzJZXjpwZzJpnL4WojPJGTrq5IjxbNFrb2dmY0J0H2A3BCFKfikHs3tqakzDZ75DqCT1XhBNmKtw12XWVQhg2MMRfdmU/0twgysA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599452715455839.2937430659164; Sun, 6 Sep 2020 21:25:15 -0700 (PDT) Received: from localhost ([::1]:46422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kF8iP-0005GC-VU for importer@patchew.org; Mon, 07 Sep 2020 00:25:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF8eX-0007Bk-DR for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:21:13 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:32779 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kF8eT-00075B-GI for qemu-devel@nongnu.org; Mon, 07 Sep 2020 00:21:13 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-184-cm4HiJu3O3WCZkIx-_VY-g-1; Mon, 07 Sep 2020 00:20:31 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3E41318BE160; Mon, 7 Sep 2020 04:20:29 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-120-166.rdu2.redhat.com [10.10.120.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 62C301002D49; Mon, 7 Sep 2020 04:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599452439; 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=SYOSV6EDVuNoeQYVbP20eu/S3uD6NVkPPfw/7luLoEM=; b=KPZPoCUo84SkSvv8vopQoZ7aQo+N2LBXkRQTRR+MhtKlkkkXUqz/tcBwwnOCwXNx2SjkVv vxqwyKuakVwiIqS0PR7qter+nPlr8makZ2nBld7dorQiA/2G0cw2ErfD4R77V70QFlulxh SoTXbp5UpmFL5eLrtot6SBeliU7tpmI= X-MC-Unique: cm4HiJu3O3WCZkIx-_VY-g-1 From: Cleber Rosa To: qemu-devel@nongnu.org Subject: [PATCH 4/4] Acceptance tests: cancel tests on missing assets Date: Mon, 7 Sep 2020 00:20:00 -0400 Message-Id: <20200907042000.415931-5-crosa@redhat.com> In-Reply-To: <20200907042000.415931-1-crosa@redhat.com> References: <20200907042000.415931-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=crosa@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.61; envelope-from=crosa@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 21:15:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.099, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_BTC_ID=0.499, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: Peter Maydell , Sarah Harris , Mark Cave-Ayland , Thomas Huth , Jiaxun Yang , KONRAD Frederic , Willian Rampazzo , Yoshinori Sato , Wainer dos Santos Moschetta , Aleksandar Markovic , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Antony Pavlov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aleksandar Rikalo , Eduardo Habkost , Fabien Chouteau , qemu-arm@nongnu.org, Michael Rolnik , Pavel Dovgalyuk , Cleber Rosa , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Beraldo Leal , qemu-ppc@nongnu.org, Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Asset files used on the acceptance tests (kernel, initrd images) unfortunately are not guaranteed to always be available at the same location. Let's cancel (kind of like a skip) the test, when the asset is missing. This should prevent false positives, when failure are not caused by changes in QEMU itself. Reference: https://avocado-framework.readthedocs.io/en/81.0/api/test/avocad= o.html#avocado.Test.fetch_asset Signed-off-by: Cleber Rosa Reviewed-by: Willian Rampazzo --- tests/acceptance/boot_linux_console.py | 102 ++++++++++++------- tests/acceptance/linux_initrd.py | 6 +- tests/acceptance/linux_ssh_mips_malta.py | 6 +- tests/acceptance/machine_arm_canona1100.py | 3 +- tests/acceptance/machine_arm_integratorcp.py | 9 +- tests/acceptance/machine_arm_n8x0.py | 3 +- tests/acceptance/machine_avr6.py | 3 +- tests/acceptance/machine_m68k_nextcube.py | 3 +- tests/acceptance/machine_mips_malta.py | 6 +- tests/acceptance/machine_rx_gdbsim.py | 9 +- tests/acceptance/machine_sparc64_sun4u.py | 3 +- tests/acceptance/machine_sparc_leon3.py | 3 +- tests/acceptance/ppc_prep_40p.py | 8 +- tests/acceptance/replay_kernel.py | 43 +++++--- 14 files changed, 138 insertions(+), 69 deletions(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index c75c512c8b..c3c6ccac7c 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -99,7 +99,8 @@ class BootLinuxConsole(LinuxKernelTest): '/linux/releases/29/Everything/x86_64/os/images/pxeb= oot' '/vmlinuz') kernel_hash =3D '23bebd2680757891cf7adedb033532163a792495' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3DttyS0' @@ -119,7 +120,8 @@ class BootLinuxConsole(LinuxKernelTest): '20130217T032700Z/pool/main/l/linux-2.6/' 'linux-image-2.6.32-5-4kc-malta_2.6.32-48_mips.deb') deb_hash =3D 'a8cfc28ad8f45f54811fc6cf74fc43ffcfe0ba04' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinux-2.6.32-5-4kc-ma= lta') =20 @@ -151,7 +153,8 @@ class BootLinuxConsole(LinuxKernelTest): '20130217T032700Z/pool/main/l/linux-2.6/' 'linux-image-2.6.32-5-5kc-malta_2.6.32-48_mipsel.deb') deb_hash =3D '1aaec92083bf22fda31e0d27fa8d9a388e5fc3d5' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinux-2.6.32-5-5kc-ma= lta') =20 @@ -173,14 +176,16 @@ class BootLinuxConsole(LinuxKernelTest): '20160601T041800Z/pool/main/l/linux/' 'linux-image-4.5.0-2-4kc-malta_4.5.5-1_mips.deb') deb_hash =3D 'a3c84f3e88b54e06107d65a410d1d1e8e0f340f8' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinux-4.5.0-2-4kc-mal= ta') initrd_url =3D ('https://github.com/groeck/linux-build-test/raw/' '8584a59ed9e5eb5ee7ca91f6d74bbb06619205b8/rootfs/' 'mips/rootfs.cpio.gz') initrd_hash =3D 'bf806e17009360a866bf537f6de66590de349a99' - initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash) + initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash, + cancel_on_missing=3DTrue) initrd_path =3D self.workdir + "rootfs.cpio" archive.gzip_uncompress(initrd_path_gz, initrd_path) =20 @@ -215,13 +220,15 @@ class BootLinuxConsole(LinuxKernelTest): 'raw/9ad2df38/mips/malta/mips64el/' 'vmlinux-3.19.3.mtoman.20150408') kernel_hash =3D '00d1d268fb9f7d8beda1de6bebcc46e884d71754' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) initrd_url =3D ('https://github.com/groeck/linux-build-test/' 'raw/8584a59e/rootfs/' 'mipsel64/rootfs.mipsel64r1.cpio.gz') initrd_hash =3D '1dbb8a396e916847325284dbe2151167' initrd_path_gz =3D self.fetch_asset(initrd_url, algorithm=3D'md5', - asset_hash=3Dinitrd_hash) + asset_hash=3Dinitrd_hash, + cancel_on_missing=3DTrue) initrd_path =3D self.workdir + "rootfs.cpio" archive.gzip_uncompress(initrd_path_gz, initrd_path) =20 @@ -247,7 +254,8 @@ class BootLinuxConsole(LinuxKernelTest): self.vm.wait() =20 def do_test_mips_malta32el_nanomips(self, kernel_url, kernel_hash): - kernel_path_xz =3D self.fetch_asset(kernel_url, asset_hash=3Dkerne= l_hash) + kernel_path_xz =3D self.fetch_asset(kernel_url, asset_hash=3Dkerne= l_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.workdir + "kernel" with lzma.open(kernel_path_xz, 'rb') as f_in: with open(kernel_path, 'wb') as f_out: @@ -310,7 +318,8 @@ class BootLinuxConsole(LinuxKernelTest): '/linux/releases/29/Everything/aarch64/os/images/pxe= boot' '/vmlinuz') kernel_hash =3D '8c73e469fc6ea06a58dc83a628fc695b693b8493' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE + @@ -334,11 +343,13 @@ class BootLinuxConsole(LinuxKernelTest): '20101020ubuntu543.15/images/') kernel_url =3D images_url + 'netboot/ubuntu-installer/arm64/linux' kernel_hash =3D '5bfc54cf7ed8157d93f6e5b0241e727b6dc22c50' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 initrd_url =3D images_url + 'netboot/ubuntu-installer/arm64/initrd= .gz' initrd_hash =3D 'd385d3e88d53e2004c5d43cbe668b458a094f772' - initrd_path =3D self.fetch_asset(initrd_url, asset_hash=3Dinitrd_h= ash) + initrd_path =3D self.fetch_asset(initrd_url, asset_hash=3Dinitrd_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() self.vm.add_args('-m', '2G', @@ -356,7 +367,8 @@ class BootLinuxConsole(LinuxKernelTest): '/linux/releases/29/Everything/armhfp/os/images/pxeb= oot' '/vmlinuz') kernel_hash =3D 'e9826d741b4fb04cadba8d4824d1ed3b7fb8b4d4' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE + @@ -378,12 +390,14 @@ class BootLinuxConsole(LinuxKernelTest): 'Subbaraya-Sundeep/qemu-test-binaries/' 'fe371d32e50ca682391e1e70ab98c2942aeffb01/u-boot') uboot_hash =3D 'cbb8cbab970f594bf6523b9855be209c08374ae2' - uboot_path =3D self.fetch_asset(uboot_url, asset_hash=3Duboot_hash) + uboot_path =3D self.fetch_asset(uboot_url, asset_hash=3Duboot_hash, + cancel_on_missing=3DTrue) spi_url =3D ('https://raw.githubusercontent.com/' 'Subbaraya-Sundeep/qemu-test-binaries/' 'fe371d32e50ca682391e1e70ab98c2942aeffb01/spi.bin') spi_hash =3D '65523a1835949b6f4553be96dec1b6a38fb05501' - spi_path =3D self.fetch_asset(spi_url, asset_hash=3Dspi_hash) + spi_path =3D self.fetch_asset(spi_url, asset_hash=3Dspi_hash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE @@ -412,7 +426,8 @@ class BootLinuxConsole(LinuxKernelTest): 'pool/main/r/raspberrypi-firmware/' 'raspberrypi-kernel_1.20190215-1_armhf.deb') deb_hash =3D 'cd284220b32128c5084037553db3c482426f3972' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/kernel7.img= ') dtb_path =3D self.extract_from_deb(deb_path, '/boot/bcm2709-rpi-2-= b.dtb') =20 @@ -448,7 +463,8 @@ class BootLinuxConsole(LinuxKernelTest): '20190928T224601Z/pool/main/l/linux/' 'linux-image-4.19.0-6-armmp_4.19.67-2+deb10u1_armhf.deb= ') deb_hash =3D 'fa9df4a0d38936cb50084838f2cb933f570d7d82' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinuz-4.19.0-6-armmp') dtb_path =3D '/usr/lib/linux-image-4.19.0-6-armmp/exynos4210-smdkv= 310.dtb' @@ -458,7 +474,8 @@ class BootLinuxConsole(LinuxKernelTest): '2eb0a73b5d5a28df3170c546ddaaa9757e1e0848/rootfs/' 'arm/rootfs-armv5.cpio.gz') initrd_hash =3D '2b50f1873e113523967806f4da2afe385462ff9b' - initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash) + initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash, + cancel_on_missing=3DTrue) initrd_path =3D os.path.join(self.workdir, 'rootfs.cpio') archive.gzip_uncompress(initrd_path_gz, initrd_path) =20 @@ -487,7 +504,8 @@ class BootLinuxConsole(LinuxKernelTest): deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' 'linux-image-dev-sunxi_20.08_armhf.deb') deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun4i-a10-cubieboard.= dtb' @@ -496,7 +514,8 @@ class BootLinuxConsole(LinuxKernelTest): '2eb0a73b5d5a28df3170c546ddaaa9757e1e0848/rootfs/' 'arm/rootfs-armv5.cpio.gz') initrd_hash =3D '2b50f1873e113523967806f4da2afe385462ff9b' - initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash) + initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash, + cancel_on_missing=3DTrue) initrd_path =3D os.path.join(self.workdir, 'rootfs.cpio') archive.gzip_uncompress(initrd_path_gz, initrd_path) =20 @@ -527,7 +546,8 @@ class BootLinuxConsole(LinuxKernelTest): deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' 'linux-image-dev-sunxi_20.08_armhf.deb') deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun4i-a10-cubieboard.= dtb' @@ -536,7 +556,8 @@ class BootLinuxConsole(LinuxKernelTest): '2eb0a73b5d5a28df3170c546ddaaa9757e1e0848/rootfs/' 'arm/rootfs-armv5.ext2.gz') rootfs_hash =3D '093e89d2b4d982234bf528bc9fb2f2f17a9d1f93' - rootfs_path_gz =3D self.fetch_asset(rootfs_url, asset_hash=3Drootf= s_hash) + rootfs_path_gz =3D self.fetch_asset(rootfs_url, asset_hash=3Drootf= s_hash, + cancel_on_missing=3DTrue) rootfs_path =3D os.path.join(self.workdir, 'rootfs.cpio') archive.gzip_uncompress(rootfs_path_gz, rootfs_path) =20 @@ -570,7 +591,8 @@ class BootLinuxConsole(LinuxKernelTest): deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' 'linux-image-dev-sunxi_20.08_armhf.deb') deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun8i-h3-orangepi-pc.= dtb' @@ -595,7 +617,8 @@ class BootLinuxConsole(LinuxKernelTest): deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' 'linux-image-dev-sunxi_20.08_armhf.deb') deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun8i-h3-orangepi-pc.= dtb' @@ -604,7 +627,8 @@ class BootLinuxConsole(LinuxKernelTest): '2eb0a73b5d5a28df3170c546ddaaa9757e1e0848/rootfs/' 'arm/rootfs-armv7a.cpio.gz') initrd_hash =3D '604b2e45cdf35045846b8bbfbf2129b1891bdc9c' - initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash) + initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash, + cancel_on_missing=3DTrue) initrd_path =3D os.path.join(self.workdir, 'rootfs.cpio') archive.gzip_uncompress(initrd_path_gz, initrd_path) =20 @@ -638,7 +662,8 @@ class BootLinuxConsole(LinuxKernelTest): deb_url =3D ('https://apt.armbian.com/pool/main/l/linux-5.8.0-sunx= i/' 'linux-image-dev-sunxi_20.08_armhf.deb') deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun8i-h3-orangepi-pc.= dtb' @@ -646,7 +671,8 @@ class BootLinuxConsole(LinuxKernelTest): rootfs_url =3D ('http://storage.kernelci.org/images/rootfs/buildro= ot/' 'kci-2019.02/armel/base/rootfs.ext2.xz') rootfs_hash =3D '692510cb625efda31640d1de0a8d60e26040f061' - rootfs_path_xz =3D self.fetch_asset(rootfs_url, asset_hash=3Drootf= s_hash) + rootfs_path_xz =3D self.fetch_asset(rootfs_url, asset_hash=3Drootf= s_hash, + cancel_on_missing=3DTrue) rootfs_path =3D os.path.join(self.workdir, 'rootfs.cpio') archive.lzma_uncompress(rootfs_path_xz, rootfs_path) image_pow2ceil_expand(rootfs_path) @@ -693,7 +719,8 @@ class BootLinuxConsole(LinuxKernelTest): 'Armbian_20.08.1_Orangepipc_bionic_current_5.8.5.img.= xz') image_hash =3D 'b4d6775f5673486329e45a0586bf06b6dbe792199fd182ac6b= 9c7bb6c7d3e6dd' image_path_xz =3D self.fetch_asset(image_url, asset_hash=3Dimage_h= ash, - algorithm=3D'sha256') + algorithm=3D'sha256', + cancel_on_missing=3DTrue) image_path =3D archive.extract(image_path_xz, self.workdir) image_pow2ceil_expand(image_path) =20 @@ -734,7 +761,8 @@ class BootLinuxConsole(LinuxKernelTest): '20200108T145233Z/pool/main/u/u-boot/' 'u-boot-sunxi_2020.01%2Bdfsg-1_armhf.deb') deb_hash =3D 'f67f404a80753ca3d1258f13e38f2b060e13db99' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) # We use the common OrangePi PC 'plus' build of U-Boot for our sec= ondary # program loader (SPL). We will then set the path to the more spec= ific # OrangePi "PC" device tree blob with 'setenv fdtfile' in U-Boot p= rompt, @@ -744,7 +772,8 @@ class BootLinuxConsole(LinuxKernelTest): image_url =3D ('https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/' 'evbarm-earmv7hf/binary/gzimg/armv7.img.gz') image_hash =3D '2babb29d36d8360adcb39c09e31060945259917a' - image_path_gz =3D self.fetch_asset(image_url, asset_hash=3Dimage_h= ash) + image_path_gz =3D self.fetch_asset(image_url, asset_hash=3Dimage_h= ash, + cancel_on_missing=3DTrue) image_path =3D os.path.join(self.workdir, 'armv7.img') archive.gzip_uncompress(image_path_gz, image_path) image_pow2ceil_expand(image_path) @@ -796,7 +825,8 @@ class BootLinuxConsole(LinuxKernelTest): '/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_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dsclp0' @@ -815,7 +845,8 @@ class BootLinuxConsole(LinuxKernelTest): 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) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 uncompressed_kernel =3D archive.uncompress(kernel_path, self.workd= ir) =20 @@ -837,7 +868,8 @@ class BootLinuxConsole(LinuxKernelTest): '/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) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dhvc0' @@ -856,7 +888,8 @@ class BootLinuxConsole(LinuxKernelTest): '/20191021T083923Z/pool-m68k/main' '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.ude= b') deb_hash =3D '044954bb9be4160a3ce81f8bc1b5e856b75cccd1' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinux-5.3.0-1-m68k') =20 @@ -874,7 +907,8 @@ class BootLinuxConsole(LinuxKernelTest): def do_test_advcal_2018(self, day, tar_hash, kernel_name, console=3D0): tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day' + day + '.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) archive.extract(file_path, self.workdir) self.vm.set_console(console_index=3Dconsole) self.vm.add_args('-kernel', diff --git a/tests/acceptance/linux_initrd.py b/tests/acceptance/linux_init= rd.py index a249e2f14a..d5e8e90cf9 100644 --- a/tests/acceptance/linux_initrd.py +++ b/tests/acceptance/linux_initrd.py @@ -36,7 +36,8 @@ class LinuxInitrd(Test): kernel_url =3D ('https://archives.fedoraproject.org/pub/archive/fe= dora/li' 'nux/releases/18/Fedora/x86_64/os/images/pxeboot/vml= inuz') kernel_hash =3D '41464f68efe42b9991250bed86c7081d2ccdbb21' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) max_size =3D 2 * (1024 ** 3) - 1 =20 with tempfile.NamedTemporaryFile() as initrd: @@ -63,7 +64,8 @@ class LinuxInitrd(Test): '/linux/releases/28/Everything/x86_64/os/images/pxeb= oot/' 'vmlinuz') kernel_hash =3D '238e083e114c48200f80d889f7e32eeb2793e02a' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) max_size =3D 2 * (1024 ** 3) + 1 =20 with tempfile.NamedTemporaryFile() as initrd: diff --git a/tests/acceptance/linux_ssh_mips_malta.py b/tests/acceptance/li= nux_ssh_mips_malta.py index 25c5c5f741..e866a0b74e 100644 --- a/tests/acceptance/linux_ssh_mips_malta.py +++ b/tests/acceptance/linux_ssh_mips_malta.py @@ -111,7 +111,8 @@ class LinuxSSH(Test): =20 def boot_debian_wheezy_image_and_ssh_login(self, endianess, kernel_pat= h): image_url, image_hash =3D self.get_image_info(endianess) - image_path =3D self.fetch_asset(image_url, asset_hash=3Dimage_hash) + image_path =3D self.fetch_asset(image_url, asset_hash=3Dimage_hash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE @@ -204,7 +205,8 @@ class LinuxSSH(Test): def check_mips_malta(self, uname_m, endianess): wordsize =3D 64 if '64' in uname_m else 32 kernel_url, kernel_hash =3D self.get_kernel_info(endianess, wordsi= ze) - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) self.boot_debian_wheezy_image_and_ssh_login(endianess, kernel_path) =20 stdout, _ =3D self.ssh_command('uname -a') diff --git a/tests/acceptance/machine_arm_canona1100.py b/tests/acceptance/= machine_arm_canona1100.py index 0e5c43dbcf..dbf9d5a945 100644 --- a/tests/acceptance/machine_arm_canona1100.py +++ b/tests/acceptance/machine_arm_canona1100.py @@ -26,7 +26,8 @@ class CanonA1100Machine(Test): tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day18.tar.xz') tar_hash =3D '068b5fc4242b29381acee94713509f8a876e9db6' - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash + cancel_on_missing=3DTrue) archive.extract(file_path, self.workdir) self.vm.set_console() self.vm.add_args('-bios', diff --git a/tests/acceptance/machine_arm_integratorcp.py b/tests/acceptanc= e/machine_arm_integratorcp.py index 49c8ebff78..e795e95550 100644 --- a/tests/acceptance/machine_arm_integratorcp.py +++ b/tests/acceptance/machine_arm_integratorcp.py @@ -37,12 +37,14 @@ class IntegratorMachine(Test): kernel_url =3D ('https://github.com/zayac/qemu-arm/raw/master/' 'arm-test/kernel/zImage.integrator') kernel_hash =3D '0d7adba893c503267c946a3cbdc63b4b54f25468' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 initrd_url =3D ('https://github.com/zayac/qemu-arm/raw/master/' 'arm-test/kernel/arm_root.img') initrd_hash =3D 'b51e4154285bf784e017a37586428332d8c7bd8b' - initrd_path =3D self.fetch_asset(initrd_url, asset_hash=3Dinitrd_h= ash) + initrd_path =3D self.fetch_asset(initrd_url, asset_hash=3Dinitrd_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() self.vm.add_args('-kernel', kernel_path, @@ -76,7 +78,8 @@ class IntegratorMachine(Test): tuxlogo_url =3D ('https://github.com/torvalds/linux/raw/v2.6.12/' 'drivers/video/logo/logo_linux_vga16.ppm') tuxlogo_hash =3D '3991c2ddbd1ddaecda7601f8aafbcf5b02dc86af' - tuxlogo_path =3D self.fetch_asset(tuxlogo_url, asset_hash=3Dtuxlog= o_hash) + tuxlogo_path =3D self.fetch_asset(tuxlogo_url, asset_hash=3Dtuxlog= o_hash, + cancel_on_missing=3DTrue) =20 self.boot_integratorcp() framebuffer_ready =3D 'Console: switching to colour frame buffer d= evice' diff --git a/tests/acceptance/machine_arm_n8x0.py b/tests/acceptance/machin= e_arm_n8x0.py index e5741f2d8d..eed54a93e9 100644 --- a/tests/acceptance/machine_arm_n8x0.py +++ b/tests/acceptance/machine_arm_n8x0.py @@ -24,7 +24,8 @@ class N8x0Machine(Test): 'meego-arm-n8x0-1.0.80.20100712.1431-' 'vmlinuz-2.6.35~rc4-129.1-n8x0') kernel_hash =3D 'e9d5ab8d7548923a0061b6fbf601465e479ed269' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console(console_index=3D1) self.vm.add_args('-kernel', kernel_path, diff --git a/tests/acceptance/machine_avr6.py b/tests/acceptance/machine_av= r6.py index 6baf4e9c7f..e1388eb665 100644 --- a/tests/acceptance/machine_avr6.py +++ b/tests/acceptance/machine_avr6.py @@ -37,7 +37,8 @@ class AVR6Machine(Test): '/raw/36c3e67b8755dcf/free-rtos/Demo' '/AVR_ATMega2560_GCC/demo.elf') rom_hash =3D '7eb521f511ca8f2622e0a3c5e8dd686efbb911d4' - rom_path =3D self.fetch_asset(rom_url, asset_hash=3Drom_hash) + rom_path =3D self.fetch_asset(rom_url, asset_hash=3Drom_hash, + cancel_on_missing=3DTrue) =20 self.vm.add_args('-bios', rom_path) self.vm.add_args('-nographic') diff --git a/tests/acceptance/machine_m68k_nextcube.py b/tests/acceptance/m= achine_m68k_nextcube.py index 32cf571f94..f0ff7143fe 100644 --- a/tests/acceptance/machine_m68k_nextcube.py +++ b/tests/acceptance/machine_m68k_nextcube.py @@ -55,7 +55,8 @@ class NextCubeMachine(Test): rom_url =3D ('http://www.nextcomputers.org/NeXTfiles/Software/ROM_= Files/' '68040_Non-Turbo_Chipset/Rev_2.5_v66.BIN') rom_hash =3D 'b3534796abae238a0111299fc406a9349f7fee24' - rom_path =3D self.fetch_asset(rom_url, asset_hash=3Drom_hash) + rom_path =3D self.fetch_asset(rom_url, asset_hash=3Drom_hash, + cancel_on_missing=3DTrue) =20 self.vm.add_args('-bios', rom_path) self.vm.launch() diff --git a/tests/acceptance/machine_mips_malta.py b/tests/acceptance/mach= ine_mips_malta.py index 7c9a4ee4d2..347c4f8198 100644 --- a/tests/acceptance/machine_mips_malta.py +++ b/tests/acceptance/machine_mips_malta.py @@ -49,14 +49,16 @@ class MaltaMachineFramebuffer(Test): 'a5966ca4b5/mips/malta/mips64el/' 'vmlinux-4.7.0-rc1.I6400.gz') kernel_hash =3D '096f50c377ec5072e6a366943324622c312045f6' - kernel_path_gz =3D self.fetch_asset(kernel_url, asset_hash=3Dkerne= l_hash) + kernel_path_gz =3D self.fetch_asset(kernel_url, asset_hash=3Dkerne= l_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.workdir + "vmlinux" archive.gzip_uncompress(kernel_path_gz, kernel_path) =20 tuxlogo_url =3D ('https://github.com/torvalds/linux/raw/v2.6.12/' 'drivers/video/logo/logo_linux_vga16.ppm') tuxlogo_hash =3D '3991c2ddbd1ddaecda7601f8aafbcf5b02dc86af' - tuxlogo_path =3D self.fetch_asset(tuxlogo_url, asset_hash=3Dtuxlog= o_hash) + tuxlogo_path =3D self.fetch_asset(tuxlogo_url, asset_hash=3Dtuxlog= o_hash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE + diff --git a/tests/acceptance/machine_rx_gdbsim.py b/tests/acceptance/machi= ne_rx_gdbsim.py index 0c72506028..f876a3ec89 100644 --- a/tests/acceptance/machine_rx_gdbsim.py +++ b/tests/acceptance/machine_rx_gdbsim.py @@ -32,7 +32,8 @@ class RxGdbSimMachine(Test): """ uboot_url =3D ('https://acc.dl.osdn.jp/users/23/23888/u-boot.bin.g= z') uboot_hash =3D '9b78dbd43b40b2526848c0b1ce9de02c24f4dcdb' - uboot_path =3D self.fetch_asset(uboot_url, asset_hash=3Duboot_hash) + uboot_path =3D self.fetch_asset(uboot_url, asset_hash=3Duboot_hash, + cancel_on_missing=3DTrue) uboot_path =3D archive.uncompress(uboot_path, self.workdir) =20 self.vm.set_console() @@ -56,10 +57,12 @@ class RxGdbSimMachine(Test): """ dtb_url =3D ('https://acc.dl.osdn.jp/users/23/23887/rx-virt.dtb') dtb_hash =3D '7b4e4e2c71905da44e86ce47adee2210b026ac18' - dtb_path =3D self.fetch_asset(dtb_url, asset_hash=3Ddtb_hash) + dtb_path =3D self.fetch_asset(dtb_url, asset_hash=3Ddtb_hash, + cancel_on_missing=3DTrue) kernel_url =3D ('http://acc.dl.osdn.jp/users/23/23845/zImage') kernel_hash =3D '39a81067f8d72faad90866ddfefa19165d68fc99' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'earlyco= n' diff --git a/tests/acceptance/machine_sparc64_sun4u.py b/tests/acceptance/m= achine_sparc64_sun4u.py index 458165500e..26e8cfd545 100644 --- a/tests/acceptance/machine_sparc64_sun4u.py +++ b/tests/acceptance/machine_sparc64_sun4u.py @@ -27,7 +27,8 @@ class Sun4uMachine(LinuxKernelTest): tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day23.tar.xz') tar_hash =3D '142db83cd974ffadc4f75c8a5cad5bcc5722c240' - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) archive.extract(file_path, self.workdir) self.vm.set_console() self.vm.add_args('-kernel', self.workdir + '/day23/vmlinux', diff --git a/tests/acceptance/machine_sparc_leon3.py b/tests/acceptance/mac= hine_sparc_leon3.py index 2405cd7a0d..c6228d95a7 100644 --- a/tests/acceptance/machine_sparc_leon3.py +++ b/tests/acceptance/machine_sparc_leon3.py @@ -26,7 +26,8 @@ class Leon3Machine(Test): kernel_url =3D ('http://www.helenos.org/releases/' 'HelenOS-0.6.0-sparc32-leon3.bin') kernel_hash =3D 'a88c9cfdb8430c66650e5290a08765f9bf049a30' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() self.vm.add_args('-kernel', kernel_path) diff --git a/tests/acceptance/ppc_prep_40p.py b/tests/acceptance/ppc_prep_4= 0p.py index 1515561249..edb7765cb6 100644 --- a/tests/acceptance/ppc_prep_40p.py +++ b/tests/acceptance/ppc_prep_40p.py @@ -34,11 +34,13 @@ class IbmPrep40pMachine(Test): 'ftp.software.ibm.com/rs6000/firmware/' '7020-40p/P12H0456.IMG') bios_hash =3D '1775face4e6dc27f3a6ed955ef6eb331bf817f03' - bios_path =3D self.fetch_asset(bios_url, asset_hash=3Dbios_hash) + bios_path =3D self.fetch_asset(bios_url, asset_hash=3Dbios_hash, + cancel_on_missing=3DTrue) drive_url =3D ('https://cdn.netbsd.org/pub/NetBSD/NetBSD-archive/' 'NetBSD-4.0/prep/installation/floppy/generic_com0.fs') drive_hash =3D 'dbcfc09912e71bd5f0d82c7c1ee43082fb596ceb' - drive_path =3D self.fetch_asset(drive_url, asset_hash=3Ddrive_hash) + drive_path =3D self.fetch_asset(drive_url, asset_hash=3Ddrive_hash, + cancel_on_missing=3DTrue) =20 self.vm.set_console() self.vm.add_args('-bios', bios_path, @@ -71,7 +73,7 @@ class IbmPrep40pMachine(Test): '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') + algorithm=3D'md5', cancel_on_missing= =3DTrue) self.vm.set_console() self.vm.add_args('-cdrom', drive_path, '-boot', 'd') diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_ke= rnel.py index 80a460814f..e0c9c19c92 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -83,7 +83,8 @@ class ReplayKernel(LinuxKernelTest): '/linux/releases/29/Everything/x86_64/os/images/pxeb= oot' '/vmlinuz') kernel_hash =3D '23bebd2680757891cf7adedb033532163a792495' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3DttyS0' console_pattern =3D 'VFS: Cannot open root device' @@ -100,7 +101,8 @@ class ReplayKernel(LinuxKernelTest): '/linux/releases/29/Everything/aarch64/os/images/pxe= boot' '/vmlinuz') kernel_hash =3D '8c73e469fc6ea06a58dc83a628fc695b693b8493' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE + 'console=3DttyAMA0') @@ -118,7 +120,8 @@ class ReplayKernel(LinuxKernelTest): '/linux/releases/29/Everything/armhfp/os/images/pxeb= oot' '/vmlinuz') kernel_hash =3D 'e9826d741b4fb04cadba8d4824d1ed3b7fb8b4d4' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE + 'console=3DttyAMA0') @@ -136,6 +139,7 @@ class ReplayKernel(LinuxKernelTest): 'linux-image-dev-sunxi_20.08_armhf.deb') deb_hash =3D 'ae553a9f7d43b18abfa8f3e64bf2d31878b9be89' deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinuz-5.8.0-sunxi') dtb_path =3D '/usr/lib/linux-image-dev-sunxi/sun4i-a10-cubieboard.= dtb' @@ -144,7 +148,8 @@ class ReplayKernel(LinuxKernelTest): '2eb0a73b5d5a28df3170c546ddaaa9757e1e0848/rootfs/' 'arm/rootfs-armv5.cpio.gz') initrd_hash =3D '2b50f1873e113523967806f4da2afe385462ff9b' - initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash) + initrd_path_gz =3D self.fetch_asset(initrd_url, asset_hash=3Dinitr= d_hash, + cancel_on_missing=3DTrue) initrd_path =3D os.path.join(self.workdir, 'rootfs.cpio') archive.gzip_uncompress(initrd_path_gz, initrd_path) =20 @@ -167,7 +172,8 @@ class ReplayKernel(LinuxKernelTest): '/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) + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + cancel_on_missing=3DTrue) =20 kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dhvc0' # icount is not good enough for PPC64 for complete boot yet @@ -183,7 +189,8 @@ class ReplayKernel(LinuxKernelTest): '/20191021T083923Z/pool-m68k/main' '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.ude= b') deb_hash =3D '044954bb9be4160a3ce81f8bc1b5e856b75cccd1' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash, + cancel_on_missing=3DTrue) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinux-5.3.0-1-m68k') =20 @@ -213,7 +220,8 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D '32b7677ce8b6f1471fb0059865f451169934245b' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day16.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) dtb_path =3D self.workdir + '/day16/vexpress-v2p-ca9.dtb' self.do_test_advcal_2018(file_path, 'winter.zImage', args=3D('-dtb', dtb_path)) @@ -226,7 +234,8 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D 'ac688fd00561a2b6ce1359f9ff6aa2b98c9a570c' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day07.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) self.do_test_advcal_2018(file_path, 'sanity-clause.elf') =20 def test_microblaze_s3adsp1800(self): @@ -237,7 +246,8 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D '08bf3e3bfb6b6c7ce1e54ab65d54e189f2caf13f' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day17.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) self.do_test_advcal_2018(file_path, 'ballerina.bin') =20 def test_ppc64_e500(self): @@ -249,7 +259,8 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D '6951d86d644b302898da2fd701739c9406527fe1' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day19.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) self.do_test_advcal_2018(file_path, 'uImage', ('-cpu', 'e5500')) =20 def test_ppc_g3beige(self): @@ -260,7 +271,8 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D 'e0b872a5eb8fdc5bed19bd43ffe863900ebcedfc' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day15.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) self.do_test_advcal_2018(file_path, 'invaders.elf', args=3D('-M', 'graphics=3Doff')) =20 @@ -272,7 +284,8 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D 'e0b872a5eb8fdc5bed19bd43ffe863900ebcedfc' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day15.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) self.do_test_advcal_2018(file_path, 'invaders.elf', args=3D('-M', 'graphics=3Doff')) =20 @@ -284,7 +297,8 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D 'b18550d5d61c7615d989a06edace051017726a9f' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day11.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) self.do_test_advcal_2018(file_path, 'zImage.elf') =20 def test_xtensa_lx60(self): @@ -296,6 +310,7 @@ class ReplayKernel(LinuxKernelTest): tar_hash =3D '49e88d9933742f0164b60839886c9739cb7a0d34' tar_url =3D ('https://www.qemu-advent-calendar.org' '/2018/download/day02.tar.xz') - file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash, + cancel_on_missing=3DTrue) self.do_test_advcal_2018(file_path, 'santas-sleigh-ride.elf', args=3D('-cpu', 'dc233c')) --=20 2.25.4