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 TestConnectorTestSuite/TestConnect #5027

Open
ptrus opened this issue Nov 9, 2022 · 0 comments
Open

Flaky TestConnectorTestSuite/TestConnect #5027

ptrus opened this issue Nov 9, 2022 · 0 comments

Comments

@ptrus
Copy link
Member

ptrus commented Nov 9, 2022

Not really sure why, but the TestConnectorTestSuite/TestConnect from go/p2p/peermgmt/connector_test.go sometimes (1) fails on CI:

    connector_test.go:145:
        	Error Trace:	/workdir/go/p2p/peermgmt/connector_test.go:145
        	            				/workdir/go/p2p/peermgmt/asm_amd64.s:1571
        	Error:      	Should be true
        	Test:       	TestConnectorTestSuite/TestConnect

Probably the local connect fails for some reason? Didn't look in-depth, but couldn't reproduce it in few tries locally.

One reason that is hard to debug this is that the unit tests don't have an appropriate logger setup. Although the called function uses a logger to report errors, this is not shown in the Buildkite output. Should probably look into automatically setting up an appropriate logger instance for all unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant