Skip to contentSkip to conversation

tests/functional: Update the ppc64 pseries and pnv tests

PATCH In review Cédric Le Goater 3 participants 7 messages Feb 26, 2025 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/functional: Update the ppc64 pseries and pnv tests

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

---
 tests/functional/test_ppc64_powernv.py | 6 +++---
 tests/functional/test_ppc64_pseries.py | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
tests/functional/test_ppc64_powernv.py +3 -3
index 685e2178ed78..a9da7905366e 100755
@@ -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")
tests/functional/test_ppc64_pseries.py +3 -3
index fdc404ed033d..92317cddead1 100755
@@ -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()
Signature · 1 line
2.48.1
#1 lore raw
Quoted 14 lines · Cédric Le Goater

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

---
  tests/functional/test_ppc64_powernv.py | 6 +++---
  tests/functional/test_ppc64_pseries.py | 6 +++---
  2 files changed, 6 insertions(+), 6 deletions(-)
tests/functional/test_ppc64_powernv.py +0 -0
index 685e2178ed78..a9da7905366e 100755

tests/functional/test_ppc64_powernv.py class powernvMachine(LinuxKernelTest): · line 23

Quoted 9 lines
tests/functional/test_ppc64_powernv.py +3 -3
@@ -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

#2 lore raw
Quoted 26 lines · Thomas Huth
Quoted 14 lines · Cédric Le Goater

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

---
  tests/functional/test_ppc64_powernv.py | 6 +++--- tests/functional/test_ppc64_pseries.py | 6 +++---

  2 files changed, 6 insertions(+), 6 deletions(-)
tests/functional/test_ppc64_powernv.py +0 -0
index 685e2178ed78..a9da7905366e 100755
@@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
Quoted 8 lines

      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.

Quoted 2 lines

 Thomas

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

Thanks,

C.

#3 lore raw
Quoted 27 lines · Cédric Le Goater
Quoted 26 lines · Thomas Huth
Quoted 14 lines · Cédric Le Goater

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

---
  tests/functional/test_ppc64_powernv.py | 6 +++--- tests/functional/test_ppc64_pseries.py | 6 +++---

  2 files changed, 6 insertions(+), 6 deletions(-)
tests/functional/test_ppc64_powernv.py +0 -0
index 685e2178ed78..a9da7905366e 100755
@@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
Quoted 8 lines

      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.

Quoted 4 lines
Quoted 2 lines

  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

#4 lore raw
Quoted 28 lines · Thomas Huth
Quoted 27 lines · Cédric Le Goater
Quoted 26 lines · Thomas Huth
Quoted 14 lines · Cédric Le Goater

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

---
  tests/functional/test_ppc64_powernv.py | 6 +++--- tests/functional/test_ppc64_pseries.py | 6 +++---

  2 files changed, 6 insertions(+), 6 deletions(-)
tests/functional/test_ppc64_powernv.py +0 -0
index 685e2178ed78..a9da7905366e 100755
@@ -18,9 +18,9 @@ class powernvMachine(LinuxKernelTest):
Quoted 8 lines

      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.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

  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.

Quoted 2 lines

 Thomas

#5 lore raw
In reply to Thomas Huth
Quoted 20 lines · Thomas Huth
Quoted 19 lines · Cédric Le Goater

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

---
  tests/functional/test_ppc64_powernv.py | 6 +++---
  tests/functional/test_ppc64_pseries.py | 6 +++---
  2 files changed, 6 insertions(+), 6 deletions(-)
tests/functional/test_ppc64_powernv.py +0 -3
index 685e2178ed78..a9da7905366e 100755
@@ -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')
Quoted 8 lines

tests/functional/test_ppc64_powernv.py class powernvMachine(LinuxKernelTest): · line 23

Quoted 3 lines
tests/functional/test_ppc64_powernv.py +3 -0
+        ('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

Signature · 3 lines
|: 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 :|
#6 lore raw

Hello,

Quoted 30 lines · Daniel P. Berrangé
Quoted 20 lines · Thomas Huth
Quoted 19 lines · Cédric Le Goater

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

---
   tests/functional/test_ppc64_powernv.py | 6 +++---
   tests/functional/test_ppc64_pseries.py | 6 +++---
   2 files changed, 6 insertions(+), 6 deletions(-)
tests/functional/test_ppc64_powernv.py +0 -3
index 685e2178ed78..a9da7905366e 100755
@@ -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')
Quoted 8 lines

tests/functional/test_ppc64_powernv.py class powernvMachine(LinuxKernelTest): · line 23

Quoted 3 lines
tests/functional/test_ppc64_powernv.py +3 -0
+        ('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.

Quoted 3 lines

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.