* [PATCH] tests/avocado/intel_iommu: Add asset hashes to avoid warnings
@ 2023-11-14 14:35 Thomas Huth
2023-11-14 20:42 ` Eric Auger
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Huth @ 2023-11-14 14:35 UTC (permalink / raw)
To: Alex Bennée, Philippe Mathieu-Daudé, qemu-devel
Cc: Wainer dos Santos Moschetta, Beraldo Leal, Cleber Rosa,
Eric Auger
The intel_iommu test is currently succeeding with annoying warnings.
Add the proper asset hashes to avoid those.
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] tests/avocado/intel_iommu: Add asset hashes to avoid warnings
2023-11-14 14:35 [PATCH] tests/avocado/intel_iommu: Add asset hashes to avoid warnings Thomas Huth
@ 2023-11-14 20:42 ` Eric Auger
2023-11-15 6:20 ` Thomas Huth
0 siblings, 1 reply; 4+ messages in thread
From: Eric Auger @ 2023-11-14 20:42 UTC (permalink / raw)
To: Thomas Huth, Alex Bennée, Philippe Mathieu-Daudé,
qemu-devel
Cc: Wainer dos Santos Moschetta, Beraldo Leal, Cleber Rosa
Hi Thomas,
On 11/14/23 15:35, Thomas Huth wrote:
> The intel_iommu test is currently succeeding with annoying warnings.
nit: you may have precised the nature of the warning or quotes
> Add the proper asset hashes to avoid those.
>
> 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:
Besides,
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Eric
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] tests/avocado/intel_iommu: Add asset hashes to avoid warnings
2023-11-14 20:42 ` Eric Auger
@ 2023-11-15 6:20 ` Thomas Huth
2023-11-15 8:31 ` Eric Auger
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Huth @ 2023-11-15 6:20 UTC (permalink / raw)
To: eric.auger, Alex Bennée, Philippe Mathieu-Daudé,
qemu-devel
Cc: Wainer dos Santos Moschetta, Beraldo Leal, Cleber Rosa
On 14/11/2023 21.42, Eric Auger wrote:
> Hi Thomas,
>
> On 11/14/23 15:35, Thomas Huth wrote:
>> The intel_iommu test is currently succeeding with annoying warnings.
> nit: you may have precised the nature of the warning or quotes
The annoying warnings look like this (in the summary):
(031/174) tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu: WARN:
Test passed but there were warnings during execution. Check the log for
details. (67.87 s)
(032/174) tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu_strict:
WARN: Test passed but there were warnings during execution. Check the log
for details. (55.83 s)
(033/174)
tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu_strict_cm: WARN:
Test passed but there were warnings during execution. Check the log for
details. (56.01 s)
(034/174) tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu_pt:
WARN: Test passed but there were warnings during execution. Check the log
for details. (54.06 s)
... not too helpful to quote them in the commit log, I guess...
>> Add the proper asset hashes to avoid those.
>>
>> 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:
> Besides,
> Reviewed-by: Eric Auger <eric.auger@redhat.com>
Thanks!
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] tests/avocado/intel_iommu: Add asset hashes to avoid warnings
2023-11-15 6:20 ` Thomas Huth
@ 2023-11-15 8:31 ` Eric Auger
0 siblings, 0 replies; 4+ messages in thread
From: Eric Auger @ 2023-11-15 8:31 UTC (permalink / raw)
To: Thomas Huth, Alex Bennée, Philippe Mathieu-Daudé,
qemu-devel
Cc: Wainer dos Santos Moschetta, Beraldo Leal, Cleber Rosa
Hi Thomas,
On 11/15/23 07:20, Thomas Huth wrote:
> On 14/11/2023 21.42, Eric Auger wrote:
>> Hi Thomas,
>>
>> On 11/14/23 15:35, Thomas Huth wrote:
>>> The intel_iommu test is currently succeeding with annoying warnings.
>> nit: you may have precised the nature of the warning or quotes
>
> The annoying warnings look like this (in the summary):
>
> (031/174) tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu:
> WARN: Test passed but there were warnings during execution. Check the
> log for details. (67.87 s)
> (032/174)
> tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu_strict: WARN:
> Test passed but there were warnings during execution. Check the log
> for details. (55.83 s)
> (033/174)
> tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu_strict_cm:
> WARN: Test passed but there were warnings during execution. Check the
> log for details. (56.01 s)
> (034/174)
> tests/avocado/intel_iommu.py:IntelIOMMU.test_intel_iommu_pt: WARN:
> Test passed but there were warnings during execution. Check the log
> for details. (54.06 s)
>
> ... not too helpful to quote them in the commit log, I guess...
Ah OK. Not really helpful indeed ;-)
Eric
>
>>> Add the proper asset hashes to avoid those.
>>>
>>> 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:
>> Besides,
>> Reviewed-by: Eric Auger <eric.auger@redhat.com>
>
> Thanks!
>
> Thomas
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-15 8:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-14 14:35 [PATCH] tests/avocado/intel_iommu: Add asset hashes to avoid warnings Thomas Huth
2023-11-14 20:42 ` Eric Auger
2023-11-15 6:20 ` Thomas Huth
2023-11-15 8:31 ` Eric Auger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).