[PATCH] tests/functional: update tuxrun kernel hashes

marcandre.lureau@redhat.com posted 1 patch 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261112112714.357297-2-marcandre.lureau@redhat.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, "Alex Bennée" <alex.bennee@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Zhao Liu <zhao1.liu@intel.com>
tests/functional/aarch64/test_tuxrun.py | 4 ++--
tests/functional/s390x/test_tuxrun.py   | 4 ++--
tests/functional/x86_64/test_tuxrun.py  | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
[PATCH] tests/functional: update tuxrun kernel hashes
Posted by marcandre.lureau@redhat.com 1 week, 3 days ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

tuxboot rebuilt the 6.18.54 kernels, so the recorded hashes no longer
match and the tuxrun tests fail to fetch their assets. Update the
kernel and vmlinux hashes for x86_64, arm64 and s390. The buildroot
rootfs images are unchanged.

We may want to go back to a fixed/time tagged version to avoid future
breakage.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 tests/functional/aarch64/test_tuxrun.py | 4 ++--
 tests/functional/s390x/test_tuxrun.py   | 4 ++--
 tests/functional/x86_64/test_tuxrun.py  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/functional/aarch64/test_tuxrun.py b/tests/functional/aarch64/test_tuxrun.py
index 2ff321582d38..6c4367c8a20d 100755
--- a/tests/functional/aarch64/test_tuxrun.py
+++ b/tests/functional/aarch64/test_tuxrun.py
@@ -18,10 +18,10 @@ class TuxRunAarch64Test(TuxRunBaselineTest):
 
     ASSET_ARM64_KERNEL = Asset(
         'https://storage.tuxboot.com/kernels/6.18.54/arm64/Image.gz',
-        '39f4633bbcb444267d4d829bd28d8868a287c4c160cda64b0fd23fb090571c4e')
+        'e297f12682af7e88735a0aae38e6fbd137192b516ab5f0fc1a81c4bcc3992e80')
     ASSET_ARM64_VMLINUX = Asset(
         'https://storage.tuxboot.com/kernels/6.18.54/arm64/vmlinux.xz',
-        '6487eb113ef6e841aedab6cb6fa704006377d68f64dd544570aa42f462a52b85')
+        'aa9b984337e975528162ed873cf18a072b27be8e4f48e6cf0723e9b490c63171')
     ASSET_ARM64_ROOTFS = Asset(
         'https://storage.tuxboot.com/buildroot/20260924/arm64/rootfs.ext4.zst',
         '4ab8cec9d1e17dbb1abdf2ae1939ad4f9d0dc2466230f6a119a7c1845cdef0b1')
diff --git a/tests/functional/s390x/test_tuxrun.py b/tests/functional/s390x/test_tuxrun.py
index 1dd662aaaf05..be38fcded2e9 100755
--- a/tests/functional/s390x/test_tuxrun.py
+++ b/tests/functional/s390x/test_tuxrun.py
@@ -18,10 +18,10 @@ class TuxRunS390xTest(TuxRunBaselineTest):
 
     ASSET_S390X_KERNEL = Asset(
         'https://storage.tuxboot.com/kernels/6.18.54/s390/bzImage',
-        '5efeb31754b211440e1595ab11355bb006fe78a2c0604ed0a8c55c4598b71aec')
+        'b5022f97e243b8ecd51fc7ce4290a15806ecc51a41edbe777fc0fcdda567269e')
     ASSET_S390X_VMLINUX = Asset(
         'https://storage.tuxboot.com/kernels/6.18.54/s390/vmlinux.xz',
-        '5bbd4d34e0950f88053a9bfd16078896df4b1ee1696fc2ad62488e681a6bdd8e')
+        'cd70050ddb638e81c2f1b96a4629c224aedd36bf8ae3b56b264b070e94642e25')
     ASSET_S390X_ROOTFS = Asset(
         'https://storage.tuxboot.com/buildroot/20260924/s390/rootfs.ext4.zst',
         '5ba18c4d18831c50a0c743990f7bdee1d3b520629d423c55b668d8fbbac9c6f5')
