Forcing the architecture to amd64 is no longer required. Dropping it should have some benefits:
- Faster CI speed on other arches (riscv64, arm, …)
- Unlock the CI task to run on riscv64 at all
Forcing the architecture to amd64 is no longer required. Dropping it should have some benefits:
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33558.
See the guideline for information on the review process. A summary of reviews will appear here.
Tested fa6fd16f36e1240cda58a46e1717b02e8d3172a3:
0$ uname -mo
1riscv64 GNU/Linux
2$ docker --version
3podman version 4.3.1
4$ env -i HOME="$HOME" PATH="$PATH" USER="$USER" bash -c 'MAKEJOBS="-j3" FILE_ENV="./ci/test/00_setup_env_win64.sh" ./ci/test_run_all.sh'
5<snip>
6+ echo 'Creating mirror.gcr.io/ubuntu:24.04 container to run in'
7Creating mirror.gcr.io/ubuntu:24.04 container to run in
8+ docker buildx build --file /home/hebasto/dev/bitcoin/ci/test_imagefile --build-arg CI_IMAGE_NAME_TAG=mirror.gcr.io/ubuntu:24.04 --build-arg FILE_ENV=./ci/test/00_setup_env_win64.sh --build-arg BASE_ROOT_DIR=/ci_container_base --platform=linux --label=bitcoin-ci-test --tag=ci_win64 /home/hebasto/dev/bitcoin
9Error: invalid platform syntax for "linux" (use OS/ARCH[/VARIANT][,...])
10Command '['./ci/test/02_run_container.sh']' returned non-zero exit status 125.
Error: invalid platform syntax for “linux” (use OS/ARCH[/VARIANT][,…])
thanks for testing. However, this looks like an unrelated issue with your podman version. I presume you can’t run any native task at all. My recommendation would be to upgrade your os (or podman) to the latest stable version.