Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

TestPersistedIndex/server_should_properly_shutdown is flaky #300

Open
Tracked by #16
elasticmachine opened this issue Apr 18, 2023 · 1 comment
Open
Tracked by #16

TestPersistedIndex/server_should_properly_shutdown is flaky #300

elasticmachine opened this issue Apr 18, 2023 · 1 comment
Labels
automation build-failures Build failures in the CI. ci-reported Issues that have been automatically reported from the CI flaky-test Unstable or unreliable test cases. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@elasticmachine
Copy link
Collaborator

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-04-18T17:37:12.501+0000

  • Duration: 12 min 8 sec

Steps errors 1

Expand to view the steps failures

Go unitTest
  • Took 1 min 50 sec . View more details here
  • Description: mage test

@elasticmachine elasticmachine added automation ci-reported Issues that have been automatically reported from the CI build-failures Build failures in the CI. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Apr 18, 2023
@cmacknz
Copy link
Member

cmacknz commented Apr 20, 2023

[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

@cmacknz cmacknz changed the title Build 107 for main with status FAILURE TestPersistedIndex/server_should_properly_shutdown is flaky Apr 20, 2023
@cmacknz cmacknz added the flaky-test Unstable or unreliable test cases. label Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automation build-failures Build failures in the CI. ci-reported Issues that have been automatically reported from the CI flaky-test Unstable or unreliable test cases. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

No branches or pull requests

3 participants