You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Dev][Release] Verification script doesn't test amd64 architecture on arm64 mac #33818
Describe the bug, including details regarding any error messages, version, and platform.
TEST_DEFAULT=0 TEST_APT=1 TEST_YUM=1 dev/release/verify-release-candidate.sh <version> <rc> runs the APT/YUM tests in docker containers. Docker Desktop on mac uses arm64 images for both debian:bullseye and arm64v8/debian:bullseye images, but actually capable of running both architectures.
Changing the "arch-less" image names to amd64/ prefixed ones resolves the issue for me, so amd64/debian:bullseye instead of debian:bullseye. This should continue to work on amd64 hosts.
arm64 macs should be able to test all images on for both architectures.
Since #45738, verify-release-candidate.sh no longer runs the APT/Yum checks in Docker locally; it checks the result of the verification run on GitHub Actions instead, which covers both amd64 and arm64. The Docker calls there also pass --platform explicitly, as suggested above. Closing.
Activity
kou commentedon Jan 21, 2023
Or we may want to use
--platform linux/amd64/--platform linux/amr64docker runoption.kszucs commentedon Jan 21, 2023
Yes, that should be the modern approach.
thisisnic commentedon Nov 19, 2026
Since #45738,
verify-release-candidate.shno longer runs the APT/Yum checks in Docker locally; it checks the result of the verification run on GitHub Actions instead, which covers both amd64 and arm64. The Docker calls there also pass--platformexplicitly, as suggested above. Closing.