diff --git a/tests/functional/x86_64/test_tuxrun.py b/tests/functional/x86_64/test_tuxrun.py
index 1a1138d16aea..efe907bed820 100755
--- a/tests/functional/x86_64/test_tuxrun.py
+++ b/tests/functional/x86_64/test_tuxrun.py
@@ -18,10 +18,10 @@ class TuxRunX86Test(TuxRunBaselineTest):
 
     ASSET_X86_64_KERNEL = Asset(
         'https://storage.tuxboot.com/kernels/6.18.54/x86_64/bzImage',
-        '24a3ade610c2cc426ff821050de8a35930b0371357d94cc2c334abac6658552b')
+        'ba98a8a07d5f3f3e20119341059c0f0096fda499d30e30049c1ea64553b7e7c2')
     ASSET_X86_64_VMLINUX = Asset(
         'https://storage.tuxboot.com/kernels/6.18.54/x86_64/vmlinux.xz',
-        '77bf44cca48c9c1b9c142e16a2311d58b8ae3462b61bce44bcaf9243b5f26628')
+        'bc8af37608753c6ba47c6fe85f4034188b5f15bb757a0cbd79672c65122278ab')
     ASSET_X86_64_ROOTFS = Asset(
         'https://storage.tuxboot.com/buildroot/20260924/x86_64/rootfs.ext4.zst',
         '8e310455b0244414ccff29c507f7ccfd4032e3587cc405e49ab0322738e3e27c')
-- 
2.56.0.116.g6de20f6092dc


Re: [PATCH] tests/functional: update tuxrun kernel hashes
Posted by Peter Maydell 1 week, 3 days ago
On Thu, 12 Nov 2026 at 11:27, <marcandre.lureau@redhat.com> wrote:
>
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> tuxboot rebuilt the 6.18.54 kernels, so the recorded hashes no longer
> match and the tuxrun tests fail to fetch their assets. Update the
> kernel and vmlinux hashes for x86_64, arm64 and s390. The buildroot
> rootfs images are unchanged.
>
> We may want to go back to a fixed/time tagged version to avoid future
> breakage.

Yes, that seems like the right thing to me: the URLs without a datestamp
will change, but we want immutable ones so we don't have problems with
the test cases in stable branches. We're already doing that for the
rootfs URLs.

I've listed below the datestamp URLs for both the old and new images.
I guess I favour continuing to use the same (old) image rather than
implicitly updating to a new one, though it's not a big deal either way.

Fixes: 8ac1aab21fca ("tests/functional: update arm64 tuxrun images")
Fixes: 09961fafc5a0 ("tests/functional: update s390x tuxrun images")
Fixes: 467c9eb7dd31 ("tests/functional: update x86_64 tuxrun images")

We also have three riscv64 tests that refer to non-datestamp URLs:

tests/functional/riscv64/test_milkv_duo.py:
'https://storage.tuxboot.com/kernels/6.11.9/riscv64/Image',
tests/functional/riscv64/test_milkv_duo.py:
'https://storage.tuxboot.com/kernels/6.11.9/riscv64/dtbs.tar.xz',
tests/functional/riscv64/test_tt_atlantis.py:
'https://storage.tuxboot.com/kernels/6.11.9/riscv64/Image',
tests/functional/riscv64/test_tuxrun.py:
'https://storage.tuxboot.com/kernels/6.11.9/riscv64/Image',

These should all be using
 https://storage.tuxboot.com/kernels/20241122/6.11.9/riscv64/

> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  tests/functional/aarch64/test_tuxrun.py | 4 ++--
>  tests/functional/s390x/test_tuxrun.py   | 4 ++--
>  tests/functional/x86_64/test_tuxrun.py  | 4 ++--
>  3 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/tests/functional/aarch64/test_tuxrun.py b/tests/functional/aarch64/test_tuxrun.py
> index 2ff321582d38..6c4367c8a20d 100755
> --- a/tests/functional/aarch64/test_tuxrun.py
> +++ b/tests/functional/aarch64/test_tuxrun.py
> @@ -18,10 +18,10 @@ class TuxRunAarch64Test(TuxRunBaselineTest):
>
>      ASSET_ARM64_KERNEL = Asset(
>          'https://storage.tuxboot.com/kernels/6.18.54/arm64/Image.gz',
> -        '39f4633bbcb444267d4d829bd28d8868a287c4c160cda64b0fd23fb090571c4e')
> +        'e297f12682af7e88735a0aae38e6fbd137192b516ab5f0fc1a81c4bcc3992e80')

If we want to keep using the same image file:
https://storage.tuxboot.com/kernels/20260930/6.18.54/arm64/Image.gz

