qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tests/functional: Update the ppc64 pseries and pnv tests
@ 2025-02-26  6:54 Cédric Le Goater
  2025-02-26  7:01 ` Thomas Huth
  0 siblings, 1 reply; 7+ messages in thread
From: Cédric Le Goater @ 2025-02-26  6:54 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-ppc, Nicholas Piggin, Harsh Prateek Bora, Thomas Huth,
	Cédric Le Goater

The tests are using a now archived Fedora29 release. Switch to the
most recent Fedora41 release.

Signed-off-by: Cédric Le Goater <clg@redhat.com>
---
 tests/functional/test_ppc64_powernv.py | 6 +++---
 tests/functional/test_ppc64_pseries.py | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/functional/test_ppc64_powernv.py b/tests/functional/test_ppc64_powernv.py
index 685e2178ed78..a9da7905366e 100755
--- a/tests/functional/test_ppc64_powernv.py
+++ b/tests/functional/test_ppc64_powernv.py
@@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
     good_message = 'VFS: Cannot open root device'
 
     ASSET_KERNEL = Asset(
-        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
-         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
-        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
+        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
+         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
+        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')
 
     def do_test_linux_boot(self, command_line = KERNEL_COMMON_COMMAND_LINE):
         self.require_accelerator("tcg")
diff --git a/tests/functional/test_ppc64_pseries.py b/tests/functional/test_ppc64_pseries.py
index fdc404ed033d..92317cddead1 100755
--- a/tests/functional/test_ppc64_pseries.py
+++ b/tests/functional/test_ppc64_pseries.py
@@ -18,9 +18,9 @@ class pseriesMachine(QemuSystemTest):
     good_message = 'VFS: Cannot open root device'
 
     ASSET_KERNEL = Asset(
-        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
-         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
-        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
+        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
+         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
+        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')
 
     def do_test_ppc64_linux_boot(self, kernel_command_line = KERNEL_COMMON_COMMAND_LINE):
         kernel_path = self.ASSET_KERNEL.fetch()
-- 
2.48.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] tests/functional: Update the ppc64 pseries and pnv tests
  2025-02-26  6:54 [PATCH] tests/functional: Update the ppc64 pseries and pnv tests Cédric Le Goater
@ 2025-02-26  7:01 ` Thomas Huth
  2025-02-26  7:54   ` Cédric Le Goater
  2025-02-26  9:04   ` Daniel P. Berrangé
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Huth @ 2025-02-26  7:01 UTC (permalink / raw)
  To: Cédric Le Goater, qemu-devel
  Cc: qemu-ppc, Nicholas Piggin, Harsh Prateek Bora

