Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test cmd/agent/app/reporter/grpc/TestBuilderWithCollectors/with_collector_connection_status_ready #2679

Closed
yurishkuro opened this issue Dec 2, 2020 · 5 comments
Labels
bug good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement

Comments

@yurishkuro
Copy link
Member

https://github.com/jaegertracing/jaeger/pull/2657/checks?check_run_id=1486634709#step:5:346

=== RUN   TestBuilderWithCollectors/with_collector_connection_status_ready
    builder_test.go:182: 
        	Error Trace:	builder_test.go:182
        	Error:      	Not equal: 
        	            	expected: int(1)
        	            	actual  : int64(0)
        	Test:       	TestBuilderWithCollectors/with_collector_connection_status_ready
    builder_test.go:183: 
        	Error Trace:	builder_test.go:183
        	Error:      	Not equal: 
        	            	expected: int(1)
        	            	actual  : int64(0)
        	Test:       	TestBuilderWithCollectors/with_collector_connection_status_ready
    builder_test.go:184: 
        	Error Trace:	builder_test.go:184
        	Error:      	Not equal: 
        	            	expected: "127.0.0.1:41669"
        	            	actual  : ""
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-127.0.0.1:41669
        	            	+
        	Test:       	TestBuilderWithCollectors/with_collector_connection_status_ready
@yurishkuro yurishkuro added the bug label Dec 2, 2020
@yurishkuro yurishkuro added good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement and removed needs-triage labels Dec 2, 2020
@yurishkuro
Copy link
Member Author

Probably introduced in #2423 - cc @BernardTolosajr @jpkrohling

@yurishkuro
Copy link
Member Author

But could've been dormant even earlier.

@yurishkuro yurishkuro changed the title Flake test cmd/agent/app/reporter/grpc/TestBuilderWithCollectors/with_collector_connection_status_ready Flaky test cmd/agent/app/reporter/grpc/TestBuilderWithCollectors/with_collector_connection_status_ready Jan 11, 2021
@BernardTolosajr
Copy link
Contributor

I will check the issue. thanks

@Git-Jiro
Copy link
Contributor

Hi!
How big of an issue is this flaky test?

I made some changes to the code and tested with:

go test github.com/jaegertracing/jaeger/cmd/agent/app/reporter/grpc -run TestBuilderWithCollectors -count=10000 -failfast

What I saw so far:
The test case "TestBuilderWithCollectors/with_collector_connection_status_ready" is the only one where a real TCP connection is established. And it usually failed on my machine when the vast amount of test repetition caused some temporary resource issues in the systems TCP stack.

@yurishkuro
Copy link
Member Author

hasn't come up for a while, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement
Projects
None yet
Development

No branches or pull requests

3 participants