[PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests
Fabio Estevam
festevam at gmail.com
Mon May 5 14:28:19 CEST 2025
Hi Marek and Tom,
On Mon, Mar 31, 2025 at 3:31 PM Tom Rini <trini at konsulko.com> wrote:
> And make similar changes to .azure-pipelines.yml as well please.
I made another attempt and still get CI errors when applying this
patch. zstd is not found in CI:
Starting build...
0 0 0 /1 -1 (starting)
1 0 0 /1 tools-only
Completed: 1 total built, 1 newly), duration 0:00:15, rate 0.07
Fetching tools: bootgen bzip2 cbfstool cst fdt_add_pubkey fdtgrep
fiptool futility gzip ifwitool lz4 lzma_alone lzop mkeficapsule
mkimage openssl xz zstd
Fetch: cst
- trying method: binary download
- trying method: build from source
- clone git repo
'https://gitlab.apertis.org/pkg/imx-code-signing-tool' to
'/tmp/binmanf.rgn_6enh'
- build target 'all'
- writing to '/home/uboot/.binman-tools/cst'
Fetch: zstd
- trying method: binary download
- sudo apt install -y zstd
Exception: Error 100 running 'sudo apt install -y zstd':
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Unable to locate package zstd
- trying method: build from source
- failed to fetch with all methods
Already present: 16: bootgen bzip2 cbfstool fdt_add_pubkey fdtgrep
fiptool futility gzip ifwitool lz4 lzma_alone lzop mkeficapsule
mkimage openssl xz
Tools fetched: 1: cst
Failures: 1: zstd
/usr/lib/python3.10/os.py:1030: RuntimeWarning: line buffering
(buffering=1) isn't supported in binary mode, the default buffer size
will be used
return io.open(fd, mode, buffering, encoding, *args, **kwargs)
/usr/lib/python3.10/os.py:1030: RuntimeWarning: line buffering
(buffering=1) isn't supported in binary mode, the default buffer size
will be used
return io.open(fd, mode, buffering, encoding, *args, **kwargs)
======================== Running binman tests ========================
.....................................................s....s...................................................................................................................................................E...........................Image
'file2' has missing bintools and is non-functional: openssl
...Some images are invalid
...............E....................................E.....................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: binman.ftest.TestFunctional.testNxpImx8MCSTFIT (subunit.RemotedTestCase)
binman.ftest.TestFunctional.testNxpImx8MCSTFIT
----------------------------------------------------------------------
testtools.testresult.real._StringException: ValueError: Error 1
running 'cst -i /tmp/binman.ykmpnh27/nxp.csf-config-txt.nxp-imx8mcst
-o /tmp/binman.ykmpnh27/nxp.csf-output-blob.nxp-imx8mcst': File not
present SRK_1_2_3_4_table.bin
======================================================================
ERROR: binman.ftest.TestFunctional.testNxpImx8MCSTMkimageMissing
(subunit.RemotedTestCase)
binman.ftest.TestFunctional.testNxpImx8MCSTMkimageMissing
----------------------------------------------------------------------
testtools.testresult.real._StringException: struct.error: unpack
requires a buffer of 4 bytes
======================================================================
ERROR: binman.ftest.TestFunctional.testNxpImx8MCSTSPL (subunit.RemotedTestCase)
binman.ftest.TestFunctional.testNxpImx8MCSTSPL
----------------------------------------------------------------------
testtools.testresult.real._StringException: ValueError: Error 1
running 'cst -i /tmp/binman.nv01cfcu/nxp.csf-config-txt.nxp-imx8mcst
-o /tmp/binman.nv01cfcu/nxp.csf-output-blob.nxp-imx8mcst': File not
present SRK_1_2_3_4_table.bin
======================================================================
SKIP: binman.ftest.TestFunctional.testCompUtilVersions (subunit.RemotedTestCase)
binman.ftest.TestFunctional.testCompUtilVersions
----------------------------------------------------------------------
zstd not available
======================================================================
SKIP: binman.ftest.TestFunctional.testCompUtilCompressions
(subunit.RemotedTestCase)
binman.ftest.TestFunctional.testCompUtilCompressions
----------------------------------------------------------------------
zstd not available
----------------------------------------------------------------------
Ran 583 tests in 11.931s
FAILED (errors=3, skipped=2)
Full log: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1126772/raw
More information about the U-Boot
mailing list