nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
104 stars 53 forks source link

TestE2E/PorchSuite/TestFunctionRepository is flaky #698

Open liamfallon opened 5 months ago

liamfallon commented 5 months ago

Original issue URL: https://github.com/kptdev/kpt/issues/3554 Original issue user: https://github.com/mortent Original issue created at: 2022-09-13T18:15:19Z Original issue last updated at: 2023-02-19T23:35:41Z Original issue body: We see regular failures reported from this test and rerunning the test seem to fix it. Examples:

Original issue comments: Comment user: https://github.com/mortent Comment created at: 2022-09-20T22:49:36Z Comment last updated at: 2022-09-20T22:49:36Z Comment body: The fix in #3555 did not seem to work. Got another flake in https://github.com/GoogleContainerTools/kpt/actions/runs/3093856957/jobs/5006671877

Comment user: https://github.com/mortent Comment created at: 2023-02-19T23:35:40Z Comment last updated at: 2023-02-19T23:35:40Z Comment body: The root cause here seems to be that walking the OCI registry to discover all functions is relatively slow. That means that is the cache is not ready when a request comes in, reading all functions from GCR takes longer than the timeout for a request.