Closed
Description
Flaky Test
- Test Name: TestEventReader
- Link:
- Branch: 6.8
- Artifact Link: https://beats-ci.elastic.co/job/elastic+beats+6.8+multijob-windows/13/beat=auditbeat,label=windows/console gist-console-output
- Notes: Additional details about the test. e.g. theory as to failure cause
Stack Trace
11:19:52 Error: go test failed: 2 test failures
11:19:52 Package: github.com/elastic/beats/auditbeat/module/file_integrity
11:19:52 Test: TestEventReader
11:19:52 ----
11:19:52 Package: github.com/elastic/beats/auditbeat/module/file_integrity
11:19:52 Test: TestEventReader/deleted
11:19:52 eventreader_test.go:316: {RootFields:null ModuleFields:null MetricSetFields:{"event":{"action":["updated"]},"file":{"ctime":"2020-10-14T10:19:37.3569218Z","inode":"844424930392168","mtime":"2020-10-14T10:19:37.3608281Z","owner":"BUILTIN\\Administrators","path":"C:\\Users\\jenkins\\AppData\\Local\\Temp\\audit828769329\\test2.txt","size":12,"type":"file","uid":"S-1-5-32-544"}} Index: ID: Namespace: Timestamp:2020-10-14 10:19:37.3647343 +0000 UTC Error:<nil> Host: Took:0s}
11:19:52 eventreader_test.go:174:
11:19:52 Error Trace: eventreader_test.go:174
11:19:52 Error: Not equal:
11:19:52 expected: int(4)
11:19:52 actual : file_integrity.Action(0x0)
11:19:52 Test: TestEventReader/deleted
11:19:52 ----
11:19:52 SUMMARY:
11:19:52 Fail: 2
11:19:52 Skip: 4
11:19:52 Pass: 55
11:19:52 Packages: 3
11:19:52 Duration: 18.1328125s
11:19:52 Coverage Report: C:\Users\jenkins\workspace\elastic+beats+6.8+multijob-windows\beat\auditbeat\label\windows\src\github.com\elastic\beats\auditbeat\build\TEST-go-unit.html
11:19:52 JUnit Report: C:\Users\jenkins\workspace\elastic+beats+6.8+multijob-windows\beat\auditbeat\label\windows\src\github.com\elastic\beats\auditbeat\build\TEST-go-unit.xml
11:19:52 Output File: C:\Users\jenkins\workspace\elastic+beats+6.8+multijob-windows\beat\auditbeat\label\windows\src\github.com\elastic\beats\auditbeat\build\TEST-go-unit.out
11:19:52 >> go test: Unit Test Failed
11:19:52 mage goTestUnit FAILURE
11:19:52 At C:\Users\jenkins\workspace\elastic+beats+6.8+multijob-windows\beat\auditbeat
11:19:52 \label\windows\src\github.com\elastic\beats\dev-tools\jenkins_ci.ps1:13 char:13
11:19:52 + throw $errorMessage
11:19:52 + ~~~~~~~~~~~~~~~~~~~
11:19:52 + CategoryInfo : OperationStopped: (mage goTestUnit FAILURE:Strin
11:19:52 g) [], RuntimeException
11:19:52 + FullyQualifiedErrorId : mage goTestUnit FAILURE
11:19:52
11:19:52 runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<