Skip to content

[9.4][Automation] Update elastic/beats to 204979460235 - #17259

Closed
elastic-vault-github-plugin-prod[bot] wants to merge 1 commit into
9.4from
update-beats-9.4
Closed

elastic-vault-github-plugin-prod[bot] wants to merge 1 commit into
9.4from
update-beats-9.4

Conversation

@elastic-vault-github-plugin-prod

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

What

Update elastic/beats to the latest version on branch 9.4.

Changeset

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor Author

Dependency Update Analysis

Summary: This PR updates github.com/elastic/beats/v7 from v7.0.0-alpha2.0.20261015191916-3c9349f14604 to v7.0.0-alpha2.0.20261018220804-fbf34de24f95 and refreshes related Go module graph/NOTICE artifacts; overall risk is low-to-moderate and compatible with current repository usage.

github.com/elastic/beats/v7 v7.0.0-alpha2.0.20261015191916-3c9349f14604 → v7.0.0-alpha2.0.20261018220804-fbf34de24f95

Ecosystem: Go

Check Result
Breaking changes ✅ None found in current usage (same Go import path github.com/elastic/beats/v7; no v-path major change)
Testable in PR ✅ Yes (.github/workflows/macos-unit-tests.yml runs on pull_request and executes mage unitTest)
Changelog highlights (v7.0.0-alpha2.0.20261015191916-3c9349f14604 → v7.0.0-alpha2.0.20261018220804-fbf34de24f95)
  • The target Beats commit (fbf34de24f95...) message indicates a fix in x-pack/filebeat/input/cel to ensure the events array is dropped before next evaluation, preventing stale-state type mismatch behavior.
  • No CVE/GHSA identifiers were present in the available commit metadata for this bump.
  • Upstream release-note body for this exact pseudo-version was not available as a tagged release; analysis used local diff and commit metadata.
Usage in this repository

github.com/elastic/beats/v7 is used broadly across agent/runtime and EDOT paths, including:

  • internal/pkg/composable/providers/{docker,kubernetes,kubernetessecrets}/... (autodiscover providers)
  • internal/pkg/otel/translate/... and internal/pkg/otel/extension/elasticdiagnostics/... (OTel translation/extensions)
  • internal/edot/beats/... and internal/edot/otelcol/components/default.go (embedded beat commands and OTel components)
  • top-level module wiring in go.mod and internal/edot/go.mod with replace github.com/elastic/beats/v7 => ./beats
Compatibility assessment
  • This is a pseudo-version bump within the same major import path (/v7), so no repository-wide import rewrites are required.
  • The PR also updates transitive Go dependencies (go.mod, internal/edot/go.mod, go.sum, NOTICE files), notably OTel stack increments (for example go.opentelemetry.io/collector v1.67.0→v1.69.0, go.opentelemetry.io/otel v1.46.0→v1.47.0) and patch/minor library updates (for example go-winio v0.6.2→v0.6.3).
  • No direct evidence of removed APIs used by this repository was found from the local usage scan; changed modules remain on compatible import paths.
  • Security/CVE-focused review of available metadata found no explicit new advisories introduced by this bump; the visible change set trends toward maintenance/fix updates rather than expanded attack surface.

Additional Go dependency graph updates in this PR

Ecosystem: Go

