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

certloader flake fixes #22995

Merged
merged 3 commits into from
Jan 25, 2023
Merged

Conversation

kaworu
Copy link
Member

@kaworu kaworu commented Jan 9, 2023

Certloader testing flake fixes implemented as proposed in #22750 (comment)

Fixes: #21999, #22750

@kaworu kaworu added area/CI Continuous Integration testing issue or flake kind/backports This PR provides functionality previously merged into master. area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/misc This PR makes changes that have no direct user impact. labels Jan 9, 2023
@kaworu kaworu requested a review from a team as a code owner January 9, 2023 17:13
@kaworu kaworu changed the title Pr/kaworu/certloader flake fixes certloader flake fixes Jan 9, 2023
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Jan 9, 2023
@kaworu kaworu force-pushed the pr/kaworu/certloader-flake-fixes branch 2 times, most recently from 3a86408 to ec778a4 Compare January 10, 2023 09:11
@kaworu kaworu removed the kind/community-contribution This was a contribution made by a community member. label Jan 10, 2023
Copy link
Member

@rolinh rolinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rolinh rolinh added affects/v1.12 This issue affects v1.12 branch affects/v1.13 This issue affects v1.13 branch labels Jan 10, 2023
@kaworu kaworu force-pushed the pr/kaworu/certloader-flake-fixes branch from ec778a4 to 7261acf Compare January 10, 2023 16:28
@rolinh rolinh added needs-backport/1.12 needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch and removed affects/v1.12 This issue affects v1.12 branch affects/v1.13 This issue affects v1.13 branch labels Jan 11, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.12.6 Jan 11, 2023
@kaworu kaworu force-pushed the pr/kaworu/certloader-flake-fixes branch from 7261acf to 89735ef Compare January 11, 2023 18:44
@kaworu
Copy link
Member Author

kaworu commented Jan 13, 2023

/test

Job 'Cilium-PR-K8s-1.24-kernel-5.4' hit: #22019 (94.17% similarity)

It has proven flaky and we should be able to rely on the per-test
timeout (default to 10m) instead.

Fixes cilium#22750

Signed-off-by: Alexandre Perrin <alex@isovalent.com>
This will be used in the following patches for certloader testing.

Signed-off-by: Alexandre Perrin <alex@isovalent.com>
Before this patch, certloader reloading tests were using a short static
timeout after which we would expect the files to be reloaded. Because of
that the reloading tests were flaky, as the timeout was too short in
some testing environment.

Instead of increasing the timeout, this patch make it so we actively
wait on the files to be reloaded, looping over a ticker and checking
that the reloading condition are met. We're relying on the per-test
timeout (default 10m) to bail out.

Fixes cilium#21999

Signed-off-by: Alexandre Perrin <alex@isovalent.com>
@kaworu kaworu force-pushed the pr/kaworu/certloader-flake-fixes branch from e2e7579 to 4c0cfeb Compare January 20, 2023 09:43
Copy link
Contributor

@ti-mo ti-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@christarazi christarazi added release-note/ci This PR makes changes to the CI. and removed release-note/misc This PR makes changes that have no direct user impact. labels Jan 20, 2023
@kaworu
Copy link
Member Author

kaworu commented Jan 23, 2023

/test

@kaworu kaworu linked an issue Jan 24, 2023 that may be closed by this pull request
@kaworu
Copy link
Member Author

kaworu commented Jan 24, 2023

/ci-datapath

@kaworu
Copy link
Member Author

kaworu commented Jan 24, 2023

CI passed, marking as ready-to-merge.

@kaworu kaworu added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jan 24, 2023
@ldelossa ldelossa merged commit 15ff0dc into cilium:master Jan 25, 2023
@kaworu kaworu deleted the pr/kaworu/certloader-flake-fixes branch January 25, 2023 15:14
@michi-covalent michi-covalent added this to Needs backport from master in 1.12.7 Jan 26, 2023
@michi-covalent michi-covalent removed this from Needs backport from master in 1.12.6 Jan 26, 2023
@qmonnet qmonnet mentioned this pull request Jan 30, 2023
12 tasks
@maintainer-s-little-helper maintainer-s-little-helper bot removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jan 30, 2023
@qmonnet qmonnet mentioned this pull request Jan 31, 2023
27 tasks
@qmonnet qmonnet added backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. backport-done/1.12 The backport for Cilium 1.12.x for this PR is done. backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. and removed needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch backport-pending/1.12 backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. labels Jan 31, 2023
@joestringer joestringer moved this from Needs backport from master to Backport done to v1.12 in 1.12.7 Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake area/CI-improvement Topic or proposal to improve the Continuous Integration workflow backport-done/1.12 The backport for Cilium 1.12.x for this PR is done. backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. kind/backports This PR provides functionality previously merged into master. release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.12.7
Backport done to v1.12
7 participants