On 8/3/22 20:13, Simon Glass wrote:
Hi Heinrich,

I am seeing this:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/477636

The EFI sub-system recorded successful execution of the test.

Rebooting the system (u_boot_console.restart_uboot()) did not reach the
console prompt. Here is the last output as recorded in
https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/477636/raw :

U-Boot 2022.10-rc1-00202-g1be8ed24df (Aug 03 2022 - 08:55:14 +0000)

CPU:   QEMU Virtual CPU version 2.5+
DRAM:  128 MiB
Core:  16 devices, 14 uclasses, devicetree: separate
Loading Environment from nowhere... OK

I don't know why qemu-x86 is too slow here. It would be helpful if you
could change the exception class Timeout to provide the timeout value as
argument.

Please, replace
    raise Timeout()
bye
    raise Timeout(self.timeout)
in test/py/u_boot_spawn.py to let us know if the timeout value is less
then 30000 ms (two code positions).

Best regards

Heinrich


_________________________ test_efi_selftest_text_input _________________________
test/py/tests/test_efi_selftest.py:116: in test_efi_selftest_text_input
     u_boot_console.restart_uboot()
test/py/u_boot_console_base.py:459: in restart_uboot
     self.ensure_spawned(expect_reset)
test/py/u_boot_console_base.py:423: in ensure_spawned
     self.wait_for_boot_prompt(loop_num = loop_num)
test/py/u_boot_console_base.py:180: in wait_for_boot_prompt
     m = self.p.expect([self.prompt_compiled,
test/py/u_boot_spawn.py:193: in expect
     raise Timeout()
E   u_boot_spawn.Timeout
----------------------------- Captured stdout call -----------------------------

Do you have any ideas what causes it?

Regards,
Simon

Reply via email to