Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Nov 12, 2025

What does this PR do?

Why is it important?

  • DRY
  • As agreed with our teams, increasing the test coverage for other OS versions.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

Related issues

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

This is an automatic backport of pull request #11108 done by [Mergify](https://mergify.com).

@mergify mergify bot added the backport label Nov 12, 2025
@mergify mergify bot requested review from a team as code owners November 12, 2025 13:25
@mergify mergify bot requested review from ycombinator and removed request for a team November 12, 2025 13:25
@mergify mergify bot added the backport label Nov 12, 2025
@mergify mergify bot requested a review from swiatekm November 12, 2025 13:25
@mergify mergify bot assigned v1v Nov 12, 2025
v1v
v1v previously approved these changes Nov 12, 2025
@v1v v1v enabled auto-merge (squash) November 12, 2025 14:04
@v1v
Copy link
Member

v1v commented Nov 12, 2025


2025-11-12 17:13:11 UTC | === Failed
-- | --
  | 2025-11-12 17:13:11 UTC | === FAIL: testing/integration/ess TestSensitiveLogsESExporter (139.53s)
  | 2025-11-12 17:13:11 UTC | fetcher.go:102: Using existing artifact elastic-agent-8.19.7-SNAPSHOT-linux-x86_64.tar.gz
  | 2025-11-12 17:13:11 UTC | fixture.go:328: Extracting artifact elastic-agent-8.19.7-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestSensitiveLogsESExporter3333507537
  | 2025-11-12 17:13:11 UTC | fixture.go:346: Completed extraction of artifact elastic-agent-8.19.7-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestSensitiveLogsESExporter3333507537
  | 2025-11-12 17:13:11 UTC | fixture.go:1035: Components were not modified from the fetched artifact
  | 2025-11-12 17:13:11 UTC | fixture_install.go:195: [test TestSensitiveLogsESExporter] Inside fixture install function
  | 2025-11-12 17:13:11 UTC | fixture_install.go:223: [test TestSensitiveLogsESExporter] Inside fixture installNoPkgManager function
  | 2025-11-12 17:13:11 UTC | fixture_install.go:242: >> running binary with: [/tmp/TestSensitiveLogsESExporter3333507537/elastic-agent-8.19.7-SNAPSHOT-linux-x86_64/elastic-agent install --force]
  | 2025-11-12 17:13:11 UTC | fixture.go:829: >> running binary with: [/opt/Elastic/Agent/elastic-agent status --output json]
  | 2025-11-12 17:13:11 UTC | fixture.go:829: >> running binary with: [/opt/Elastic/Agent/elastic-agent status --output json]
  | 2025-11-12 17:13:11 UTC | fixture.go:829: >> running binary with: [/opt/Elastic/Agent/elastic-agent status --output json]
  | 2025-11-12 17:13:11 UTC | fixture.go:829: >> running binary with: [/opt/Elastic/Agent/elastic-agent status --output json]
  | 2025-11-12 17:13:11 UTC | beat_receivers_test.go:1258:
  | 2025-11-12 17:13:11 UTC | Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1762965466128136717/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:1266
  | 2025-11-12 17:13:11 UTC | /opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/runtime/asm_amd64.s:1700
  | 2025-11-12 17:13:11 UTC | Error:      	"0" is not greater than or equal to "1"
  | 2025-11-12 17:13:11 UTC | beat_receivers_test.go:1258:
  | 2025-11-12 17:13:11 UTC | Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1762965466128136717/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:1258
  | 2025-11-12 17:13:11 UTC | Error:      	Condition never satisfied
  | 2025-11-12 17:13:11 UTC | Test:       	TestSensitiveLogsESExporter
  | 2025-11-12 17:13:11 UTC | Messages:   	Expected at least 1 log, got 0
  | 2025-11-12 17:13:11 UTC | fixture_install.go:306: [test TestSensitiveLogsESExporter] Inside fixture cleanup function
  | 2025-11-12 17:13:11 UTC | fixture_install.go:322: collecting diagnostics; test failed
  | 2025-11-12 17:13:11 UTC | fixture_install.go:776: >> running binary with: [/opt/Elastic/Agent/elastic-agent diagnostics -f /opt/buildkite-agent/builds/bk-agent-prod-gcp-1762965466128136717/elastic/elastic-agent/build/diagnostics/TestSensitiveLogsESExporter-2025-11-12T17-13-10Z-diagnostics.zip]
  | 2025-11-12 17:13:11 UTC | fixture_install.go:727: >> running binary with: [/opt/Elastic/Agent/elastic-agent uninstall --force]
  | 2025-11-12 17:13:11 UTC | fixture.go:1160: Dumping running processes in /opt/buildkite-agent/builds/bk-agent-prod-gcp-1762965466128136717/elastic/elastic-agent/build/diagnostics/TestSensitiveLogsESExporter-2025-11-12T17-13-10Z-ProcessDump-cleanup.json
  | 2025-11-12 17:13:11 UTC | fixture.go:1451: Temporary directory "/tmp/TestSensitiveLogsESExporter3333507537" preserved for investigation/debugging
  | 2025-11-12 17:13:11 UTC | panic: runtime error: index out of range [0] with length 0 [recovered]
  | 2025-11-12 17:13:11 UTC | panic: runtime error: index out of range [0] with length 0
  | 2025-11-12 17:13:11 UTC |  
  | 2025-11-12 17:13:11 UTC | goroutine 870 [running]:
  | 2025-11-12 17:13:11 UTC | testing.tRunner.func1.2({0xd5cd160, 0xc00086a0a8})
  | 2025-11-12 17:13:11 UTC | /opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/testing/testing.go:1734 +0x21c
  | 2025-11-12 17:13:11 UTC | testing.tRunner.func1()
  | 2025-11-12 17:13:11 UTC | /opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/testing/testing.go:1737 +0x35e
  | 2025-11-12 17:13:11 UTC | panic({0xd5cd160?, 0xc00086a0a8?})
  | 2025-11-12 17:13:11 UTC | /opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/runtime/panic.go:792 +0x132
  | 2025-11-12 17:13:11 UTC | github.com/elastic/elastic-agent/testing/integration/ess.TestSensitiveLogsESExporter(0xc000603dc0)
  | 2025-11-12 17:13:11 UTC | /opt/buildkite-agent/builds/bk-agent-prod-gcp-1762965466128136717/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:1271 +0x1d95
  | 2025-11-12 17:13:11 UTC | testing.tRunner(0xc000603dc0, 0xdfe0f58)
  | 2025-11-12 17:13:11 UTC | /opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/testing/testing.go:1792 +0xf4
  | 2025-11-12 17:13:11 UTC | created by testing.(*T).Run in goroutine 1
  | 2025-11-12 17:13:11 UTC | /opt/buildkite-agent/.asdf/installs/golang/1.24.10/go/src/testing/testing.go:1851 +0x413


@mergify
Copy link
Contributor Author

mergify bot commented Nov 16, 2025

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 mergify/bp/8.19/pr-11108 upstream/mergify/bp/8.19/pr-11108
git merge upstream/8.19
git push upstream mergify/bp/8.19/pr-11108

@mergify
Copy link
Contributor Author

mergify bot commented Nov 17, 2025

This pull request has not been merged yet. Could you please review and merge it @v1v? 🙏

@v1v v1v merged commit a48d72f into 8.19 Nov 17, 2025
17 checks passed
@v1v v1v deleted the mergify/bp/8.19/pr-11108 branch November 17, 2025 08:56
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @v1v

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.

3 participants