[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/10] tests/avocado/intel_iommu: Add asset hashes to avoid warnin
|
From: |
Thomas Huth |
|
Subject: |
[PULL 04/10] tests/avocado/intel_iommu: Add asset hashes to avoid warnings |
|
Date: |
Thu, 16 Nov 2023 19:05:28 +0100 |
The intel_iommu test is currently succeeding with annoying warnings.
Add the proper asset hashes to avoid those.
Message-ID: <20231114143531.291820-1-thuth@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/avocado/intel_iommu.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/avocado/intel_iommu.py b/tests/avocado/intel_iommu.py
index 474d62f6bf..77635ab56c 100644
--- a/tests/avocado/intel_iommu.py
+++ b/tests/avocado/intel_iommu.py
@@ -54,9 +54,11 @@ def common_vm_setup(self, custom_kernel=None):
return
kernel_url = self.distro.pxeboot_url + 'vmlinuz'
+ kernel_hash = '5b6f6876e1b5bda314f93893271da0d5777b1f3c'
initrd_url = self.distro.pxeboot_url + 'initrd.img'
- self.kernel_path = self.fetch_asset(kernel_url)
- self.initrd_path = self.fetch_asset(initrd_url)
+ initrd_hash = 'dd0340a1b39bd28f88532babd4581c67649ec5b1'
+ self.kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
+ self.initrd_path = self.fetch_asset(initrd_url, asset_hash=initrd_hash)
def run_and_check(self):
if self.kernel_path:
--
2.41.0
- [PULL 00/10] Avocado test fixes, Thomas Huth, 2023/11/16
- [PULL 01/10] tests/avocado: Replace assertEquals() for Python 3.12 compatibility, Thomas Huth, 2023/11/16
- [PULL 05/10] tests/avocado/multiprocess: Add asset hashes to silence warnings, Thomas Huth, 2023/11/16
- [PULL 03/10] tests/avocado/virtio-gpu: Fix test_vhost_user_vga_virgl for edid support, Thomas Huth, 2023/11/16
- [PULL 02/10] tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility, Thomas Huth, 2023/11/16
- [PULL 07/10] tests/avocado/replay_kernel: Mark the test_x86_64_pc as flaky, Thomas Huth, 2023/11/16
- [PULL 06/10] tests/avocado: Make fetch_asset() unconditionally require a crypto hash, Thomas Huth, 2023/11/16
- [PULL 09/10] tests/avocado: reverse_debugging drain console to prevent hang, Thomas Huth, 2023/11/16
- [PULL 04/10] tests/avocado/intel_iommu: Add asset hashes to avoid warnings,
Thomas Huth <=
- [PULL 08/10] tests/avocado/mem-addr-space-check: Replace assertEquals() for Python 3.12, Thomas Huth, 2023/11/16
- [PULL 10/10] tests/avocado: Enable reverse_debugging.py tests in gitlab CI, Thomas Huth, 2023/11/16
- Re: [PULL 00/10] Avocado test fixes, Stefan Hajnoczi, 2023/11/20