Skip to content

[Winlogbeat][windows-7-64] got some failed tests for TestEventIterator #22302

@v1v

Description

@v1v

Failed Test

Stack Trace

[2020-10-29T16:50:51.835Z] 
[2020-10-29T16:50:51.835Z] C:\Users\jenkins\workspace\Beats_beats_PR-19803\src\github.com\elastic\beats\winlogbeat>mage build unitTest 
[2020-10-29T16:51:13.774Z] >> build: Building winlogbeat
[2020-10-29T16:52:21.550Z] Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats_PR-19803\src\github.com\elastic\beats\winlogbeat\build\fields\fields.all.yml
[2020-10-29T16:52:21.550Z] Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats_PR-19803\src\github.com\elastic\beats\winlogbeat\build\fields\fields.common.yml
[2020-10-29T16:52:21.550Z] Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats_PR-19803\src\github.com\elastic\beats\winlogbeat\build\fields\fields.yml
[2020-10-29T16:52:21.550Z] >> go test: Unit Testing
[2020-10-29T16:54:28.013Z] FAILURES:
...
[2020-10-29T16:54:28.013Z] ----
[2020-10-29T16:54:28.013Z] Package: github.com/elastic/beats/v7/winlogbeat/sys/wineventlog
[2020-10-29T16:54:28.013Z] Test:    TestEventIterator
[2020-10-29T16:54:28.013Z]     iterator_test.go:42: Access is denied.
[2020-10-29T16:54:28.013Z] ----
[2020-10-29T16:54:28.013Z] SUMMARY:
[2020-10-29T16:54:28.013Z]   Fail:     4
[2020-10-29T16:54:28.013Z]   Skip:     1
[2020-10-29T16:54:28.013Z]   Pass:     130
[2020-10-29T16:54:28.013Z]   Packages: 8
[2020-10-29T16:54:28.013Z]   Duration: 2m7.6484375s
[2020-10-29T16:54:28.013Z]   Coverage Report: C:\Users\jenkins\workspace\Beats_beats_PR-19803\src\github.com\elastic\beats\winlogbeat\build\TEST-go-unit.html
[2020-10-29T16:54:28.013Z]   JUnit Report:    C:\Users\jenkins\workspace\Beats_beats_PR-19803\src\github.com\elastic\beats\winlogbeat\build\TEST-go-unit.xml
[2020-10-29T16:54:28.013Z]   Output File:     C:\Users\jenkins\workspace\Beats_beats_PR-19803\src\github.com\elastic\beats\winlogbeat\build\TEST-go-unit.out
[2020-10-29T16:54:28.013Z] >> go test: Unit Test Failed
[2020-10-29T16:54:28.013Z] Error: go test failed: 4 test failures
script returned exit code 1

Metadata

Metadata

Assignees

Labels

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