Skip to content

Add missing cherry-picks for release-1.28 branch#1842

Merged
istio-testing merged 3 commits intoistio-ecosystem:release-1.28from
fjglira:manual-cp
Apr 16, 2026
Merged

Add missing cherry-picks for release-1.28 branch#1842
istio-testing merged 3 commits intoistio-ecosystem:release-1.28from
fjglira:manual-cp

Conversation

@fjglira
Copy link
Copy Markdown
Contributor

@fjglira fjglira commented Apr 16, 2026

What type of PR is this?

  • Enhancement / New Feature
  • Bug Fix
  • Refactor
  • Optimization
  • Test
  • Documentation Update

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Related Issue/PR #

Additional information:

* E2E: Extract common function to await conditions

This code is very repetitive and verbose, extracting it to a common
function allows the tests to be much more concise and readable, without
affecting functionality.
The main benefit of this is making the tests easier to read and
maintain, and avoid repeating code (and making mistakes).

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

* E2E: Add specific AwaitDeployment function

Most of the tests that await for the DeploymentAvailable condition do it
on the control plane namespace for a Deployment.
Extracting this specific case makes the tests even easier to read and
understand.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

* E2E: Add CheckSamplePodsReady function

Reuse CheckPodsReady and add a specific function CheckSamplePodsReady
since most of the calls are on the sample namespace.
Both checks are now in the `checks.go` file for logical consistency.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

* E2E: Extract waiting for CNI DaemonSet to be ready

This is repetitive and verbose, extracting this makes the tests easier to
read and maintain.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

---------

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
…tio-ecosystem#1353)

* Expose common namespaces in E2E tests

To be able to use directly without redefining or passing them all over.

The namespaces are reused in the test suite files (instead of redefined)
in order to minimize the amount of changes, but we can further refactor
this in the future.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

* Extract multicluster resource creation

This males tests easier to maintain while avoiding code duplication

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

* Add Ambient tests to E2E Multi Primary

Istio 1.27+ supports running Multi-Primary deployments in Abmient mode,
so tests were adapted to run both on Sidecar and Ambient mode.

Both modes run the same tests, sequentialy & independently of each
other.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

---------

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
…em#1472)

* E2E: Add a validation for E/W GW to get LB IP

This might take a while, expecially on a public cloud.
Make sure the tests wait for the IP to be assigned before proceeding,
otherwise they'll get stuck later waiting for the communication to
proceed (and sometimes fail).

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

* E2E: Add check that multicluster gateway rechable

To rule out infrastructure problems, a sanity check is added to try and
reach the gateway on the other side.
If this check fails, this could indicate an infrastructure problem.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

* E2E: Improve connectivity checking in multicluster

Having curl fetch the URL several times saves time waiting on responses
since it's much cheaper than each `exec` call.
This makes successful tests finish much faster instead of waiting for
the response to randomly land on the expected version.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>

---------

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
@fjglira fjglira requested a review from a team as a code owner April 16, 2026 08:24
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.24%. Comparing base (1baf0b2) to head (9a1fcc5).
⚠️ Report is 1 commits behind head on release-1.28.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.28    #1842      +/-   ##
================================================
- Coverage         80.32%   80.24%   -0.09%     
================================================
  Files                46       46              
  Lines              2364     2364              
================================================
- Hits               1899     1897       -2     
- Misses              343      344       +1     
- Partials            122      123       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mkolesnik
Copy link
Copy Markdown
Collaborator

/retest

@istio-testing istio-testing merged commit 02e038d into istio-ecosystem:release-1.28 Apr 16, 2026
18 of 19 checks passed
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Apr 16, 2026
* upstream/release-1.28:
  Add missing cherry-picks for release-1.28 branch (istio-ecosystem#1842)
  [release-1.28] Improve testing images tags for OLM and Operator images (istio-ecosystem#1823)
  [release-1.28] Add 1.28.6 1.27.9 istio version (istio-ecosystem#1827)
  Pin sample apps to the release-x.y istio branch (istio-ecosystem#1834)
  fix: make pod readiness check more reliable after restart (istio-ecosystem#1818)
  fix: use operator name as prefix in metrics-reader clusterrole. (istio-ecosystem#1816)
  Automator: Update dependencies in istio-ecosystem/sail-operator@release-1.28 (istio-ecosystem#1810)
  [release-1.28] Fix ztunel version in samples and bundle alm-examples (istio-ecosystem#1773)
  [release-1.28] Platform helm value is no longer used and needed + set OCP default value to false (istio-ecosystem#1801)
  Add the possibility to override the test timeout (istio-ecosystem#1788) (istio-ecosystem#1791)
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.

4 participants