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

Error encountered when trying to build a AMD64 bootc image #408

Closed
cbr7 opened this issue Apr 29, 2024 · 5 comments
Closed

Error encountered when trying to build a AMD64 bootc image #408

cbr7 opened this issue Apr 29, 2024 · 5 comments
Labels
kind/bug 🐞 Something isn't working

Comments

@cbr7
Copy link
Contributor

cbr7 commented Apr 29, 2024

Bug description

It seems that currently, on version 0.5.0 of the bootc extension trying to build an AMD64 image will always error out.

Operating system

macOS

Version

next (development version)

Steps to reproduce

  1. Have PD 1.10 installed.
  2. Have bootc 0.5.0 version installed.
  3. Have a container file with FROM quay.io/centos-bootc/centos-bootc-dev:stream9
  4. Build the container file in AMD64 architecture.
  5. Try to build a bootc image of any type using the image from previous point.
  6. Error is thrown soon after starting.

image-build-raw.log
image-build-qcow.log

Relevant log output

�[0m�[1mPipeline ostree-deployment: 947ed2e16a86c7353c7792854123c952676b6343d9442de7339ae2ecd7571548�[0m
  root: a795fb92356ad1f6392b96f24bae3da27060b9e22cc6d83d6364060b35228277
�[0m�[1morg.osbuild.ostree.init-fs: 92162177b70dd30af4c236af83152da6b939285764091e7cd8c46094f834f47c�[0m {}
  runner: org.osbuild.linux (org.osbuild.linux)
⏱  Duration: 7s

manifest - failed
bwrap: execvp /run/osbuild/runner/org.osbuild.linux: Exec format error
�[0m�[1m�[31mFailed�[0m
Build
⏱  Duration: 0s
2024/04/29 10:04:37 error: cannot run osbuild: running osbuild failed: exit status 1
Error: cannot run osbuild: running osbuild failed: exit status 1

Additional context

No response

@cbr7 cbr7 added the kind/bug 🐞 Something isn't working label Apr 29, 2024
@odockal
Copy link
Contributor

odockal commented Apr 29, 2024

Here is mine output of a successful build of the image in Windows. I have used amd64 platform to build the containerfile and disc image.
image-build.log

@deboer-tim
Copy link
Collaborator

Could not reproduce on Mac 14.4.

@cdrage
Copy link
Collaborator

cdrage commented Apr 29, 2024

@cbr7 This looks like it's pointing to an issue with the host. Particularly this was an issue with podman machine and qemu: osbuild/bootc-image-builder#335

Could you post your podman version (particularly machine).

@benoitf benoitf changed the title Error encoutnered when trying to build a AMD64 bootc image Error encountered when trying to build a AMD64 bootc image Apr 29, 2024
@cbr7
Copy link
Contributor Author

cbr7 commented Apr 29, 2024

It seems that uninstalling and then reinstalling podman fixed the problem, I've just been able to build AMD64 images.

@cdrage
Copy link
Collaborator

cdrage commented May 31, 2024

Closing this as this is podman / podman machine upstream related due to qemu not being very stable on mac with building x86_64 images.

@cdrage cdrage closed this as completed May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug 🐞 Something isn't working
Projects
Status: ✔️ Done
Development

No branches or pull requests

4 participants