Parcourir la source

ci-build: Protect bullseye container with KFAIL

Bullseye building issue still not resolved, so container-bullseye fails
with error:

> fakeroot debian/rules clean
>semop(1): encountered an error: Function not implemented

This issue should be already fixed in host qemu/1:5.0-9 but we still
experience the same with qemu/1:5.2+dfsg-3~bpo10+1. Further research
will be done, so temporary fix for ci-build.sh introduced.

Bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965109

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
Anton Mikanovich il y a 4 ans
Parent
commit
7dd4f7a3e0
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 9 0
      scripts/ci_build.sh

+ 9 - 0
scripts/ci_build.sh

@@ -58,6 +58,9 @@ TARGETS_SET_BULLSEYE="\
 TARGETS_CONTAINERS="\
     mc:container-stretch:isar-image-base \
     mc:container-buster:isar-image-base \
+"
+
+TARGETS_CONTAINERS_BULLSEYE="\
     mc:container-bullseye:isar-image-base \
 "
 
@@ -259,6 +262,12 @@ sed -i -e 's/\(IMAGE_INSTALL = .*\) example-module-${KERNEL_NAME}\(.*\)/\1\2/g'
 sed -i -e 's/\(IMAGE_INSTALL = .*\) enable-fsck\(.*\)/\1\2/g' conf/local.conf
 bitbake $BB_ARGS $TARGETS_CONTAINERS
 while [ -e bitbake.sock ]; do sleep 1; done
+if bitbake $BB_ARGS $TARGETS_CONTAINERS_BULLSEYE; then
+    echo "bullseye container: PASSED"
+else
+    echo "bullseye container: KFAIL"
+fi
+while [ -e bitbake.sock ]; do sleep 1; done
 # and SDK container image creation
 echo 'SDK_FORMATS = "docker-archive"' >> conf/local.conf
 bitbake $BB_ARGS -c do_populate_sdk mc:container-stretch:isar-image-base