From nobody Sat May 4 16:44:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1572391541; cv=none; d=zoho.com; s=zohoarc; b=gNdbW/+r/uv2QDVOFakzBWMQ2zkErWS5yALPdCeOCubutS8L9ft6LBXLXOThnAwRTToaXB6qE+1wMSnChGRvYM487gRicyJrR2/i/ret+CRNcHSw9WJOOEsQflVR9pQ071INY7WoblOqGCbetL26fm+hi0DNJUohjVgF7vRXSoA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572391541; 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=FwH9hP9h5JMyZy5bHZ9zCUIlNUkMalcmhJ8CtfXMGyE=; b=BXLJk76BFQH9Gn7/5tmmBWCdBKLb74Kq9tyHrezLQK8iSnBnAdrtHSwS+vehrcrjOGw3+AFsx8ApeT904V9IsgxlaOd0tjA2ApNe/IYdTEVYfVXjJrwnjKZcUmZuHdbR6H2PzD1dEt/AazZncBsALbtFoWsYgITIRtc9R9vtklU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1572391541136382.91097518439744; Tue, 29 Oct 2019 16:25:41 -0700 (PDT) Received: from localhost ([::1]:35112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iParq-0007Hg-Ep for importer@patchew.org; Tue, 29 Oct 2019 19:25:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60082) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPaq1-0005ay-H5 for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:23:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPapw-0000bO-MM for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:23:42 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:28383 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPaps-0000Rw-Sk for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:23:38 -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-156-5KrxV8thOM-OpFv-Ve8vUg-1; Tue, 29 Oct 2019 19:23:31 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C3355800C80; Tue, 29 Oct 2019 23:23:29 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-123-183.rdu2.redhat.com [10.10.123.183]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 898795D9C3; Tue, 29 Oct 2019 23:23:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572391414; 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=FwH9hP9h5JMyZy5bHZ9zCUIlNUkMalcmhJ8CtfXMGyE=; b=HVpMG5LqJnsETxe73aadl4MKLZdo0jvBGagb4zRRSfNP7kt0wyNlcjRq7ccLN191bPbMB8 gc40pyJrZ92UdgVigKym3p5gPnMPkFcn/0o14fnfx+QAU6dgZCgSbtBX69w50UX//Jui8C IrUU6ngSYpJMUC32/VY1i6/3YGaf8ZY= From: Cleber Rosa To: qemu-devel@nongnu.org Subject: [PATCH 1/2] Acceptance test: cancel test if m68k kernel packages goes missing Date: Tue, 29 Oct 2019 19:23:19 -0400 Message-Id: <20191029232320.12419-2-crosa@redhat.com> In-Reply-To: <20191029232320.12419-1-crosa@redhat.com> References: <20191028181643.5143-12-laurent@vivier.eu> <20191029232320.12419-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: 5KrxV8thOM-OpFv-Ve8vUg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.61 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 , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Laurent Vivier , Willian Rampazzo , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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" The Linux kernel that is extracted from a Debian package for the q800 machine test is hosted on a "pool" location. AFAICT, it gets updated without too much ceremony, and I don't see any archival location that is stable enough. For now, to avoid test errors, let's cancel the test if fetching the package fails. Signed-off-by: Cleber Rosa Reviewed-by: Alex Benn=C3=A9e --- tests/acceptance/boot_linux_console.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index df27813c78..c439fd90fc 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -387,7 +387,10 @@ class BootLinuxConsole(Test): deb_url =3D ('http://ftp.ports.debian.org/debian-ports/pool-m68k/m= ain' '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.ude= b') deb_hash =3D '0797e05129595f22f3c0142db5e199769a723bf9' - deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + try: + deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) + except OSError as exp: + self.cancel(exp) kernel_path =3D self.extract_from_deb(deb_path, '/boot/vmlinux-5.2.0-2-m68k') =20 --=20 2.21.0 From nobody Sat May 4 16:44:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1572391541; cv=none; d=zoho.com; s=zohoarc; b=WjXj9S90msJkv3/nShxeTFywxLrloCtfmVnfyi0jUJsmZU91BUwiOoKtQbvwbQ7Xpb8YIS3b/WWsc7RelzcwQotCOpX4DicDQF9UCe3TuBpIhk48M8t+9/FrnCv+j6iK91xGqKriE/HSSqAnhCD8Zze5Z/9+G4sHpxnFCS+M1QE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572391541; 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=2mj7uSch+BUDoZBclmj8iSeHg/OI80GlSoLCJ13li/U=; b=HG8xJxAFLpnsorFYPH0fSWsOkVVms5W+Kf6Ozz8x+H07N5zVZUrOw6Kk0d1e9Jcplwd8fU8Es4i4jV9904dGlAaTpk4Bf9NUTl2TOn5lsVurd4jSK64xk55TZIA3LXOJK/sc47E/qmkeYQO0LbIK4jYImIC8aCc73MRVZ1KQsgU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1572391541832610.2273786806608; Tue, 29 Oct 2019 16:25:41 -0700 (PDT) Received: from localhost ([::1]:35108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPars-0007FS-LL for importer@patchew.org; Tue, 29 Oct 2019 19:25:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60146) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPaq1-0005bt-Np for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:23:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPaq0-0000iC-LS for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:23:45 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:43586 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPapw-0000TQ-KD for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:23:42 -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-260-51HFJwBrP1utzDEXCZPM9Q-1; Tue, 29 Oct 2019 19:23:32 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3FCFB180496F; Tue, 29 Oct 2019 23:23:31 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-123-183.rdu2.redhat.com [10.10.123.183]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 004FA5D9C3; Tue, 29 Oct 2019 23:23:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572391415; 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=2mj7uSch+BUDoZBclmj8iSeHg/OI80GlSoLCJ13li/U=; b=RjVFXopPCvoTJK1nbYxYedt2IhPKEi+a8IfYV0PC8NrdakOG8YlN/YkcuovnQB7FeV10D4 Lw8nvDuylrVfWZ/PRy5UJqeq/JXQyzpCwqiox9b72mQZswac1q/3pSjDWD3d4lr0oyQXt6 Sj7QUmStunADbcWIo7adDtEe5WgMJ04= From: Cleber Rosa To: qemu-devel@nongnu.org Subject: [PATCH 2/2] Acceptance test: update kernel for m68k/q800 test Date: Tue, 29 Oct 2019 19:23:20 -0400 Message-Id: <20191029232320.12419-3-crosa@redhat.com> In-Reply-To: <20191029232320.12419-1-crosa@redhat.com> References: <20191028181643.5143-12-laurent@vivier.eu> <20191029232320.12419-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: 51HFJwBrP1utzDEXCZPM9Q-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 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 , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Laurent Vivier , Willian Rampazzo , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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" There's an updated version of the Debian package containing the m68k Kernel. Now, if the package gets updated again, the test won't fail, but will be canceled. A more permanent solution is certainly needed. Signed-off-by: Cleber Rosa Reviewed-by: Alex Benn=C3=A9e Tested-by: Alex Benn=C3=A9e --- tests/acceptance/boot_linux_console.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index c439fd90fc..8f676d8e92 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -385,14 +385,14 @@ class BootLinuxConsole(Test): :avocado: tags=3Dmachine:q800 """ deb_url =3D ('http://ftp.ports.debian.org/debian-ports/pool-m68k/m= ain' - '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.ude= b') - deb_hash =3D '0797e05129595f22f3c0142db5e199769a723bf9' + '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.ude= b') + deb_hash =3D '044954bb9be4160a3ce81f8bc1b5e856b75cccd1' try: deb_path =3D self.fetch_asset(deb_url, asset_hash=3Ddeb_hash) except OSError as exp: self.cancel(exp) kernel_path =3D self.extract_from_deb(deb_path, - '/boot/vmlinux-5.2.0-2-m68k') + '/boot/vmlinux-5.3.0-1-m68k') =20 self.vm.set_machine('q800') self.vm.set_console() --=20 2.21.0