From nobody Mon Feb 9 19:07:45 2026 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1632510784369297.0666909076946; Fri, 24 Sep 2021 12:13:04 -0700 (PDT) Received: from localhost ([::1]:53118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTqd5-0001WX-Db for importer@patchew.org; Fri, 24 Sep 2021 15:13:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTqOI-0003hR-GV for qemu-devel@nongnu.org; Fri, 24 Sep 2021 14:57:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTqOF-0005JO-Ni for qemu-devel@nongnu.org; Fri, 24 Sep 2021 14:57:46 -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-278-tyfkOY4ZPvuhajfWUbd2lg-1; Fri, 24 Sep 2021 14:57:39 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 920961B18BDC; Fri, 24 Sep 2021 18:57:37 +0000 (UTC) Received: from p50.net (unknown [10.22.33.186]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 481DE5C1A3; Fri, 24 Sep 2021 18:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632509863; 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=FSHIXwui3Agh7qaTovqXuJIjY3BQ1RUVcy/TUpfVXoM=; b=MEMk7koeEIHryyjgxwN1OuTjiSig2TSapXkZ1YFf1S6gGfpW5/Kn8c3ctLzQ26flClLHrV ZDunKVp9B6+tlSMUfjT9bbTMzkGwFF3V0WtXUm6Z9QwqYnNzERTyv3EIQ9hNiislV47ePe 18urdtQyA7gQG2ANXi/+vC29m6F3osM= X-MC-Unique: tyfkOY4ZPvuhajfWUbd2lg-1 From: Cleber Rosa To: qemu-devel@nongnu.org Subject: [PATCH 07/16] Acceptance Tests: workaround expired mipsdistros.mips.com HTTPS cert Date: Fri, 24 Sep 2021 14:54:57 -0400 Message-Id: <20210924185506.2542588-8-crosa@redhat.com> In-Reply-To: <20210924185506.2542588-1-crosa@redhat.com> References: <20210924185506.2542588-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=crosa@redhat.com X-Mimecast-Spam-Score: 0 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=170.10.133.124; envelope-from=crosa@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) DKIMWL_WL_HIGH=-1.473, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-ppc@nongnu.org, Thomas Huth , Beraldo Leal , Yoshinori Sato , Pavel Dovgalyuk , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Greg Kurz , Wainer dos Santos Moschetta , Auger Eric , Kamil Rytarowski , Paolo Bonzini , Reinoud Zandijk , David Gibson , Willian Rampazzo , Cleber Rosa , Alexandre Iooss , Mahmoud Mandour , Ryo ONODERA , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eduardo Habkost Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1632510784927100001 Content-Type: text/plain; charset="utf-8" The certficiate at https://mipsdistros.mips.com/ is currently expired (since Jan 23, 2021). Instead of failing to obtaining the files, let's downgrade to HTTP instead, given that the integrity of the files are already performed locally, after the download, using the recorded hash. Signed-off-by: Cleber Rosa --- tests/acceptance/boot_linux_console.py | 6 +++--- tests/acceptance/replay_kernel.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index 80e3a2f7a6..bc0caa1099 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -278,7 +278,7 @@ def test_mips_malta32el_nanomips_4k(self): :avocado: tags=3Dendian:little :avocado: tags=3Dcpu:I7200 """ - kernel_url =3D ('https://mipsdistros.mips.com/LinuxDistro/nanomips= /' + kernel_url =3D ('http://mipsdistros.mips.com/LinuxDistro/nanomips/' 'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/' 'generic_nano32r6el_page4k.xz') kernel_hash =3D '477456aafd2a0f1ddc9482727f20fe9575565dd6' @@ -291,7 +291,7 @@ def test_mips_malta32el_nanomips_16k_up(self): :avocado: tags=3Dendian:little :avocado: tags=3Dcpu:I7200 """ - kernel_url =3D ('https://mipsdistros.mips.com/LinuxDistro/nanomips= /' + kernel_url =3D ('http://mipsdistros.mips.com/LinuxDistro/nanomips/' 'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/' 'generic_nano32r6el_page16k_up.xz') kernel_hash =3D 'e882868f944c71c816e832e2303b7874d044a7bc' @@ -304,7 +304,7 @@ def test_mips_malta32el_nanomips_64k_dbg(self): :avocado: tags=3Dendian:little :avocado: tags=3Dcpu:I7200 """ - kernel_url =3D ('https://mipsdistros.mips.com/LinuxDistro/nanomips= /' + kernel_url =3D ('http://mipsdistros.mips.com/LinuxDistro/nanomips/' 'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/' 'generic_nano32r6el_page64k_dbg.xz') kernel_hash =3D '18d1c68f2e23429e266ca39ba5349ccd0aeb7180' diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_ke= rnel.py index cfca71e65f..cac795ab4f 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -434,7 +434,7 @@ def test_mips_malta32el_nanomips_4k(self): :avocado: tags=3Dendian:little :avocado: tags=3Dcpu:I7200 """ - kernel_url =3D ('https://mipsdistros.mips.com/LinuxDistro/nanomips= /' + kernel_url =3D ('http://mipsdistros.mips.com/LinuxDistro/nanomips/' 'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/' 'generic_nano32r6el_page4k.xz') kernel_hash =3D '477456aafd2a0f1ddc9482727f20fe9575565dd6' @@ -448,7 +448,7 @@ def test_mips_malta32el_nanomips_16k_up(self): :avocado: tags=3Dendian:little :avocado: tags=3Dcpu:I7200 """ - kernel_url =3D ('https://mipsdistros.mips.com/LinuxDistro/nanomips= /' + kernel_url =3D ('http://mipsdistros.mips.com/LinuxDistro/nanomips/' 'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/' 'generic_nano32r6el_page16k_up.xz') kernel_hash =3D 'e882868f944c71c816e832e2303b7874d044a7bc' @@ -462,7 +462,7 @@ def test_mips_malta32el_nanomips_64k_dbg(self): :avocado: tags=3Dendian:little :avocado: tags=3Dcpu:I7200 """ - kernel_url =3D ('https://mipsdistros.mips.com/LinuxDistro/nanomips= /' + kernel_url =3D ('http://mipsdistros.mips.com/LinuxDistro/nanomips/' 'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/' 'generic_nano32r6el_page64k_dbg.xz') kernel_hash =3D '18d1c68f2e23429e266ca39ba5349ccd0aeb7180' --=20 2.31.1