8000 Don't package arm64 on amd64 workers by dliappis · Pull Request #43026 · elastic/beats · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Don't package arm64 on amd64 workers #43026

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

Merged
merged 7 commits into from
Mar 6, 2025

Conversation

dliappis
Copy link
Contributor
@dliappis dliappis commented Mar 5, 2025

Proposed commit message

This commit is the counterpart of
#43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

How to test this PR locally

Successful BK link:

https://buildkite.com/elastic/beats-packaging-pipeline/builds/2656#01956655-e341-4ec5-a3a2-859c4fac28a8

and another one using the latest commit: https://buildkite.com/elastic/beats-packaging-pipeline/builds/2664

where both staging + snapshot got triggered using DRA_DRY_RUN=false

Additionally, I compared the DRA job output for snapshot artifacts from the above triggered job , against the latest successful DRA build on main and the results were identical.

Related issues

Closes #43042

Screenshots

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 5, 2025
@botelastic
Copy link
botelastic bot commented Mar 5, 2025

This pull request doesn't have a Team:<team> label.

Copy link
Contributor
mergify bot commented Mar 5, 2025

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @dliappis? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@dliappis dliappis force-pushed the dont-build-arm64-on-amd64 branch from 1990fa0 to 67a0840 Compare March 5, 2025 09:36
This commit is the counterpart of
elastic#43019 for the DRA packaging
pipeline.

It ensures that arm64 packages get built without qemu emulation on
dedicated arm64 workers.
@dliappis dliappis force-pushed the dont-build-arm64-on-amd64 branch from 67a0840 to cfc0694 Compare March 5, 2025 10:50
@dliappis dliappis added backport-active-8 Automated backport with mergify to all the active 8.[0-9]+ branches backport-active-9 Automated backport with mergify to all the active 9.[0-9]+ branches labels Mar 5, 2025
@pazone
Copy link
Contributor
pazone commented Mar 5, 2025

Generally LGTM. One thing that confuses me. For auditbeat we had 22 build artifacts, and now we have 26 (10 + 16).

@dliappis
Copy link
Contributor Author
dliappis commented Mar 5, 2025

Generally LGTM. One thing that confuses me. For auditbeat we had 22 build artifacts, and now we have 26 (10 + 16).

This is concerning. Let's look at it.

@dliappis
Copy link
Contributor Author
dliappis commented Mar 5, 2025

This is concerning. Let's look at it.

@pazone here's the diff:

image

So the 4 extra files are:

build/distributions/auditbeat/auditbeat-oss-9.1.0-SNAPSHOT-linux-arm64.docker.tar.gz
build/distributions/auditbeat/auditbeat-oss-9.1.0-SNAPSHOT-linux-arm64.docker.tar.gz.sha512

build/distributions/auditbeat/auditbeat-oss-wolfi-9.1.0-SNAPSHOT-linux-arm64.docker.tar.gz
build/distributions/auditbeat/auditbeat-oss-wolfi-9.1.0-SNAPSHOT-linux-arm64.docker.tar.gz.sha512

e.g. we now seem to be also producing an arm64 docker image for wolfi which apparently isn't used since the DRA snapshot (in dry_run mode) shows that the same 144 artifacts will be used, we are ok, WDYT?

$ diff -u native-arm-snapshot-artifacts.txt existing-snashot-artifacts-main.txt 

$ wc -l native-arm-snapshot-artifacts.txt 
144 native-arm-snapshot-artifacts.txt

# the following file was taken from https://buildkite.com/elastic/beats-packaging-pipeline/builds/2626#01956241-0b5f-4a9f-b6da-1516f27f0d19/857-891
$ wc -l existing-snashot-artifacts-main.txt 
144 existing-snashot-artifacts-main.txt
> Task :listExpectedArtifacts
project: 'beats', path: 'build/distributions/agentbeat/agentbeat-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/agentbeat/agentbeat-9.1.0-darwin-aarch64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/agentbeat/agentbeat-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/agentbeat/agentbeat-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/agentbeat/agentbeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-darwin-aarch64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-darwin-aarch64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-darwin-aarch64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-darwin-aarch64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/osquerybeat/osquerybeat-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/osquerybeat/osquerybeat-9.1.0-darwin-aarch64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/osquerybeat/osquerybeat-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/osquerybeat/osquerybeat-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/osquerybeat/osquerybeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-darwin-aarch64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-amd64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-x86_64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-linux-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-darwin-x86_64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-aarch64.rpm', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-arm64.deb', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/winlogbeat/winlogbeat-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/winlogbeat/winlogbeat-oss-9.1.0-windows-x86_64.zip', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-ironbank-9.1.0-docker-build-context.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-ironbank-9.1.0-docker-build-context.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-ironbank-9.1.0-docker-build-context.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-ironbank-9.1.0-docker-build-context.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-wolfi-9.1.0-docker-image-linux-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-ironbank-9.1.0-docker-build-context.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/dockerlogbeat/elastic-logging-plugin-9.1.0-docker-plugin-amd64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/auditbeat/auditbeat-oss-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/filebeat/filebeat-oss-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/heartbeat/heartbeat-oss-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/metricbeat/metricbeat-oss-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/packetbeat/packetbeat-oss-wolfi-9.1.0-docker-image-linux-arm64.tar.gz', localBuild: 'local'
project: 'beats', path: 'build/distributions/beats-dashboards/beats-dashboards-9.1.0.zip', localBuild: 'local'

