Skip to content

Commit

Permalink
tests/avocado: update AArch64 tests to Alpine 3.17.2
Browse files Browse the repository at this point in the history
To test Alpine boot on SBSA-Ref target we need Alpine Linux
'standard' image as 'virt' one lacks kernel modules.

So to minimalize Avocado cache I move test to 'standard' image.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302191146.1790560-1-marcin.juszkiewicz@linaro.org>
Message-Id: <20230315174331.2959-2-alex.bennee@linaro.org>
  • Loading branch information
hrw authored and stsquad committed Mar 22, 2023
1 parent c283ff8 commit 136b608
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/avocado/machine_aarch64_virt.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ def test_alpine_virt_tcg_gic_max(self):
:avocado: tags=accel:tcg
"""
iso_url = ('https://dl-cdn.alpinelinux.org/'
'alpine/v3.16/releases/aarch64/'
'alpine-virt-3.16.3-aarch64.iso')
'alpine/v3.17/releases/aarch64/'
'alpine-standard-3.17.2-aarch64.iso')

# Alpine use sha256 so I recalculated this myself
iso_sha1 = '0683bc089486d55c91bf6607d5ecb93925769bc0'
iso_sha1 = '76284fcd7b41fe899b0c2375ceb8470803eea839'
iso_path = self.fetch_asset(iso_url, asset_hash=iso_sha1)

self.vm.set_console()
Expand All @@ -65,7 +65,7 @@ def test_alpine_virt_tcg_gic_max(self):
self.vm.add_args('-object', 'rng-random,id=rng0,filename=/dev/urandom')

self.vm.launch()
self.wait_for_console_pattern('Welcome to Alpine Linux 3.16')
self.wait_for_console_pattern('Welcome to Alpine Linux 3.17')


def common_aarch64_virt(self, machine):
Expand Down

0 comments on commit 136b608

Please sign in to comment.