elastic / beats

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

[metricbeat][6.8][windows] TestData #22257

Open v1v opened 3 years ago

v1v commented 3 years ago

Flaky Test

Stack Trace

[2020-10-22T14:41:52.581Z] 

[2020-10-22T14:41:52.581Z] C:\Users\jenkins\workspace\Beats_beats_PR-21859\src\github.com\elastic\beats\metricbeat>mage fields build goTestUnit 

[2020-10-22T14:41:59.404Z] Generated fields.yml for metricbeat to C:\Users\jenkins\workspace\Beats_beats_PR-21859\src\github.com\elastic\beats\metricbeat\fields.yml

[2020-10-22T14:41:59.404Z] >> build: Building metricbeat

[2020-10-22T14:42:46.934Z] >> go test: Unit Testing

[2020-10-22T14:44:08.391Z] FAILURES:

[2020-10-22T14:44:08.391Z] Package: github.com/elastic/beats/metricbeat/module/windows/perfmon

[2020-10-22T14:44:08.391Z] Test:    TestData

[2020-10-22T14:44:08.391Z] modules.go:94: failed to create new MetricSet 1 error: initialization of reader failed: failed to add counter (query="\FileSystem Disk Activity(_Total)\FileSystem Bytes Read"): The specified object was not found on the computer.

[2020-10-22T14:44:08.391Z] ----

[2020-10-22T14:44:08.391Z] SUMMARY:

[2020-10-22T14:44:08.391Z]   Fail:     1

[2020-10-22T14:44:08.391Z]   Skip:     21

[2020-10-22T14:44:08.391Z]   Pass:     319

[2020-10-22T14:44:08.391Z]   Packages: 107

[2020-10-22T14:44:08.391Z]   Duration: 1m10.5292968s

[2020-10-22T14:44:08.391Z]   Coverage Report: C:\Users\jenkins\workspace\Beats_beats_PR-21859\src\github.com\elastic\beats\metricbeat\build\TEST-go-unit.html

[2020-10-22T14:44:08.391Z]   JUnit Report:    C:\Users\jenkins\workspace\Beats_beats_PR-21859\src\github.com\elastic\beats\metricbeat\build\TEST-go-unit.xml

[2020-10-22T14:44:08.391Z]   Output File:     C:\Users\jenkins\workspace\Beats_beats_PR-21859\src\github.com\elastic\beats\metricbeat\build\TEST-go-unit.out

[2020-10-22T14:44:08.391Z] >> go test: Unit Test Failed

[2020-10-22T14:44:08.391Z] Error: go test failed: 1 test failures

script returned exit code 1
elasticmachine commented 3 years ago

Pinging @elastic/integrations (Team:Platforms)

narph commented 3 years ago

@v1v , have you disabled this test, are you still encountering this issue, would like to see if I can do something about it