Hi,
The patch caused one test failed on fast CI, and another failed on full CI.
For fast CI, the failed test case is citest.py:CrossTest.test_cross, when
building target 'mc:phyboard-mira-bookworm:isar-image-base'. Log follows:
21:11:12 (07/22)
/build/isar_wzh_3_fast/21/testsuite/citest.py:CrossTest.test_cross: STARTED
21:52:04 (07/22)
/build/isar_wzh_3_fast/21/testsuite/citest.py:CrossTest.test_cross:
FAIL: Bitbake failed (2451.57 s)
[stdlog] 2025-11-03 21:45:44,063
avocado.app cibuilder L0322 ERROR|
ERROR: mc:phyboard-mira-bookworm:example-module-phy-1.0-r0
do_dpkg_build:
ExecutionError('/build/isar_wzh_3_fast/21/build/tmp/work/debian-bookworm-armhf/example-module-phy/1.0-r0/temp/run.dpkg_runbuild.2797715',
3, None, None)
[stdlog] 2025-11-03 21:45:44,063 avocado.test cibuilder L0320 INFO | Log
data follows:
[stdlog] 2025-11-03 21:45:44,063
avocado.app cibuilder L0322 ERROR|
ERROR: Logfile of failure stored in:
/build/isar_wzh_3_fast/21/build/tmp/work/debian-bookworm-armhf/example-module-phy/1.0-r0/temp/log.do_dpkg_build.2797715
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_dpkg_build
DEBUG: Executing shell function dpkg_schroot_create_configs
Creating
/etc/schroot/chroot.d/isar-jenkins-c83a1f30-2c3c-4e94-9101-7bae88f0c388-2797715
DEBUG: Shell function dpkg_schroot_create_configs finished
DEBUG: Executing shell function dpkg_runbuild
sbuild (Debian sbuild) 0.85.0 (04 January 2023) on
arqalyq.m.ilbers.de
+==============================================================================+
| example-module-phy 1.0 (armhf) Mon, 03 Nov 2025 20:43:20
+0000 |
+==============================================================================+
Package: example-module-phy
Version: 1.0
Source Version: 1.0
Distribution: isar
Machine Architecture: amd64
Host Architecture: armhf
Build Architecture: amd64
Build Profiles: cross
Build Type: binary
I: NOTICE: Log filtering will replace
'var/run/schroot/mount/isar-jenkins-c83a1f30-2c3c-4e94-9101-7bae88f0c388-2797715-d5717322-f8d3-4405-8cca-3c6de6d5cb2e'
with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Chroot Setup Commands |
+------------------------------------------------------------------------------+
echo "Package: *\nPin: release n=isar\nPin-Priority: 1000" >
/etc/apt/preferences.d/isar-apt
--------------------------------------------------------------------------------------------
I: Finished running 'echo "Package: *\nPin: release
n=isar\nPin-Priority: 1000" > /etc/apt/preferences.d/isar-apt'.
echo "APT::Get::allow-downgrades 1;" > /etc/apt/apt.conf.d/50isar-apt
---------------------------------------------------------------------
I: Finished running 'echo "APT::Get::allow-downgrades 1;" >
/etc/apt/apt.conf.d/50isar-apt'.
rm -f /var/log/dpkg.log
-----------------------
I: Finished running 'rm -f /var/log/dpkg.log'.
mkdir -p /var/cache/apt/archives
--------------------------------
I: Finished running 'mkdir -p /var/cache/apt/archives'.
find /home/builder/example-module-phy/rootfs/var/cache/apt/archives
-maxdepth 1 -name '*.deb' -exec ln -t /var/cache/apt/archives/ -sf {} +
-------------------------------------------------------------------------------------------------------------------------------------------
I: Finished running 'find
/home/builder/example-module-phy/rootfs/var/cache/apt/archives -maxdepth
1 -name '*.deb' -exec ln -t /var/cache/apt/archives/ -sf {} +'.
apt-get update -o Dir::Etc::SourceList="sources.list.d/isar-apt.list" -o
Dir::Etc::SourceParts="-" -o APT::Get::List-Cleanup="0"
--------------------------------------------------------------------------------------------------------------------------------
Get:1 file:/isar-apt isar InRelease
Ign:1 file:/isar-apt isar InRelease
Get:2 file:/isar-apt isar Release [5105 B]
Get:2 file:/isar-apt isar Release [5105 B]
Get:3 file:/isar-apt isar Release.gpg
Ign:3 file:/isar-apt isar Release.gpg
Get:4 file:/isar-apt isar/main Sources [5394 B]
Get:5 file:/isar-apt isar/main amd64 Packages [2762 B]
Get:6 file:/isar-apt isar/main armhf Packages [5352 B]
Reading package lists...
I: Finished running 'apt-get update -o
Dir::Etc::SourceList="sources.list.d/isar-apt.list" -o
Dir::Etc::SourceParts="-" -o APT::Get::List-Cleanup="0"'.
Finished processing commands.
--------------------------------------------------------------------------------
I: NOTICE: Log filtering will replace
'build/example-module-phy-32rpQ2/resolver-lDWJSX' with '<<RESOLVERDIR>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Local sources
-------------
/build/isar_wzh_3_fast/21/build/tmp/work/debian-bookworm-armhf/example-module-phy/1.0-r0/example-module-phy_1.0.dsc
exists in
/build/isar_wzh_3_fast/21/build/tmp/work/debian-bookworm-armhf/example-module-phy/1.0-r0;
copying to chroot
I: NOTICE: Log filtering will replace
'build/example-module-phy-32rpQ2/example-module-phy-1.0' with
'<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/example-module-phy-32rpQ2'
with '<<BUILDDIR>>'
+------------------------------------------------------------------------------+
| Install package build dependencies |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: debhelper-compat (= 13), linux-headers-phy,
build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64,
libc-dev:armhf, libstdc++-dev:armhf
Filtered Build-Depends: debhelper-compat (= 13), linux-headers-phy,
build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64,
libc-dev:armhf, libstdc++-dev:armhf
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in
'/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [609 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [708 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [751 B]
Fetched 2068 B in 0s (50.9 kB/s)
Reading package lists...
Reading package lists...
Install main build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The solver encountered an error of type: ERR_UNSOLVABLE
The following information might help you to understand what is wrong:
The following packages have unmet dependencies:
linux-headers-phy:armhf : Depends: linux-kbuild-phy:armhf but it is
not installable or
linux-kbuild-phy-armhf-cross:armhf but it is not installable
Execute external solver...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-build-depends-main-dummy:armhf : Depends:
linux-headers-phy:armhf but it is not going to be installed
E: External solver failed with: The following packages have unmet
dependencies:
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use
Reading package lists...
Building dependency tree...
Reading state information...
The solver encountered an error of type: ERR_UNSOLVABLE
The following information might help you to understand what is wrong:
The following packages have unmet dependencies:
linux-headers-phy:armhf : Depends: linux-kbuild-phy:armhf but it is
not installable or
linux-kbuild-phy-armhf-cross:armhf but it is not installable
Execute external solver...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-build-depends-main-dummy:armhf : Depends:
linux-headers-phy:armhf but it is not going to be installed
E: External solver failed with: The following packages have unmet
dependencies:
apt-get failed.
For full CI, the failed test case is citest.py:KernelTests.test_per_kernel.
Log follows:
20:17:33 (07/48)
/build/isar_wzh_devel_2/8/testsuite/citest.py:KernelTests.test_per_kernel:
STARTED
20:26:41 (07/48)
/build/isar_wzh_devel_2/8/testsuite/citest.py:KernelTests.test_per_kernel:
FAIL: Bitbake failed (547.80 s)
[stdlog] 2025-11-03 20:25:41,022
avocado.app cibuilder L0322 ERROR|
ERROR: mc:qemuarm64-bookworm:example-module-mainline-1.0-r0
do_dpkg_build:
ExecutionError('/build/isar_wzh_devel_2/8/build/tmp/work/debian-bookworm-arm64/example-module-mainline/1.0-r0/temp/run.dpkg_runbuild.3369904',
3, None, None)
[stdlog] 2025-11-03 20:25:41,022 avocado.test cibuilder L0320 INFO | Log
data follows:
[stdlog] 2025-11-03 20:25:41,022
avocado.app cibuilder L0322 ERROR|
ERROR: Logfile of failure stored in:
/build/isar_wzh_devel_2/8/build/tmp/work/debian-bookworm-arm64/example-module-mainline/1.0-r0/temp/log.do_dpkg_build.3369904
[stdlog] 2025-11-03 20:25:41,022 avocado.test cibuilder L0320 INFO | |
DEBUG: Executing python function sstate_task_prefunc
[stdlog] 2025-11-03 20:25:41,023
avocado.app cibuilder L0322 ERROR|
ERROR: Task
(mc:qemuarm64-bookworm:virtual:per-kernel:mainline:/build/isar_wzh_devel_2/8/meta-isar/recipes-kernel/example-module/example-module.bb:do_dpkg_build)
failed with exit code '1'
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_dpkg_build
DEBUG: Executing shell function dpkg_schroot_create_configs
Creating
/etc/schroot/chroot.d/isar-builder-14a278ef-6154-47ed-818a-ce779ad05af2-476170
DEBUG: Shell function dpkg_schroot_create_configs finished
DEBUG: Executing shell function dpkg_runbuild
sbuild (Debian sbuild) 0.85.0 (04 January 2023) on ecf5e4d8eab2
+==============================================================================+
| example-module-mainline 1.0 (arm64) Tue, 04 Nov 2025 09:09:25
+0000 |
+==============================================================================+
Package: example-module-mainline
Version: 1.0
Source Version: 1.0
Distribution: isar
Machine Architecture: amd64
Host Architecture: arm64
Build Architecture: amd64
Build Profiles: cross
Build Type: binary
I: NOTICE: Log filtering will replace
'var/run/schroot/mount/isar-builder-14a278ef-6154-47ed-818a-ce779ad05af2-476170-f0be66c4-3503-406e-a046-128e9596ef80'
with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Chroot Setup Commands |
+------------------------------------------------------------------------------+
echo "Package: *\nPin: release n=isar\nPin-Priority: 1000" >
/etc/apt/preferences.d/isar-apt
--------------------------------------------------------------------------------------------
I: Finished running 'echo "Package: *\nPin: release
n=isar\nPin-Priority: 1000" > /etc/apt/preferences.d/isar-apt'.
echo "APT::Get::allow-downgrades 1;" > /etc/apt/apt.conf.d/50isar-apt
---------------------------------------------------------------------
I: Finished running 'echo "APT::Get::allow-downgrades 1;" >
/etc/apt/apt.conf.d/50isar-apt'.
rm -f /var/log/dpkg.log
-----------------------
I: Finished running 'rm -f /var/log/dpkg.log'.
mkdir -p /var/cache/apt/archives
--------------------------------
I: Finished running 'mkdir -p /var/cache/apt/archives'.
find /home/builder/example-module-mainline/rootfs/var/cache/apt/archives
-maxdepth 1 -name '*.deb' -exec ln -t /var/cache/apt/archives/ -sf {} +
------------------------------------------------------------------------------------------------------------------------------------------------
I: Finished running 'find
/home/builder/example-module-mainline/rootfs/var/cache/apt/archives
-maxdepth 1 -name '*.deb' -exec ln -t /var/cache/apt/archives/ -sf {} +'.
apt-get update -o Dir::Etc::SourceList="sources.list.d/isar-apt.list" -o
Dir::Etc::SourceParts="-" -o APT::Get::List-Cleanup="0"
--------------------------------------------------------------------------------------------------------------------------------
Get:1 file:/isar-apt isar InRelease
Ign:1 file:/isar-apt isar InRelease
Get:2 file:/isar-apt isar Release [5087 B]
Get:2 file:/isar-apt isar Release [5087 B]
Get:3 file:/isar-apt isar Release.gpg
Ign:3 file:/isar-apt isar Release.gpg
Get:4 file:/isar-apt isar/main Sources [2834 B]
Get:5 file:/isar-apt isar/main armhf Packages [1532 B]
Get:6 file:/isar-apt isar/main arm64 Packages [2695 B]
Get:7 file:/isar-apt isar/main amd64 Packages [893 B]
Reading package lists...
I: Finished running 'apt-get update -o
Dir::Etc::SourceList="sources.list.d/isar-apt.list" -o
Dir::Etc::SourceParts="-" -o APT::Get::List-Cleanup="0"'.
Finished processing commands.
--------------------------------------------------------------------------------
I: NOTICE: Log filtering will replace
'build/example-module-mainline-Om9YZL/resolver-cMiwQg' with
'<<RESOLVERDIR>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Local sources
-------------
/work/build/tmp/work/debian-bookworm-arm64/example-module-mainline/1.0-r0/example-module-mainline_1.0.dsc
exists in
/work/build/tmp/work/debian-bookworm-arm64/example-module-mainline/1.0-r0;
copying to chroot
I: NOTICE: Log filtering will replace
'build/example-module-mainline-Om9YZL/example-module-mainline-1.0' with
'<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace
'build/example-module-mainline-Om9YZL' with '<<BUILDDIR>>'
+------------------------------------------------------------------------------+
| Install package build dependencies |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: debhelper-compat (= 13), linux-headers-mainline,
build-essential:amd64, fakeroot:amd64, crossbuild-essential-arm64:amd64,
libc-dev:arm64, libstdc++-dev:arm64
Filtered Build-Depends: debhelper-compat (= 13), linux-headers-mainline,
build-essential:amd64, fakeroot:amd64, crossbuild-essential-arm64:amd64,
libc-dev:arm64, libstdc++-dev:arm64
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in
'/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [609 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [713 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [756 B]
Fetched 2078 B in 0s (0 B/s)
Reading package lists...
Reading package lists...
Install main build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The solver encountered an error of type: ERR_UNSOLVABLE
The following information might help you to understand what is wrong:
The following packages have unmet dependencies:
linux-headers-mainline:arm64 : Depends: linux-kbuild-mainline:arm64
but it is not installable or
linux-kbuild-mainline-arm64-cross:arm64 but it is not installable
Execute external solver...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-build-depends-main-dummy:arm64 : Depends:
linux-headers-mainline:arm64 but it is not going to be installed
E: External solver failed with: The following packages have unmet
dependencies:
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use
Reading package lists...
Building dependency tree...
Reading state information...
The solver encountered an error of type: ERR_UNSOLVABLE
The following information might help you to understand what is wrong:
The following packages have unmet dependencies:
linux-headers-mainline:arm64 : Depends: linux-kbuild-mainline:arm64
but it is not installable or
linux-kbuild-mainline-arm64-cross:arm64 but it is not installable
Execute external solver...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-build-depends-main-dummy:arm64 : Depends:
linux-headers-mainline:arm64 but it is not going to be installed
E: External solver failed with: The following packages have unmet
dependencies:
apt-get failed.
You can redo the test on your machine using avocado:
1. Have a clean clone of isar, checkout to branch next and apply your
patches:
$ git clone -b next
https://github.com/ilbers/isar.git
$ cd isar
$ git am /path-to/0001-my-contribution-to-isar.patch
2. Disable several unrelated targets to make error appears faster, by
applying
the following diff:
diff --git a/testsuite/citest.py b/testsuite/citest.py
index 675015af..f573a9a7 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -197,13 +197,6 @@ class CrossTest(CIBaseTest):
def test_cross(self):
targets = [
- 'mc:qemuarm-buster:isar-image-ci',
- 'mc:qemuarm-bullseye:isar-image-ci',
- 'mc:de0-nano-soc-bullseye:isar-image-base',
- 'mc:stm32mp15x-bullseye:isar-image-base',
- 'mc:qemuarm-bookworm:isar-image-ci',
- 'mc:qemuarm64-focal:isar-image-base',
- 'mc:nanopi-neo-efi-bookworm:isar-image-base',
'mc:phyboard-mira-bookworm:isar-image-base',
]
3.Run kas shell, setup CI prerequisites (avocado, qemu) and cleanup:
$ ./kas/kas-container shell kas/isar.yaml --command \
"rm -rf /work/build/conf && /work/scripts/ci_setup.sh"
4.Run the failed test in fast:
$ cd /work/testsuite
$ avocado run citest.py:CrossTest.test_cross$
4.Run the failed test in full:
$ avocado run citest.py:KernelTests.test_per_kernel
Best regards,
Zhihang