Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOBLE on JAMMY: chroot: failed to run command ‘/bin/bash’: Exec format error on GH runners #6966

Open
1 of 2 tasks
igorpecovnik opened this issue Jul 18, 2024 · 6 comments
Labels
Bug Something isn't working as it should

Comments

@igorpecovnik
Copy link
Member

What happened?

Build fails on GitHub hosted runners.

Current runner version: '2.317.0'
Operating System
Ubuntu 22.04.4
LTS

How to reproduce?

Build on GH actions while using default ubuntu-latest

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 22.04 Jammy

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

https://paste.armbian.de/izedacisah

Code of Conduct

  • I agree to follow this project's Code of Conduct
@igorpecovnik igorpecovnik added the Bug Something isn't working as it should label Jul 18, 2024
@igorpecovnik igorpecovnik changed the title [Bug]: chroot: failed to run command ‘/bin/bash’: Exec format error on some runners [Bug]: chroot: failed to run command ‘/bin/bash’: Exec format error on GH runners Jul 18, 2024
Copy link

Jira ticket: AR-2422

@EvilOlaf
Copy link
Member

I don't know if this was working before. Is this qemu related? I found this from a quick search: https://github.com/docker/setup-qemu-action

@adeepn
Copy link
Member

adeepn commented Jul 19, 2024

check for installed package qemu-user-static or use https://github.com/docker/setup-qemu-action

@rpardini
Copy link
Member

On which host OS are you running the build script and observing this problem?

Ubuntu 22.04 Jammy

Relevant log URL

paste.armbian.de/izedacisah

Logs indicate Noble, not Jammy.

@igorpecovnik
Copy link
Member Author

Currently not all artifacts can be assembled with Noble, so I am manually switching here and there. I was hoping this change won't be that troublesome so doing this for a week or so ain't problematic, ...

So, Noble docker image on Jammy build host.

@rpardini rpardini changed the title [Bug]: chroot: failed to run command ‘/bin/bash’: Exec format error on GH runners NOBLE on JAMMY: chroot: failed to run command ‘/bin/bash’: Exec format error on GH runners Jul 21, 2024
@ColorfulRhino
Copy link
Collaborator

ColorfulRhino commented Aug 14, 2024

Is this issue actually AR-2444 ? Or is this a different one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should
Development

No branches or pull requests

5 participants