balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
966 stars 115 forks source link

Add GHA workflows for additional device types #3471

Closed klutchell closed 2 weeks ago

klutchell commented 1 month ago

Change-type: patch


Merge checklist

Reviewer Guidelines

github-actions[bot] commented 1 month ago

Website deployed to CF Pages, 👀 preview link https://767dead2.balena-os.pages.dev

klutchell commented 1 month ago

Jetson Nano test failed to pull one of the sources, it's probably moved and we are depending on cache in Jenkins.

build/tmp/log/cooker/jetson-nano/20240717202341.log:ERROR: Task (/work/build/../layers/meta-tegra/recipes-kernel/linux/linux-tegra_4.9.bb:do_fetch) failed with exit code '1'
build/tmp/log/cooker/jetson-nano/console-latest.log:ERROR: linux-tegra-4.9.299+gitAUTOINC+ff65a92ec5-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export SSH_AUTH_SOCK="/tmp/ssh-agent"; export PATH="/work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/recipe-sysroot-native/usr/bin/kern-tools-tegra:/work/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/work/layers/poky/scripts:/work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/recipe-sysroot/usr/bin/crossscripts:/work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/recipe-sysroot-native/usr/sbin:/work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/recipe-sysroot-native/usr/bin:/work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/recipe-sysroot-native/sbin:/work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/recipe-sysroot-native/bin:/work/layers/poky/bitbake/bin:/work/build/tmp/hosttools"; export HOME="/home/builder"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/OE4T/linux-tegra-4.9 /yocto/shared-downloads/git2/github.com.OE4T.linux-tegra-4.9 --progress failed with exit code 128, no output
build/tmp/log/cooker/jetson-nano/console-latest.log:ERROR: linux-tegra-4.9.299+gitAUTOINC+ff65a92ec5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/OE4T/linux-tegra-4.9;protocol=https;name=machine;branch=oe4t-patches-l4t-r32.7.3')
build/tmp/log/cooker/jetson-nano/console-latest.log:ERROR: Logfile of failure stored in: /work/build/tmp/work/jetson_nano-poky-linux/linux-tegra/4.9.299+gitAUTOINC+ff65a92ec5-r0/temp/log.do_fetch.23132
build/tmp/log/cooker/jetson-nano/console-latest.log:ERROR: Task (/work/build/../layers/meta-tegra/recipes-kernel/linux/linux-tegra_4.9.bb:do_fetch) failed with exit code '1'
klutchell commented 1 month ago

All QEMU tests are also failing to auth to balena-cloud.com, but this same flow works on another repository so we need to check if there is a secrets mismatch on this repo in particular.

klutchell commented 1 month ago

Beaglebone Black is also failing to build as it cannot fetch any sources from git.ti.com https://github.com/balena-os/meta-balena/actions/runs/9980753842/job/27582878603?pr=3471

klutchell commented 1 month ago

Jetson Nano is passing now, BeagleBone Black is still failing to fetch sources:

build/tmp/log/cooker/beaglebone/console-latest.log:ERROR: prueth-fw-2022.01-r4.0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://git.ti.com/git/processor-firmware/ti-linux-firmware.git;protocol=https;branch=ti-linux-firmware')
build/tmp/log/cooker/beaglebone/console-latest.log:ERROR: Logfile of failure stored in: /work/build/tmp/work/beaglebone-poky-linux-gnueabi/prueth-fw/2022.01-r4.0/temp/log.do_fetch.4633
build/tmp/log/cooker/beaglebone/console-latest.log:ERROR: Task (/work/build/../layers/meta-ti/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb:do_fetch) failed with exit code '1'
build/tmp/log/cooker/beaglebone/console-latest.log:ERROR: pruhsr-fw-1_2022.01-r4.0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export SSH_AUTH_SOCK="/tmp/ssh-agent"; export PATH="/work/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/work/layers/poky/scripts:/work/build/tmp/work/beaglebone-poky-linux-gnueabi/pruhsr-fw/1_2022.01-r4.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/work/build/tmp/work/beaglebone-poky-linux-gnueabi/pruhsr-fw/1_2022.01-r4.0/recipe-sysroot/usr/bin/crossscripts:/work/build/tmp/work/beaglebone-poky-linux-gnueabi/pruhsr-fw/1_2022.01-r4.0/recipe-sysroot-native/usr/sbin:/work/build/tmp/work/beaglebone-poky-linux-gnueabi/pruhsr-fw/1_2022.01-r4.0/recipe-sysroot-native/usr/bin:/work/build/tmp/work/beaglebone-poky-linux-gnueabi/pruhsr-fw/1_2022.01-r4.0/recipe-sysroot-native/sbin:/work/build/tmp/work/beaglebone-poky-linux-gnueabi/pruhsr-fw/1_2022.01-r4.0/recipe-sysroot-native/bin:/work/layers/poky/bitbake/bin:/work/build/tmp/hosttools"; export HOME="/home/builder"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://git.ti.com/git/processor-firmware/ti-linux-firmware.git /yocto/shared-downloads/git2/git.ti.com.git.processor-firmware.ti-linux-firmware.git --progress failed with exit code 128, no output
build/tmp/log/cooker/beaglebone/console-latest.log:ERROR: pruhsr-fw-1_2022.01-r4.0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://git.ti.com/git/processor-firmware/ti-linux-firmware.git;protocol=https;branch=ti-linux-firmware')
build/tmp/log/cooker/beaglebone/console-latest.log:ERROR: Logfile of failure stored in: /work/build/tmp/work/beaglebone-poky-linux-gnueabi/pruhsr-fw/1_2022.01-r4.0/temp/log.do_fetch.6762
build/tmp/log/cooker/beaglebone/console-latest.log:ERROR: Task (/work/build/../layers/meta-ti/meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb:do_fetch) failed with exit code '1'
klutchell commented 2 weeks ago

I self-certify!