Skip to content

test(e2e): add assertion to legacy tests#16774

Open
lukidzi wants to merge 30 commits into
kumahq:release-2.14from
lukidzi:add-assertion-legacy-test
Open

test(e2e): add assertion to legacy tests#16774
lukidzi wants to merge 30 commits into
kumahq:release-2.14from
lukidzi:add-assertion-legacy-test

Conversation

@lukidzi

@lukidzi lukidzi commented May 27, 2026

Copy link
Copy Markdown
Contributor

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

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lukidzi lukidzi added the ci/run-full-matrix PR: Runs all possible e2e test combination (expensive use carefully) label May 27, 2026
bartsmykla
bartsmykla previously approved these changes May 29, 2026
@lukidzi

lukidzi commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

We need a new release 2.13.7

lukidzi and others added 3 commits June 3, 2026 16:41
## 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>
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Reviewer Checklist

🔍 Each of these sections need to be checked by the reviewer of the PR 🔍:
If something doesn't apply please check the box and add a justification if the reason is non obvious.

  • Is the PR title satisfactory? Is this part of a larger feature and should be grouped using > Changelog?
  • PR description is clear and complete. It Links to relevant issue as well as docs and UI issues
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as an image registry)
  • IPv6 is taken into account (.e.g: no string concatenation of host port)
  • Tests (Unit test, E2E tests, manual test on universal and k8s)
    • Don't forget ci/ labels to run additional/fewer tests
  • Does this contain a change that needs to be notified to users? In this case, UPGRADE.md should be updated.
  • Does it need to be backported according to the backporting policy? (this GH action will add "backport" label based on these file globs, if you want to prevent it from adding the "backport" label use no-backport-autolabel label)

kumahq Bot and others added 19 commits June 5, 2026 22:02
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>
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lukidzi lukidzi marked this pull request as ready for review June 10, 2026 10:38
@lukidzi lukidzi requested a review from a team as a code owner June 10, 2026 10:38
@lukidzi lukidzi requested review from Copilot, lobkovilya and slonka June 10, 2026 10:38
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Comment thread test/e2e/externalservices/locality_multizone_hybrid.go Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lukidzi lukidzi changed the base branch from master to release-2.14 June 10, 2026 16:54
lukidzi added 3 commits June 10, 2026 11:55
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/run-full-matrix PR: Runs all possible e2e test combination (expensive use carefully) release-2.14

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate existing NACKs in e2e

3 participants