Open elasticmachine opened 1 year ago
[2023-04-18T17:48:21.046Z]
[2023-04-18T17:48:21.046Z] C:\Users\jenkins\workspace\elastic-agent-shipper-mbp_main\src\github.com\elastic\elastic-agent-shipper>mage test
[2023-04-18T17:48:24.915Z] >> go test: Unit Testing
[2023-04-18T17:48:24.915Z] exec: gotestsum --no-color -f standard-quiet --junitfile build\TEST-go-unit.xml --jsonfile build\TEST-go-unit.out.json -- ./...
[2023-04-18T17:49:05.629Z] ? github.com/elastic/elastic-agent-shipper [no test files]
[2023-04-18T17:49:05.629Z] ? github.com/elastic/elastic-agent-shipper/cmd [no test files]
[2023-04-18T17:49:07.218Z] ok github.com/elastic/elastic-agent-shipper/output/logstash 0.066s
[2023-04-18T17:49:08.061Z] FAIL
[2023-04-18T17:49:08.061Z] FAIL github.com/elastic/elastic-agent-shipper/grpcserver 0.246s
[2023-04-18T17:49:08.061Z] ok github.com/elastic/elastic-agent-shipper/monitoring 0.180s
[2023-04-18T17:49:08.401Z] ok github.com/elastic/elastic-agent-shipper/config 0.068s
[2023-04-18T17:49:08.401Z] ok github.com/elastic/elastic-agent-shipper/output/kafka 0.083s
[2023-04-18T17:49:08.504Z] ok github.com/elastic/elastic-agent-shipper/output/elasticsearch 0.078s
[2023-04-18T17:49:09.011Z] ok github.com/elastic/elastic-agent-shipper/controller 0.088s
[2023-04-18T17:49:09.012Z] ? github.com/elastic/elastic-agent-shipper/dev-tools/common [no test files]
[2023-04-18T17:49:09.012Z] ? github.com/elastic/elastic-agent-shipper/output [no test files]
[2023-04-18T17:49:09.012Z] ? github.com/elastic/elastic-agent-shipper/publisherserver [no test files]
[2023-04-18T17:49:09.721Z] ok github.com/elastic/elastic-agent-shipper/queue 1.214s
[2023-04-18T17:49:09.721Z] ? github.com/elastic/elastic-agent-shipper/testing/environments [no test files]
[2023-04-18T17:49:09.721Z] ? github.com/elastic/elastic-agent-shipper/tools [no test files]
[2023-04-18T17:49:10.529Z]
[2023-04-18T17:49:10.529Z] === Failed
[2023-04-18T17:49:10.529Z] === FAIL: grpcserver TestPersistedIndex/server_should_properly_shutdown (0.11s)
[2023-04-18T17:49:10.529Z] server_test.go:285:
[2023-04-18T17:49:10.530Z] Error Trace: C:\Users\jenkins\workspace\elastic-agent-shipper-mbp_main\src\github.com\elastic\elastic-agent-shipper\grpcserver\server_test.go:285
[2023-04-18T17:49:10.530Z] Error: Condition never satisfied
[2023-04-18T17:49:10.530Z] Test: TestPersistedIndex/server_should_properly_shutdown
[2023-04-18T17:49:10.530Z] Messages: server was supposed to shutdown
[2023-04-18T17:49:10.530Z] --- FAIL: TestPersistedIndex/server_should_properly_shutdown (0.11s)
[2023-04-18T17:49:10.530Z]
[2023-04-18T17:49:10.530Z] === FAIL: grpcserver TestPersistedIndex (0.11s)
[2023-04-18T17:49:10.530Z]
[2023-04-18T17:49:10.530Z] DONE 49 tests, 2 failures in 45.531s
[2023-04-18T17:49:10.632Z] >> go test: Unit Tests : Test Failed
[2023-04-18T17:49:10.632Z] Error: go test returned a non-zero value: exit status 1
script returned exit code 1
:broken_heart: Build Failed
Expand to view the summary
#### Build stats * Start Time: 2023-04-18T17:37:12.501+0000 * Duration: 12 min 8 sec
Steps errors![1](https://img.shields.io/badge/1%20-red)
Expand to view the steps failures
##### `Go unitTest`
mage test