Skip to contentSkip to conversation

tests/boot_linux_console: Fetch assets from Debian snapshot archives

PATCH Superseded Philippe Mathieu-Daudé 2 participants 2 messages Oct 31, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/boot_linux_console: Fetch assets from Debian snapshot archives

The kernel packaged was fetched from an unstable repository. Use the stable snapshot archive instead.

---
 tests/acceptance/boot_linux_console.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/acceptance/boot_linux_console.py +2 -1
index 4e9ac0ecc3..f5aa87317c 100644
@@ -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)
Signature · 1 line
2.21.0
Reviewed-by Tested-by on v1 1/1
#1 lore raw
Quoted 4 lines · Philippe Mathieu-Daudé

The kernel packaged was fetched from an unstable repository. Use the stable snapshot archive instead.

Quoted 9 lines
---
 tests/acceptance/boot_linux_console.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/acceptance/boot_linux_console.py +0 -0
index 4e9ac0ecc3..f5aa87317c 100644

tests/acceptance/boot_linux_console.py class BootLinuxConsole(Test): · line 486

Quoted 9 lines
tests/acceptance/boot_linux_console.py +2 -1
@@ -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