On 26/02/2025 07.54, Cédric Le Goater wrote:
> The tests are using a now archived Fedora29 release. Switch to the
> most recent Fedora41 release.
> 
> Signed-off-by: Cédric Le Goater <clg@redhat.com>
> ---
>   tests/functional/test_ppc64_powernv.py | 6 +++---
>   tests/functional/test_ppc64_pseries.py | 6 +++---
>   2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/tests/functional/test_ppc64_powernv.py b/tests/functional/test_ppc64_powernv.py
> index 685e2178ed78..a9da7905366e 100755
> --- a/tests/functional/test_ppc64_powernv.py
> +++ b/tests/functional/test_ppc64_powernv.py
> @@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
>       good_message = 'VFS: Cannot open root device'
>   
>       ASSET_KERNEL = Asset(
> -        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
> -         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
> -        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
> +        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
> +         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
> +        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')

I think we should rather avoid the very latest and greatest Fedora URLs 
here... they will be invalid in a couple of months after Fedora 43 has been 
released. And if we keep switching the test assets all the time, this will 
make it more difficult to bisect regressions in the future.

  Thomas



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tests/functional: Update the ppc64 pseries and pnv tests
  2025-02-26  7:01 ` Thomas Huth
@ 2025-02-26  7:54   ` Cédric Le Goater
  2025-02-26  8:11     ` Thomas Huth
  2025-02-26  9:04   ` Daniel P. Berrangé
  1 sibling, 1 reply; 7+ messages in thread
From: Cédric Le Goater @ 2025-02-26  7:54 UTC (permalink / raw)
  To: Thomas Huth, qemu-devel; +Cc: qemu-ppc, Nicholas Piggin, Harsh Prateek Bora

On 2/26/25 08:01, Thomas Huth wrote:
> On 26/02/2025 07.54, Cédric Le Goater wrote:
>> The tests are using a now archived Fedora29 release. Switch to the
>> most recent Fedora41 release.
>>
>> Signed-off-by: Cédric Le Goater <clg@redhat.com>
>> ---
>>   tests/functional/test_ppc64_powernv.py | 6 +++---
>>   tests/functional/test_ppc64_pseries.py | 6 +++---
>>   2 files changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/tests/functional/test_ppc64_powernv.py b/tests/functional/test_ppc64_powernv.py
>> index 685e2178ed78..a9da7905366e 100755
>> --- a/tests/functional/test_ppc64_powernv.py
>> +++ b/tests/functional/test_ppc64_powernv.py
>> @@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
>>       good_message = 'VFS: Cannot open root device'
>>       ASSET_KERNEL = Asset(
>> -        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
>> -         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>> -        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
>> +        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
>> +         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>> +        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')
> 
> I think we should rather avoid the very latest and greatest Fedora URLs here... they will be invalid in a couple of months after Fedora 43 has been released. And if we keep switching the test assets all the time, this will make it more difficult to bisect regressions in the future.
> 
>   Thomas
> 

So we should point to the latest archive (fedora38) then ?


Thanks,

C.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tests/functional: Update the ppc64 pseries and pnv tests
  2025-02-26  7:54   ` Cédric Le Goater
@ 2025-02-26  8:11     ` Thomas Huth
  2025-02-26  8:18       ` Cédric Le Goater
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Huth @ 2025-02-26  8:11 UTC (permalink / raw)
  To: Cédric Le Goater, qemu-devel
  Cc: qemu-ppc, Nicholas Piggin, Harsh Prateek Bora

On 26/02/2025 08.54, Cédric Le Goater wrote:
> On 2/26/25 08:01, Thomas Huth wrote:
>> On 26/02/2025 07.54, Cédric Le Goater wrote:
>>> The tests are using a now archived Fedora29 release. Switch to the
>>> most recent Fedora41 release.
>>>
>>> Signed-off-by: Cédric Le Goater <clg@redhat.com>
>>> ---
>>>   tests/functional/test_ppc64_powernv.py | 6 +++---
>>>   tests/functional/test_ppc64_pseries.py | 6 +++---
>>>   2 files changed, 6 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/tests/functional/test_ppc64_powernv.py b/tests/functional/ 
>>> test_ppc64_powernv.py
>>> index 685e2178ed78..a9da7905366e 100755
>>> --- a/tests/functional/test_ppc64_powernv.py
>>> +++ b/tests/functional/test_ppc64_powernv.py
>>> @@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
>>>       good_message = 'VFS: Cannot open root device'
>>>       ASSET_KERNEL = Asset(
>>> -        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
>>> -         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>>> -        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
>>> +        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
>>> +         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>>> +        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')
>>
>> I think we should rather avoid the very latest and greatest Fedora URLs 
>> here... they will be invalid in a couple of months after Fedora 43 has 
>> been released. And if we keep switching the test assets all the time, this 
>> will make it more difficult to bisect regressions in the future.
>>
>>   Thomas
>>
> 
> So we should point to the latest archive (fedora38) then ?

Either that, or simply keep the f29 kernel ... what do we gain by switching 
to a newer one here? Is it testing more hardware?

  Thomas



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tests/functional: Update the ppc64 pseries and pnv tests
  2025-02-26  8:11     ` Thomas Huth
@ 2025-02-26  8:18       ` Cédric Le Goater
  0 siblings, 0 replies; 7+ messages in thread
From: Cédric Le Goater @ 2025-02-26  8:18 UTC (permalink / raw)
  To: Thomas Huth, qemu-devel; +Cc: qemu-ppc, Nicholas Piggin, Harsh Prateek Bora

On 2/26/25 09:11, Thomas Huth wrote:
> On 26/02/2025 08.54, Cédric Le Goater wrote:
>> On 2/26/25 08:01, Thomas Huth wrote:
>>> On 26/02/2025 07.54, Cédric Le Goater wrote:
>>>> The tests are using a now archived Fedora29 release. Switch to the
>>>> most recent Fedora41 release.
>>>>
>>>> Signed-off-by: Cédric Le Goater <clg@redhat.com>
>>>> ---
>>>>   tests/functional/test_ppc64_powernv.py | 6 +++---
>>>>   tests/functional/test_ppc64_pseries.py | 6 +++---
>>>>   2 files changed, 6 insertions(+), 6 deletions(-)
>>>>
>>>> diff --git a/tests/functional/test_ppc64_powernv.py b/tests/functional/ test_ppc64_powernv.py
>>>> index 685e2178ed78..a9da7905366e 100755
>>>> --- a/tests/functional/test_ppc64_powernv.py
>>>> +++ b/tests/functional/test_ppc64_powernv.py
>>>> @@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
>>>>       good_message = 'VFS: Cannot open root device'
>>>>       ASSET_KERNEL = Asset(
>>>> -        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
>>>> -         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>>>> -        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
>>>> +        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
>>>> +         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>>>> +        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')
>>>
>>> I think we should rather avoid the very latest and greatest Fedora URLs here... they will be invalid in a couple of months after Fedora 43 has been released. And if we keep switching the test assets all the time, this will make it more difficult to bisect regressions in the future.
>>>
>>>   Thomas
>>>
>>
>> So we should point to the latest archive (fedora38) then ?
> 
> Either that, or simply keep the f29 kernel ... what do we gain by switching to a newer one here? Is it testing more hardware?


Yes. Usually HW support is added gradually to the kernel and
the later one offers better support.

Any how, that's fine, f29 works good enough.

Thanks,

C.




>   Thomas
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tests/functional: Update the ppc64 pseries and pnv tests
  2025-02-26  7:01 ` Thomas Huth
  2025-02-26  7:54   ` Cédric Le Goater
@ 2025-02-26  9:04   ` Daniel P. Berrangé
  2025-02-26 16:34     ` Cédric Le Goater
  1 sibling, 1 reply; 7+ messages in thread
From: Daniel P. Berrangé @ 2025-02-26  9:04 UTC (permalink / raw)
  To: Thomas Huth
  Cc: Cédric Le Goater, qemu-devel, qemu-ppc, Nicholas Piggin,
	Harsh Prateek Bora

On Wed, Feb 26, 2025 at 08:01:09AM +0100, Thomas Huth wrote:
> On 26/02/2025 07.54, Cédric Le Goater wrote:
> > The tests are using a now archived Fedora29 release. Switch to the
> > most recent Fedora41 release.
> > 
> > Signed-off-by: Cédric Le Goater <clg@redhat.com>
> > ---
> >   tests/functional/test_ppc64_powernv.py | 6 +++---
> >   tests/functional/test_ppc64_pseries.py | 6 +++---
> >   2 files changed, 6 insertions(+), 6 deletions(-)
> > 
> > diff --git a/tests/functional/test_ppc64_powernv.py b/tests/functional/test_ppc64_powernv.py
> > index 685e2178ed78..a9da7905366e 100755
> > --- a/tests/functional/test_ppc64_powernv.py
> > +++ b/tests/functional/test_ppc64_powernv.py
> > @@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
> >       good_message = 'VFS: Cannot open root device'
> >       ASSET_KERNEL = Asset(
> > -        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
> > -         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
> > -        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
> > +        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
> > +         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
> > +        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')
> 
> I think we should rather avoid the very latest and greatest Fedora URLs
> here... they will be invalid in a couple of months after Fedora 43 has been
> released. And if we keep switching the test assets all the time, this will
> make it more difficult to bisect regressions in the future.

Neither of the URLs here should change, as both are using the
archives.fedoraproject.org server which carries all historic
content.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] tests/functional: Update the ppc64 pseries and pnv tests
  2025-02-26  9:04   ` Daniel P. Berrangé
@ 2025-02-26 16:34     ` Cédric Le Goater
  0 siblings, 0 replies; 7+ messages in thread
From: Cédric Le Goater @ 2025-02-26 16:34 UTC (permalink / raw)
  To: Daniel P. Berrangé, Thomas Huth
  Cc: qemu-devel, qemu-ppc, Nicholas Piggin, Harsh Prateek Bora

Hello,

On 2/26/25 10:04, Daniel P. Berrangé wrote:
> On Wed, Feb 26, 2025 at 08:01:09AM +0100, Thomas Huth wrote:
>> On 26/02/2025 07.54, Cédric Le Goater wrote:
>>> The tests are using a now archived Fedora29 release. Switch to the
>>> most recent Fedora41 release.
>>>
>>> Signed-off-by: Cédric Le Goater <clg@redhat.com>
>>> ---
>>>    tests/functional/test_ppc64_powernv.py | 6 +++---
>>>    tests/functional/test_ppc64_pseries.py | 6 +++---
>>>    2 files changed, 6 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/tests/functional/test_ppc64_powernv.py b/tests/functional/test_ppc64_powernv.py
>>> index 685e2178ed78..a9da7905366e 100755
>>> --- a/tests/functional/test_ppc64_powernv.py
>>> +++ b/tests/functional/test_ppc64_powernv.py
>>> @@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
>>>        good_message = 'VFS: Cannot open root device'
>>>        ASSET_KERNEL = Asset(
>>> -        ('https://archives.fedoraproject.org/pub/archive/fedora-secondary/'
>>> -         'releases/29/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>>> -        '383c2f5c23bc0d9d32680c3924d3fd7ee25cc5ef97091ac1aa5e1d853422fc5f')
>>> +        ('https://archives.fedoraproject.org/pub/fedora-secondary/'
>>> +         'releases/41/Everything/ppc64le/os/ppc/ppc64/vmlinuz'),
>>> +        'eca627adbe42437cacea169beeb4c3c12a5cfbca1a6b1ba5218d28139d2143c4')
>>
>> I think we should rather avoid the very latest and greatest Fedora URLs
>> here... they will be invalid in a couple of months after Fedora 43 has been
>> released. And if we keep switching the test assets all the time, this will
>> make it more difficult to bisect regressions in the future.
> 
> Neither of the URLs here should change, as both are using the
> archives.fedoraproject.org server which carries all historic
> content.

Indeed but the files below :

   https://archives.fedoraproject.org/pub/fedora-secondary/<rel>/

are moved under

   https://archives.fedoraproject.org/pub/archive/fedora-secondary/<rel>/

every 2 releases and QEMU tests will break :/

In my tests, I prefer to use the latest FW/Linux images because
HW support should be better, which is always good to exercise a
bit more the QEMU models.

That said, older images (f29) should keep on working too on PPC.

Thanks,

C.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-02-26 16:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  6:54 [PATCH] tests/functional: Update the ppc64 pseries and pnv tests Cédric Le Goater
2025-02-26  7:01 ` Thomas Huth
2025-02-26  7:54   ` Cédric Le Goater
2025-02-26  8:11     ` Thomas Huth
2025-02-26  8:18       ` Cédric Le Goater
2025-02-26  9:04   ` Daniel P. Berrangé
2025-02-26 16:34     ` Cédric Le Goater

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).