Hi, Am Freitag, dem 28.03.2025 um 10:23 -0300 schrieb Fabio Estevam: > Hi Simon, > > On Fri, Mar 28, 2025 at 8:42 AM Simon Glass <s...@chromium.org> wrote: > > > Did you figure it out? > > > > I'm not really sure. It works fine in my tree and I just tested it > > now. Perhaps there are some other patches missing from Tom's tree? > > Applying this patch causes the following CI error: > > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1079236 > > ======================== Running binman tests > ======================== > 142.................................................................. > ..................................................................... > ..................................................................... > .............................................................Image > 'image' has missing bintools and is non-functional: cst > 143Some images are invalid > 144......................................Image 'image' has missing > bintools and is non-functional: cst > 145Some images are invalid > 146.........................................E........................ > ..................................................................... > ..................................................................... > ..............................s...................................... > ..... > 147================================================================== > ==== > 148ERROR: binman.ftest.TestFunctional.testNxpImx8MCSTMkimageMissing > (subunit.RemotedTestCase) > 149binman.ftest.TestFunctional.testNxpImx8MCSTMkimageMissing > 150------------------------------------------------------------------ > ---- > 151testtools.testresult.real._StringException: struct.error: unpack > requires a buffer of 4 bytes > 152================================================================== > ==== > 153SKIP: binman.cbfs_util_test.TestCbfs.test_cbfstool_failure > (subunit.RemotedTestCase) > 154binman.cbfs_util_test.TestCbfs.test_cbfstool_failure > 155------------------------------------------------------------------ > ---- > 156No cbfstool available > 157------------------------------------------------------------------ > ---- > 158Ran 581 tests in 5.012s > 159FAILED (errors=1, skipped=1) > > What needs to be done to fix this error?
The error looks like binman is never building the missing tools. Run something like: ./tools/binman/binman tool -f missing before the binman tests. This test setup uses .gitlab-ci.yml, right? Leonard