Skip to content

[Auditbeat][windows-7-32][windows-7-64] got some flakiness tests for TestEventReader/TestNonRecursive #19831

@v1v

Description

@v1v

Flaky Test

Stack Trace

1[2020-07-09T17:24:19.434Z] FAILURES:
[2020-07-09T17:24:19.434Z] Package: github.com/elastic/beats/v7/auditbeat/module/file_integrity
[2020-07-09T17:24:19.434Z] Test:    TestEventReader
[2020-07-09T17:24:19.434Z] ----
[2020-07-09T17:24:19.434Z] Package: github.com/elastic/beats/v7/auditbeat/module/file_integrity
[2020-07-09T17:24:19.434Z] Test:    TestEventReader/deleted
[2020-07-09T17:24:19.434Z]     TestEventReader/deleted: eventreader_test.go:320: {RootFields:null ModuleFields:null MetricSetFields:{"event":{"action":["updated"],"category":["file"],"kind":"event","type":["change"]},"file":{"ctime":"2020-07-09T17:23:59.9952085Z","drive_letter":"C","extension":".txt","inode":"281474976950543","mtime":"2020-07-09T17:24:00.000091Z","owner":"BUILTIN\\Administrators","path":"C:\\Windows\\TEMP\\audit257555081\\test2.txt","size":12,"type":"file","uid":"S-1-5-32-544"}} Index: ID: Namespace: Timestamp:2020-07-09 17:24:00.0030205 +0000 UTC Error:<nil> Host: Service: Took:976.6µs Period:0s DisableTimeSeries:false}
[2020-07-09T17:24:19.434Z]     TestEventReader/deleted: eventreader_test.go:178: 
[2020-07-09T17:24:19.434Z] ----
[2020-07-09T17:24:19.434Z] Package: github.com/elastic/beats/v7/auditbeat/module/file_integrity/monitor
[2020-07-09T17:24:19.434Z] Test:    TestNonRecursive
[2020-07-09T17:24:19.434Z]     TestNonRecursive: monitor_test.go:69: 
[2020-07-09T17:24:19.434Z]     TestNonRecursive: monitor_test.go:70: 
[2020-07-09T17:24:19.434Z] ----
[2020-07-09T17:24:19.434Z] Package: github.com/elastic/beats/v7/auditbeat/module/file_integrity/monitor
[2020-07-09T17:24:19.434Z] Test:    TestRecursive
[2020-07-09T17:24:19.434Z]     TestRecursive: monitor_test.go:294: 
[2020-07-09T17:24:19.434Z] ----
[2020-07-09T17:24:19.434Z] SUMMARY:
[2020-07-09T17:24:19.434Z]   Fail:     4
[2020-07-09T17:24:19.434Z]   Skip:     4
[2020-07-09T17:24:19.434Z]   Pass:     67
[2020-07-09T17:24:19.434Z]   Packages: 4

Issues

Similar to #19799 but with a few more test failures

Metadata

Metadata

Assignees

No one assigned

    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