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

Can't build CS9 x86_64 AMI image on aarch64 machine #279

Open
henrywang opened this issue Mar 18, 2024 · 0 comments
Open

Can't build CS9 x86_64 AMI image on aarch64 machine #279

henrywang opened this issue Mar 18, 2024 · 0 comments

Comments

@henrywang
Copy link
Member

henrywang commented Mar 18, 2024

Build CS9 x86_64 AMI image on aarch64 machine with command + sudo podman run --rm -it --privileged --pull=newer --tls-verify=false --security-opt label=type:unconfined_t --env AWS_ACCESS_KEY_ID=***** --env AWS_SECRET_ACCESS_KEY=***** quay.io/centos-bootc/bootc-image-builder:latest --type ami --target-arch x86_64 --aws-ami-name bootc-bib-centos-stream-9-x86_64-2bqx --aws-bucket ***** --aws-region ***** quay.io/rhel-edge/centos-bootc-test:2bqx

Then I got the following error:

ostree container image deploy --imgref=ostree-unverified-image:dir:/tmp/tmpracgwocr/image --stateroot=default --target-imgref=ostree-unverified-registry:quay.io/rhel-edge/centos-bootc-test:2bqx --karg=rw --karg=console=tty0 --karg=console=ttyS0 --karg=root=LABEL=root --sysroot=/run/osbuild/tree

qemu-x86_64-static: QEMU internal SIGSEGV {code=MAPERR, addr=0x20}

Traceback (most recent call last):

  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 146, in <module>

    r = main(stage_args["tree"],

  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 141, in main

    ostree_container_deploy(tree, inputs, osname, target_imgref, kopts)

  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 115, in ostree_container_deploy

    ostree.cli("container", "image", "deploy",

  File "/run/osbuild/lib/osbuild/util/ostree.py", line 205, in cli

    return subprocess.run(["ostree"] + args,

  File "/usr/lib64/python3.9/subprocess.py", line 528, in run

    raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['ostree', 'container', 'image', 'deploy', '--imgref=ostree-unverified-image:dir:/tmp/tmpracgwocr/image', '--stateroot=default', '--target-imgref=ostree-unverified-registry:quay.io/rhel-edge/centos-bootc-test:2bqx', '--karg=rw', '--karg=console=tty0', '--karg=console=ttyS0', '--karg=root=LABEL=root', '--sysroot=/run/osbuild/tree']' died with <Signals.SIGSEGV: 11>.

Here's the full log: http://artifacts.osci.redhat.com/testing-farm/52aaed46-cdd9-4b6a-87b4-a05ddfd09062/

Did I missed some configurations? Is there any limitation when build x86_64 image on aarch64 machine? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant