Comments (5)
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.
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.
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.
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.
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)
- Pack binary with `upx` HOT 5
- Running as windows service is not working HOT 1
- Publishing remotely debuggable collector docker images HOT 5
- v0.95.0 is missing otel-contrib rpm files HOT 5
- SBOM files for some artifacts are almost empty HOT 8
- Release binaries and container images v0.96.0 HOT 1
- Improve testability of release workflows HOT 11
- Add links to core and contrib to Github releases on releases from this repository HOT 33
- rpm upgrade of package overwrites config file
- Add opampextension to contrib distro
- exporters: unknown type: "loki" HOT 3
- Openshift operator 'exporters': unknown type: "loki" HOT 4
- Make the command name consistent across images HOT 8
- Consistency for configuration for distros HOT 3
- More Collector distros or focus on OCB? HOT 6
- Add nop exporter to distributions HOT 3
- Add rpm and deb packages to the otelcol-k8s release HOT 1
- Current workflow allows partial releases when CI fails for a single distro HOT 1
- Remove source duplication to build Windows MSI
- Add MSI smoke tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-collector-releases.