Skip to content

[Release] Update version to 9.5.1 - #15426

Merged
ebeahan merged 5 commits into
9.5from
update-version-next-9.5.1
Aug 4, 2026
Merged

ebeahan merged 5 commits into
9.5from
update-version-next-9.5.1

Conversation

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Updates references to the new release 9.5.1.

Merge after the release 9.5.0.

@elastic-vault-github-plugin-prod
elastic-vault-github-plugin-prod Bot requested a review from a team as a code owner July 8, 2026 17:16
@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot added Team:Automation Label for the Observability productivity team release skip-changelog labels Jul 8, 2026
@elastic-vault-github-plugin-prod
elastic-vault-github-plugin-prod Bot requested review from blakerouse and ycombinator and removed request for a team July 8, 2026 17:16
@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot added the Team:Automation Label for the Observability productivity team label Jul 8, 2026
@github-actions

This comment has been minimized.

@ebeahan
ebeahan requested a review from a team as a code owner July 25, 2026 15:31
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

The Serverless Beats job builds Filebeat with the inherited Elastic Agent BEAT_VERSION, but the Beats integration runner resolves its expected package version from the cloned Beats checkout. After this PR changed version/version.go to 9.5.1, the build and validation versions diverged: the runner looked for filebeat-9.5.0-SNAPSHOT, which was not present.

Remediation

  • Prevent the Elastic Agent BEAT_VERSION from leaking into the cloned Beats package build; unset it before mage package, or explicitly set the Beats package/test version consistently from the cloned Beats checkout.
  • Re-run Serverless Beats Tests and confirm the generated Filebeat archive and .sha512 use the same version the runner requests.
Investigation details

Root Cause

.buildkite/scripts/common.sh:16-18 initializes and exports BEAT_VERSION from the Elastic Agent workspace (version/version.go). .buildkite/scripts/steps/beats_tests.sh:19-23 then changes WORKSPACE to the cloned Beats filebeat directory and runs SNAPSHOT=true ... mage package without clearing that inherited variable. The PR head changes version/version.go to 9.5.1, so the Beats package step receives the Agent version rather than relying on the cloned Beats version.

The subsequent test runs in the Beats checkout (beats_tests.sh:27-31). Its define.Version() uses AGENT_VERSION when set, otherwise the checkout default (pkg/testing/define/define.go:61-67), and runner.getBuilds() constructs the required package name from that version (pkg/testing/runner/runner.go:525-542). The failing log confirms the resulting expectation was:

missing required Elastic Agent package builds for integration runner to execute:
/tmp/beats-build/beats/x-pack/filebeat/build/distributions/filebeat-9.5.0-SNAPSHOT-linux-x86_64.tar.gz,
/tmp/beats-build/beats/x-pack/filebeat/build/distributions/filebeat-9.5.0-SNAPSHOT-linux-x86_64.tar.gz.sha512

This is a distinct failure from the earlier generated-artifact drift and checkout-hook failures already commented on this PR.

Evidence

  • Build: https://buildkite.com/elastic/elastic-agent/builds/43864
  • Job/step: Serverless Beats Tests (.buildkite/scripts/steps/beats_tests.sh)
  • PR commit: 068e84c57a577481e372dcf9512f1e85430d3915
  • Version change: version/version.go sets defaultBeatVersion = "9.5.1" at the PR head.
  • Key log excerpt: filebeat-9.5.0-SNAPSHOT-linux-x86_64.tar.gz and its .sha512 are missing.

Verification

Not run locally; this workflow is read-only and the failure is reproduced directly by the Buildkite log plus the version propagation in the PR-head source.


What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@infra-vault-gh-plugin-prod

infra-vault-gh-plugin-prod Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

💔 Build Failed

Failed CI Steps

History

cc @elasticmachine

@ebeahan

ebeahan commented Jul 31, 2026

Copy link
Copy Markdown
Member

Opened #15924 to address the ongoing Beats Serverless test failures.

@ebeahan

ebeahan commented Aug 4, 2026

Copy link
Copy Markdown
Member

Force merging past remaining test failure - unrelated.

@ebeahan
ebeahan merged commit 2ac9fdf into 9.5 Aug 4, 2026
25 of 26 checks passed
@ebeahan
ebeahan deleted the update-version-next-9.5.1 branch August 4, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release skip-changelog Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants