Linux runner image on arm64 mac - ./bin/Runner.Listener: cannot execute binary file
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 1.4k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 24
Description
Describe the bug
When using an m1 mac, selecting a linux runner image for arch arm64, ./config.sh --url ... results in
./config.sh: line 80: ./bin/Runner.Listener: cannot execute binary file
To Reproduce
Steps to reproduce the behavior:
- Be on m1 mac, sonoma 14.4, arm64
- Select Linux runner image & select architecture arm64
- Run commands listed (mkdir, cd, curl to download, validate hash, extract installer, create the runner and start config
./config.sh --url https://git.innova-partners.com/demo-org/demo-repo --token AAAAITISMYTOKEN- view error
./config.sh: line 80: ./bin/Runner.Listener: cannot execute binary file
Expected behavior
Configuration starts
Runner Version and Platform
Starts up fine when using macos x64 -- Current runner version: '2.303.0'
OS of the machine running the runner? OSX/Windows/Linux/...
OSX
What's not working?
Please include error messages and screenshots.
./config.sh: line 80: ./bin/Runner.Listener: cannot execute binary file
Runner and Worker's Diagnostic Logs
If applicable, add relevant diagnostic log information. Logs are located in the runner's _diag folder. The runner logs are prefixed with Runner_ and the worker logs are prefixed with Worker_. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on an M1 Mac running Sonoma with the Linux arm64 runner image, using config.sh and the downloaded bin/Runner.Listener. Inspect the selected runner package and its architecture before configuration; done means ./config.sh starts successfully for the Linux arm64 image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, shell
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100