temporalio / temporalio/temporal

temporal on arm64 Linux is not working correctly ...amd64 binaries?

Open
#6,146 5 comments 1 reaction 1 assignee View on GitHub

@stephanos is already working on this.

Since Jun 21, 2024.

potential-bug
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Expected Behavior

temporal on arm64 Linux is working correctly

Actual Behavior

temporal on arm64 Linux is not working correctly
I believe the binaries are amd64 binaries

Steps to Reproduce the Problem

  1. I am setting up temporal on k3s on ubuntu 2204 in Multipass on a Mac M1.
    architecture
    ubuntu@temporal:~$ uname -m aarch64

2.After running helm to deploy the temporal on k3s, I get crashloopbackoff errors on some of the containers

running correctly...
temporal-admintools
temporal-web

crashloopbackoff...
temporal-frontend
temporal-history
temporal-matching
temporal-worker

error message....
/etc/temporal/start-temporal.sh: line 16: /usr/local/bin/temporal-server: cannot execute binary file: Exec format error

The correct arm64 containers are being pulled

  1. Looked inside the temporal-admintools container

working....
tctl
temporal

not working...
tdbg
temporal-cassandra-toll
temporal-sql-tool

temporal-sql-tool bash: /usr/local/bin/temporal-sql-tool: cannot execute binary file: Exec format error

i downloaded temporal-sql-tool to check it

ubuntu@temporal:~$ file temporal-sql-tool temporal-sql-tool: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=YKktCnQevbFAZNSNLwHy/GM78rayp1t0RHnJ99Q3e/vpPHjRcqExXPiFanYzQs/XafXwTQ1y_JNzqzuhTvq, with debug_info, not stripped

It is an amd64 binary?

Specifications

  • Version: 1.24.1
  • Platform: linux/arm64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.