Skip to content

Instantly share code, notes, and snippets.

@v1v
Created July 9, 2020 14:02
Show Gist options
  • Save v1v/5daf5d79ab90d1d2eefed03934d011d2 to your computer and use it in GitHub Desktop.
Save v1v/5daf5d79ab90d1d2eefed03934d011d2 to your computer and use it in GitHub Desktop.
[filebeat] in windows-2016 with TestReceiveEventsAndMetadata failures
[2020-07-02T08:43:15.778Z]
[2020-07-02T08:43:15.778Z] C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19199\src\github.com\elastic\beats\filebeat>mage build unitTest
[2020-07-02T08:44:02.481Z] >> build: Building filebeat
[2020-07-02T08:45:10.213Z] >> go test: Unit Testing
[2020-07-02T08:47:31.683Z] FAILURES:
[2020-07-02T08:47:31.683Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata
[2020-07-02T08:47:31.683Z] ----
[2020-07-02T08:47:31.683Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/NewLine
[2020-07-02T08:47:31.683Z] server_test.go:187:
[2020-07-02T08:47:31.683Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.683Z] Error: Received unexpected error:
[2020-07-02T08:47:31.683Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/NewLine
[2020-07-02T08:47:31.683Z] ----
[2020-07-02T08:47:31.683Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/NewLineWithCR
[2020-07-02T08:47:31.683Z] server_test.go:187:
[2020-07-02T08:47:31.683Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.683Z] Error: Received unexpected error:
[2020-07-02T08:47:31.683Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/NewLineWithCR
[2020-07-02T08:47:31.683Z] ----
[2020-07-02T08:47:31.683Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/CustomDelimiter
[2020-07-02T08:47:31.683Z] server_test.go:187:
[2020-07-02T08:47:31.683Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.683Z] Error: Received unexpected error:
[2020-07-02T08:47:31.683Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/CustomDelimiter
[2020-07-02T08:47:31.683Z] ----
[2020-07-02T08:47:31.683Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/MultipleCharsCustomDelimiter
[2020-07-02T08:47:31.683Z] server_test.go:187:
[2020-07-02T08:47:31.683Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.683Z] Error: Received unexpected error:
[2020-07-02T08:47:31.683Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/MultipleCharsCustomDelimiter
[2020-07-02T08:47:31.683Z] ----
[2020-07-02T08:47:31.683Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/SingleCharCustomDelimiterMessageWithoutBoundaries
[2020-07-02T08:47:31.683Z] server_test.go:187:
[2020-07-02T08:47:31.683Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.683Z] Error: Received unexpected error:
[2020-07-02T08:47:31.683Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/SingleCharCustomDelimiterMessageWithoutBoundaries
[2020-07-02T08:47:31.683Z] ----
[2020-07-02T08:47:31.683Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.683Z] Test: TestReceiveEventsAndMetadata/MultipleCharCustomDelimiterMessageWithoutBoundaries
[2020-07-02T08:47:31.683Z] server_test.go:187:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/MultipleCharCustomDelimiterMessageWithoutBoundaries
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/NewLineMessageWithoutBoundaries
[2020-07-02T08:47:31.684Z] server_test.go:187:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/NewLineMessageWithoutBoundaries
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/NewLineLargeMessagePayload
[2020-07-02T08:47:31.684Z] server_test.go:187:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/NewLineLargeMessagePayload
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/CustomLargeMessagePayload
[2020-07-02T08:47:31.684Z] server_test.go:187:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/CustomLargeMessagePayload
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/ReadRandomLargePayload
[2020-07-02T08:47:31.684Z] server_test.go:187:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/ReadRandomLargePayload
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/MaxReadBufferReachedUserConfigured
[2020-07-02T08:47:31.684Z] server_test.go:187:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/MaxReadBufferReachedUserConfigured
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/MaxBufferSizeSet
[2020-07-02T08:47:31.684Z] server_test.go:187:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:187
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveEventsAndMetadata/MaxBufferSizeSet
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestSocketCleanup
[2020-07-02T08:47:31.684Z] server_test.go:260:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:260
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestSocketCleanup
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] Package: github.com/elastic/beats/v7/filebeat/inputsource/unix
[2020-07-02T08:47:31.684Z] Test: TestReceiveNewEventsConcurrently
[2020-07-02T08:47:31.684Z] server_test.go:326:
[2020-07-02T08:47:31.684Z] Error Trace: server_test.go:326
[2020-07-02T08:47:31.684Z] Error: Received unexpected error:
[2020-07-02T08:47:31.684Z] listen unix C:\Users\JENKIN~1.PAC\AppData\Local\Temp\test.sock: socket: An address incompatible with the requested protocol was used.
[2020-07-02T08:47:31.684Z] Test: TestReceiveNewEventsConcurrently
[2020-07-02T08:47:31.684Z] ----
[2020-07-02T08:47:31.684Z] SUMMARY:
[2020-07-02T08:47:31.684Z] Fail: 15
[2020-07-02T08:47:31.684Z] Skip: 2
[2020-07-02T08:47:31.684Z] Pass: 534
[2020-07-02T08:47:31.684Z] Packages: 25
[2020-07-02T08:47:31.684Z] Duration: 2m24.6716584s
[2020-07-02T08:47:31.684Z] Coverage Report: C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19199\src\github.com\elastic\beats\filebeat\build\TEST-go-unit.html
[2020-07-02T08:47:31.684Z] JUnit Report: C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19199\src\github.com\elastic\beats\filebeat\build\TEST-go-unit.xml
[2020-07-02T08:47:31.684Z] Output File: C:\Users\jenkins\workspace\Beats_beats-windows-mbp_PR-19199\src\github.com\elastic\beats\filebeat\build\TEST-go-unit.out
[2020-07-02T08:47:31.684Z] >> go test: Unit Test Failed
[2020-07-02T08:47:31.684Z] Error: go test failed: 15 test failures
script returned exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment