elastic / elastic/beats

[Flaky Test] Error: failed modules: cloudfoundry

Open
#43,206 9 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

flaky-test Team:Elastic-Agent-Data-Plane
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 1h
Merged PRs (30d)
370

Description

Flaky Test

There is an issue about it:

Stack Trace

2025-03-11 07:55:11 CEST	go: downloading github.com/prometheus/procfs v0.15.1
2025-03-11 07:57:54 CEST	/go/pkg/mod/code.cloudfoundry.org/go-loggregator@v7.4.0+incompatible/rpc/loggregator_v2/syslog.go:9:2: unrecognized import path "code.cloudfoundry.org/rfc5424": parse https://code.cloudfoundry.org/rfc5424?go-get=1: no go-import meta tags ()
2025-03-11 07:57:54 CEST	
2025-03-11 07:57:54 CEST	=== Errors
2025-03-11 07:57:54 CEST	/go/pkg/mod/code.cloudfoundry.org/go-loggregator@v7.4.0+incompatible/rpc/loggregator_v2/syslog.go:9:2: unrecognized import path "code.cloudfoundry.org/rfc5424": parse https://code.cloudfoundry.org/rfc5424?go-get=1: no go-import meta tags ()
2025-03-11 07:57:54 CEST	
2025-03-11 07:57:54 CEST	DONE 0 tests, 1 error in 165.304s
2025-03-11 07:57:54 CEST	Error: failed to run integration tests for module cloudfoundry:
2025-03-11 07:57:54 CEST	1 error: failed to execute go: exit status 1
2025-03-11 07:57:54 CEST	Error: failed modules: cloudfoundry
2025-03-11 07:57:54 CEST	Error: failed to run integration tests for module cloudfoundry:
2025-03-11 07:57:54 CEST	1 error: running "docker-compose -p metricbeat_8_17_4_c7f5c15b7b-snapshot run -e DOCKER_COMPOSE_PROJECT_NAME=metricbeat_8_17_4_c7f5c15b7b-snapshot -e BEAT_STRICT_PERMS=false -e STACK_ENVIRONMENT=snapshot -e TESTING_ENVIRONMENT=snapshot -e GOCACHE=/go/src/github.com/elastic/beats/build/docker-gocache -v /opt/buildkite-agent/.asdf/installs/golang/1.22.12/packages/pkg/mod/cache/download:/gocache:ro -e GOPROXY=file:///gocache,direct -e EXEC_UID=1009 -e EXEC_GID=1010 -e BEATS_INSIDE_INTEGRATION_TEST_ENV=true -e AWS_IMAGE_UBUNTU_ARM_64=platform-ingest-beats-ubuntu-2204-aarch64 -e GCP_HI_PERF_MACHINE_TYPE=c2d-highcpu-16 -e GCP_WIN_MACHINE_TYPE=n2-standard-8 -e RACE_DETECTOR=true -e TEST_TAGS=oracle -e GOFLAGS=-mod=readonly -e MODULE=cloudfoundry -e AWS_ARM_INSTANCE_TYPE=m6g.xlarge -e GCP_DEFAULT_MACHINE_TYPE=c2d-highcpu-8 -e TEST_COVERAGE=true beat /go/src/github.com/elastic/beats/x-pack/metricbeat/build/mage-linux-amd64 goIntegTest" failed with exit code 1

[...]

2025-03-11 08:26:50 CEST	go: downloading golang.org/x/mod v0.21.0
2025-03-11 08:26:52 CEST	>> go test: Integration-tomcat Testing
2025-03-11 08:26:52 CEST	exec: gotestsum --no-color -f standard-quiet --junitfile build/TEST-go-integration-tomcat.xml --jsonfile build/TEST-go-integration-tomcat.out.json -- -tags oracle integration -covermode=atomic -coverprofile=build/TEST-go-integration-tomcat.cov ./module/tomcat/...
2025-03-11 08:26:52 CEST		github.com/elastic/beats/v7/x-pack/metricbeat/module/tomcat		coverage: 0.0% of statements
2025-03-11 08:26:52 CEST	
2025-03-11 08:26:52 CEST	DONE 0 tests in 0.070s
2025-03-11 08:26:52 CEST	>> go test: Integration-tomcat Test Passed
2025-03-11 08:26:52 CEST	Error: failed modules: cloudfoundry, containerd
2025-03-11 08:26:52 CEST	🚨 Error: The command exited with status 1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.