[UX][Bug] blueprints docs: DoorLock & Smart Panel Build process failed
The module affected
Building procedures of Doorlock @ Smart Panel BP https://docs.oniroproject.org/projects/blueprints/en/latest/doorlock.html#build-the-software https://docs.oniroproject.org/projects/blueprints/en/latest/smart-panel.html#prepare-iot-devices-nitrogen-zephyr-flavour
What is the action to reproduce the bug?
mkdir oniroproject; cd oniroproject
repo init -u https://gitlab.eclipse.org/eclipse/oniro-core/oniro.git -b dunfell
repo sync --no-clone-bundle
Doorlock:
TEMPLATECONF=../oniro/flavours/zephyr . ./oe-core/oe-init-build-env build-oniro-doorlock
bitbake-layers add-layer $CHECKOUT_DIR/meta-homeassistant
bitbake-layers add-layer $CHECKOUT_DIR/meta-oniro-blueprints
DISTRO="oniro-zephyr-blueprint-doorlock" MACHINE=arduino-nano-33-ble bitbake zephyr-blueprint-doorlock
SmartPanel
TEMPLATECONF=../oniro/flavours/zephyr . ./oe-core/oe-init-build-env build-oniro-zephyr-96b-nitrogen
MACHINE ?= "96b-nitrogen"
bitbake-layers add-layer $CHECKOUT_DIR/meta-homeassistant
bitbake-layers add-layer $CHECKOUT_DIR/meta-oniro-blueprints
DISTRO=oniro-zephyr-blueprint-dashboard bitbake zephyr-blueprint-smarthome-sensors
What is the result you see?
DoorLock:
build-oniro-doorlock DISTRO="oniro-zephyr-blueprint-doorlock" MACHINE=arduino-nano-33-ble bitbake zephyr-blueprint-doorlock
Loading cache: 100% |####################################################################################| Time: 0:00:00Loaded 4100 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-yocto-eabi"
MACHINE = "arduino-nano-33-ble"
DISTRO = "oniro-zephyr-blueprint-doorlock"
DISTRO_VERSION = "1.99.99"
TUNE_FEATURES = "armv7m cortexm4"
TARGET_FPU = "soft"
meta-oniro-staging = "HEAD:0e18a0c78ab98c48f5289b316a9c69b03385d5e0"
meta = "HEAD:90a07178ea26be453d101c2e8b33d3a0f437635d"
meta-clang = "HEAD:d0b67aebb224adc086cfa8ef4d695632ae8aa92c"
meta-zephyr = "HEAD:13ab7ece972e73f3599d14cb8bbff5041f7eeea5"
meta-zephyr-bsp = "HEAD:7c79eb3bc382248147dfeee99149d17a0f98d149"
meta-oniro-core = "HEAD:0e18a0c78ab98c48f5289b316a9c69b03385d5e0"
meta-arm = "HEAD:7902cf4ce402e52a3a939b4b50b4905193c943ed"
meta-freertos = "HEAD:f3c2edb0f22c34b35a775c5d17ea1424d44bee21"
meta-intel = "HEAD:b4e5d33affeaa223459c0935a853485137b4591d"
meta-seco-intel = "HEAD:baf4cd3237bdf4f4999b7d44c6992dbcab93d5e3"
meta-freescale = "HEAD:11170950b155168ec414bbde48e3a4427fcac4bd"
meta-seco-imx = "HEAD:913eb532c9131f404951742257444314a4a83bcb"
meta-oe
meta-networking
meta-perl
meta-python = "HEAD:7889158dcd187546fc5e99fd81d0779cad3e8d17"
meta-python-mixin = "HEAD:7bda3c1e5d6876375a8bf865ed9fcce2622c1715"
meta-st-stm32mp = "HEAD:b25a2b0daa6e9e1e3ce76b9fdf5bd7cbf30e90fc"
meta-st-stm32mp-addons = "HEAD:81065195a63e98be8f423ab422960e9d7896f4d5"
meta-av96-core = "HEAD:a4b2b45efcbad1882227eac54b5023ff6b736b10"
meta-raspberrypi = "HEAD:934064a01903b2ba9a82be93b3f0efdb4543a0e8"
meta-security = "HEAD:b76698c788cb8ca632077a972031899ef15025d6"
meta-optee = "HEAD:10af9133aeb28b3487fd227c900c11b786505699"
meta-riscv = "HEAD:98124ed494e714e50f1281517199a73b120a34bc"
meta-rauc = "HEAD:f528f95b75922eb81895d764836a67f13858365a"
meta-homeassistant = "HEAD:4ee8b3f5380ca2cdfaee0d684d0991b6d2d32acb"
meta-oniro-blueprints = "HEAD:d5bd1af247c1f98c402b12c521ca13fd3b9a1224"
Initialising tasks: 100% |###############################################################################| Time: 0:00:01Sstate summary: Wanted 11 Found 0 Missed 11 Current 79 (0% match, 87% complete)
NOTE: Executing Tasks
WARNING: zephyr-blueprint-doorlock-2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0 do_fetch: Failed to fetch URL git://github.com/zephyrproject-rtos/sof.git;branch=zephyr_2.6;protocol=https;destsuffix=git/modules/audio/sof;name=sof, attempting MIRRORS if available
ERROR: zephyr-blueprint-doorlock-2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0 do_fetch: Fetcher failure: Unable to find revision 779f28ed465c03899c8a7d4aaf399856f4e51158 in branch zephyr_2.6 even from upstream
ERROR: zephyr-blueprint-doorlock-2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/zephyrproject-rtos/sof.git;branch=zephyr_2.6;protocol=https;destsuffix=git/modules/audio/sof;name=sof')
ERROR: Logfile of failure stored in: /home/felldn/oniroprojectd/build-oniro-doorlock/tmp-newlib/work/armv7m-yocto-eabi/zephyr-blueprint-doorlock/2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0/temp/log.do_fetch.6319
ERROR: Task (/home/felldn/oniroprojectd/meta-oniro-blueprints/recipes-kernel/zephyr-kernel/zephyr-blueprint-doorlock.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 569 tasks of which 567 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/felldn/oniroprojectd/meta-oniro-blueprints/recipes-kernel/zephyr-kernel/zephyr-blueprint-doorlock.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
➜ build-oniro-zephyr MACHINE=96b-nitrogen bitbake zephyr-philosophers -c flash_usb
Loading cache: 100% |####################################################################################| Time: 0:00:00
Loaded 4630 entries from dependency cache.
Parsing recipes: 100% |##################################################################################| Time: 0:00:00
Parsing of 3000 .bb files complete (2999 cached, 1 parsed). 4631 targets, 497 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-yocto-eabi"
MACHINE = "96b-nitrogen"
DISTRO = "oniro-zephyr"
DISTRO_VERSION = "1.99.99"
TUNE_FEATURES = "armv7m cortexm4"
TARGET_FPU = "soft"
meta-oniro-staging = "HEAD:f16bce79c07538dad252aa7f1edd2f5e293413b4"
meta = "HEAD:87d7383989a1ef6deaeff85739e622d8175ae9b6"
meta-arm
meta-arm-toolchain = "HEAD:c713908b7feb31067601e335222725e5ddcb6668"
meta-clang = "HEAD:61bc6944e0962b45431d3f400ce5e0e15b85a03c"
meta-zephyr-bsp
meta-zephyr-core = "HEAD:654f533f74efc363004cd9b7ba1789bd386efdaf"
meta-oniro-core = "HEAD:f16bce79c07538dad252aa7f1edd2f5e293413b4"
meta-freertos = "HEAD:98a6838261d36b8f79c5fbae1736492169727a1e"
meta-intel = "HEAD:6177e7d95210131567d2891951b45a316a583bb4"
meta-seco-intel = "HEAD:65a673560211b11986db5785c70254fad190785f"
meta-freescale = "HEAD:e904064f046612ebd1834d5b2dcdd757c680503b"
meta-seco-imx = "HEAD:b82eaf8b0a2abe775c158b0a069b7bb7894ec8e6"
meta-oe
meta-filesystems
meta-networking
meta-perl
meta-python = "HEAD:6fbe7f748706229f43a2e06b08b6e1e729942314"
meta-raspberrypi = "HEAD:0135a02ea577bd39dd552236ead2c5894d89da1d"
meta-security = "HEAD:93f2146211001ee3cf697d8428969cc3069ed6ba"
meta-riscv = "HEAD:70e099d7ceca52a1dde2c978713012f6b20a9891"
meta-rauc = "HEAD:4429bd1f29677c9a7de032d53240fb4791a41e1f"
Initialising tasks: 100% |###############################################################################| Time: 0:00:01
Sstate summary: Wanted 1 Local 0 Mirrors 0 Missed 1 Current 132 (0% match, 99% complete)
Removing 1 stale sstate objects for arch 96b_nitrogen: 100% |############################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: zephyr-philosophers-3.0.0+gitAUTOINC+4f8d78ceeb_b0612c97c1-r0 do_flash_usb: No probe detected. Make sure your target is connected.
ERROR: Logfile of failure stored in: /home/felldn/oniroproject/build-oniro-zephyr/tmp-newlib/work/armv7m-yocto-eabi/zephyr-philosophers/3.0.0+gitAUTOINC+4f8d78ceeb_b0612c97c1-r0/temp/log.do_flash_usb.50350
ERROR: Task (/home/felldn/oniroproject/oe-core/../meta-zephyr/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb:do_flash_usb) failed with exit code '1'
NOTE: Tasks Summary: Attempted 597 tasks of which 592 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/felldn/oniroproject/oe-core/../meta-zephyr/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-philosophers.bb:do_flash_usb
Summary: There was 1 ERROR message, returning a non-zero exit code.
Smart Panel
build-oniro-zephyr-96b-nitrogen DISTRO=oniro-zephyr-blueprint-dashboard bitbake zephyr-blueprint-smarthome-sensors
Loading cache: 100% |########################################################################################################################| Time: 0:00:00
Loaded 4100 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-yocto-eabi"
MACHINE = "96b-nitrogen"
DISTRO = "oniro-zephyr-blueprint-dashboard"
DISTRO_VERSION = "1.99.99"
TUNE_FEATURES = "armv7m cortexm4"
TARGET_FPU = "soft"
meta-oniro-staging = "HEAD:0e18a0c78ab98c48f5289b316a9c69b03385d5e0"
meta = "HEAD:90a07178ea26be453d101c2e8b33d3a0f437635d"
meta-clang = "HEAD:d0b67aebb224adc086cfa8ef4d695632ae8aa92c"
meta-zephyr = "HEAD:13ab7ece972e73f3599d14cb8bbff5041f7eeea5"
meta-zephyr-bsp = "HEAD:7c79eb3bc382248147dfeee99149d17a0f98d149"
meta-oniro-core = "HEAD:0e18a0c78ab98c48f5289b316a9c69b03385d5e0"
meta-arm = "HEAD:7902cf4ce402e52a3a939b4b50b4905193c943ed"
meta-freertos = "HEAD:f3c2edb0f22c34b35a775c5d17ea1424d44bee21"
meta-intel = "HEAD:b4e5d33affeaa223459c0935a853485137b4591d"
meta-seco-intel = "HEAD:baf4cd3237bdf4f4999b7d44c6992dbcab93d5e3"
meta-freescale = "HEAD:11170950b155168ec414bbde48e3a4427fcac4bd"
meta-seco-imx = "HEAD:913eb532c9131f404951742257444314a4a83bcb"
meta-oe
meta-networking
meta-perl
meta-python = "HEAD:7889158dcd187546fc5e99fd81d0779cad3e8d17"
meta-python-mixin = "HEAD:7bda3c1e5d6876375a8bf865ed9fcce2622c1715"
meta-st-stm32mp = "HEAD:b25a2b0daa6e9e1e3ce76b9fdf5bd7cbf30e90fc"
meta-st-stm32mp-addons = "HEAD:81065195a63e98be8f423ab422960e9d7896f4d5"
meta-av96-core = "HEAD:a4b2b45efcbad1882227eac54b5023ff6b736b10"
meta-raspberrypi = "HEAD:934064a01903b2ba9a82be93b3f0efdb4543a0e8"
meta-security = "HEAD:b76698c788cb8ca632077a972031899ef15025d6"
meta-optee = "HEAD:10af9133aeb28b3487fd227c900c11b786505699"
meta-riscv = "HEAD:98124ed494e714e50f1281517199a73b120a34bc"
meta-rauc = "HEAD:f528f95b75922eb81895d764836a67f13858365a"
meta-homeassistant = "HEAD:4ee8b3f5380ca2cdfaee0d684d0991b6d2d32acb"
meta-oniro-blueprints = "HEAD:d5bd1af247c1f98c402b12c521ca13fd3b9a1224"
Initialising tasks: 100% |###################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 26 Found 0 Missed 26 Current 63 (0% match, 70% complete)
NOTE: Executing Tasks
WARNING: zephyr-blueprint-smarthome-sensors-2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0 do_fetch: Failed to fetch URL git://github.com/zephyrproject-rtos/sof.git;branch=zephyr_2.6;protocol=https;destsuffix=git/modules/audio/sof;name=sof, attempting MIRRORS if available
ERROR: zephyr-blueprint-smarthome-sensors-2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0 do_fetch: Fetcher failure: Unable to find revision 779f28ed465c03899c8a7d4aaf399856f4e51158 in branch zephyr_2.6 even from upstream
ERROR: zephyr-blueprint-smarthome-sensors-2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/zephyrproject-rtos/sof.git;branch=zephyr_2.6;protocol=https;destsuffix=git/modules/audio/sof;name=sof')
ERROR: Logfile of failure stored in: /home/felldn/oniroprojectd/build-oniro-zephyr-96b-nitrogen/tmp-newlib/work/armv7m-yocto-eabi/zephyr-blueprint-smarthome-sensors/2.6.0+gitAUTOINC+837ab4a915_c3bd2094f9-r0/temp/log.do_fetch.24115
ERROR: Task (/home/felldn/oniroprojectd/meta-oniro-blueprints/recipes-kernel/zephyr-kernel/zephyr-blueprint-smarthome-sensors.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 534 tasks of which 526 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/felldn/oniroprojectd/meta-oniro-blueprints/recipes-kernel/zephyr-kernel/zephyr-blueprint-smarthome-sensors.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
What is the result you expect?
Properly build procedures of Doorlock & SmartPanel
Frequency?
Always
Tested version
Ubuntu 20.04
Ubuntu 22.04
Do you know any workaround of this issue?
n/a
Do you have a fix for this issue?
n/a
Edited by Michał Felak