Giter Site home page Giter Site logo

Comments (5)

silverlyra avatar silverlyra commented on August 14, 2024 1

Hey @jpkrohling – I’ve opened #55 which restores ARM64 image builds, and updates CI and CONTRIBUTING.md. The goreleaser CI check succeeded. 😊

from opentelemetry-collector-releases.

jpkrohling avatar jpkrohling commented on August 14, 2024

Same for arm7:

   ⨯ release failed after 35.23s error=failed to build otel/opentelemetry-collector:0.41.0-SNAPSHOT-bc17ab4-armv7: exit status 125: [1/3] STEP 1/2: FROM alpine:3.13 AS certs
Resolved "alpine" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull docker.io/library/alpine:3.13...
Getting image source signatures
Copying blob sha256:767c1b67bc22761376676021ea5a310e7a7d1344b7a017bb8ede1a202340dbaf
Copying config sha256:c7140641fa494f66493a89308fdb3f8f168cb1b83b575ff04fc5a9bb6de79eaf
Writing manifest to image destination
Storing signatures
[1/3] STEP 2/2: RUN apk --update add ca-certificates
exec container process `/bin/sh`: Exec format error
[2/3] STEP 1/3: FROM alpine:3.13 AS otelcol
Error: error building at STEP "RUN apk --update add ca-certificates": error while running runtime: exit status 1

from opentelemetry-collector-releases.

jpkrohling avatar jpkrohling commented on August 14, 2024

And arm64 :(

   ⨯ release failed after 34.04s error=failed to build otel/opentelemetry-collector:0.41.0-SNAPSHOT-bc17ab4-arm64: exit status 125: [1/3] STEP 1/2: FROM alpine:3.13 AS certs
Resolved "alpine" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull docker.io/library/alpine:3.13...
Getting image source signatures
Copying blob sha256:06decbbdea2401b400024fb2feadd51ee381cd4b7b78a30306c3828ec9f6c760
Copying config sha256:97bbb51274e6167b4d3584e8197f3d2ec20821ca4ee377d89bfa10afb3ea0522
Writing manifest to image destination
Storing signatures
[1/3] STEP 2/2: RUN apk --update add ca-certificates
exec container process `/bin/sh`: Exec format error
[2/3] STEP 1/3: FROM alpine:3.13 AS otelcol
Error: error building at STEP "RUN apk --update add ca-certificates": error while running runtime: exit status 1

from opentelemetry-collector-releases.

silverlyra avatar silverlyra commented on August 14, 2024

Hi @jpkrohling – sorry, I didn’t see your ping! Didn’t realize this was a problem until I excitedly went to install v0.42 and discovered it’s still amd64 only. 😞

The build works fine on my machine:

❯ goreleaser --snapshot --rm-dist
   • releasing...
   […]
   • docker images
      • building docker image     image=otel/opentelemetry-collector:0.41.0-SNAPSHOT-81dec0d-amd64
      • building docker image     image=otel/opentelemetry-collector:0.41.0-SNAPSHOT-81dec0d-arm64
      • building docker image     image=otel/opentelemetry-collector:0.41.0-SNAPSHOT-81dec0d-armv6
      • building docker image     image=otel/opentelemetry-collector:0.41.0-SNAPSHOT-81dec0d-armv7
      • pipe skipped              error=publishing is disabled
   • your config is using deprecated properties, check logs above for details
   • release succeeded after 567.07s

❯ docker inspect otel/opentelemetry-collector:0.41.0-SNAPSHOT-81dec0d-arm64 | jq -r '.[].Architecture'
arm64

I tried to find a failed GitHub Action with the output you pasted, but didn’t find one – is it just broken for you locally?

You may need to set up Docker buildx multi-arch builds in general. This is what I did on my (Arch (btw)) system:

yay -S qemu-headless binfmt-qemu-static qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --use

from opentelemetry-collector-releases.

jpkrohling avatar jpkrohling commented on August 14, 2024

It did fail on GitHub as well: https://github.com/open-telemetry/opentelemetry-collector-releases/runs/4534427058?check_suite_focus=true

The buildx part might be decisive. I don't think I have it here, as I use podman. The CI probably doesn't use it either. If you could get the instructions on how to set it up locally and if you could configure the GH Actions to use buildx, we could add ARM back in time for 0.43.

from opentelemetry-collector-releases.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.