[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/14] tests/avocado: mips: fallback to HTTP given certificate exp
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 12/14] tests/avocado: mips: fallback to HTTP given certificate expiration |
Date: |
Mon, 29 Jul 2024 17:27:12 +0200 |
From: Cleber Rosa <crosa@redhat.com>
The SSL certificate installed at mipsdistros.mips.com has expired:
0 s:CN = mipsdistros.mips.com
i:C = US, O = Amazon, OU = Server CA 1B, CN = Amazon
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Dec 23 00:00:00 2019 GMT; NotAfter: Jan 23 12:00:00 2021 GMT
Because this project has no control over that certificate and host,
this falls back to plain HTTP instead. The integrity of the
downloaded files can be guaranteed by the existing hashes for those
files (which are not modified here).
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240726134438.14720-2-crosa@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
tests/avocado/boot_linux_console.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/avocado/boot_linux_console.py
b/tests/avocado/boot_linux_console.py
index c35fc5e9ba..450d67be6a 100644
--- a/tests/avocado/boot_linux_console.py
+++ b/tests/avocado/boot_linux_console.py
@@ -299,7 +299,7 @@ def test_mips_malta32el_nanomips_4k(self):
:avocado: tags=endian:little
:avocado: tags=cpu:I7200
"""
- kernel_url = ('https://mipsdistros.mips.com/LinuxDistro/nanomips/'
+ kernel_url = ('http://mipsdistros.mips.com/LinuxDistro/nanomips/'
'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/'
'generic_nano32r6el_page4k.xz')
kernel_hash = '477456aafd2a0f1ddc9482727f20fe9575565dd6'
@@ -312,7 +312,7 @@ def test_mips_malta32el_nanomips_16k_up(self):
:avocado: tags=endian:little
:avocado: tags=cpu:I7200
"""
- kernel_url = ('https://mipsdistros.mips.com/LinuxDistro/nanomips/'
+ kernel_url = ('http://mipsdistros.mips.com/LinuxDistro/nanomips/'
'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/'
'generic_nano32r6el_page16k_up.xz')
kernel_hash = 'e882868f944c71c816e832e2303b7874d044a7bc'
@@ -325,7 +325,7 @@ def test_mips_malta32el_nanomips_64k_dbg(self):
:avocado: tags=endian:little
:avocado: tags=cpu:I7200
"""
- kernel_url = ('https://mipsdistros.mips.com/LinuxDistro/nanomips/'
+ kernel_url = ('http://mipsdistros.mips.com/LinuxDistro/nanomips/'
'kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/'
'generic_nano32r6el_page64k_dbg.xz')
kernel_hash = '18d1c68f2e23429e266ca39ba5349ccd0aeb7180'
--
2.45.2
- [PULL 01/14] docs: add test for firmware.json QAPI, (continued)
- [PULL 01/14] docs: add test for firmware.json QAPI, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 03/14] python: Install pycotap in our venv if necessary, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 04/14] tests/functional: Add base classes for the upcoming pytest-based tests, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 05/14] tests/Makefile.include: Increase the level of indentation in the help text, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 06/14] tests/functional: Prepare the meson build system for the functional tests, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 08/14] tests/functional: Convert avocado tests that just need a small adjustment, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 07/14] tests/functional: Convert simple avocado tests into standalone python tests, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 09/14] tests/functional: Convert the x86_cpu_model_versions test, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 10/14] tests/functional: Convert the riscv_opensbi avocado test into a standalone test, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 11/14] gitlab-ci: Add "check-functional" to the build tests, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 12/14] tests/avocado: mips: fallback to HTTP given certificate expiration,
Philippe Mathieu-Daudé <=
- [PULL 13/14] tests/avocado: mips: add hint for fetchasset plugin, Philippe Mathieu-Daudé, 2024/07/29
- [PULL 14/14] tests/avocado: test_arm_emcraft_sf2: handle RW requirements for asset, Philippe Mathieu-Daudé, 2024/07/29
- Re: [PULL 00/14] Docs / testing patches for 2024-07-29, Daniel P . Berrangé, 2024/07/29