elastic / elastic/beats

Flaky Test [Build&Test / metricbeat-windows-10-windows-10 / metricbeat/helper/windows/pdh TestPdhSuccessfulCounterRetrieval]

Open
#24,256 1 comment 0 reactions 0 assignees View on GitHub
ci-reported flaky-test Team:Integrations
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 15m
Merged PRs (30d)
385

Description

## Flaky Test

* **Test Name:** metricbeat/helper/windows/pdh TestPdhSuccessfulCounterRetrieval
* **Link:**https://beats-ci.elastic.co/blue/organizations/jenkins/Beats%2Fbeats/detail/PR-24174/4/pipeline#step-9863-log-333
* **Branch:** master
* **PR:** https://github.com/elastic/beats/pull/24174
* **Commit:** https://github.com/elastic/beats/pull/24174/commits/2d7e7ec321381b245b6c9060e5091e35f2f10be9

### Stack Trace

```
[2021-02-25T17:06:48.708Z]

[2021-02-25T17:06:48.708Z] C:\Users\jenkins\workspace\Beats_beats_PR-24174\src\github.com\elastic\beats\metricbeat>mage build unitTest

[2021-02-25T17:07:44.977Z] >> build: Building metricbeat

[2021-02-25T17:08:31.640Z] Generated fields.yml for metricbeat to C:\Users\jenkins\workspace\Beats_beats_PR-24174\src\github.com\elastic\beats\metricbeat\fields.yml

[2021-02-25T17:08:31.640Z] >> go test: Unit Testing

[2021-02-25T17:08:31.640Z] exec: gotestsum --no-color -f standard-quiet --junitfile build/TEST-go-unit.xml --jsonfile build/TEST-go-unit.out.json -- -tags null oracle -covermode=atomic -coverprofile=build\TEST-go-unit.cov ./...

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/autodiscover/appender/kubernetes/token 0.456s coverage: 72.2% of statements

[2021-02-25T17:09:10.384Z] testing: warning: no tests to run

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/labelhash 0.389s coverage: 0.0% of statements [no tests to run]

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/elastic 0.715s coverage: 77.3% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper 1.059s coverage: 36.0% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/autodiscover/builder/hints 0.461s coverage: 89.5% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/prometheus 0.645s coverage: 72.2% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/socket 0.407s coverage: 90.3% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/server/http 0.960s coverage: 49.2% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/sql 0.621s coverage: 62.8% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/server/tcp 0.956s coverage: 66.0% of statements

[2021-02-25T17:09:10.384Z] ok github.com/elastic/beats/v7/metricbeat/helper/server/udp 1.302s coverage: 60.6% of statements

[2021-02-25T17:09:13.130Z] FAIL

[2021-02-25T17:09:13.130Z] FAIL github.com/elastic/beats/v7/metricbeat/helper/windows/pdh 1.650s

[2021-02-25T17:09:13.130Z] ok github.com/elastic/beats/v7/metricbeat/mb/parse 0.513s coverage: 82.3% of statements

[2021-02-25T17:09:13.709Z] ok github.com/elastic/beats/v7/metricbeat/mb 1.041s coverage: 82.5% of statements

[2021-02-25T17:09:14.288Z] ok github.com/elastic/beats/v7/metricbeat/mb/module 0.637s coverage: 52.6% of statements

[2021-02-25T17:09:14.288Z] ok github.com/elastic/beats/v7/metricbeat 1.353s coverage: 0.0% of statements

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/beater [no test files]

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/cmd [no test files]

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/cmd/test [no test files]

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/helper/dialer [no test files]

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/helper/prometheus/ptest [no test files]

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/helper/server [no test files]

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/include [no test files]

[2021-02-25T17:09:14.288Z] ? github.com/elastic/beats/v7/metricbeat/include/fields [no test files]

[2021-02-25T17:09:14.558Z] ok github.com/elastic/beats/v7/metricbeat/module/aerospike 0.920s coverage: 93.8% of statements

[2021-02-25T17:09:14.829Z] ok github.com/elastic/beats/v7/metricbeat/mb/testing 0.959s coverage: 16.0% of statements

[2021-02-25T17:09:14.829Z] ? github.com/elastic/beats/v7/metricbeat/mb/testing/flags [no test files]

[2021-02-25T17:09:14.829Z] ? github.com/elastic/beats/v7/metricbeat/module [no test files]

[2021-02-25T17:09:14.829Z] ? github.com/elastic/beats/v7/metricbeat/module/aerospike/namespace [no test files]

[2021-02-25T17:09:14.829Z] ? github.com/elastic/beats/v7/metricbeat/module/apache [no test files]

[2021-02-25T17:09:15.775Z] ok github.com/elastic/beats/v7/metricbeat/module/apache/status 0.830s coverage: 75.5% of statements

[2021-02-25T17:09:17.694Z] ok github.com/elastic/beats/v7/metricbeat/module/beat/stats 0.515s coverage: 23.0% of statements

[2021-02-25T17:09:17.967Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/cluster_disk 0.831s coverage: 75.0% of statements

[2021-02-25T17:09:18.558Z] ok github.com/elastic/beats/v7/metricbeat/module/beat/state 1.163s coverage: 12.6% of statements

[2021-02-25T17:09:18.826Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/cluster_health 1.371s coverage: 78.9% of statements

[2021-02-25T17:09:19.095Z] ok github.com/elastic/beats/v7/metricbeat/module/beat 1.470s coverage: 28.2% of statements

[2021-02-25T17:09:19.095Z] ? github.com/elastic/beats/v7/metricbeat/module/ceph [no test files]

[2021-02-25T17:09:19.390Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/cluster_status 1.599s coverage: 92.1% of statements

[2021-02-25T17:09:19.390Z] ? github.com/elastic/beats/v7/metricbeat/module/ceph/mgr [no test files]

[2021-02-25T17:09:19.972Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_cluster_disk 1.616s coverage: 89.5% of statements

[2021-02-25T17:09:19.972Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_cluster_health 0.669s coverage: 85.2% of statements

[2021-02-25T17:09:23.271Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_perf 0.749s coverage: 88.5% of statements

[2021-02-25T17:09:23.271Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_pool_stats 0.912s coverage: 88.5% of statements

[2021-02-25T17:09:23.571Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_tree 1.206s coverage: 92.7% of statements

[2021-02-25T17:09:23.838Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_pool_disk 1.417s coverage: 88.5% of statements

[2021-02-25T17:09:23.838Z] ? github.com/elastic/beats/v7/metricbeat/module/ceph/mgrtest [no test files]

[2021-02-25T17:09:23.838Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/osd_df 1.533s coverage: 83.9% of statements

[2021-02-25T17:09:24.420Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/monitor_health 1.885s coverage: 82.8% of statements

[2021-02-25T17:09:24.688Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/osd_tree 1.653s coverage: 87.5% of statements

[2021-02-25T17:09:24.961Z] ok github.com/elastic/beats/v7/metricbeat/module/ceph/pool_disk 0.668s coverage: 83.3% of statements

[2021-02-25T17:09:25.240Z] ? github.com/elastic/beats/v7/metricbeat/module/consul [no test files]

[2021-02-25T17:09:25.240Z] ? github.com/elastic/beats/v7/metricbeat/module/consul/agent [no test files]

[2021-02-25T17:09:25.240Z] ? github.com/elastic/beats/v7/metricbeat/module/couchbase [no test files]

[2021-02-25T17:09:28.541Z] ok github.com/elastic/beats/v7/metricbeat/module/couchbase/node 0.825s coverage: 86.4% of statements

[2021-02-25T17:09:28.541Z] ok github.com/elastic/beats/v7/metricbeat/module/couchbase/bucket 0.872s coverage: 85.7% of statements

[2021-02-25T17:09:28.813Z] ok github.com/elastic/beats/v7/metricbeat/module/couchbase/cluster 1.248s coverage: 82.4% of statements

[2021-02-25T17:09:28.813Z] ? github.com/elastic/beats/v7/metricbeat/module/couchdb [no test files]

[2021-02-25T17:09:28.813Z] ? github.com/elastic/beats/v7/metricbeat/module/couchdb/server [no test files]

[2021-02-25T17:09:28.813Z] ok github.com/elastic/beats/v7/metricbeat/module/docker 0.975s coverage: 5.4% of statements

[2021-02-25T17:09:28.813Z] ? github.com/elastic/beats/v7/metricbeat/module/docker/container [no test files]

[2021-02-25T17:09:29.250Z] ok github.com/elastic/beats/v7/metricbeat/module/docker/cpu 1.220s coverage: 43.5% of statements

[2021-02-25T17:09:29.525Z] ok github.com/elastic/beats/v7/metricbeat/module/docker/diskio 1.415s coverage: 69.2% of statements

[2021-02-25T17:09:29.526Z] ? github.com/elastic/beats/v7/metricbeat/module/docker/event [no test files]

[2021-02-25T17:09:29.526Z] ? github.com/elastic/beats/v7/metricbeat/module/docker/healthcheck [no test files]

[2021-02-25T17:09:29.526Z] ? github.com/elastic/beats/v7/metricbeat/module/docker/image [no test files]

[2021-02-25T17:09:29.526Z] ? github.com/elastic/beats/v7/metricbeat/module/docker/info [no test files]

[2021-02-25T17:09:29.796Z] ok github.com/elastic/beats/v7/metricbeat/module/docker/memory 1.465s coverage: 37.5% of statements

[2021-02-25T17:09:45.134Z] ok github.com/elastic/beats/v7/metricbeat/module/docker/network 0.668s coverage: 33.9% of statements

[2021-02-25T17:09:45.134Z] ? github.com/elastic/beats/v7/metricbeat/module/dropwizard [no test files]

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/dropwizard/collector 0.725s coverage: 86.7% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/ccr 0.520s coverage: 53.4% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/cluster_stats 0.880s coverage: 10.1% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/enrich 1.074s coverage: 25.9% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/index 1.332s coverage: 13.4% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/index_recovery 0.468s coverage: 24.7% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch 0.831s coverage: 5.8% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/index_summary 0.583s coverage: 24.2% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/ml_job 0.911s coverage: 23.5% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/node 1.116s coverage: 87.1% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/pending_tasks 1.439s coverage: 54.1% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/node_stats 1.757s coverage: 28.9% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/elasticsearch/shard 1.954s coverage: 25.6% of statements

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/envoyproxy [no test files]

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/envoyproxy/server 2.051s coverage: 89.7% of statements

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/etcd [no test files]

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/etcd/leader 0.786s coverage: 83.9% of statements

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/etcd/metrics [no test files]

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/etcd/self 0.540s coverage: 82.4% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/graphite/server 0.833s coverage: 63.4% of statements

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/etcd/store 1.202s coverage: 82.4% of statements

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/golang [no test files]

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/golang/expvar [no test files]

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/golang/heap [no test files]

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/graphite [no test files]

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/haproxy 1.515s coverage: 2.9% of statements

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/haproxy/info [no test files]

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/haproxy/stat [no test files]

[2021-02-25T17:09:45.420Z] ? github.com/elastic/beats/v7/metricbeat/module/http [no test files]

[2021-02-25T17:09:45.420Z] ok github.com/elastic/beats/v7/metricbeat/module/http/json 1.779s coverage: 47.3% of statements

[2021-02-25T17:09:45.697Z] ok github.com/elastic/beats/v7/metricbeat/module/http/server 1.749s coverage: 22.2% of statements

[2021-02-25T17:09:45.697Z] ? github.com/elastic/beats/v7/metricbeat/module/jolokia [no test files]

[2021-02-25T17:09:46.281Z] ok github.com/elastic/beats/v7/metricbeat/module/jolokia/jmx 2.170s coverage: 66.8% of statements

[2021-02-25T17:09:46.554Z] ok github.com/elastic/beats/v7/metricbeat/module/kafka 0.446s coverage: 27.0% of statements

[2021-02-25T17:09:49.105Z] testing: warning: no tests to run

[2021-02-25T17:09:49.105Z] coverage: [no statements]

[2021-02-25T17:09:49.105Z] ok github.com/elastic/beats/v7/metricbeat/module/kafka/broker 0.553s coverage: [no statements] [no tests to run]

[2021-02-25T17:09:49.381Z] testing: warning: no tests to run

[2021-02-25T17:09:49.381Z] coverage: [no statements]

[2021-02-25T17:09:49.381Z] ok github.com/elastic/beats/v7/metricbeat/module/kafka/producer 0.956s coverage: [no statements] [no tests to run]

[2021-02-25T17:09:49.960Z] testing: warning: no tests to run

[2021-02-25T17:09:49.960Z] coverage: [no statements]

[2021-02-25T17:09:49.960Z] ok github.com/elastic/beats/v7/metricbeat/module/kafka/consumer 1.304s coverage: [no statements] [no tests to run]

[2021-02-25T17:09:50.233Z] ok github.com/elastic/beats/v7/metricbeat/module/kibana/stats 1.088s coverage: 72.8% of statements

[2021-02-25T17:09:50.504Z] ok github.com/elastic/beats/v7/metricbeat/module/kafka/consumergroup 1.223s coverage: 78.5% of statements

[2021-02-25T17:09:50.504Z] ? github.com/elastic/beats/v7/metricbeat/module/kafka/partition [no test files]

[2021-02-25T17:09:51.092Z] ok github.com/elastic/beats/v7/metricbeat/module/kibana 1.340s coverage: 25.7% of statements

[2021-02-25T17:09:51.092Z] ? github.com/elastic/beats/v7/metricbeat/module/kibana/mtest [no test files]

[2021-02-25T17:09:51.682Z] ok github.com/elastic/beats/v7/metricbeat/module/kibana/status 2.014s coverage: 78.4% of statements

[2021-02-25T17:09:51.682Z] ? github.com/elastic/beats/v7/metricbeat/module/kubernetes [no test files]

[2021-02-25T17:09:51.682Z] ? github.com/elastic/beats/v7/metricbeat/module/kubernetes/apiserver [no test files]

[2021-02-25T17:09:53.302Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/container 0.342s coverage: 56.5% of statements

[2021-02-25T17:09:54.691Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/controllermanager 0.824s coverage: 100.0% of statements

[2021-02-25T17:09:55.678Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_cronjob 0.740s coverage: 78.9% of statements

[2021-02-25T17:09:56.264Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/node 0.296s coverage: 34.6% of statements

[2021-02-25T17:09:56.536Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/pod 0.277s coverage: 62.7% of statements

[2021-02-25T17:09:56.536Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/event 0.213s coverage: 47.2% of statements

[2021-02-25T17:09:56.536Z] ? github.com/elastic/beats/v7/metricbeat/module/kubernetes/proxy [no test files]

[2021-02-25T17:09:56.536Z] ? github.com/elastic/beats/v7/metricbeat/module/kubernetes/scheduler [no test files]

[2021-02-25T17:09:56.809Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_container 0.738s coverage: 76.1% of statements

[2021-02-25T17:09:58.198Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_daemonset 0.503s coverage: 63.0% of statements

[2021-02-25T17:09:59.587Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_persistentvolume 0.542s coverage: 64.7% of statements

[2021-02-25T17:09:59.859Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_persistentvolumeclaim 0.893s coverage: 78.6% of statements

[2021-02-25T17:10:00.438Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_node 0.530s coverage: 68.4% of statements

[2021-02-25T17:10:01.391Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_deployment 2.198s coverage: 63.0% of statements

[2021-02-25T17:10:01.391Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_pod 0.511s coverage: 63.0% of statements

[2021-02-25T17:10:01.665Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_replicaset 0.496s coverage: 63.0% of statements

[2021-02-25T17:10:02.233Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_resourcequota 0.567s coverage: 64.7% of statements

[2021-02-25T17:10:03.622Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_storageclass 0.752s coverage: 64.7% of statements

[2021-02-25T17:10:03.894Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/system 0.504s coverage: 42.9% of statements

[2021-02-25T17:10:04.474Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_service 0.463s coverage: 61.9% of statements

[2021-02-25T17:10:05.421Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/state_statefulset 0.638s coverage: 63.0% of statements

[2021-02-25T17:10:05.421Z] ? github.com/elastic/beats/v7/metricbeat/module/kubernetes/test [no test files]

[2021-02-25T17:10:05.693Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/volume 0.536s coverage: 48.1% of statements

[2021-02-25T17:10:06.283Z] ok github.com/elastic/beats/v7/metricbeat/module/kvm/dommemstat 0.558s coverage: 46.6% of statements

[2021-02-25T17:10:06.875Z] ok github.com/elastic/beats/v7/metricbeat/module/kvm/status 0.544s coverage: 52.2% of statements

[2021-02-25T17:10:07.895Z] ok github.com/elastic/beats/v7/metricbeat/module/linux/conntrack 0.554s coverage: 88.0% of statements

[2021-02-25T17:10:08.480Z] ok github.com/elastic/beats/v7/metricbeat/module/linux/ksm 0.887s coverage: 72.7% of statements

[2021-02-25T17:10:08.480Z] ok github.com/elastic/beats/v7/metricbeat/module/kubernetes/util 0.515s coverage: 26.5% of statements

[2021-02-25T17:10:08.480Z] ? github.com/elastic/beats/v7/metricbeat/module/kvm [no test files]

[2021-02-25T17:10:08.480Z] ? github.com/elastic/beats/v7/metricbeat/module/linux [no test files]

[2021-02-25T17:10:08.480Z] ? github.com/elastic/beats/v7/metricbeat/module/linux/iostat [no test files]

[2021-02-25T17:10:08.755Z] ok github.com/elastic/beats/v7/metricbeat/module/linux/memory 0.863s coverage: 51.9% of statements

[2021-02-25T17:10:10.672Z] ok github.com/elastic/beats/v7/metricbeat/module/linux/pageinfo 0.560s coverage: 91.1% of statements

[2021-02-25T17:10:11.328Z] ok github.com/elastic/beats/v7/metricbeat/module/logstash/node_stats 0.538s coverage: 47.0% of statements

[2021-02-25T17:10:11.328Z] ok github.com/elastic/beats/v7/metricbeat/module/logstash/node 0.820s coverage: 47.5% of statements

[2021-02-25T17:10:11.686Z] ok github.com/elastic/beats/v7/metricbeat/module/logstash 1.033s coverage: 27.6% of statements

[2021-02-25T17:10:11.954Z] ? github.com/elastic/beats/v7/metricbeat/module/memcached [no test files]

[2021-02-25T17:10:11.954Z] ok github.com/elastic/beats/v7/metricbeat/module/memcached/stats 1.072s coverage: 24.2% of statements

[2021-02-25T17:10:12.533Z] ok github.com/elastic/beats/v7/metricbeat/module/mongodb 1.015s coverage: 25.5% of statements

[2021-02-25T17:10:12.805Z] ok github.com/elastic/beats/v7/metricbeat/module/mongodb/collstats 1.075s coverage: 16.7% of statements

[2021-02-25T17:10:13.385Z] ? github.com/elastic/beats/v7/metricbeat/module/mongodb/dbstats [no test files]

[2021-02-25T17:10:13.385Z] ? github.com/elastic/beats/v7/metricbeat/module/mongodb/metrics [no test files]

[2021-02-25T17:10:13.385Z] ? github.com/elastic/beats/v7/metricbeat/module/mongodb/replstatus [no test files]

[2021-02-25T17:10:13.385Z] ? github.com/elastic/beats/v7/metricbeat/module/mongodb/status [no test files]

[2021-02-25T17:10:14.775Z] ok github.com/elastic/beats/v7/metricbeat/module/munin 0.519s coverage: 66.7% of statements

[2021-02-25T17:10:14.775Z] ? github.com/elastic/beats/v7/metricbeat/module/munin/node [no test files]

[2021-02-25T17:10:15.054Z] ok github.com/elastic/beats/v7/metricbeat/module/mysql 0.528s coverage: 51.4% of statements

[2021-02-25T17:10:15.312Z] ? github.com/elastic/beats/v7/metricbeat/module/mysql/galera_status [no test files]

[2021-02-25T17:10:15.312Z] ? github.com/elastic/beats/v7/metricbeat/module/mysql/query [no test files]

[2021-02-25T17:10:15.580Z] ok github.com/elastic/beats/v7/metricbeat/module/mysql/status 0.526s coverage: 4.8% of statements

[2021-02-25T17:10:15.580Z] ? github.com/elastic/beats/v7/metricbeat/module/nats [no test files]

[2021-02-25T17:10:15.849Z] ok github.com/elastic/beats/v7/metricbeat/module/nats/connection 0.778s coverage: 71.7% of statements

[2021-02-25T17:10:16.119Z] ok github.com/elastic/beats/v7/metricbeat/module/nats/connections 1.086s coverage: 74.2% of statements

[2021-02-25T17:10:16.388Z] ok github.com/elastic/beats/v7/metricbeat/module/nats/route 1.193s coverage: 72.5% of statements

[2021-02-25T17:10:16.967Z] ok github.com/elastic/beats/v7/metricbeat/module/nats/routes 1.481s coverage: 74.2% of statements

[2021-02-25T17:10:18.352Z] ok github.com/elastic/beats/v7/metricbeat/module/nats/stats 0.589s coverage: 72.2% of statements

[2021-02-25T17:10:19.340Z] ok github.com/elastic/beats/v7/metricbeat/module/nats/subscriptions 0.475s coverage: 76.0% of statements

[2021-02-25T17:10:19.340Z] ? github.com/elastic/beats/v7/metricbeat/module/nats/util [no test files]

[2021-02-25T17:10:19.340Z] ? github.com/elastic/beats/v7/metricbeat/module/nginx [no test files]

[2021-02-25T17:10:19.340Z] ? github.com/elastic/beats/v7/metricbeat/module/nginx/stubstatus [no test files]

[2021-02-25T17:10:19.340Z] ? github.com/elastic/beats/v7/metricbeat/module/php_fpm [no test files]

[2021-02-25T17:10:19.925Z] ok github.com/elastic/beats/v7/metricbeat/module/php_fpm/pool 0.815s coverage: 76.5% of statements

[2021-02-25T17:10:19.925Z] ok github.com/elastic/beats/v7/metricbeat/module/postgresql 0.934s coverage: 27.8% of statements

[2021-02-25T17:10:20.503Z] ok github.com/elastic/beats/v7/metricbeat/module/php_fpm/process 1.330s coverage: 84.0% of statements

[2021-02-25T17:10:20.503Z] ? github.com/elastic/beats/v7/metricbeat/module/postgresql/activity [no test files]

[2021-02-25T17:10:20.503Z] ? github.com/elastic/beats/v7/metricbeat/module/postgresql/bgwriter [no test files]

[2021-02-25T17:10:20.503Z] ? github.com/elastic/beats/v7/metricbeat/module/postgresql/database [no test files]

[2021-02-25T17:10:20.503Z] ? github.com/elastic/beats/v7/metricbeat/module/postgresql/statement [no test files]

[2021-02-25T17:10:20.503Z] ? github.com/elastic/beats/v7/metricbeat/module/prometheus [no test files]

[2021-02-25T17:10:20.781Z] ok github.com/elastic/beats/v7/metricbeat/module/prometheus/query 1.082s coverage: 69.2% of statements

[2021-02-25T17:10:21.727Z] ok github.com/elastic/beats/v7/metricbeat/module/prometheus/collector 2.034s coverage: 88.4% of statements

[2021-02-25T17:10:23.639Z] ok github.com/elastic/beats/v7/metricbeat/module/prometheus/remote_write 0.600s coverage: 22.8% of statements

[2021-02-25T17:10:24.218Z] ok github.com/elastic/beats/v7/metricbeat/module/rabbitmq 0.592s coverage: 77.8% of statements

[2021-02-25T17:10:24.524Z] ok github.com/elastic/beats/v7/metricbeat/module/rabbitmq/exchange 0.887s coverage: 77.1% of statements

[2021-02-25T17:10:24.793Z] ok github.com/elastic/beats/v7/metricbeat/module/rabbitmq/connection 1.294s coverage: 78.9% of statements

[2021-02-25T17:10:25.068Z] ? github.com/elastic/beats/v7/metricbeat/module/rabbitmq/mtest [no test files]

[2021-02-25T17:10:25.068Z] ok github.com/elastic/beats/v7/metricbeat/module/rabbitmq/node 1.461s coverage: 70.2% of statements

[2021-02-25T17:10:25.651Z] ok github.com/elastic/beats/v7/metricbeat/module/rabbitmq/queue 1.598s coverage: 76.5% of statements

[2021-02-25T17:10:25.929Z] ok github.com/elastic/beats/v7/metricbeat/module/redis 1.727s coverage: 22.2% of statements

[2021-02-25T17:10:26.216Z] ok github.com/elastic/beats/v7/metricbeat/module/redis/info 1.291s coverage: 10.3% of statements

[2021-02-25T17:10:26.216Z] ? github.com/elastic/beats/v7/metricbeat/module/redis/key [no test files]

[2021-02-25T17:10:26.216Z] ? github.com/elastic/beats/v7/metricbeat/module/redis/keyspace [no test files]

[2021-02-25T17:10:29.507Z] ok github.com/elastic/beats/v7/metricbeat/module/system 0.500s coverage: 16.7% of statements

[2021-02-25T17:10:29.779Z] ok github.com/elastic/beats/v7/metricbeat/module/system/memory 1.121s coverage: 72.4% of statements

[2021-02-25T17:10:30.037Z] ok github.com/elastic/beats/v7/metricbeat/module/system/core 1.277s coverage: 84.1% of statements

[2021-02-25T17:10:31.033Z] ok github.com/elastic/beats/v7/metricbeat/module/system/filesystem 1.970s coverage: 54.9% of statements

[2021-02-25T17:10:31.033Z] ok github.com/elastic/beats/v7/metricbeat/module/system/cpu 2.397s coverage: 69.6% of statements

[2021-02-25T17:10:31.033Z] ? github.com/elastic/beats/v7/metricbeat/module/system/diskio [no test files]

[2021-02-25T17:10:31.033Z] ? github.com/elastic/beats/v7/metricbeat/module/system/entropy [no test files]

[2021-02-25T17:10:31.033Z] ok github.com/elastic/beats/v7/metricbeat/module/system/network 1.907s coverage: 69.4% of statements

[2021-02-25T17:10:31.619Z] ok github.com/elastic/beats/v7/metricbeat/module/system/fsstat 2.675s coverage: 80.0% of statements

[2021-02-25T17:10:31.619Z] ? github.com/elastic/beats/v7/metricbeat/module/system/load [no test files]

[2021-02-25T17:10:31.619Z] ok github.com/elastic/beats/v7/metricbeat/module/system/network_summary 0.672s coverage: 48.5% of statements

[2021-02-25T17:10:34.158Z] ok github.com/elastic/beats/v7/metricbeat/module/system/socket 0.495s coverage: 11.5% of statements

[2021-02-25T17:10:34.429Z] ok github.com/elastic/beats/v7/metricbeat/module/system/process_summary 0.537s coverage: 64.3% of statements

[2021-02-25T17:10:35.006Z] ok github.com/elastic/beats/v7/metricbeat/module/system/raid 0.821s coverage: 76.7% of statements

[2021-02-25T17:10:35.585Z] ok github.com/elastic/beats/v7/metricbeat/module/system/socket_summary 1.257s coverage: 69.0% of statements

[2021-02-25T17:10:35.855Z] ok github.com/elastic/beats/v7/metricbeat/module/system/service 1.578s coverage: 33.7% of statements

[2021-02-25T17:10:36.123Z] ok github.com/elastic/beats/v7/metricbeat/module/system/uptime 1.476s coverage: 85.7% of statements

[2021-02-25T17:10:36.123Z] ok github.com/elastic/beats/v7/metricbeat/module/system/process 2.105s coverage: 36.7% of statements

[2021-02-25T17:10:36.123Z] ? github.com/elastic/beats/v7/metricbeat/module/system/raid/blockinfo [no test files]

[2021-02-25T17:10:36.123Z] ? github.com/elastic/beats/v7/metricbeat/module/system/users [no test files]

[2021-02-25T17:10:36.123Z] ? github.com/elastic/beats/v7/metricbeat/module/traefik [no test files]

[2021-02-25T17:10:36.704Z] ok github.com/elastic/beats/v7/metricbeat/module/traefik/health 1.631s coverage: 87.0% of statements

[2021-02-25T17:10:36.704Z] ? github.com/elastic/beats/v7/metricbeat/module/traefik/mtest [no test files]

[2021-02-25T17:10:39.998Z] ok github.com/elastic/beats/v7/metricbeat/module/uwsgi 0.578s coverage: 33.3% of statements

[2021-02-25T17:10:40.271Z] ok github.com/elastic/beats/v7/metricbeat/module/windows/perfmon 0.674s coverage: 51.6% of statements

[2021-02-25T17:10:40.859Z] ok github.com/elastic/beats/v7/metricbeat/module/zookeeper/connection 0.585s coverage: 58.9% of statements

[2021-02-25T17:10:41.810Z] ok github.com/elastic/beats/v7/metricbeat/module/vsphere/datastore 0.261s coverage: 77.8% of statements

[2021-02-25T17:10:42.387Z] ok github.com/elastic/beats/v7/metricbeat/module/uwsgi/status 3.224s coverage: 91.4% of statements

[2021-02-25T17:10:42.387Z] ? github.com/elastic/beats/v7/metricbeat/module/vsphere [no test files]

[2021-02-25T17:10:42.677Z] ok github.com/elastic/beats/v7/metricbeat/module/zookeeper/server 0.409s coverage: 66.9% of statements

[2021-02-25T17:10:42.948Z] ok github.com/elastic/beats/v7/metricbeat/module/vsphere/virtualmachine 0.433s coverage: 39.6% of statements

[2021-02-25T17:10:42.948Z] ok github.com/elastic/beats/v7/metricbeat/module/vsphere/host 0.479s coverage: 67.5% of statements

[2021-02-25T17:10:43.552Z] ? github.com/elastic/beats/v7/metricbeat/module/windows [no test files]

[2021-02-25T17:10:46.841Z] ok github.com/elastic/beats/v7/metricbeat/module/windows/service 5.056s coverage: 16.0% of statements

[2021-02-25T17:10:46.841Z] ? github.com/elastic/beats/v7/metricbeat/module/zookeeper [no test files]

[2021-02-25T17:10:46.841Z] ? github.com/elastic/beats/v7/metricbeat/module/zookeeper/mntr [no test files]

[2021-02-25T17:10:46.841Z] ? github.com/elastic/beats/v7/metricbeat/processor/add_kubernetes_metadata [no test files]

[2021-02-25T17:10:46.841Z] ? github.com/elastic/beats/v7/metricbeat/scripts/mage [no test files]

[2021-02-25T17:10:46.841Z] ? github.com/elastic/beats/v7/metricbeat/scripts/mage/target/metricset [no test files]

[2021-02-25T17:10:46.841Z] ? github.com/elastic/beats/v7/metricbeat/scripts/msetlists [no test files]

[2021-02-25T17:10:46.841Z] ? github.com/elastic/beats/v7/metricbeat/scripts/msetlists/cmd [no test files]

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === Skipped

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/helper TestOverUnixSocket (0.00s)

[2021-02-25T17:10:48.737Z] http_test.go:196: unix domain socket aren't supported under Windows

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/mb/testing TestDataLightModuleWithProcessors (0.01s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/kvm/status TestData (0.02s)

[2021-02-25T17:10:48.737Z] status_integration_test.go:39: kvm not available

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/linux/conntrack TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/linux/ksm TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/linux/memory TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/linux/pageinfo TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/rabbitmq/exchange TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/rabbitmq/queue TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/core TestData (0.50s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/cpu TestData (1.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/filesystem TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/filesystem TestFileSystemListFiltering (0.00s)

[2021-02-25T17:10:48.737Z] helper_test.go:70: These cases don't need to work on Windows

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/fsstat TestData (1.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/memory TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/network TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/network_summary TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/process TestData (1.04s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/process_summary TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/raid TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/system/uptime TestData (0.00s)

[2021-02-25T17:10:48.737Z] data_generator.go:122: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/vsphere/datastore TestData (0.03s)

[2021-02-25T17:10:48.737Z] data_generator.go:137: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/vsphere/host TestData (0.03s)

[2021-02-25T17:10:48.737Z] data_generator.go:137: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/vsphere/virtualmachine TestData (0.03s)

[2021-02-25T17:10:48.737Z] data_generator.go:137: skip data generation tests

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/windows/service TestRead (0.00s)

[2021-02-25T17:10:48.737Z] reader_test.go:58: Flaky test: https://github.com/elastic/beats/issues/22171

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === SKIP: metricbeat/module/windows/service TestGetServiceStates (0.00s)

[2021-02-25T17:10:48.737Z] service_status_test.go:29: Flaky test: https://github.com/elastic/beats/issues/22172

[2021-02-25T17:10:48.737Z]

[2021-02-25T17:10:48.737Z] === Failed

[2021-02-25T17:10:48.737Z] === FAIL: metricbeat/helper/windows/pdh TestPdhSuccessfulCounterRetrieval (0.00s)

[2021-02-25T17:10:48.737Z] pdh_windows_test.go:125:

[2021-02-25T17:10:48.737Z] Error Trace: pdh_windows_test.go:125

[2021-02-25T17:10:48.737Z] Error: Received unexpected error:

[2021-02-25T17:10:48.737Z] A counter with a negative denominator value was detected.

[2021-02-25T17:10:48.737Z] Test: TestPdhSuccessfulCounterRetrieval

[2021-02-25T17:10:48.737Z] pdh_windows_test.go:126:

[2021-02-25T17:10:48.737Z] Error Trace: pdh_windows_test.go:126

[2021-02-25T17:10:48.737Z] Error: Should not be zero, but was 0

[2021-02-25T17:10:48.738Z] Test: TestPdhSuccessfulCounterRetrieval

[2021-02-25T17:10:48.738Z]

[2021-02-25T17:10:48.738Z] DONE 666 tests, 26 skipped, 1 failure in 137.070s

[2021-02-25T17:10:48.738Z] Error: go test returned a non-zero value: exit status 1

script returned exit code 1
```

Contributor guide

Open the contributing guide

Research direction

Start with the Jenkins failure log and the metricbeat/helper/windows/pdh package, focusing on TestPdhSuccessfulCounterRetrieval. Run the package test on the Windows environment and investigate why it intermittently fails; done means the test passes reliably in the affected CI job.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
operating-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.