elastic / elastic/elastic-agent

[Flaky Test] github.com/elastic/elastic-agent/testing/integration/k8s TestKubernetesAgentOtel

Open
#16,458 1 comment 0 reactions 0 assignees View on GitHub
flaky-test Team:Elastic-Agent-Control-Plane
Dominant language
Go
Stars
275
Forks
264
Avg merge
1d 23h
Merged PRs (30d)
312

Description

## Flaky Test

* **Test Name:** TestKubernetesAgentOtel
* **Scope:** github.com/elastic/elastic-agent/testing/integration/k8s
* **File:** N/A
* **Location:** N/A
* **Buildkite Link:** https://buildkite.com/organizations/elastic/analytics/suites/elastic-agent-ci/tests/ff29dd05-5900-87a7-87e7-7196e1a48706
* **Flaky Instances:** 1
* **Latest Occurrence:** 2026-09-01T16:06:44.915Z

### Details

```json
{
"id": "ff29dd05-5900-87a7-87e7-7196e1a48706",
"web_url": "https://buildkite.com/organizations/elastic/analytics/suites/elastic-agent-ci/tests/ff29dd05-5900-87a7-87e7-7196e1a48706",
"scope": "github.com/elastic/elastic-agent/testing/integration/k8s",
"name": "TestKubernetesAgentOtel",
"location": null,
"file_name": null,
"instances": 1,
"latest_occurrence_at": "2026-09-01T16:06:44.915Z",
"most_recent_instance_at": "2026-09-01T16:06:44.915Z",
"last_resolved_at": null,
"ownership_team_ids": [],
"failure_examples_count": 1
}
```

### Failure Examples

**Example 1:**
**Run:** https://api.buildkite.com/v2/analytics/organizations/elastic/suites/elastic-agent-ci/runs/5e9e0c8f-a072-89f0-84e8-08d7481e38a2
**Time:** 2026-09-01T16:05:20.522Z
**Stacktrace:**

```
=== RUN TestKubernetesAgentOtel
--- FAIL: TestKubernetesAgentOtel (134.13s)
```

Contributor guide

Open the contributing guide

Research direction

Start with TestKubernetesAgentOtel in github.com/elastic/elastic-agent/testing/integration/k8s and inspect the linked Buildkite run and its single failure example. The issue provides no file, location, or useful stack trace, so determine the intermittent failure from the test and CI evidence; done means the test no longer flakes under the relevant runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.