run_local_tests.sh: set QEMU_DEVCONTAINER_FILE for locally built images#4111
Open
zhijianli88 wants to merge 1 commit into
Open
run_local_tests.sh: set QEMU_DEVCONTAINER_FILE for locally built images#4111zhijianli88 wants to merge 1 commit into
zhijianli88 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the local test runner environment setup so kola can use a locally built Flatcar developer container artifact (instead of attempting to download one from the upstream bincache), which is necessary for tests like sysext.custom-oem when the locally built version includes a timestamped version string.
Changes:
- Export
QEMU_DEVCONTAINER_FILEinsdk_container/.envto point at the locally builtflatcar_developer_container.bin.bz2artifact.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| export QEMU_UEFI_FIRMWARE=/work/__build__/images/images/${arch@Q}-usr/latest/flatcar_production_qemu_uefi_efi_code.qcow2 | ||
| export QEMU_UEFI_OVMF_VARS=/work/__build__/images/images/${arch@Q}-usr/latest/flatcar_production_qemu_uefi_efi_vars.qcow2 | ||
| export QEMU_UPDATE_PAYLOAD=/work/__build__/images/images/${arch@Q}-usr/latest/flatcar_test_update.gz | ||
| export QEMU_DEVCONTAINER_FILE=/work/__build__/images/images/${arch@Q}-usr/latest/flatcar_developer_container.bin.bz2 |
The sysext.custom-oem test requires a developer container image to build
the sysext inside systemd-nspawn. For locally built Flatcar images, the
developer container is available in the build output directory but was
not passed to the test suite.
Export QEMU_DEVCONTAINER_FILE pointing to the locally built
flatcar_developer_container.bin.bz2 so that the test can use it
without attempting to download from upstream bincache, which would
fail because the locally built version (with build timestamp) does
not exist on the upstream server.
Fix errors:
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ source /usr/share/flatcar/release
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: +++ FLATCAR_RELEASE_VERSION=4593.2.2+2026-06-04-0327
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: +++ FLATCAR_RELEASE_BOARD=arm64-usr
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: +++ FLATCAR_RELEASE_APPID='{e96281a6-d1af-4bde-9a0a-97b76e56dc57}'
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ echo 4593.2.2+2026-06-04-0327
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + version=4593.2.2+2026-06-04-0327
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ process_template http://bincache.flatcar-linux.net/images/@ARCH@/@VERSION@/flatcar_developer_container.bin.bz2 arm64 4593.2.2+2026-06-04-0327
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local template=http://bincache.flatcar-linux.net/images/@ARCH@/@VERSION@/flatcar_developer_container.bin.bz2
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ shift
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local arch=arm64
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ shift
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local version=4593.2.2+2026-06-04-0327
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ shift
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local result=http://bincache.flatcar-linux.net/images/@ARCH@/@VERSION@/flatcar_developer_container.bin.bz2
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ result=http://bincache.flatcar-linux.net/images/arm64/@VERSION@/flatcar_developer_container.bin.bz2
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ result=http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ echo http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + image_url=http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + echo 'Fetching developer container from http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2'
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + curl --fail --silent --show-error --location --retry-delay 1 --retry 60 --retry-connrefused --retry-max-time 60 --connect-timeout 20 --remote-name http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: curl: (22) The requested URL returned error: 404
2026-06-10T06:07:20Z kola/cluster: SSH: stdout: Fetching developer container from http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
7bffa46 to
704b356
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The sysext.custom-oem test requires a developer container image to build the sysext inside systemd-nspawn. For locally built Flatcar images, the developer container is available in the build output directory but was not passed to the test suite.
Export QEMU_DEVCONTAINER_FILE pointing to the locally built flatcar_developer_container.bin.bz2 so that the test can use it without attempting to download from upstream bincache, which would fail because the locally built version (with build timestamp) does not exist on the upstream server.
Fix errors:
2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ source /usr/share/flatcar/release 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: +++ FLATCAR_RELEASE_VERSION=4593.2.2+2026-06-04-0327 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: +++ FLATCAR_RELEASE_BOARD=arm64-usr 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: +++ FLATCAR_RELEASE_APPID='{e96281a6-d1af-4bde-9a0a-97b76e56dc57}' 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ echo 4593.2.2+2026-06-04-0327 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + version=4593.2.2+2026-06-04-0327 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ process_template http://bincache.flatcar-linux.net/images/@ARCH@/@VERSION@/flatcar_developer_container.bin.bz2 arm64 4593.2.2+2026-06-04-0327 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local template=http://bincache.flatcar-linux.net/images/@ARCH@/@VERSION@/flatcar_developer_container.bin.bz2 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ shift 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local arch=arm64 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ shift 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local version=4593.2.2+2026-06-04-0327 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ shift 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ local result=http://bincache.flatcar-linux.net/images/@ARCH@/@VERSION@/flatcar_developer_container.bin.bz2 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ result=http://bincache.flatcar-linux.net/images/arm64/@VERSION@/flatcar_developer_container.bin.bz2 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ result=http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: ++ echo http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + image_url=http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + echo 'Fetching developer container from http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2' 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: + curl --fail --silent --show-error --location --retry-delay 1 --retry 60 --retry-connrefused --retry-max-time 60 --connect-timeout 20 --remote-name http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2 2026-06-10T06:07:20Z kola/cluster: SSH: stderr: curl: (22) The requested URL returned error: 404 2026-06-10T06:07:20Z kola/cluster: SSH: stdout: Fetching developer container from http://bincache.flatcar-linux.net/images/arm64/4593.2.2+2026-06-04-0327/flatcar_developer_container.bin.bz2
[Title: describe the change in one sentence]
[ describe the change in 1 - 3 paragraphs ]
How to use
[ describe what reviewers need to do in order to validate this PR ]
Testing done
[Describe the testing you have done before submitting this PR. Please include both the commands you issued as well as the output you got.]
changelog/directory (user-facing change, bug fix, security fix, update)/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.