]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/avocado: ppc_hv_tests.py set alpine time before setup-alpine
authorNicholas Piggin <npiggin@gmail.com>
Thu, 28 Mar 2024 02:00:15 +0000 (12:00 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Sat, 30 Mar 2024 08:50:26 +0000 (18:50 +1000)
commitb07a5bb736ca08d55cc3ada8ca309943b55d4b70
treececd42fff5d60b5d0006fe8387565d0e3f0131fb
parent74eb04af186457517b6bae8ec6ceac872bde822e
tests/avocado: ppc_hv_tests.py set alpine time before setup-alpine

If the time is wrong, setup-alpine SSL certificate checks can fail.
setup-alpine is used to bring up the network, but it doesn't seem
to to set NTP time before the failing SSL checks. This test has
recently started failing presumably because the default time has
now fallen too far behind.

Fix this by setting time from the host time before running setup-alpine.

Fixes: c9cb496710758 ("tests/avocado: ppc add hypervisor tests")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
tests/avocado/ppc_hv_tests.py