Check Result
Breaking changes ✅ None found in repository usage (no import-path major-version transitions)
Testable in PR ✅ Yes (PR-triggered CI workflows exist; module graph changes are exercised by standard build/test jobs)
Changelog highlights (transitive updates)
  • go.mod and internal/edot/go.mod include broad transitive refreshes (84 and 98 module-version changes respectively), including:
    • OTel collector/core lines (v0.161.0/v1.67.0 → v0.163.0/v1.69.0)
    • golang.org/x/* patch/minor updates
    • selected library patch/minor bumps (github.com/Microsoft/go-winio, github.com/klauspost/compress, github.com/prometheus/common, etc.)
  • No CVE/GHSA IDs were present in the locally available metadata for these transitive updates.
  • Upstream per-module release-note bodies were not embedded in PR metadata; assessment relied on semver direction, module-path compatibility, and in-repo usage impact.
Usage in this repository
  • OTel collector/SDK modules are heavily consumed under internal/edot/**, including receiver, exporter, pipeline, component, and runtime wiring.
  • Related core modules (golang.org/x/*, windows/system libs) are consumed via transitive/runtime support paths and platform-specific code.
Compatibility assessment
  • Bumps are patch/minor or pseudo-version updates within existing module paths; no major import-path jumps (for example /vN path changes) were introduced.
  • The diff shape (module/sum/NOTICE refresh without source-callsite rewrites) is consistent with a dependency graph refresh from the Beats bump, not an API migration.
  • Residual uncertainty is limited to normal transitive-update breadth; risk stays in low-to-moderate band.

Labels Applied

  • oblt-aw/ai/merge-ready — applied (overall risk low-to-moderate, no breaking usage impact found, ecosystem checks passed for this Go dependency update).

What is this? | From workflow: Observability Agentic Workflow — Pull Request

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

github-actions[bot]
github-actions Bot previously approved these changes Oct 19, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automerge eligibility gates passed: allowed author, oblt-aw/ai/merge-ready label present, not draft, same-repo head/base, and head ref differs from base ref.


What is this? | From workflow: Observability Agentic Workflow — Pull Request

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

@github-actions

Copy link
Copy Markdown
Contributor

Automerge did not merge yet because this pull request is not ready (required status checks are still pending).

This run stays successful. Deferred automerge on the frequent schedule (about every 15 minutes) will retry the squash-merge as the Vault app (CODEOWNERS bypass via classic pull_request_bypassers) once GitHub reports all required checks green.

Armed by workflow run: https://github.com/elastic/elastic-agent/actions/runs/39181854943 (head c9eaae6bd377acb8816bcabc431e3972ab412da5)

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@swiatekm

Copy link
Copy Markdown
Member

Blocked by #17249.

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot changed the title [9.4][Automation] Update elastic/beats to fbf34de24f95 [9.4][Automation] Update elastic/beats to 6a91aa3f745e Oct 20, 2026
github-actions[bot]
github-actions Bot previously approved these changes Oct 20, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automerge eligibility confirmed: allowed author (elastic-vault-github-plugin-prod[bot]), oblt-aw/ai/merge-ready label present, not draft, same-repo head/base, and head ref differs from base ref.


What is this? | From workflow: Observability Agentic Workflow — Pull Request

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

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor Author

Dependency Update Analysis

Summary: github.com/elastic/beats/v7 was bumped from v7.0.0-alpha2.0.20261015191916-3c9349f14604 to v7.0.0-alpha2.0.20261019221550-6a91aa3f745e (plus synchronized Go module graph updates); overall risk is low-to-moderate.

Dependency 1: github.com/elastic/beats/v7 v7.0.0-alpha2.0.20261015191916-3c9349f14604 → v7.0.0-alpha2.0.20261019221550-6a91aa3f745e

Ecosystem: Go

Check Result
Breaking changes ✅ None found in consumed module path/interface surface (same major path .../v7; no import-path migration needed)
Testable in PR ✅ Yes — repo has pull_request CI workflows (e.g. golangci-lint.yml, macos-unit-tests.yml)
Changelog highlights (v7.0.0-alpha2.0.20261015191916-3c9349f14604 → v7.0.0-alpha2.0.20261019221550-6a91aa3f745e)

From the PR-linked compare (elastic/beats/compare/3c9349f14604...6a91aa3f745e) and local metadata:

  • OTel collector dependency roll-forward (0.161.0 → 0.163.0) and related module syncs.
  • Bug fixes in Beats runtime paths (e.g. Azure Event Hub metadata map concurrency crash fix, CEL input event-array reset fix, SIP Contact parsing correction).
  • Security-relevant hardening: Packetbeat Redis protocol parser now rejects invalid negative RESP array lengths.
  • Additional dependency refreshes (e.g. go.elastic.co/go-licence-detector minor bump in the tip commit).

No exact release-tag notes exist for this SHA-pinned pseudo-version (MCP release lookup for the commit SHA returned 404), so analysis used the compare data + local diff metadata.

Usage in this repository

github.com/elastic/beats/v7 is broadly consumed (62 matches outside the submodule), including:

  • internal/edot/otelcol/components/default.go (EDOT receivers/exporters/extensions wiring)
  • internal/pkg/composable/providers/kubernetes/* and .../docker/* (autodiscover providers)
  • internal/pkg/otel/translate/* (output/auth translation layers)
  • magefile.go references Beats mage targets

This PR also updates synchronized Go deps in go.mod, internal/edot/go.mod, and wrapper/windows/archive-proxy/go.mod.

Compatibility assessment
  • No Go major-version boundary crossed for github.com/elastic/beats/v7; import path remains stable.
  • No evidence in local usage that removed/deprecated APIs used by this repo are being dropped in this bump window.
  • Security posture is neutral-to-improved based on parser/input hardening and bug fixes observed in compare metadata.
  • Because Beats is widely used, impact radius is broad, but this is mitigated by PR-testable CI and non-breaking module path continuity.

Labels Applied

  • oblt-aw/ai/merge-ready (applied): risk is low-to-moderate, no repo-impacting breaking changes found, ecosystem checks for this Go bump pass, and PR-context CI is available.

What is this? | From workflow: Observability Agentic Workflow — Pull Request

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

@github-actions

Copy link
Copy Markdown
Contributor

Automerge did not merge yet because this pull request is not ready (required status checks are still pending).

This run stays successful. Deferred automerge on the frequent schedule (about every 15 minutes) will retry the squash-merge as the Vault app (CODEOWNERS bypass via classic pull_request_bypassers) once GitHub reports all required checks green.

Armed by workflow run: https://github.com/elastic/elastic-agent/actions/runs/39348583205 (head 7cfc29bd73f4346456a43acacf2bc1094cff1c5c)

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

Buildkite #48053 is failing for four causes: generated-file drift in check-ci, deterministic OTel translate unit-test breakage, deterministic EDOT diagnostics integration failures, and one transient packaging network fetch failure. Immediate action: fix the OTel/diagnostics regressions and commit regenerated files; then retry packaging.

Remediation

  • Regenerate and commit artifacts (mage update and, if needed, mage addLicenseHeaders) so internal/edot/README.md is clean, then rerun make check-ci.
  • Fix OTel ES queue translation compatibility for bumped collector/exporter deps: emit exporter-valid sending_queue.batch.partition.idle_timeout (positive duration) or equivalent supported config, then rerun go test ./internal/pkg/otel/translate -run 'TestVerificationMode|TestProxyHTTP'.
  • Investigate EDOT diagnostics artifact layout/production change for filestream and align implementation or expectation at testing/integration/ess/diagnostics_test.go:687 (components/filestream-default/registry.tar.gz).
  • Retry :package: amd64: Containers; if it repeats, add retry/backoff around osquery package download.
Investigation details

Root Cause

  1. Configuration drift (check-ci)

    • check-ci fails with stale generated content: internal/edot/README.md.
    • Evidence: /tmp/gh-aw/buildkite-logs/elastic-agent-check-ci.txt:139.
  2. Code/config compatibility regression (unit tests, deterministic)

    • Ubuntu + Windows unit tests fail with: sending_queue: batch: partition: \idle_timeout` must be positive, found 0s`.
    • Failing assertions are in internal/pkg/otel/translate/beatsauth_test.go:624 (call sites around :391, :476, :512, :528).
    • This PR bumps collector/exporter deps (go.mod / internal/edot/go.mod), which aligns with stricter queue validation.
  3. Test/runtime regression (integration, deterministic)

    • Linux and Windows integration jobs fail TestEDOTDiagnostics with missing components/filestream-default/registry.tar.gz.
    • Evidence: /tmp/gh-aw/buildkite-logs/elastic-agent-linuxamd64tier1non-sudodefault.txt:100-104, /tmp/gh-aw/buildkite-logs/elastic-agent-windowsamd64tier1non-sudodefault.txt:114-116.
    • Assertion location: testing/integration/ess/diagnostics_test.go:687 (expected pattern defined near :700).
  4. Infrastructure/network transient

    • Packaging failed downloading osquery package with connection reset by peer.
    • Evidence: /tmp/gh-aw/buildkite-logs/elastic-agent-package-amd64-containers.txt:128.

Evidence

Verification

  • Local repro was not run: this checkout lacks beats/ submodule content (beats/go.mod missing), so go test setup fails locally.
  • Checked for matching flaky-test issues, but issue results were integrity-policy filtered in this environment.

Follow-up

  • This is not a duplicate of the latest detective comment: same build, but this adds the currently failing EDOT diagnostics integration root cause and concrete source location.

What is this? | From workflow: Observability Agentic Workflow — Status

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

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot changed the title [9.4][Automation] Update elastic/beats to 6a91aa3f745e [9.4][Automation] Update elastic/beats to 204979460235 Oct 21, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor Author

Dependency Update Analysis

Summary: This PR updates github.com/elastic/beats/v7 from 7.0.0-alpha2.0.20261015191916-3c9349f14604 to 7.0.0-alpha2.0.20261020215550-204979460235, which also refreshes related Go transitive dependencies (notably OTel collector stack 0.161.0→0.163.0 / 1.67.0→1.69.0). Overall risk: low.

Dependency 1: github.com/elastic/beats/v7 ...3c9349f14604 → ...204979460235

Ecosystem: Go

Check Result
Breaking changes ✅ None found in repository usage
Testable in PR ✅ Yes — PR checks include build / build, build / check, lint jobs
Changelog highlights (old → new)

From the upstream compare link in PR metadata (elastic/beats@3c9349f14604...204979460235):

  • OTel collector dependency updates (0.161.0→0.163.0, v1.67.0→v1.69.0)
  • Redis protocol hardening: reject invalid negative RESP array lengths
  • Osquery recovery fixes around runtime exit 78 behavior
  • Test update due to Elasticsearch exporter doing an additional version-check query

Security/CVE review: no explicit CVE/GHSA entries were visible in the compare content. The Redis validation change is security-positive (input validation hardening), and no newly risky defaults were identified for this repo’s usage.

Usage in this repository

github.com/elastic/beats/v7 is used broadly across runtime and OTel integration code, for example:

  • internal/edot/beats/cmd.go (imports x-pack beat commands)
  • internal/edot/otelcol/components/default.go (beat receivers/exporters/extensions)
  • internal/pkg/otel/translate/output_elasticsearch.go (beats elasticsearch output integration)
  • internal/pkg/composable/providers/kubernetes/*.go and docker/*.go (autodiscover providers)

No import-path major-version change occurred (still /v7), so no code migration indicators were found.

Compatibility assessment
  • No direct API-signature changes were introduced in this PR (only module/version updates + submodule pointer + notice/go.sum refresh).
  • The OTel stack bump is consistent with existing EDOT usage (internal/edot/** imports remain within same module paths).
  • No workflow/action pin changes in this PR, so Actions commit-verification checks are not applicable.

Conclusion: compatible with current usage; risk remains low.

Dependency 2: Transitive Go module refresh in go.mod + internal/edot/go.mod

Ecosystem: Go

Check Result
Breaking changes ✅ None found in consumed repo APIs
Testable in PR ✅ Yes — validated by PR CI jobs
Changelog highlights (selected)

Representative updates:

  • go.opentelemetry.io/collector/*: 0.161.0→0.163.0 and 1.67.0→1.69.0
  • go.opentelemetry.io/otel/*: 1.46.0→1.47.0
  • golang.org/x/*: patch/minor increments (crypto, net, sys, text, etc.)
  • github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter: 0.161.0→0.163.0

No major import-path breaks (e.g., /vN path jumps requiring source edits) were introduced in repository code.

Usage in this repository

Key usage areas for refreshed modules:

  • OTel collector imports across internal/edot/otelcol/**, internal/edot/receivers/**
  • Elastic search exporter wiring in internal/edot/otelcol/components/default.go and tests in internal/pkg/otel/translate/beatsauth_test.go

These usages remain on same package paths and integration points.

Compatibility assessment

Given unchanged import paths and no code changes in consuming files, this appears to be a normal dependency refresh aligned with upstream beats changes. Residual risk is low and primarily around behavioral drift covered by CI/integration tests.

Labels Applied

  • oblt-aw/ai/merge-ready — applied (low-risk dependency refresh, no detected breaking usage changes, PR-context CI coverage present).

What is this? | From workflow: Observability Agentic Workflow — Pull Request

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automerge eligibility confirmed: allowed author, oblt-aw/ai/merge-ready label present, not draft, same-repo head/base, and head ref differs from base ref.


What is this? | From workflow: Observability Agentic Workflow — Pull Request

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

@github-actions

Copy link
Copy Markdown
Contributor

Automerge did not merge yet because this pull request is not ready (required status checks are still pending).

This run stays successful. Deferred automerge on the frequent schedule (about every 15 minutes) will retry the squash-merge as the Vault app (CODEOWNERS bypass via classic pull_request_bypassers) once GitHub reports all required checks green.

Armed by workflow run: https://github.com/elastic/elastic-agent/actions/runs/39522161258 (head 3fb21291c0eabda068f205bd6315c375ce7cdf22)

@mergify

mergify Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b update-beats-9.4 upstream/update-beats-9.4
git merge upstream/9.4
git push upstream update-beats-9.4

@mergify mergify Bot closed this Oct 21, 2026
@mergify

mergify Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed by Mergify.
There are some other up-to-date pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant