EFI CI failure

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Aug 4 23:33:12 CEST 2022



Am 4. August 2022 21:23:01 MESZ schrieb Simon Glass <sjg at chromium.org>:
>Hi Heinrich,
>
>On Wed, 3 Aug 2022 at 23:53, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>>
>>
>>
>> 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).
>
>Can I ask you to dig into this as it is EFI? Why do we need to restart?

The problem is architecture specific and not easily reproducible.

The test ends up in a state were rebooting is the only way of restoring the system state. We are after ExitBootServices. 

Best regards

Heinrich


>
>
>>
>> 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


More information about the U-Boot mailing list