All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/acceptance: Reduce quanta-gsj U-boot+Linux test time
@ 2020-09-18 14:23 Philippe Mathieu-Daudé
  2020-09-18 14:27 ` no-reply
  2020-09-18 14:27 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-18 14:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Havard Skinnemoen, Cleber Rosa,
	Philippe Mathieu-Daudé

The 'arm_quanta_gsj_initrd' test is timeouting on GitLab CI:
https://gitlab.com/philmd/qemu/-/jobs/745483978#L846

Use the same trick from the 'arm_quanta_gsj' test to reduce the
systemd services started and get quicker to the shell prompt.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 tests/acceptance/boot_linux_console.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
index 4a366ce93e4..7748febbf54 100644
--- a/tests/acceptance/boot_linux_console.py
+++ b/tests/acceptance/boot_linux_console.py
@@ -638,6 +638,9 @@ def test_arm_quanta_gsj_initrd(self):
 
         self.vm.set_console()
         kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
+                               'initcall_blacklist=npcm_i2c_bus_driver_init '
+                               'systemd.mask=systemd-random-seed.service '
+                               'systemd.mask=dropbearkey.service '
                                'console=ttyS0,115200n8 '
                                'earlycon=uart8250,mmio32,0xf0001000')
         self.vm.add_args('-kernel', kernel_path,
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] tests/acceptance: Reduce quanta-gsj U-boot+Linux test time
  2020-09-18 14:23 [PATCH] tests/acceptance: Reduce quanta-gsj U-boot+Linux test time Philippe Mathieu-Daudé
@ 2020-09-18 14:27 ` no-reply
  2020-09-18 14:27 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 4+ messages in thread
From: no-reply @ 2020-09-18 14:27 UTC (permalink / raw)
  To: f4bug
  Cc: peter.maydell, qemu-devel, wainersm, hskinnemoen, crosa, philmd, f4bug

Patchew URL: https://patchew.org/QEMU/20200918142344.150749-1-f4bug@amsat.org/



Hi,

This series failed build test on FreeBSD host. Please find the details below.






The full log is available at
http://patchew.org/logs/20200918142344.150749-1-f4bug@amsat.org/testing.FreeBSD/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] tests/acceptance: Reduce quanta-gsj U-boot+Linux test time
  2020-09-18 14:23 [PATCH] tests/acceptance: Reduce quanta-gsj U-boot+Linux test time Philippe Mathieu-Daudé
  2020-09-18 14:27 ` no-reply
@ 2020-09-18 14:27 ` Philippe Mathieu-Daudé
  2020-09-18 15:29   ` Havard Skinnemoen
  1 sibling, 1 reply; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-18 14:27 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel
  Cc: Peter Maydell, Havard Skinnemoen, Wainer dos Santos Moschetta,
	Cleber Rosa

On 9/18/20 4:23 PM, Philippe Mathieu-Daudé wrote:
> The 'arm_quanta_gsj_initrd' test is timeouting on GitLab CI:
> https://gitlab.com/philmd/qemu/-/jobs/745483978#L846
> 
> Use the same trick from the 'arm_quanta_gsj' test to reduce the
> systemd services started and get quicker to the shell prompt.
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  tests/acceptance/boot_linux_console.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
> index 4a366ce93e4..7748febbf54 100644
> --- a/tests/acceptance/boot_linux_console.py
> +++ b/tests/acceptance/boot_linux_console.py
> @@ -638,6 +638,9 @@ def test_arm_quanta_gsj_initrd(self):
>  
>          self.vm.set_console()
>          kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
> +                               'initcall_blacklist=npcm_i2c_bus_driver_init '
> +                               'systemd.mask=systemd-random-seed.service '
> +                               'systemd.mask=dropbearkey.service '
>                                 'console=ttyS0,115200n8 '
>                                 'earlycon=uart8250,mmio32,0xf0001000')
>          self.vm.add_args('-kernel', kernel_path,
> 

Bah unfortunately this is still not enough :(


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] tests/acceptance: Reduce quanta-gsj U-boot+Linux test time
  2020-09-18 14:27 ` Philippe Mathieu-Daudé
@ 2020-09-18 15:29   ` Havard Skinnemoen
  0 siblings, 0 replies; 4+ messages in thread
From: Havard Skinnemoen @ 2020-09-18 15:29 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: QEMU Developers, Cleber Rosa, Wainer dos Santos Moschetta, Peter Maydell

On Fri, Sep 18, 2020 at 7:27 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> On 9/18/20 4:23 PM, Philippe Mathieu-Daudé wrote:
> > The 'arm_quanta_gsj_initrd' test is timeouting on GitLab CI:
> > https://gitlab.com/philmd/qemu/-/jobs/745483978#L846
> >
> > Use the same trick from the 'arm_quanta_gsj' test to reduce the
> > systemd services started and get quicker to the shell prompt.
> >
> > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> > ---
> >  tests/acceptance/boot_linux_console.py | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
> > index 4a366ce93e4..7748febbf54 100644
> > --- a/tests/acceptance/boot_linux_console.py
> > +++ b/tests/acceptance/boot_linux_console.py
> > @@ -638,6 +638,9 @@ def test_arm_quanta_gsj_initrd(self):
> >
> >          self.vm.set_console()
> >          kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
> > +                               'initcall_blacklist=npcm_i2c_bus_driver_init '
> > +                               'systemd.mask=systemd-random-seed.service '
> > +                               'systemd.mask=dropbearkey.service '
> >                                 'console=ttyS0,115200n8 '
> >                                 'earlycon=uart8250,mmio32,0xf0001000')
> >          self.vm.add_args('-kernel', kernel_path,
> >
>
> Bah unfortunately this is still not enough :(

Right, this patch modifies the initrd test, but that's not the one
that timed out.

(10/40) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_quanta_gsj:
 INTERRUPTED: Test interrupted by SIGTERM\nRunner error occurred:
Timeout reached\nOriginal status: ERROR\n{'name':
'10-tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_quanta_gsj',
'logdir': '/builds/philmd/qemu/build/tests/results/job-2020-09-18T13.41-b9...
(90.81 s)
 (11/40) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_quanta_gsj_initrd:
 PASS (27.00 s)

Havard


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-18 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 14:23 [PATCH] tests/acceptance: Reduce quanta-gsj U-boot+Linux test time Philippe Mathieu-Daudé
2020-09-18 14:27 ` no-reply
2020-09-18 14:27 ` Philippe Mathieu-Daudé
2020-09-18 15:29   ` Havard Skinnemoen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.