If we want to upgrade to the new one (with the e297... hash):
https://storage.tuxboot.com/kernels/20261110/6.18.54/arm64/Image.gz

(plus matching change to the vmlinux.xz URLs)

>      ASSET_ARM64_VMLINUX = Asset(
>          'https://storage.tuxboot.com/kernels/6.18.54/arm64/vmlinux.xz',
> -        '6487eb113ef6e841aedab6cb6fa704006377d68f64dd544570aa42f462a52b85')
> +        'aa9b984337e975528162ed873cf18a072b27be8e4f48e6cf0723e9b490c63171')
>      ASSET_ARM64_ROOTFS = Asset(
>          'https://storage.tuxboot.com/buildroot/20260924/arm64/rootfs.ext4.zst',
>          '4ab8cec9d1e17dbb1abdf2ae1939ad4f9d0dc2466230f6a119a7c1845cdef0b1')
> diff --git a/tests/functional/s390x/test_tuxrun.py b/tests/functional/s390x/test_tuxrun.py
> index 1dd662aaaf05..be38fcded2e9 100755
> --- a/tests/functional/s390x/test_tuxrun.py
> +++ b/tests/functional/s390x/test_tuxrun.py
> @@ -18,10 +18,10 @@ class TuxRunS390xTest(TuxRunBaselineTest):
>
>      ASSET_S390X_KERNEL = Asset(
>          'https://storage.tuxboot.com/kernels/6.18.54/s390/bzImage',
> -        '5efeb31754b211440e1595ab11355bb006fe78a2c0604ed0a8c55c4598b71aec')
> +        'b5022f97e243b8ecd51fc7ce4290a15806ecc51a41edbe777fc0fcdda567269e')

Old image:
https://storage.tuxboot.com/kernels/20260930/6.18.54/s390/bzImage

New one:
https://storage.tuxboot.com/kernels/20261110/6.18.54/s390/bzImage

(and ditot for the vmlinux.xz)

>      ASSET_S390X_VMLINUX = Asset(
>          'https://storage.tuxboot.com/kernels/6.18.54/s390/vmlinux.xz',
> -        '5bbd4d34e0950f88053a9bfd16078896df4b1ee1696fc2ad62488e681a6bdd8e')
> +        'cd70050ddb638e81c2f1b96a4629c224aedd36bf8ae3b56b264b070e94642e25')
>      ASSET_S390X_ROOTFS = Asset(
>          'https://storage.tuxboot.com/buildroot/20260924/s390/rootfs.ext4.zst',
>          '5ba18c4d18831c50a0c743990f7bdee1d3b520629d423c55b668d8fbbac9c6f5')
> diff --git a/tests/functional/x86_64/test_tuxrun.py b/tests/functional/x86_64/test_tuxrun.py
> index 1a1138d16aea..efe907bed820 100755
> --- a/tests/functional/x86_64/test_tuxrun.py
> +++ b/tests/functional/x86_64/test_tuxrun.py
> @@ -18,10 +18,10 @@ class TuxRunX86Test(TuxRunBaselineTest):
>
>      ASSET_X86_64_KERNEL = Asset(
>          'https://storage.tuxboot.com/kernels/6.18.54/x86_64/bzImage',
> -        '24a3ade610c2cc426ff821050de8a35930b0371357d94cc2c334abac6658552b')
> +        'ba98a8a07d5f3f3e20119341059c0f0096fda499d30e30049c1ea64553b7e7c2')

Old image:
https://storage.tuxboot.com/kernels/20260930/6.18.54/x86_64/bzImage
New image:
https://storage.tuxboot.com/kernels/20261110/6.18.54/x86_64/bzImage

(and similarly for vmlinux.xz)

>      ASSET_X86_64_VMLINUX = Asset(
>          'https://storage.tuxboot.com/kernels/6.18.54/x86_64/vmlinux.xz',
> -        '77bf44cca48c9c1b9c142e16a2311d58b8ae3462b61bce44bcaf9243b5f26628')
> +        'bc8af37608753c6ba47c6fe85f4034188b5f15bb757a0cbd79672c65122278ab')
>      ASSET_X86_64_ROOTFS = Asset(
>          'https://storage.tuxboot.com/buildroot/20260924/x86_64/rootfs.ext4.zst',
>          '8e310455b0244414ccff29c507f7ccfd4032e3587cc405e49ab0322738e3e27c')
> --
> 2.56.0.116.g6de20f6092dc

thanks
-- PMM