Hi Niek, On 2/23/21 11:53 PM, Niek Linnenbank wrote: > Currently the automated acceptance tests for the Orange Pi PC and cubieboard > machines are disabled by default. The tests for both machines require > artifacts > that are stored on the apt.armbian.com domain. Unfortunately, some of these > artifacts > have been removed from apt.armbian.com and it is uncertain whether more will > be removed. > > This commit moves the artifacts previously stored on apt.armbian.com to github > and retrieves them using the path: '/<machine>/<artifact>'. > > Signed-off-by: Niek Linnenbank <nieklinnenb...@gmail.com> > Reviewed-by: Willian Rampazzo <willi...@redhat.com> > Reviewed-by: Cleber Rosa <cr...@redhat.com>
> Tested-by: Cleber Rosa <cr...@redhat.com> Did Cleber test this new version? > --- > tests/acceptance/boot_linux_console.py | 49 ++++++++++---------------- > tests/acceptance/replay_kernel.py | 6 ++-- > 2 files changed, 21 insertions(+), 34 deletions(-) > > diff --git a/tests/acceptance/boot_linux_console.py > b/tests/acceptance/boot_linux_console.py > index eb01286799..0f8a824c61 100644 > --- a/tests/acceptance/boot_linux_console.py > +++ b/tests/acceptance/boot_linux_console.py > @@ -507,15 +507,13 @@ def test_arm_exynos4210_initrd(self): > self.wait_for_console_pattern('Boot successful.') > # TODO user command, for now the uart is stuck > > - @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), > - 'Test artifacts fetched from unreliable apt.armbian.com') > def test_arm_cubieboard_initrd(self): > """ > :avocado: tags=arch:arm > :avocado: tags=machine:cubieboard > """ > - deb_url = ('https://apt.armbian.com/pool/main/l/' > - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.deb') > + deb_url = ('https://github.com/nieklinnenbank/QemuArtifacts/raw/' > + 'master/cubieboard/linux-image-dev-sunxi_5.75_armhf.deb') Can you replace 'master/' by 'ed9829b/' please (other occurences). With it: Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> (using both master / ed9829b): Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org> > deb_hash = '1334c29c44d984ffa05ed10de8c3361f33d78315' > deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash) > kernel_path = self.extract_from_deb(deb_path, > @@ -549,15 +547,13 @@ def test_arm_cubieboard_initrd(self): > 'system-control@1c00000') > # cubieboard's reboot is not functioning; omit reboot test. > > - @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), > - 'Test artifacts fetched from unreliable apt.armbian.com') > def test_arm_cubieboard_sata(self): > """ > :avocado: tags=arch:arm > :avocado: tags=machine:cubieboard > """ > - deb_url = ('https://apt.armbian.com/pool/main/l/' > - 'linux-4.20.7-sunxi/linux-image-dev-sunxi_5.75_armhf.deb') > + deb_url = ('https://github.com/nieklinnenbank/QemuArtifacts/raw/' > + 'master/cubieboard/linux-image-dev-sunxi_5.75_armhf.deb') ...