Skip to content

Fix e2e multicluster for 3.3#672

Merged
openshift-merge-bot[bot] merged 3 commits intoopenshift-service-mesh:release-3.3from
unsortedhashsets:mabramov-enable-e2e-multiclsuter-for-3.3
Feb 11, 2026
Merged

Fix e2e multicluster for 3.3#672
openshift-merge-bot[bot] merged 3 commits intoopenshift-service-mesh:release-3.3from
unsortedhashsets:mabramov-enable-e2e-multiclsuter-for-3.3

Conversation

@unsortedhashsets
Copy link
Copy Markdown

@unsortedhashsets unsortedhashsets commented Feb 11, 2026

  • Test

What this PR does / why we need it:

Cherry-picks from main:

  • Add ambient multicluster test to release-3.3 branch
  • Fix multicluster test stability for release tests

* 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>
@openshift-ci openshift-ci bot added the size/XL label Feb 11, 2026
@unsortedhashsets unsortedhashsets changed the title Mabramov enable e2e multiclsuter for 3.3 Fix e2e multiclsuter for 3.3 Feb 11, 2026
@unsortedhashsets unsortedhashsets changed the title Fix e2e multiclsuter for 3.3 Fix e2e multicluster for 3.3 Feb 11, 2026
@cam-garrison
Copy link
Copy Markdown

cam-garrison commented Feb 11, 2026

/okay-to-merge

@openshift-merge-bot openshift-merge-bot bot merged commit 49fe0ca into openshift-service-mesh:release-3.3 Feb 11, 2026
1 check passed
hhovsepy pushed a commit to hhovsepy/sail-operator that referenced this pull request Apr 8, 2026
Signed-off-by: Jacek Ewertowski <jewertow@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants