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

TestAllowedUsers flakiness #15656

Closed
GavinFrazar opened this issue Aug 18, 2022 · 5 comments
Closed

TestAllowedUsers flakiness #15656

GavinFrazar opened this issue Aug 18, 2022 · 5 comments
Assignees

Comments

@GavinFrazar
Copy link
Contributor

Failure

Link(s) to logs

Relevant snippet

FAIL: github.com/gravitational/teleport/lib/srv/regular
FAIL: github.com/gravitational/teleport/lib/srv/regular.TestAllowedUsers
===================================================
OUTPUT github.com/gravitational/teleport/lib/srv/regular.TestAllowedUsers
===================================================
=== RUN   TestAllowedUsers
=== PAUSE TestAllowedUsers
=== CONT  TestAllowedUsers
=== CONT  TestAllowedUsers
    sshserver_test.go:225: 
        	Error Trace:	sshserver_test.go:225
        	            				sshserver_test.go:111
        	            				sshserver_test.go:886
        	Error:      	Received unexpected error:
        	            	timeout waiting for announce to be sent
@GavinFrazar
Copy link
Contributor Author

GavinFrazar commented Aug 18, 2022

Reran locally and test passed. My PR only made changes to config file parsing/tests in completely unrelated code.

@GavinFrazar GavinFrazar assigned tcsc and rosstimothy and unassigned tcsc Aug 18, 2022
@GavinFrazar
Copy link
Contributor Author

@tcsc Whoops, read the blame wrong you merely moved some code around. I think the relevant git blame is actually from 9b22af6 so I'll reassign

@zmb3
Copy link
Collaborator

zmb3 commented Jan 23, 2024

@rosstimothy this is back on v15: https://github.com/gravitational/teleport/actions/runs/7631628626/job/20790004582

=== FAIL: lib/srv/regular TestAllowedUsers (9.45s)
{"caller":"backend/buffer.go:283","component":"buffer","level":"debug","message":"Removing watcher headless_authentication (0xc002434000) via external close.","timestamp":"2024-01-23T20:52:42Z"}
    sshserver_test.go:257: 
        	Error Trace:	/__w/teleport/teleport/lib/srv/regular/sshserver_test.go:257
        	            				/__w/teleport/teleport/lib/srv/regular/sshserver_test.go:127
        	            				/__w/teleport/teleport/lib/srv/regular/sshserver_test.go:1148
        	Error:      	Received unexpected error:
        	            	timeout waiting for announce to be sent
        	Test:       	TestAllowedUsers

@zmb3 zmb3 reopened this Jan 23, 2024
@rosstimothy
Copy link
Contributor

We also see timeout waiting for announce to be sent from just about every test in lib/srv every few days from the nightly test reporter.

@rosstimothy
Copy link
Contributor

Fixed by #38076

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

No branches or pull requests

4 participants