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

[Bug] amd64 container builds failing #388

Closed
andrewazores opened this issue Apr 18, 2024 · 0 comments · Fixed by #392
Closed

[Bug] amd64 container builds failing #388

andrewazores opened this issue Apr 18, 2024 · 0 comments · Fixed by #392
Labels
bug Something isn't working build ci high-priority

Comments

@andrewazores
Copy link
Member

Current Behavior

Since #330.

https://github.com/cryostatio/cryostat3/actions/runs/8744823403/job/23998537242

/usr/bin/buildah bud --arch arm64 -f /home/runner/work/cryostat3/cryostat3/src/main/docker/Dockerfile.jvm --format docker --tls-verify=true -t quay.io/cryostat/cryostat:3.0.0-snapshot-arm64 /home/runner/work/cryostat3/cryostat3
STEP 1/22: FROM registry.access.redhat.com/ubi8/openjdk-17-runtime:1.19-1
Trying to pull registry.access.redhat.com/ubi8/openjdk-17-runtime:1.19-1...
Getting image source signatures
Checking if image destination supports signatures
Copying blob sha256:9de2ccb0aaf7ebe414e3ca9ea690f4ff277ebb48d9dee45a873d2f766186a141
Copying blob sha256:2c4c07dbc80419961a4afec481bfcb4221efca54fdbf2cf08e8408c96c0b75bc
Copying blob sha256:9de2ccb0aaf7ebe414e3ca9ea690f4ff277ebb48d9dee45a873d2f766186a141
Copying blob sha256:2c4c07dbc80419961a4afec481bfcb4221efca54fdbf2cf08e8408c96c0b75bc
Copying config sha256:7ecb45ca39b17a16745ea6fe46b8085398fd1b312d5fe7df3a50ac42c9a6c7e2
Writing manifest to image destination
Storing signatures
STEP 2/22: ENV LANGUAGE='en_US:en'
STEP 3/22: EXPOSE 8181
STEP 4/22: USER 185
STEP 5/22: LABEL io.cryostat.component=cryostat3
STEP 6/22: ENV JAVA_OPTS_APPEND="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
STEP 7/22: ENV JAVA_APP_JAR="/deployments/quarkus-run.jar"
STEP 8/22: ENTRYPOINT [ "/deployments/app/entrypoint.bash", "/opt/jboss/container/java/run/run-java.sh" ]
STEP 9/22: COPY --chown=185 src/main/docker/include/cryostat.jfc /usr/lib/jvm/jre/lib/jfr/
STEP 10/22: COPY --chown=185 src/main/docker/include/genpass.bash /deployments/app/
STEP 11/22: COPY --chown=185 src/main/docker/include/entrypoint.bash /deployments/app/
STEP 12/22: COPY --chown=185 src/main/docker/include/truststore-setup.bash /deployments/app/
STEP 13/22: COPY --chown=185 target/quarkus-app/lib/ /deployments/lib/
STEP 14/22: COPY --chown=185 target/quarkus-app/*.jar /deployments/
STEP 15/22: COPY --chown=185 target/quarkus-app/app/ /deployments/app/
STEP 16/22: COPY --chown=185 target/quarkus-app/quarkus/ /deployments/quarkus/
STEP 17/22: ENV CONF_DIR=/opt/cryostat.d
STEP 18/22: ENV SSL_TRUSTSTORE=$CONF_DIR/truststore.p12     SSL_TRUSTSTORE_PASS_FILE=$CONF_DIR/truststore.pass
STEP 19/22: USER root
STEP 20/22: RUN mkdir -p $CONF_DIR     && chmod -R g=u $CONF_DIR     && chown jboss:root $CONF_DIR
exec container process `/bin/sh`: Exec format error
error building at STEP "RUN mkdir -p $CONF_DIR     && chmod -R g=u $CONF_DIR     && chown jboss:root $CONF_DIR": error while running runtime: exit status 1
time="2024-04-18T21:25:53Z" level=error msg="exit status 1"
Error: Error: buildah exited with code 1
Trying to pull registry.access.redhat.com/ubi8/openjdk-17-runtime:1.19-1...
Getting image source signatures
Checking if image destination supports signatures
Copying blob sha256:9de2ccb0aaf7ebe414e3ca9ea690f4ff277ebb48d9dee45a873d2f766186a141
Copying blob sha256:2c4c07dbc80419961a4afec481bfcb4221efca54fdbf2cf08e8408c96c0b75bc
Copying blob sha256:9de2ccb0aaf7ebe414e3ca9ea690f4ff277ebb48d9dee45a873d2f766186a141
Copying blob sha256:2c4c07dbc80419961a4afec481bfcb4221efca54fdbf2cf08e8408c96c0b75bc
Copying config sha256:7ecb45ca39b17a16745ea6fe46b8085398fd1b312d5fe7df3a50ac42c9a6c7e2
Writing manifest to image destination
Storing signatures
exec container process `/bin/sh`: Exec format error
error building at STEP "RUN mkdir -p $CONF_DIR     && chmod -R g=u $CONF_DIR     && chown jboss:root $CONF_DIR": error while running runtime: exit status 1
time="2024-04-18T21:25:53Z" level=error msg="exit status 1"

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build ci high-priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant