apache / apache/arrow

[Dev][Release] Verification script doesn't test amd64 architecture on arm64 mac

Open
#33,818 2 comments 0 reactions 0 assignees View on GitHub
Component: Developer Tools Component: Release Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### 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 ` 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.

### Component(s)

Developer Tools, Release

Contributor guide

Open the contributing guide

Research direction

Start with dev/release/verify-release-candidate.sh and run the documented TEST_DEFAULT=0 TEST_APT=1 TEST_YUM=1 command on an arm64 Mac. Check the Docker image references used by the APT/YUM tests; done means both amd64 and arm64 images are tested on arm64 hosts while continuing to work on amd64 hosts.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, release
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.