Intermittent failure with test_efi_selftest_text_input

Hi Heinrich,
I am seeing a failure in gitlab every now and then. Here is an example of a build that failed and then succeeded on retry:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/149201
Here's the failing trace:
Do you have any ideas?
Regards, Simon

Am 12. September 2020 18:40:17 MESZ schrieb Simon Glass sjg@chromium.org:
Hi Heinrich,
I am seeing a failure in gitlab every now and then. Here is an example of a build that failed and then succeeded on retry:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/149201
Here's the failing trace:
Do you have any ideas?
Regards, Simon
I see no error in the EFI test itself.
There seems to be some bug in QEMU:
CPU: QEMU Virtual CPU version 2.5+ DRAM: 128 MiB unable to find cpus device Warning: MP init failure
I have no access to a computer this weekend. Please put the log into a mail as I think Pastebin does not keep pastes for long.
Regards
Heinrich

Hi Heinrich,
On Sat, 12 Sep 2020 at 14:11, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Am 12. September 2020 18:40:17 MESZ schrieb Simon Glass sjg@chromium.org:
Hi Heinrich,
I am seeing a failure in gitlab every now and then. Here is an example of a build that failed and then succeeded on retry:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/149201
Here's the failing trace:
Do you have any ideas?
Regards, Simon
I see no error in the EFI test itself.
There seems to be some bug in QEMU:
CPU: QEMU Virtual CPU version 2.5+ DRAM: 128 MiB unable to find cpus device Warning: MP init failure
+Bin Meng have you seen this before? Is it OK to do mp_init on qemu?
I have no access to a computer this weekend. Please put the log into a mail as I think Pastebin does not keep pastes for long.
[0KRunning with gitlab-runner 12.0.1 (0e5417a3) [0;m [0K on konsulko-bootbake G37FKVsV [0;msection_start:1599927871:prepare_executor [0K [0KUsing Docker executor with image trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020 ... [0;m [0KPulling docker image trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020 ... [0;m [0KUsing docker image sha256:2ce90130337e549a4fabf73a19832d1c66fef9de08a806c638a44074dc691e0a for trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020 ... [0;msection_end:1599927873:prepare_executor [0Ksection_start:1599927873:prepare_script [0KRunning on runner-G37FKVsV-project-552-concurrent-0 via bootbake... section_end:1599927875:prepare_script [0Ksection_start:1599927875:get_sources [0K [32;1mFetching changes... [0;m Reinitialized existing Git repository in /builds/u-boot/custodians/u-boot-dm/.git/ Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. [32;1mChecking out 96edab25 as log-working... [0;m Removing test/py/.pytest_cache/ Removing test/py/__pycache__/ Removing test/py/tests/__pycache__/ Removing test/py/tests/test_android/__pycache__/ Removing test/py/tests/test_efi_secboot/__pycache__/ Removing test/py/tests/test_fs/__pycache__/ Removing test/py/tests/test_fs/test_squashfs/__pycache__/ Removing tools/buildman/__pycache__/ Removing tools/patman/__pycache__/
[32;1mSkipping Git submodules setup [0;m section_end:1599927879:get_sources [0Ksection_start:1599927879:restore_cache [0Ksection_end:1599927881:restore_cache [0Ksection_start:1599927881:download_artifacts [0Ksection_end:1599927883:download_artifacts [0Ksection_start:1599927883:build_script [0K [32;1m$ git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks [0;m Cloning into '/tmp/uboot-test-hooks'... [32;1m$ ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname` [0;m [32;1m$ ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname` [0;m [32;1m$ grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd [0;m [32;1m$ grub-mkimage --prefix="" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd [0;m [32;1m$ if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.t... | tar -C /tmp -xJ; export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin; fi [0;m [32;1m$ if [[ "${TEST_PY_BD}" == "qemu-riscv64_spl" ]]; then wget -O - https://github.com/riscv/opensbi/releases/download/v0.8/opensbi-0.8-rv-bin.t... | tar -C /tmp -xJ; export OPENSBI=/tmp/opensbi-0.8-rv-bin/share/opensbi/lp64/generic/firmware/fw_dynamic.bin; fi [0;m [32;1m$ export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD} [0;m [32;1m$ tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e --board ${TEST_PY_BD} ${OVERRIDE} [0;m Building current source for 1 boards (1 thread, 24 jobs per thread)
Starting build...
0 0 0 /1 -1 (starting)
1 0 0 /1 qemu-x86 Completed: 1 total built, duration 0:00:12, rate 0.08 [32;1m$ cp ~/grub_x86.efi $UBOOT_TRAVIS_BUILD_DIR/ [0;m [32;1m$ cp ~/grub_x64.efi $UBOOT_TRAVIS_BUILD_DIR/ [0;m [32;1m$ cp /opt/grub/grubriscv64.efi $UBOOT_TRAVIS_BUILD_DIR/grub_riscv64.efi [0;m [32;1m$ cp /opt/grub/grubriscv32.efi $UBOOT_TRAVIS_BUILD_DIR/grub_riscv32.efi [0;m [32;1m$ cp /opt/grub/grubaa64.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm64.efi [0;m [32;1m$ cp /opt/grub/grubarm.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm.efi [0;m [32;1m$ virtualenv -p /usr/bin/python3 /tmp/venv [0;m Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /tmp/venv/bin/python3 Also creating executable in /tmp/venv/bin/python Installing setuptools, pkg_resources, pip, wheel...done. [32;1m$ . /tmp/venv/bin/activate [0;m [32;1m$ pip install -r test/py/requirements.txt [0;m Collecting atomicwrites==1.3.0 Downloading atomicwrites-1.3.0-py2.py3-none-any.whl (5.9 kB) Collecting attrs==19.3.0 Downloading attrs-19.3.0-py2.py3-none-any.whl (39 kB) Collecting coverage==4.5.4 Downloading coverage-4.5.4-cp36-cp36m-manylinux1_x86_64.whl (205 kB) Collecting extras==1.0.0 Downloading extras-1.0.0-py2.py3-none-any.whl (7.3 kB) Collecting fixtures==3.0.0 Downloading fixtures-3.0.0-py2.py3-none-any.whl (67 kB) Collecting importlib-metadata==0.23 Downloading importlib_metadata-0.23-py2.py3-none-any.whl (28 kB) Collecting linecache2==1.0.0 Downloading linecache2-1.0.0-py2.py3-none-any.whl (12 kB) Collecting more-itertools==7.2.0 Downloading more_itertools-7.2.0-py3-none-any.whl (57 kB) Collecting packaging==19.2 Downloading packaging-19.2-py2.py3-none-any.whl (30 kB) Collecting pbr==5.4.3 Downloading pbr-5.4.3-py2.py3-none-any.whl (110 kB) Collecting pluggy==0.13.0 Downloading pluggy-0.13.0-py2.py3-none-any.whl (17 kB) Collecting py==1.8.0 Downloading py-1.8.0-py2.py3-none-any.whl (83 kB) Collecting pyparsing==2.4.2 Downloading pyparsing-2.4.2-py2.py3-none-any.whl (65 kB) Collecting pytest==5.2.1 Downloading pytest-5.2.1-py3-none-any.whl (226 kB) Collecting python-mimeparse==1.6.0 Downloading python_mimeparse-1.6.0-py2.py3-none-any.whl (6.1 kB) Collecting python-subunit==1.3.0 Downloading python_subunit-1.3.0-py2.py3-none-any.whl (104 kB) Collecting six==1.12.0 Downloading six-1.12.0-py2.py3-none-any.whl (10 kB) Collecting testtools==2.3.0 Downloading testtools-2.3.0-py2.py3-none-any.whl (184 kB) Collecting traceback2==1.4.0 Downloading traceback2-1.4.0-py2.py3-none-any.whl (16 kB) Collecting unittest2==1.1.0 Downloading unittest2-1.1.0-py2.py3-none-any.whl (96 kB) Collecting wcwidth==0.1.7 Downloading wcwidth-0.1.7-py2.py3-none-any.whl (21 kB) Collecting zipp==0.6.0 Downloading zipp-0.6.0-py2.py3-none-any.whl (4.1 kB) Collecting argparse Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB) Installing collected packages: atomicwrites, attrs, coverage, extras, six, pbr, linecache2, traceback2, argparse, unittest2, python-mimeparse, testtools, fixtures, more-itertools, zipp, importlib-metadata, pyparsing, packaging, pluggy, py, wcwidth, pytest, python-subunit Successfully installed argparse-1.4.0 atomicwrites-1.3.0 attrs-19.3.0 coverage-4.5.4 extras-1.0.0 fixtures-3.0.0 importlib-metadata-0.23 linecache2-1.0.0 more-itertools-7.2.0 packaging-19.2 pbr-5.4.3 pluggy-0.13.0 py-1.8.0 pyparsing-2.4.2 pytest-5.2.1 python-mimeparse-1.6.0 python-subunit-1.3.0 six-1.12.0 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 wcwidth-0.1.7 zipp-0.6.0 [32;1m$ export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:${PATH}; export PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci; ./test/py/test.py -ra --bd ${TEST_PY_BD} ${TEST_PY_ID} ${TEST_PY_TEST_SPEC:+"-k ${TEST_PY_TEST_SPEC}"} --build-dir "$UBOOT_TRAVIS_BUILD_DIR" [0;m +u-boot-test-flash qemu-x86 na ============================= test session starts ============================== platform linux -- Python 3.6.9, pytest-5.2.1, py-1.8.0, pluggy-0.13.0 rootdir: /builds/u-boot/custodians/u-boot-dm/test/py, inifile: pytest.ini collected 327 items / 1 deselected / 326 selected
test/py/tests/test_000_version.py . [ 0%] test/py/tests/test_bind.py ss [ 0%] test/py/tests/test_button.py s [ 0%] test/py/tests/test_dfu.py s [ 0%] test/py/tests/test_dm.py ... [ 0%] test/py/tests/test_efi_fit.py s [ 0%] test/py/tests/test_efi_loader.py ...... [ 0%] test/py/tests/test_efi_selftest.py .s.F. [ 0%] test/py/tests/test_env.py ............sss [ 0%] test/py/tests/test_fit.py s [ 0%] test/py/tests/test_fpga.py ssssssssssssssssssssssssssss [ 0%] test/py/tests/test_gpio.py ss [ 0%] test/py/tests/test_gpt.py sssssss [ 0%] test/py/tests/test_handoff.py s [ 0%] test/py/tests/test_help.py . [ 0%] test/py/tests/test_hush_if_test.py ......................................................................s [ 0%] test/py/tests/test_log.py ss [ 0%] test/py/tests/test_lsblk.py s [ 0%] test/py/tests/test_md.py .. [ 0%] test/py/tests/test_mmc_rd.py ssss [ 0%] test/py/tests/test_mmc_wr.py s [ 0%] test/py/tests/test_net.py ..s..s [ 0%] test/py/tests/test_ofplatdata.py ss [ 0%] test/py/tests/test_part.py . [ 0%] test/py/tests/test_pinmux.py sssssss [ 0%] test/py/tests/test_sandbox_exit.py ss [ 0%] test/py/tests/test_sf.py ssss [ 0%] test/py/tests/test_shell_basics.py .... [ 0%] test/py/tests/test_tpm2.py sssssssssss [ 0%] test/py/tests/test_ums.py s [ 0%] test/py/tests/test_unknown_cmd.py . [ 0%] test/py/tests/test_ut.py ss [ 0%] test/py/tests/test_vboot.py ssssssssss [ 0%] test/py/tests/test_android/test_ab.py s [ 0%] test/py/tests/test_android/test_abootimg.py s [ 0%] test/py/tests/test_android/test_avb.py ssssss [ 0%] test/py/tests/test_efi_secboot/test_authvar.py sssss [ 0%] test/py/tests/test_efi_secboot/test_signed.py ssssss [ 0%] test/py/tests/test_efi_secboot/test_signed_intca.py sss [ 0%] test/py/tests/test_efi_secboot/test_unsigned.py sss [ 0%] test/py/tests/test_fs/test_basic.py sssssssssssssssssssssssssssssssssssssss [ 0%] test/py/tests/test_fs/test_ext.py ssssssssssssssssssssss [ 0%] test/py/tests/test_fs/test_fs_cmd.py s [ 0%] test/py/tests/test_fs/test_mkdir.py ssssssssssss [ 0%] test/py/tests/test_fs/test_symlink.py ssss [ 0%] test/py/tests/test_fs/test_unlink.py ssssssssssssss [ 0%] test/py/tests/test_fs/test_squashfs/test_sqfs_load.py s [ 0%] test/py/tests/test_fs/test_squashfs/test_sqfs_ls.py s
=================================== FAILURES =================================== _________________________ test_efi_selftest_text_input _________________________
u_boot_console = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f1867d66da0>
@pytest.mark.buildconfigspec('cmd_bootefi_selftest') def test_efi_selftest_text_input(u_boot_console): """Test the EFI_SIMPLE_TEXT_INPUT_PROTOCOL
:param u_boot_console: U-Boot console
This function calls the text input EFI selftest. """ u_boot_console.run_command(cmd='setenv efi_selftest text input') output = u_boot_console.run_command(cmd='bootefi selftest', wait_for_prompt=False) m = u_boot_console.p.expect([r'To terminate type 'x'']) if m != 0: raise Exception('No prompt for 'text input' test') u_boot_console.drain_console() u_boot_console.p.timeout = 500 # EOT u_boot_console.run_command(cmd=chr(4), wait_for_echo=False, send_nl=False, wait_for_prompt=False) m = u_boot_console.p.expect( [r'Unicode char 4 (unknown), scan code 0 (Null)']) if m != 0: raise Exception('EOT failed in 'text input' test') u_boot_console.drain_console() # BS u_boot_console.run_command(cmd=chr(8), wait_for_echo=False, send_nl=False, wait_for_prompt=False) m = u_boot_console.p.expect( [r'Unicode char 8 (BS), scan code 0 (Null)']) if m != 0: raise Exception('BS failed in 'text input' test') u_boot_console.drain_console() # TAB u_boot_console.run_command(cmd=chr(9), wait_for_echo=False, send_nl=False, wait_for_prompt=False) m = u_boot_console.p.expect( [r'Unicode char 9 (TAB), scan code 0 (Null)']) if m != 0: raise Exception('BS failed in 'text input' test') u_boot_console.drain_console() # a u_boot_console.run_command(cmd='a', wait_for_echo=False, send_nl=False, wait_for_prompt=False) m = u_boot_console.p.expect( [r'Unicode char 97 ('a'), scan code 0 (Null)']) if m != 0: raise Exception(''a' failed in 'text input' test') u_boot_console.drain_console() # UP escape sequence u_boot_console.run_command(cmd=chr(27) + '[A', wait_for_echo=False, send_nl=False, wait_for_prompt=False) m = u_boot_console.p.expect( [r'Unicode char 0 (Null), scan code 1 (Up)']) if m != 0: raise Exception('UP failed in 'text input' test') u_boot_console.drain_console() # Euro sign u_boot_console.run_command(cmd=b'\xe2\x82\xac'.decode(), wait_for_echo=False, send_nl=False, wait_for_prompt=False) m = u_boot_console.p.expect([r'Unicode char 8364 ('']) if m != 0: raise Exception('Euro sign failed in 'text input' test') u_boot_console.drain_console() u_boot_console.run_command(cmd='x', wait_for_echo=False, send_nl=False, wait_for_prompt=False) m = u_boot_console.p.expect(['Summary: 0 failures', 'Press any key']) if m != 0: raise Exception('Failures occurred during the EFI selftest')
u_boot_console.restart_uboot()
test/py/tests/test_efi_selftest.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/py/u_boot_console_base.py:422: in restart_uboot self.ensure_spawned() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f1867d66da0>
def ensure_spawned(self): """Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args: None.
Returns: Nothing. """
if self.p: return try: self.log.start_section('Starting U-Boot') self.at_prompt = False self.p = self.get_spawn() # Real targets can take a long time to scroll large amounts of # text if LCD is enabled. This value may need tweaking in the # future, possibly per-test to be optimal. This works for 'help' # on board 'seaboard'. if not self.config.gdbserver: self.p.timeout = 30000 self.p.logfile_read = self.logstream bcfg = self.config.buildconfig config_spl = bcfg.get('config_spl', 'n') == 'y' config_spl_serial_support = bcfg.get('config_spl_serial_support', 'n') == 'y' env_spl_skipped = self.config.env.get('env__spl_skipped', False) env_spl2_skipped = self.config.env.get('env__spl2_skipped', True) if config_spl and config_spl_serial_support and not env_spl_skipped: m = self.p.expect([pattern_u_boot_spl_signon] + self.bad_patterns) if m != 0: raise Exception('Bad pattern found on SPL console: ' + self.bad_pattern_ids[m - 1]) if not env_spl2_skipped: m = self.p.expect([pattern_u_boot_spl2_signon] + self.bad_patterns) if m != 0: raise Exception('Bad pattern found on SPL2 console: ' + self.bad_pattern_ids[m - 1]) m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns) if m != 0: raise Exception('Bad pattern found on console: ' + self.bad_pattern_ids[m - 1]) self.u_boot_version_string = self.p.after while True: m = self.p.expect([self.prompt_compiled, pattern_stop_autoboot_prompt] + self.bad_patterns) if m == 0: break if m == 1: self.p.send(' ') continue raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 2])
E Exception: Bad pattern found on console: main_signon
test/py/u_boot_console_base.py:386: Exception ----------------------------- Captured stdout call ----------------------------- => setenv efi_selftest text input
=> => bootefi selftest
7 [r [999;999H [6n 8Found 0 disks
No EFI system partition
[1;37;40m
Testing EFI API implementation
[0;37;40m [1;37;40m
Selected test: 'text input'
[0;37;40m [1;34;40m
Setting up 'text input'
[0;37;40m [1;32;40mSetting up 'text input' succeeded
[0;37;40m [1;34;40m
Executing 'text input'
[0;37;40mWaiting for your input
To terminate type 'x'
Unicode char 4 (unknown), scan code 0 (Null)
Unicode char 8 (BS), scan code 0 (Null)
Unicode char 9 (TAB), scan code 0 (Null)
Unicode char 97 ('a'), scan code 0 (Null)
Unicode char 0 (Null), scan code 1 (Up)
Unicode char 8364 ('?'), scan code 0 (Null)
Unicode char 120 ('x'), scan code 0 (Null)
[1;32;40mExecuting 'text input' succeeded
[0;37;40m [1;37;40m
Boot services terminated
[0;37;40m [1;37;40m
Summary: 0 failures +u-boot-test-reset qemu-x86 na
U-Boot 2020.10-rc4-00226-g96edab25aa (Sep 12 2020 - 16:24:52 +0000)
CPU: QEMU Virtual CPU version 2.5+
DRAM: 128 MiB
unable to find cpus device
Warning: MP init failure
U-Boot 2020.10-rc4-00226-g96edab25aa (Sep 12 2020 - 16:24:52 +0000)
=========================== short test summary info ============================ SKIPPED [2] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_bind" not enabled SKIPPED [144] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:468: board "qemu-x86" not supported SKIPPED [1] tests/test_dfu.py:114: got empty parameter set ['env__usb_dev_port'], function test_dfu at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_dfu.py:113 SKIPPED [2] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:491: .config feature "generate_acpi_table" enabled SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_nvedit_info" not enabled SKIPPED [13] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_fpga" not enabled SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_fpga_loadp" not enabled SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_fpga_loadbp" not enabled SKIPPED [5] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "image_format_legacy" not enabled SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "gzip" not enabled SKIPPED [5] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_fpga_loadmk" not enabled SKIPPED [2] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_fpga_load_secure" not enabled SKIPPED [2] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_log" not enabled SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_lsblk" not enabled SKIPPED [1] tests/test_mmc_rd.py:134: got empty parameter set ['env__mmc_dev_config'], function test_mmc_dev at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_mmc_rd.py:133 SKIPPED [1] tests/test_mmc_rd.py:155: got empty parameter set ['env__mmc_dev_config'], function test_mmc_rescan at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_mmc_rd.py:154 SKIPPED [1] tests/test_mmc_rd.py:181: got empty parameter set ['env__mmc_dev_config'], function test_mmc_info at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_mmc_rd.py:180 SKIPPED [1] tests/test_mmc_rd.py:218: got empty parameter set ['env__mmc_rd_config'], function test_mmc_rd at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_mmc_rd.py:217 SKIPPED [1] tests/test_mmc_wr.py:38: got empty parameter set ['env__mmc_wr_config'], function test_mmc_wr at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_mmc_wr.py:37 SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_net.py:107: No static network configuration is defined SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_nfs" not enabled SKIPPED [2] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "spl_of_platdata" not enabled SKIPPED [3] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_pinmux" not enabled SKIPPED [1] tests/test_sf.py:167: got empty parameter set ['env__sf_config'], function test_sf_read at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_sf.py:166 SKIPPED [1] tests/test_sf.py:174: got empty parameter set ['env__sf_config'], function test_sf_read_twice at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_sf.py:173 SKIPPED [1] tests/test_sf.py:186: got empty parameter set ['env__sf_config'], function test_sf_erase at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_sf.py:185 SKIPPED [1] tests/test_sf.py:209: got empty parameter set ['env__sf_config'], function test_sf_update at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_sf.py:208 SKIPPED [11] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_tpm_v2" not enabled SKIPPED [1] tests/test_ums.py:76: got empty parameter set ['env__usb_dev_port'], function test_ums at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_ums.py:75 SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "ut_dm" not enabled SKIPPED [1] tests/test_ut.py: got empty parameter set ['ut_subtest'], function test_ut at /builds/u-boot/custodians/u-boot-dm/test/py/tests/test_ut.py:23 SKIPPED [3] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_mmc" not enabled SKIPPED [2] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "cmd_avb" not enabled SKIPPED [1] /builds/u-boot/custodians/u-boot-dm/test/py/conftest.py:487: .config feature "optee_ta_avb" not enabled FAILED test/py/tests/test_efi_selftest.py::test_efi_selftest_text_input - Exc... ========== 1 failed, 108 passed, 217 skipped, 1 deselected in 38.75s =========== section_end:1599927954:build_script [0Ksection_start:1599927954:after_script [0K [32;1mRunning after script... [0;m [32;1m$ rm -rf /tmp/uboot-test-hooks /tmp/venv [0;m section_end:1599927956:after_script [0Ksection_start:1599927956:upload_artifacts_on_failure [0Ksection_end:1599927958:upload_artifacts_on_failure [0K [31;1mERROR: Job failed: exit code 1 [0;m
Regards, Simon

Hi Heinrich and Bin,
On Sat, 12 Sept 2020 at 14:15, Simon Glass sjg@chromium.org wrote:
Hi Heinrich,
On Sat, 12 Sep 2020 at 14:11, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Am 12. September 2020 18:40:17 MESZ schrieb Simon Glass sjg@chromium.org:
Hi Heinrich,
I am seeing a failure in gitlab every now and then. Here is an example of a build that failed and then succeeded on retry:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/149201
Here's the failing trace:
Do you have any ideas?
Regards, Simon
I see no error in the EFI test itself.
There seems to be some bug in QEMU:
CPU: QEMU Virtual CPU version 2.5+ DRAM: 128 MiB unable to find cpus device Warning: MP init failure
+Bin Meng have you seen this before? Is it OK to do mp_init on qemu?
I have no access to a computer this weekend. Please put the log into a mail as I think Pastebin does not keep pastes for long.
Just to note this is still happening, e.g.:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/213892
Regards, Simon

Hi Simon,
On Sun, Jan 31, 2021 at 11:45 AM Simon Glass sjg@chromium.org wrote:
Hi Heinrich and Bin,
On Sat, 12 Sept 2020 at 14:15, Simon Glass sjg@chromium.org wrote:
Hi Heinrich,
On Sat, 12 Sep 2020 at 14:11, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Am 12. September 2020 18:40:17 MESZ schrieb Simon Glass sjg@chromium.org:
Hi Heinrich,
I am seeing a failure in gitlab every now and then. Here is an example of a build that failed and then succeeded on retry:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/149201
Here's the failing trace:
Do you have any ideas?
Regards, Simon
I see no error in the EFI test itself.
There seems to be some bug in QEMU:
CPU: QEMU Virtual CPU version 2.5+ DRAM: 128 MiB unable to find cpus device Warning: MP init failure
+Bin Meng have you seen this before? Is it OK to do mp_init on qemu?
I have no access to a computer this weekend. Please put the log into a mail as I think Pastebin does not keep pastes for long.
Just to note this is still happening, e.g.:
https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/213892
I will take a look.
Regards, Bin
participants (3)
-
Bin Meng
-
Heinrich Schuchardt
-
Simon Glass