elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
72 stars 4.92k forks source link

x-pack/heartbeat: "build constraints exclude all Go files" for Win tests #40502

Closed oakrizan closed 1 month ago

oakrizan commented 2 months ago

Problems with tests execution

Stack Trace

>> go test: Unit Testing
exec: gotestsum --no-color -f standard-quiet --junitfile build/TEST-go-unit.xml --jsonfile build/TEST-go-unit.out.json -- -covermode=atomic -coverprofile=build\TEST-go-unit.cov ./...
go: downloading github.com/kortschak/utter v1.5.0
package github.com/elastic/beats/v7/x-pack/heartbeat/include
    imports github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser: build constraints exclude all Go files in C:\buildkite-agent\builds\bk-agent-prod-gcp-1723551214720959957\elastic\beats-xpack-heartbeat\x-pack\heartbeat\monitors\browser
=== Errors
package github.com/elastic/beats/v7/x-pack/heartbeat/include
    imports github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser: build constraints exclude all Go files in C:\buildkite-agent\builds\bk-agent-prod-gcp-1723551214720959957\elastic\beats-xpack-heartbeat\x-pack\heartbeat\monitors\browser
elasticmachine commented 2 months ago

Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services)

rowlandgeoff commented 2 months ago

During the migration of beats-ci from Jenkins to Buildkite, a number of tests were failing consistently due to issues unrelated to the migration. Those tests were disabled to stabilize the CI, with the intent to revisit them post-migration. @oakrizan has reviewed them all in her draft PRs linked above in the description, and has opened tickets such as this one to highlight to the product teams the tests that are currently still disabled and could use some attention.