On 9/17/20 6:39 PM, Philippe Mathieu-Daudé wrote: > Armbian servers are not very reliable and confused the GitLab CI > users a few times this month (path updated, archives moved, and > now the SSL: CERTIFICATE_VERIFY_FAILED "certificate has expired" > error). Time to disable these tests. > Users can still use the artifacts from the cache (or manually add > them to the cache). > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- [...] > diff --git a/tests/acceptance/replay_kernel.py > b/tests/acceptance/replay_kernel.py > index b79fc8daf8e..7b4310fccf3 100644 > --- a/tests/acceptance/replay_kernel.py > +++ b/tests/acceptance/replay_kernel.py > @@ -127,6 +127,8 @@ def test_arm_virt(self): > self.run_rr(kernel_path, kernel_command_line, console_pattern, > shift=1) > > @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') > + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), > + 'Test artifacts fetched from unreliable apt.armbian.com') > def test_arm_cubieboard_initrd(self): > """ > :avocado: tags=arch:arm >
Oops for this one I forgot the "from avocado import skipUnless" line.