test(e2e): add assertion to legacy tests#16774
Open
lukidzi wants to merge 30 commits into
Open
Conversation
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
bartsmykla
previously approved these changes
May 29, 2026
Contributor
Author
|
We need a new release 2.13.7 |
## Motivation We preload images before running but it affects some repos that using this framework on k8s clusters ## Implementation information Allow to disable preloading images ## Supporting documentation > Changelog: skip --------- Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Contributor
Reviewer Checklist🔍 Each of these sections need to be checked by the reviewer of the PR 🔍:
|
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Signed-off-by: kumahq[bot] <110050114+kumahq[bot]@users.noreply.github.com> Co-authored-by: kumahq[bot] <110050114+kumahq[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…umahq#16896) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…q#16895) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…16892) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
….1 to 13.0.2 (kumahq#16891) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…cker-image from 5.0.3 to 5.0.4 (kumahq#16890) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…cker-image from 6.1.0 to 6.1.1 (kumahq#16889) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…16887) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…umahq#16886) Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [golang.org/x/exp](https://pkg.go.dev/golang.org/x/exp) | require | digest | `c761662` → `055de63` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](..kumahq/issues/12547) for more information. --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/kumahq/kuma). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjIwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#16884) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [k8s.io/kube-openapi](https://redirect.github.com/kubernetes/kube-openapi) | require | digest | `aa012df` → `865597e` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](..kumahq/issues/12547) for more information. --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/kumahq/kuma). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjIwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
d464fca to
12025be
Compare
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds control-plane health assertions (including an xDS NACK check) to legacy test/e2e suites to detect breaking changes earlier, and hardens the multizone Helm upgrade test by preventing zone-ingress from running against mixed-version control planes.
Changes:
- Added
ControlPlaneAssertions(...)to legacy e2e cleanup hooks to fail tests on CP panics/restarts and excessive xDS NACKs. - Updated the multizone Helm upgrade scenario to scale zone-ingress down during upgrade, wait for the upgraded zone CP to reconnect to global, then restart zone-ingress.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/e2e/zoneegress/externalservices/zoneegress_externalservices_hybrid.go | Adds CP assertions during suite cleanup for hybrid zone-egress external services coverage. |
| test/e2e/webhooks/cert_manager.go | Adds CP assertions during suite cleanup for cert-manager webhook test. |
| test/e2e/transparentproxy/transparentproxy_configmap_kubernetes.go | Adds CP assertions during suite cleanup for tproxy configmap test. |
| test/e2e/skipinboundtags/skip_inbound_tags.go | Adds CP assertions during suite cleanup for skip-inbound-tags scenario. |
| test/e2e/resilience/resilience_multizone_k8s.go | Adds CP assertions during suite cleanup for multizone resilience test. |
| test/e2e/reachableservices/auto_reachable_services_k8s.go | Adds CP assertions during suite cleanup for auto reachable services test. |
| test/e2e/reachableservices/auto_reachable_mesh_services_k8s.go | Adds CP assertions during suite cleanup for auto reachable mesh services test. |
| test/e2e/helm/kuma_helm_upgrade_multizone.go | Adds per-test CP assertions and prevents mixed-version zone-ingress during Helm upgrade by scaling down/up with sync wait. |
| test/e2e/helm/kuma_helm_deploy_global_zone.go | Adds CP assertions during suite cleanup for Helm global+zone deploy test. |
| test/e2e/helm/kuma_helm_deploy_global_universal_mode_and_zone.go | Adds CP assertions during suite cleanup for Helm global+zone (universal mode) deploy test. |
| test/e2e/helm/kuma_helm_deploy_global_and_zone_universal_mode.go | Adds CP assertions during suite cleanup for Helm deploy of global+zone in universal mode. |
| test/e2e/federation/federation_universal.go | Adds CP assertions during suite cleanup for federation (universal) scenario. |
| test/e2e/federation/federation_kubernetes.go | Adds CP assertions during suite cleanup for federation (kubernetes) scenario. |
| test/e2e/externalservices/locality_multizone_hybrid.go | Adds CP assertions during suite cleanup for locality-aware LB external services scenario. |
| test/e2e/compatibility/cp_compatibility_kubernetes_multizone.go | Adds CP assertions to deferred cleanups for multizone CP compatibility coverage. |
| test/e2e/cni/taint_controller_race.go | Adds CP assertions during per-test cleanup for the CNI taint controller race test. |
| test/e2e/bootstrap/corefile_template.go | Adds CP assertions during suite cleanup for CoreDNS corefile template bootstrap test. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Check if there are NACK in legacy test to know if we introduced a breaking change
Implementation information
Added a NACK check to all e2e tests. In helm upgrade I had to scale down ingress and up after starting to avoid situation that Ingress is spawned with a flag for new config and connects to old CP, that causes errors in listener upgrade
Supporting documentation
Fix #16764