[PATCH] tests/boot_linux_console: Fetch assets from Debian snapshot archives

Philippe Mathieu-Daudé posted 1 patch 4 years, 5 months ago
Failed in applying to current master (apply log)
tests/acceptance/boot_linux_console.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] tests/boot_linux_console: Fetch assets from Debian snapshot archives
Posted by Philippe Mathieu-Daudé 4 years, 5 months ago
The kernel packaged was fetched from an unstable repository.
Use the stable snapshot archive instead.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 tests/acceptance/boot_linux_console.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
index 4e9ac0ecc3..f5aa87317c 100644
--- a/tests/acceptance/boot_linux_console.py
+++ b/tests/acceptance/boot_linux_console.py
@@ -479,7 +479,8 @@ class BootLinuxConsole(Test):
         :avocado: tags=arch:m68k
         :avocado: tags=machine:q800
         """
-        deb_url = ('http://ftp.ports.debian.org/debian-ports/pool-m68k/main'
+        deb_url = ('https://snapshot.debian.org/archive/debian-ports'
+                   '/20190922T090906Z/pool-m68k/main'
                    '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.udeb')
         deb_hash = '0797e05129595f22f3c0142db5e199769a723bf9'
         deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash)
-- 
2.21.0


Re: [PATCH] tests/boot_linux_console: Fetch assets from Debian snapshot archives
Posted by Alex Bennée 4 years, 5 months ago
Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> The kernel packaged was fetched from an unstable repository.
> Use the stable snapshot archive instead.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  tests/acceptance/boot_linux_console.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
> index 4e9ac0ecc3..f5aa87317c 100644
> --- a/tests/acceptance/boot_linux_console.py
> +++ b/tests/acceptance/boot_linux_console.py
> @@ -479,7 +479,8 @@ class BootLinuxConsole(Test):
>          :avocado: tags=arch:m68k
>          :avocado: tags=machine:q800
>          """
> -        deb_url = ('http://ftp.ports.debian.org/debian-ports/pool-m68k/main'
> +        deb_url = ('https://snapshot.debian.org/archive/debian-ports'
> +                   '/20190922T090906Z/pool-m68k/main'
>                     '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.udeb')
>          deb_hash = '0797e05129595f22f3c0142db5e199769a723bf9'
>          deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash)


--
Alex Bennée