runner icon indicating copy to clipboard operation
runner copied to clipboard

Linux runner image on arm64 mac - ./bin/Runner.Listener: cannot execute binary file

Open james-beres opened this issue 1 year ago • 4 comments

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:

  1. Be on m1 mac, sonoma 14.4, arm64
  2. Select Linux runner image & select architecture arm64
  3. Run commands listed (mkdir, cd, curl to download, validate hash, extract installer, create the runner and start config
  4. ./config.sh --url https://git.innova-partners.com/demo-org/demo-repo --token AAAAITISMYTOKEN
  5. 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 Screenshot 2024-05-15 at 4 45 54 PM

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.

james-beres avatar May 15 '24 20:05 james-beres

A similar issue has been logged previously. Here is the link: https://github.com/actions/runner/issues/3288

harneetvirk avatar Jul 11 '24 18:07 harneetvirk

@harneetvirk you mean some other issue? you've linked exactly this one

zuzux3 avatar Jul 26 '24 14:07 zuzux3

It is the same issue. I just linked them together.

harneetvirk avatar Jul 26 '24 14:07 harneetvirk

I have the exactly same issue when installing linux x64.

abhi-iac avatar Sep 03 '24 15:09 abhi-iac

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Sep 08 '25 00:09 github-actions[bot]

Was this solved somehow because I still get the same thing?

mustafic avatar Nov 22 '25 11:11 mustafic