teleport icon indicating copy to clipboard operation
teleport copied to clipboard

`TestCredentialsCache` flakiness

Open greedy52 opened this issue 10 months ago • 2 comments

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

greedy52 avatar Apr 17 '24 15:04 greedy52