@dliappis dliappis requested a review from pkoutsovasilis March 5, 2025 16:34
@dliappis dliappis marked this pull request as ready for review March 5, 2025 16:34
@dliappis dliappis requested a review from a team as a code owner March 5, 2025 16:34
@dliappis dliappis requested a review from pchila March 5, 2025 16:44
Copy link
Member
@pchila pchila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I agree with @dliappis that creating more artifact that are not configured for the DRA project is not a big problem although I would be curious to understand exactly what makes the new auditbeat* docker images appear (I guess that there are some clauses about ARCH in the packaging code).

@dliappis
Copy link
Contributor Author
dliappis commented Mar 5, 2025

Generally LGTM. One thing that confuses me. For auditbeat we had 22 build artifacts, and now we have 26 (10 + 16).

@pazone / @pchila
Actually with this PR, auditbeat produces a total of 26 artifacts (16+10): https://buildkite.com/elastic/beats-packaging-pipeline/builds/2656#01956655-e332-4da5-b7ba-df80c1f25e07

Whereas the last successful build on main produced also 26 (22+4): https://buildkite.com/elastic/beats-packaging-pipeline/builds/2626#01956241-0b50-4f4c-b2dd-d3fa278c7e13

So I think we are good.

@dliappis dliappis merged commit 2c6e5af into elastic:main Mar 6, 2025
10 checks passed
mergify bot pushed a commit that referenced this pull request Mar 6, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)
mergify bot pushed a commit that referenced this pull request Mar 6, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)
mergify bot pushed a commit that referenced this pull request Mar 6, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)
mergify bot pushed a commit that referenced this pull request Mar 6, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)
mergify bot pushed a commit that referenced this pull request Mar 6, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)
dliappis added a commit that referenced this pull request Mar 6, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
v1v added a commit to v1v/beats that referenced this pull request Mar 6, 2025
…-packaging-steps

* upstream/main:
  filebeat: make deep copy before notifying of config change (elastic#42992)
  [metricbeat] Add a new 'match_by_parent_instance' option to 'perfmon' module (elastic#43002)
  Don't package arm64 on amd64 workers (elastic#43026)
  [REVERT] Update Stack Monitoring data stream to 9 (elastic#43052)
  FIPS Build (elastic#42402)
  refactor: drop custom fsync implementation (elastic#42066)
  Update CHANGELOG.asciidoc
  docs: Prepare Changelog for 8.17.3 (elastic#42980) (elastic#43029)
  Fix boolean key in security pipelines and sync pipelines with integration. (elastic#43027)
  Skip test case for sequoia (elastic#42996)
  [main](backport elastic#42976) docs: Prepare Changelog for 8.16.5 (elastic#43005)
  x-pack/filebeat/input/entityanalytics/provider/activedirectory: do not consider computers to be users (elastic#42796)
jlind23 added a commit that referenced this pull request Mar 10, 2025
* Don't package arm64 on amd64 workers (#43026)

This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)

* Build functionbeat on arm64 too

---------

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
Co-authored-by: Julien Lind <julien.lind@elastic.co>
dliappis added a commit that referenced this pull request Mar 12, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
Co-authored-by: kruskall <99559985+kruskall@users.noreply.github.com>
dliappis added a commit that referenced this pull request Mar 12, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
dliappis added a commit that referenced this pull request Mar 12, 2025
This commit is the counterpart of #43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.

(cherry picked from commit 2c6e5af)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
mauri870 pushed a commit to mauri870/beats that referenced this pull request Jun 4, 2025
This commit is the counterpart of elastic#43019 for the DRA packaging pipeline.

It ensures that arm64 packages get built without qemu emulation on dedicated arm64 workers.
mauri870 added a commit to mauri870/beats that referenced this pull request Jun 4, 2025
mauri870 added a commit to mauri870/beats that referenced this pull request Jun 6, 2025
mauri870 added a commit to mauri870/beats that referenced this pull request Jun 7, 2025
mauri870 added a commit to mauri870/beats that referenced this pull request Jun 7, 2025
mauri870 added a commit that referenced this pull request Jun 16, 2025
* Amalgamated commit with missing buildkite backports

This is an amalgamated commit of:

- #43026
- #43280
- #43387
- #43406
- #42705

* install libsystemd-dev to fix linter issues

* remove packaging not available in 7.17 branch

* install npcap on windows

* try installing npcap with winget for silent installation

* try and install npcap 0.86 manually

* remove packaging for beats not in 7.17

* it is WinPcap that we need for pcap.h

* Update .buildkite/packaging.pipeline.yml

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>

* Update .buildkite/packaging.pipeline.yml

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>

* Update .buildkite/packaging.pipeline.yml

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>

---------

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-active-8 Automated backport with mergify to all the active 8.[0-9]+ branches backport-active-9 Automated backport with mergify to all the active 9.[0-9]+ branches needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Packaging is broken on main
5 participants
0