Skip to content

[Flaky Test] github.com/elastic/beats/v7/x-pack/metricbeat/module/cockroachdb/status TestFetch #50539

@elastic-vault-github-plugin-prod

Description

Flaky Test

Details

{
  "id": "247467ab-aaf7-8dff-9a0b-0329e049568d",
  "web_url": "https://buildkite.com/organizations/elastic/analytics/suites/beats/tests/247467ab-aaf7-8dff-9a0b-0329e049568d",
  "scope": "github.com/elastic/beats/v7/x-pack/metricbeat/module/cockroachdb/status",
  "name": "TestFetch",
  "location": null,
  "file_name": null,
  "instances": 5,
  "latest_occurrence_at": "2026-05-06T20:55:10.853Z",
  "most_recent_instance_at": "2026-05-06T20:55:10.853Z",
  "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/beats/runs/70800beb-d49b-88aa-af94-86b8cd3fc353
Time: 2026-05-06T19:55:01.229Z
Stacktrace:

=== RUN   TestFetch
    logger.go:146: 2026-05-06T20:03:07.746Z	DEBUG	docker	Docker client will negotiate the API version on the first request.
    logger.go:146: 2026-05-06T20:03:08.271Z	WARN	pull failed for cockroachdb (will build if needed): exit status 18
 cockroachdb Pulling 
 cockroachdb Warning failed to resolve reference "docker.elastic.co/integrations-ci/beats-cockroachdb:22.1.19-1": docker.elastic.co/integrations-ci/beats-cockroachdb:22.1.19-1: not found
#0 building with "default" instance using docker driver

#1 [cockroachdb internal] load build definition from Dockerfile
#1 transferring dockerfile: 242B done
#1 DONE 0.0s

#2 [cockroachdb internal] load metadata for docker.io/cockroachdb/cockroach:v22.1.19
#2 DONE 0.5s

#3 [cockroachdb internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [cockroachdb 1/1] FROM docker.io/cockroachdb/cockroach:v22.1.19@sha256:0f11b3306212e279f7f6f68ffeef57522fe7b95b3b5adf7190a16e4c48b0dd22
#4 resolve docker.io/cockroachdb/cockroach:v22.1.19@sha256:0f11b3306212e279f7f6f68ffeef57522fe7b95b3b5adf7190a16e4c48b0dd22 done
#4 DONE 0.1s

#5 [cockroachdb] exporting to image
#5 exporting layers done
#5 exporting manifest sha256:6edfe5558ed493d7ac8f1f50fd143be1e5bd494085f68c919846aaeff87e2da0 done
#5 exporting config sha256:04a0f26dd13c201688695d00f92e6674f514e42d62e30d1cab13959c766996ae done
#5 exporting attestation manifest sha256:06bf427678b2ff2fea89e08956f0cc3a40c8a6b8ec8d0c145e0702f3a541594f 0.0s done
#5 exporting manifest list sha256:2f807c05a1bdc85e7ef3548b1daeb12bb3a56e19464bb8842c138d38bc3b3d25 done
#5 naming to docker.elastic.co/integrations-ci/beats-cockroachdb:22.1.19-1 done
#5 unpacking to docker.elastic.co/integrations-ci/beats-cockroachdb:22.1.19-1
#5 ...

#4 [cockroachdb 1/1] FROM docker.io/cockroachdb/cockroach:v22.1.19@sha256:0f11b3306212e279f7f6f68ffeef57522fe7b95b3b5adf7190a16e4c48b0dd22
#4 sha256:a49367d57626b909254c52a27854d7d4163acce34b18157d7d5b08a60b897e34 36.94MB / 36.94MB 0.4s done
#4 sha256:5986e9939b973d0fa55d854b99ee34af7b3955c4bad75c5ad6fa96622897496b 3.39MB / 3.39MB 0.2s done
#4 sha256:94760643ed57a812121e88215c17527f63d5503d08e5dec44fb04bb28eae2537 45.54kB / 45.54kB 0.1s done
#4 sha256:dc52d919f1ed7200c0589cec55e0232fcdbdc97bdee68bf40a08f0800a5fddf4 833.94kB / 833.94kB 0.2s done
#4 sha256:9b4bb62f8c565a804d1ae6cbb7ab495adece603c38ed5c38f936bc9c6d34b8ff 220B / 220B 0.1s done
#4 sha256:973efc01749c95df5a6661cc9d32e5851046942539560d4bd0904cbf4b511315 87.16MB / 87.16MB 0.9s done
#4 DONE 1.2s

#5 [cockroachdb] exporting to image
#5 unpacking to docker.elastic.co/integrations-ci/beats-cockroachdb:22.1.19-1 2.8s done
#5 DONE 2.8s
time="2026-05-06T20:03:12Z" level=warning msg="Found orphan containers ([metricbeat_9_5_0_9860cceb44-snapshot-beat-run-d9ee9d016a64 metricbeat_9_5_0_9860cceb44-snapshot-beat-run-48f1ee4299d3 metricbeat_9_5_0_9860cceb44-snapshot-beat-run-06d8c012568e metricbeat_9_5_0_9860cceb44-snapshot-beat-run-fe14a7be7ba3 metricbeat_9_5_0_9860cceb44-snapshot-beat-run-63e921e4f4d1 metricbeat_9_5_0_9860cceb44-snapshot-beat-run-3ac0b78e6157 metricbeat_9_5_0_9860cceb44-snapshot-beat-run-a36ac7d413b1 metricbeat_9_5_0_9860cceb44-snapshot-beat-run-b2384523cb97 metricbeat_9_5_0_9860cceb44-snapshot-beat-run-065dae3584d8]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up."
 Container metricbeat_9_5_0_9860cceb44-snapshot-cockroachdb-1  Creating
 Container metricbeat_9_5_0_9860cceb44-snapshot-cockroachdb-1  Created
 Container metricbeat_9_5_0_9860cceb44-snapshot-cockroachdb-1  Starting
 Container metricbeat_9_5_0_9860cceb44-snapshot-cockroachdb-1  Started
    logger.go:146: 2026-05-06T20:03:17.224Z	DEBUG	cockroachdb.status	Fetching families from 172.18.0.2:8080
    logger.go:146: 2026-05-06T20:03:17.224Z	DEBUG	cockroachdb.status	Making HTTP request: GET http://172.18.0.2:8080/_status/vars
    logger.go:146: 2026-05-06T20:03:17.225Z	DEBUG	cockroachdb.status	Completed dialing successfully	{"network.transport": "tcp", "server.address": "172.18.0.2:8080"}
    logger.go:146: 2026-05-06T20:03:17.225Z	DEBUG	cockroachdb.status	GET http://172.18.0.2:8080/_status/vars request failed with status code: 404
    logger.go:146: 2026-05-06T20:03:17.225Z	DEBUG	cockroachdb.status	error received from prometheus endpoint: 404 page not found
    logger.go:146: 2026-05-06T20:03:17.225Z	DEBUG	cockroachdb.status	Error getting families: unable to decode response from prometheus endpoint: unexpected status code 404 from server
    logger.go:146: 2026-05-06T20:03:17.225Z	DEBUG	cockroachdb.status	Processed 1 families (0 skipped), generated 1 events
    logger.go:146: 2026-05-06T20:03:17.225Z	DEBUG	cockroachdb.status	Fetch completed: reported 1/1 events
    status_integration_test.go:37: Expected 0 error, had 1. [unable to decode response from prometheus endpoint: unexpected status code 404 from server]
--- FAIL: TestFetch (9.48s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:Obs-InfraObsLabel for the Observability Infrastructure Monitoring teamflaky-testUnstable or unreliable test cases.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions