tests/avocado: update AArch64 tests to Alpine 3.17.2
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>
This commit is contained in:
parent
c283ff89d1
commit
136b6085f1
@ -38,11 +38,11 @@ class Aarch64VirtMachine(QemuSystemTest):
|
|||||||
:avocado: tags=accel:tcg
|
:avocado: tags=accel:tcg
|
||||||
"""
|
"""
|
||||||
iso_url = ('https://dl-cdn.alpinelinux.org/'
|
iso_url = ('https://dl-cdn.alpinelinux.org/'
|
||||||
'alpine/v3.16/releases/aarch64/'
|
'alpine/v3.17/releases/aarch64/'
|
||||||
'alpine-virt-3.16.3-aarch64.iso')
|
'alpine-standard-3.17.2-aarch64.iso')
|
||||||
|
|
||||||
# Alpine use sha256 so I recalculated this myself
|
# 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)
|
iso_path = self.fetch_asset(iso_url, asset_hash=iso_sha1)
|
||||||
|
|
||||||
self.vm.set_console()
|
self.vm.set_console()
|
||||||
@ -65,7 +65,7 @@ class Aarch64VirtMachine(QemuSystemTest):
|
|||||||
self.vm.add_args('-object', 'rng-random,id=rng0,filename=/dev/urandom')
|
self.vm.add_args('-object', 'rng-random,id=rng0,filename=/dev/urandom')
|
||||||
|
|
||||||
self.vm.launch()
|
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):
|
def common_aarch64_virt(self, machine):
|
||||||
|
Loading…
Reference in New Issue
Block a user