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

Try to narrow down TestTrustBundleCache_Run flake #46377

Merged

Conversation

strideynet
Copy link
Contributor

Can't repro locally even with CPU limits applied. This adds a little more logging (that'll be useful anyway, and see if that helps narrow it down in the CI as well)

https://github.com/gravitational/teleport.e/actions/runs/10758968887/job/29835068933

@strideynet strideynet added this pull request to the merge queue Sep 9, 2024
Merged via the queue into master with commit 2036473 Sep 9, 2024
41 of 42 checks passed
@strideynet strideynet deleted the strideynet/try-to-narrow-down-trust-bundle-cache-flake branch September 9, 2024 17:50
@public-teleport-github-review-bot

@strideynet See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed

@strideynet
Copy link
Contributor Author

Backported into #46304 / #46303

github-merge-queue bot pushed a commit that referenced this pull request Sep 17, 2024
* Smash out an initial "hacky" implementation of TrustDomainCache

* Wire trustbundlecache into FetchX509SVID

* Wire into SDS endpoint

* Strip out old CA event handler

* Initialize TrustBundleCache as needed

* Fix panic due to uninitialized subscriber map

* Add basic tests for TrustBundleCache

* Detect older Auth Server versions without SPIFFEFederation resource
support

* Support AllowPartialSuccess

* Tidy up logging of old auth server handling

* Fix TestSDS_FetchSecrets test

* Add more test cases for SDS with federated trust domain support

* Remove irrelevant comment

* Add test for TrustBundleCache

* Enable parallel for TestTrustBundleCache_RUn

* Fix linter complaints

* Appease linter

* Tidy up retry loop

* Try to narrow down trust bundle cache flake (#46377)

* Workload ID: Add support for Federated Trust Bundles into `spiffe-svid` output (#46023)

* Hack on IncludeFederatedTrustBundle option

* Refactor to better re-use trust bundle set init code

* Add retry loop

* Pass cache into output

* Rewrite subscriber behaviour to avoid racines

* Simplify GetBundleSet

* Add godocs

* Update lib/tbot/service_spiffe_svid_output.go

Co-authored-by: Tim Buckley <tim@goteleport.com>

---------

Co-authored-by: Tim Buckley <tim@goteleport.com>

---------

Co-authored-by: Tim Buckley <tim@goteleport.com>
github-merge-queue bot pushed a commit that referenced this pull request Sep 17, 2024
* Smash out an initial "hacky" implementation of TrustDomainCache

* Wire trustbundlecache into FetchX509SVID

* Wire into SDS endpoint

* Strip out old CA event handler

* Initialize TrustBundleCache as needed

* Fix panic due to uninitialized subscriber map

* Add basic tests for TrustBundleCache

* Detect older Auth Server versions without SPIFFEFederation resource
support

* Support AllowPartialSuccess

* Tidy up logging of old auth server handling

* Fix TestSDS_FetchSecrets test

* Add more test cases for SDS with federated trust domain support

* Remove irrelevant comment

* Add test for TrustBundleCache

* Enable parallel for TestTrustBundleCache_RUn

* Fix linter complaints

* Appease linter

* Tidy up retry loop

* Try to narrow down trust bundle cache flake (#46377)

* Workload ID: Add support for Federated Trust Bundles into `spiffe-svid` output (#46023)

* Hack on IncludeFederatedTrustBundle option

* Refactor to better re-use trust bundle set init code

* Add retry loop

* Pass cache into output

* Rewrite subscriber behaviour to avoid racines

* Simplify GetBundleSet

* Add godocs

* Update lib/tbot/service_spiffe_svid_output.go

Co-authored-by: Tim Buckley <tim@goteleport.com>

---------

Co-authored-by: Tim Buckley <tim@goteleport.com>

---------

Co-authored-by: Tim Buckley <tim@goteleport.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants