Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Winlogbeat] in windows-2008-r2 got some flakiness tests for test.TestSysmon/wineventlog.TestFormatMessage #19798

Closed
v1v opened this issue Jul 9, 2020 · 1 comment · Fixed by #22362
Labels
flaky-test Unstable or unreliable test cases. windows-7-32 Enable builds in the CI for windows-7 32 bits windows-7 Enable builds in the CI for windows-7 windows-8 Enable builds in the CI for windows-8 windows-10 Enable builds in the CI for windows-10 windows-2008 Enable builds in the CI for windows-2008 windows-2012 Enable builds in the CI for windows-2012 windows-2016 Enable builds in the CI for windows-2016 Winlogbeat

Comments

@v1v
Copy link
Member

v1v commented Jul 9, 2020

Flaky Test

Stack Trace

winlogbeat

15:43:26  C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\winlogbeat>mage  build unitTest 
15:44:05  >> build: Building winlogbeat
15:44:51  Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\winlogbeat\build\fields\fields.common.yml
15:44:51  Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\winlogbeat\build\fields\fields.all.yml
15:44:51  Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\winlogbeat\build\fields\fields.yml
15:44:51  >> go test: Unit Testing
15:49:43  FAILURES:
15:49:43  Package: github.com/elastic/beats/v7/winlogbeat/sys/wineventlog
15:49:43  Test:    TestFormatMessage
15:49:43  ----
15:49:43  Package: github.com/elastic/beats/v7/winlogbeat/sys/wineventlog
15:49:43  Test:    TestFormatMessage/getMessageStringFromHandle
15:49:43  ----
15:49:43  Package: github.com/elastic/beats/v7/winlogbeat/sys/wineventlog
15:49:43  Test:    TestFormatMessage/getMessageStringFromHandle/custom_values
15:49:43      TestFormatMessage/getMessageStringFromHandle/custom_values: format_message_test.go:78: 
15:49:43  ----
15:49:43  SUMMARY:
15:49:43    Fail:     3
15:49:43    Skip:     1
15:49:43    Pass:     145
15:49:43    Packages: 9
15:49:43    Duration: 4m49.6826172s
15:49:43    Coverage Report: C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\winlogbeat\build\TEST-go-unit.html
15:49:43    JUnit Report:    C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\winlogbeat\build\TEST-go-unit.xml
15:49:43    Output File:     C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\winlogbeat\build\TEST-go-unit.out
15:49:43  >> go test: Unit Test Failed
15:49:43  Error: go test failed: 3 test failures

x-pack\winlogbeat

15:42:24  C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\x-pack\winlogbeat>mage  build unitTest 
15:43:03  >> build: Building winlogbeat
15:43:59  Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\x-pack\winlogbeat\build\fields\fields.all.yml
15:43:59  Generated fields.yml for winlogbeat to C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19791\src\github.com\elastic\beats\x-pack\winlogbeat\build\fields\fields.yml
15:43:59  >> go test: Unit Testing
15:46:06  FAILURES:
15:46:06  Package: github.com/elastic/beats/v7/x-pack/winlogbeat/module/sysmon/test
15:46:06  Test:    TestSysmon
15:46:06  ----
15:46:06  Package: github.com/elastic/beats/v7/x-pack/winlogbeat/module/sysmon/test
15:46:06  Test:    TestSysmon/sysmon-10.2-dns.evtx
15:46:06      TestSysmon/sysmon-10.2-dns.evtx: testing_windows.go:70: Expected and actual are different:
15:46:06          --- Expected
15:46:06          +++ Actual
15:46:06          @@ -74,6 +74,3 @@
15:46:06               "user": {
15:46:06          -      "domain": "NT AUTHORITY",
15:46:06          -      "identifier": "S-1-5-18",
15:46:06          -      "name": "SYSTEM",
15:46:06          -      "type": "Well Known Group"
15:46:06          +      "identifier": "S-1-5-18"
15:46:06               },
...
@v1v v1v added the flaky-test Unstable or unreliable test cases. label Jul 9, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 9, 2020
v1v added a commit to v1v/beats that referenced this issue Oct 22, 2020
@adriansr adriansr added windows-10 Enable builds in the CI for windows-10 windows-2008 Enable builds in the CI for windows-2008 windows-2012 Enable builds in the CI for windows-2012 windows-2016 Enable builds in the CI for windows-2016 windows-7 Enable builds in the CI for windows-7 windows-7-32 Enable builds in the CI for windows-7 32 bits windows-8 Enable builds in the CI for windows-8 labels Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. windows-7-32 Enable builds in the CI for windows-7 32 bits windows-7 Enable builds in the CI for windows-7 windows-8 Enable builds in the CI for windows-8 windows-10 Enable builds in the CI for windows-10 windows-2008 Enable builds in the CI for windows-2008 windows-2012 Enable builds in the CI for windows-2012 windows-2016 Enable builds in the CI for windows-2016 Winlogbeat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants