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

TestCredentialsCache flakiness #40619

Closed
greedy52 opened this issue Apr 17, 2024 · 2 comments · Fixed by #41597 or #41680
Closed

TestCredentialsCache flakiness #40619

greedy52 opened this issue Apr 17, 2024 · 2 comments · Fixed by #41597 or #41680
Assignees
Labels
audit-log Issues related to Teleports Audit Log flaky tests

Comments

@greedy52
Copy link
Contributor

greedy52 commented Apr 17, 2024

Failure

Link(s) to logs

https://github.com/gravitational/teleport/actions/runs/8723700757/job/23932514260
https://github.com/gravitational/teleport/actions/runs/9005447964/job/24740767264

Relevant snippet

=== Failed
=== FAIL: lib/integrations/externalauditstorage TestCredentialsCache (1.01s)
time="2024-04-17T14:32:25Z" level=debug msg="Refreshing credentials." teleport.ComponentKey=ExternalAuditStorage.CredentialsCache
time="2024-04-17T14:32:25Z" level=debug msg="Successfully refreshed credentials, new expiry at 2024-04-17 15:32:25.712132107 +0000 UTC m=+3600.203393419" teleport.ComponentKey=ExternalAuditStorage.CredentialsCache
    configurator_test.go:265: 
        	Error Trace:	/__w/teleport/teleport/lib/integrations/externalauditstorage/configurator_test.go:224
        	            				/__w/teleport/teleport/lib/integrations/externalauditstorage/configurator_test.go:266
        	            				/opt/go/src/runtime/asm_amd64.s:1695
        	Error:      	Target error should be in err chain:
        	            	expected: "test error"
        	            	in chain: 
    configurator_test.go:265: 
        	Error Trace:	/__w/teleport/teleport/lib/integrations/externalauditstorage/configurator_test.go:226
        	            				/__w/teleport/teleport/lib/integrations/externalauditstorage/configurator_test.go:266
        	            				/opt/go/src/runtime/asm_amd64.s:1695
        	Error:      	Target error should be in err chain:
        	            	expected: "test error"
        	            	in chain: 
    configurator_test.go:265: 
        	Error Trace:	/__w/teleport/teleport/lib/integrations/externalauditstorage/configurator_test.go:265
        	Error:      	Condition never satisfied
        	Test:       	TestCredentialsCache
time="2024-04-17T14:32:26Z" level=debug msg="Context canceled, stopping refresh loop." teleport.ComponentKey=ExternalAuditStorage.CredentialsCache
@zmb3 zmb3 added the audit-log Issues related to Teleports Audit Log label Apr 17, 2024
@zmb3
Copy link
Collaborator

zmb3 commented May 15, 2024

@nklaassen
Copy link
Contributor

this is still flaky, i think i know why though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log flaky tests
Projects
None yet
3 participants