diff mbox series

[2/2] Acceptance test: update kernel for m68k/q800 test

Message ID 20191029232320.12419-3-crosa@redhat.com
State New
Headers show
Series Acceptance test: update kernel used on m68k/q800 test | expand

Commit Message

Cleber Rosa Oct. 29, 2019, 11:23 p.m. UTC
There's an updated version of the Debian package containing the m68k
Kernel.

Now, if the package gets updated again, the test won't fail, but will
be canceled.  A more permanent solution is certainly needed.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 tests/acceptance/boot_linux_console.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Alex Bennée Oct. 31, 2019, 6:08 a.m. UTC | #1
Cleber Rosa <crosa@redhat.com> writes:

> There's an updated version of the Debian package containing the m68k
> Kernel.
>
> Now, if the package gets updated again, the test won't fail, but will
> be canceled.  A more permanent solution is certainly needed.

At least for open source blobs can't we do something similar to the
firmware and host a blob mirror on our infrastructure as a fallback?

>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>  tests/acceptance/boot_linux_console.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
> index c439fd90fc..8f676d8e92 100644
> --- a/tests/acceptance/boot_linux_console.py
> +++ b/tests/acceptance/boot_linux_console.py
> @@ -385,14 +385,14 @@ class BootLinuxConsole(Test):
>          :avocado: tags=machine:q800
>          """
>          deb_url = ('http://ftp.ports.debian.org/debian-ports/pool-m68k/main'
> -                   '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.udeb')
> -        deb_hash = '0797e05129595f22f3c0142db5e199769a723bf9'
> +                   '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.udeb')
> +        deb_hash = '044954bb9be4160a3ce81f8bc1b5e856b75cccd1'
>          try:
>              deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash)
>          except OSError as exp:
>              self.cancel(exp)
>          kernel_path = self.extract_from_deb(deb_path,
> -                                            '/boot/vmlinux-5.2.0-2-m68k')
> +                                            '/boot/vmlinux-5.3.0-1-m68k')
>
>          self.vm.set_machine('q800')
>          self.vm.set_console()


--
Alex Bennée
Alex Bennée Oct. 31, 2019, 8:06 a.m. UTC | #2
Cleber Rosa <crosa@redhat.com> writes:

> There's an updated version of the Debian package containing the m68k
> Kernel.
>
> Now, if the package gets updated again, the test won't fail, but will
> be canceled.  A more permanent solution is certainly needed.
>
> Signed-off-by: Cleber Rosa <crosa@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 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
> index c439fd90fc..8f676d8e92 100644
> --- a/tests/acceptance/boot_linux_console.py
> +++ b/tests/acceptance/boot_linux_console.py
> @@ -385,14 +385,14 @@ class BootLinuxConsole(Test):
>          :avocado: tags=machine:q800
>          """
>          deb_url = ('http://ftp.ports.debian.org/debian-ports/pool-m68k/main'
> -                   '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.udeb')
> -        deb_hash = '0797e05129595f22f3c0142db5e199769a723bf9'
> +                   '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.udeb')
> +        deb_hash = '044954bb9be4160a3ce81f8bc1b5e856b75cccd1'
>          try:
>              deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash)
>          except OSError as exp:
>              self.cancel(exp)
>          kernel_path = self.extract_from_deb(deb_path,
> -                                            '/boot/vmlinux-5.2.0-2-m68k')
> +                                            '/boot/vmlinux-5.3.0-1-m68k')
>
>          self.vm.set_machine('q800')
>          self.vm.set_console()


--
Alex Bennée
Wainer dos Santos Moschetta Nov. 7, 2019, 3:08 p.m. UTC | #3
On 10/31/19 3:08 AM, Alex Bennée wrote:
> Cleber Rosa <crosa@redhat.com> writes:
>
>> There's an updated version of the Debian package containing the m68k
>> Kernel.
>>
>> Now, if the package gets updated again, the test won't fail, but will
>> be canceled.  A more permanent solution is certainly needed.
> At least for open source blobs can't we do something similar to the
> firmware and host a blob mirror on our infrastructure as a fallback?

I support that idea. Some of those kernels used on our acceptance tests 
are moving targets.

- Wainer

>
>> Signed-off-by: Cleber Rosa <crosa@redhat.com>
>> ---
>>   tests/acceptance/boot_linux_console.py | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
>> index c439fd90fc..8f676d8e92 100644
>> --- a/tests/acceptance/boot_linux_console.py
>> +++ b/tests/acceptance/boot_linux_console.py
>> @@ -385,14 +385,14 @@ class BootLinuxConsole(Test):
>>           :avocado: tags=machine:q800
>>           """
>>           deb_url = ('http://ftp.ports.debian.org/debian-ports/pool-m68k/main'
>> -                   '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.udeb')
>> -        deb_hash = '0797e05129595f22f3c0142db5e199769a723bf9'
>> +                   '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.udeb')
>> +        deb_hash = '044954bb9be4160a3ce81f8bc1b5e856b75cccd1'
>>           try:
>>               deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash)
>>           except OSError as exp:
>>               self.cancel(exp)
>>           kernel_path = self.extract_from_deb(deb_path,
>> -                                            '/boot/vmlinux-5.2.0-2-m68k')
>> +                                            '/boot/vmlinux-5.3.0-1-m68k')
>>
>>           self.vm.set_machine('q800')
>>           self.vm.set_console()
>
> --
> Alex Bennée
>
diff mbox series

Patch

diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
index c439fd90fc..8f676d8e92 100644
--- a/tests/acceptance/boot_linux_console.py
+++ b/tests/acceptance/boot_linux_console.py
@@ -385,14 +385,14 @@  class BootLinuxConsole(Test):
         :avocado: tags=machine:q800
         """
         deb_url = ('http://ftp.ports.debian.org/debian-ports/pool-m68k/main'
-                   '/l/linux/kernel-image-5.2.0-2-m68k-di_5.2.9-2_m68k.udeb')
-        deb_hash = '0797e05129595f22f3c0142db5e199769a723bf9'
+                   '/l/linux/kernel-image-5.3.0-1-m68k-di_5.3.7-1_m68k.udeb')
+        deb_hash = '044954bb9be4160a3ce81f8bc1b5e856b75cccd1'
         try:
             deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash)
         except OSError as exp:
             self.cancel(exp)
         kernel_path = self.extract_from_deb(deb_path,
-                                            '/boot/vmlinux-5.2.0-2-m68k')
+                                            '/boot/vmlinux-5.3.0-1-m68k')
 
         self.vm.set_machine('q800')
         self.vm.set_console()