CI for 25.12 failing due to missing SDKs for docker?
@robimarko @GeorgeSapkin @ynezz @Ansuel
I am not even sure who knows about the CI & docker specifics (or if this issue should be here or in the workflows repo or in packages repo), so I am cc spamming this a bit.
The CI for 25.12 PRs currently fails all PRs for some obscure docker related error. And fails for all 10 tested architectures.
The 25.12. buildbot has by now built all phase1 targets including SDKs. So SDKs should be there. But CI does not find the SDKs for any of the architectures. Is some mapping file still missing from 25.12?
Example: https://github.com/openwrt/packages/pull/28080 https://github.com/openwrt/packages/actions/runs/20210870203/job/58016716876?pr=28080
/usr/bin/docker buildx build --build-arg CONTAINER --build-arg ARCH --cache-from type=gha,scope=-aarch64_generic-openwrt-25.12 --cache-to type=gha,mode=max,scope=-aarch64_generic-openwrt-25.12 --iidfile /home/runner/work/_temp/docker-actions-toolkit-WqzdN4/build-iidfile-a656cb9372.txt --tag sdk --load --metadata-file /home/runner/work/_temp/docker-actions-toolkit-WqzdN4/build-metadata-4919a33360.json /home/runner/work/_actions/openwrt/gh-action-sdk/v10
#0 building with "builder-8cc94fa7-71cc-4906-90d7-daffcf7104fc" instance using docker-container driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 213B done
#1 DONE 0.0s
#2 [internal] load metadata for ghcr.io/openwrt/sdk:aarch64_generic-openwrt-25.12
#2 ERROR: ghcr.io/openwrt/sdk:aarch64_generic-openwrt-25.12: not found
------
> [internal] load metadata for ghcr.io/openwrt/sdk:aarch64_generic-openwrt-25.12:
------
Dockerfile:3
--------------------
1 | ARG CONTAINER=ghcr.io/openwrt/sdk
2 | ARG ARCH=mips_24kc
3 | >>> FROM $CONTAINER:$ARCH
4 |
5 | LABEL "com.github.actions.name"="OpenWrt SDK"
--------------------
ERROR: failed to build: failed to solve: ghcr.io/openwrt/sdk:aarch64_generic-openwrt-25.12: failed to resolve source metadata for ghcr.io/openwrt/sdk:aarch64_generic-openwrt-25.12: ghcr.io/openwrt/sdk:aarch64_generic-openwrt-25.12: not found
@hnyman The thing is that Docker SDK containers are missing, those are built by actions in: https://github.com/openwrt/docker
I have now triggered the builds, but @aparcar should probably adjust the script or whatever triggers the builds to account for 25.12 branch as well.
@aparcar should probably adjust the script or whatever triggers the builds to account for 25.12 branch as well.
Are the release branch containers actually updated between release/rc tagging?
I am not sure if I browse correctly, but trying to look at the container list, it looks like 24.10-SNAPSHOT has been last updated 2 months ago and not since then? That matches the 24.10.4 release
using aarch64_generic as example: https://hub.docker.com/r/openwrt/sdk/tags?name=aarch64_generic
That makes me to think that here is no regular / automatic updating for the release branches. Updating only in connection to formal releases sounds a bit weak.
They should be updated regularly, I guess whatever the trigger that @aparcar uses got bugged again as we had this happen before as well.
SDK containers for 25.12 have now been built since I triggered the build manually.
Thanks for triggering the container build manually. Now the 25.12 CI seems to work.
Testing with PR https://github.com/openwrt/packages/pull/28068 which seems to go ok, (and https://github.com/openwrt/packages/pull/28080 where I apparently started the last try a bit too early, as most architectures got cancelled)
It was I who cancelled the builds since they were triggered before SDK containers were pushed