Bug 15314 - AB-INT: wic.Wic.test_efi_bootpart failure
Summary: AB-INT: wic.Wic.test_efi_bootpart failure
Status: RESOLVED FIXED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Julien Stephan
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2023-12-08 14:24 UTC by Alexandre Belloni
Modified: 2023-12-14 15:51 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belloni 2023-12-08 14:24:37 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6158/steps/14/logs/stdio
oe-selftest-centos rocky9-ty-1

2023-12-08 09:20:49,698 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/wic.py", line 283, in test_efi_bootpart
    kimgtype = get_bb_var('KERNEL_IMAGETYPE', 'core-image-minimal')
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 286, in get_bb_var
    return get_bb_vars([var], target, postconfig)[var]
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 248, in get_bb_vars
    bbenv = get_bb_env(target, postconfig=postconfig)
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 242, in get_bb_env
    return bitbake("-e %s" % target, postconfig=postconfig).output
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 234, in bitbake
    return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 212, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake  -e core-image-minimal' returned non-zero exit status 1:
NOTE: Reconnecting to bitbake server...
Loading cache...done.
Loaded 1920 entries from dependency cache.
Parsing recipes...ERROR: /home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files_3.0.14.bb: Unable to get checksum for base-files SRC_URI entry testfile: file could not be found
The following paths were searched:
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files-3.0.14/poky/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files/poky/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/files/poky/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files-3.0.14/qemux86-64/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files/qemux86-64/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/files/qemux86-64/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files-3.0.14/qemuall/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files/qemuall/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/files/qemuall/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files-3.0.14/x86-64/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files/x86-64/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/files/x86-64/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files-3.0.14/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/base-files/testfile
/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-core/base-files/files/testfile
ERROR: Parsing halted due to errors, see error messages above
Comment 1 Alexandre Belloni 2023-12-08 14:26:31 UTC
build directory is save as bug-15314 on rocky9-ty-1
Comment 2 Alexandre Belloni 2023-12-08 16:41:14 UTC
RP said:

I think this is causing problems with other selftests, e.g. this set of
failures here:


https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2559/steps/14/logs/stdio

with errors like:

ERROR: When reparsing /home/pokybuild/yocto-worker/oe-selftest-armhost/build/meta/recipes-core/base-files/base-files_3.0.14.bb:do_fetch, the basehash value changed from b720db5f2039a9a72917b5d400acd7f874d37014fec362112a44f90504ba79cd to
1b5f5a1ec1552e4a1e5798b2a1c23c062be5054be287d79c98e0e29da780c3b0. The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake base-files -cdo_fetch -Snone
ERROR: Then:
ERROR: $ bitbake base-files -cdo_fetch -Sprintdiff


since this test is running on the same metadata as the other tests are
using. We need to keep modifications isolated from the other tests that
could be running.
Comment 3 Alexandre Belloni 2023-12-14 15:51:21 UTC
5d6a41b265caebe8bfe81530983de34ffb4341ad oeqa/selftest/recipetool: fix metadata corruption on meta layer

https://git.yoctoproject.org/poky/commit/?id=5d6a41b265caebe8bfe81530983de34ffb4341ad