Skip to content

Instantly share code, notes, and snippets.

@v1v
Created July 9, 2020 14:10
Show Gist options
  • Save v1v/4dab9905f830968ab9d37eab34dd5e83 to your computer and use it in GitHub Desktop.
Save v1v/4dab9905f830968ab9d37eab34dd5e83 to your computer and use it in GitHub Desktop.
[filebeat] in windows-2012-r2 got some flakiness tests for TestReceiveEventsAndMetadata/TestSocketCleanup/TestReceiveNewEventsConcurrently
14:43:49
14:43:49 C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19773\src\github.com\elastic\beats\filebeat>mage build unitTest
14:44:22 >> build: Building filebeat
14:45:18 >> go test: Unit Testing
14:47:09 FAILURES:
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/NewLine
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/NewLine
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/NewLineWithCR
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/NewLineWithCR
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/CustomDelimiter
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/CustomDelimiter
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/MultipleCharsCustomDelimiter
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/MultipleCharsCustomDelimiter
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/SingleCharCustomDelimiterMessageWithoutBoundaries
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/SingleCharCustomDelimiterMessageWithoutBoundaries
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/MultipleCharCustomDelimiterMessageWithoutBoundaries
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/MultipleCharCustomDelimiterMessageWithoutBoundaries
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/NewLineMessageWithoutBoundaries
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/NewLineMessageWithoutBoundaries
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/NewLineLargeMessagePayload
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/NewLineLargeMessagePayload
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/CustomLargeMessagePayload
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/CustomLargeMessagePayload
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/ReadRandomLargePayload
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/ReadRandomLargePayload
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/MaxReadBufferReachedUserConfigured
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/MaxReadBufferReachedUserConfigured
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveEventsAndMetadata/MaxBufferSizeSet
14:47:09 server_test.go:187:
14:47:09 Error Trace: server_test.go:187
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveEventsAndMetadata/MaxBufferSizeSet
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestSocketCleanup
14:47:09 server_test.go:260:
14:47:09 Error Trace: server_test.go:260
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestSocketCleanup
14:47:09 ----
14:47:09 Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
14:47:09 Test: TestReceiveNewEventsConcurrently
14:47:09 server_test.go:326:
14:47:09 Error Trace: server_test.go:326
14:47:09 Error: Received unexpected error:
14:47:09 listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
14:47:09 Test: TestReceiveNewEventsConcurrently
14:47:09 ----
14:47:09 SUMMARY:
14:47:09 Fail: 15
14:47:09 Skip: 2
14:47:09 Pass: 553
14:47:09 Packages: 24
14:47:09 Duration: 1m54.6593303s
14:47:09 Coverage Report: C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19773\src\github.com\elastic\beats\filebeat\build\TEST-go-unit.html
14:47:09 JUnit Report: C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19773\src\github.com\elastic\beats\filebeat\build\TEST-go-unit.xml
14:47:09 Output File: C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19773\src\github.com\elastic\beats\filebeat\build\TEST-go-unit.out
14:47:09 >> go test: Unit Test Failed
14:47:09 Error: go test failed: 15 test failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment