TestAuthenticationFlows is flaky #1170

Open
opened 2025-12-29 02:28:41 +01:00 by adam · 0 comments
Owner

Originally created by @kradalby on GitHub (Dec 5, 2025).

Our tests occasionally fail with some test in TestAuthenticationFlows which seem to be a bit flaky.

    auth_test.go:2494: 
        	Error Trace:	/home/runner/work/headscale/headscale/hscontrol/auth_test.go:2494
        	Error:      	Received unexpected error:
        	            	http error[401]: registration timed out, %!s(<nil>)
        	Test:       	TestAuthenticationFlows/followup_registration_success
        	Messages:   	unexpected error: http error[401]: registration timed out, %!s(<nil>)

=== FAIL: hscontrol TestAuthenticationFlows (22.89s)
Originally created by @kradalby on GitHub (Dec 5, 2025). Our tests occasionally fail with some test in `TestAuthenticationFlows` which seem to be a bit flaky. ``` auth_test.go:2494: Error Trace: /home/runner/work/headscale/headscale/hscontrol/auth_test.go:2494 Error: Received unexpected error: http error[401]: registration timed out, %!s(<nil>) Test: TestAuthenticationFlows/followup_registration_success Messages: unexpected error: http error[401]: registration timed out, %!s(<nil>) === FAIL: hscontrol TestAuthenticationFlows (22.89s) ```
adam added the bugno-stale-bot labels 2025-12-29 02:28:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1170