Skip to content

test: updates E2E test network and image configuration#2054

Open
universal-itengineer wants to merge 16 commits intomainfrom
fix/test/network-interfaces
Open

test: updates E2E test network and image configuration#2054
universal-itengineer wants to merge 16 commits intomainfrom
fix/test/network-interfaces

Conversation

@universal-itengineer
Copy link
Member

@universal-itengineer universal-itengineer commented Mar 3, 2026

Description

This PR updates E2E test network and image configuration to make VM connectivity and migration scenarios more deterministic.

Key changes:

  • Configure test ClusterNetwork to existing VLAN 4006 (cn-4006-for-e2e-test) instead of VLAN 1003 (cn-1003-for-e2e-test).
  • Normalize image usage in E2E tests (switch most cases from perf image to stable Alpine UEFI image where needed).
  • Fix object builders for Ubuntu resources (VI/CVI/VD) to use Ubuntu image URL instead of Alpine BIOS URL.
  • Add dedicated constructors for Alpine BIOS/UEFI images in object helpers.
  • Update additional network interfaces test:
    • move additional IPs to per-test-case params,
    • pass explicit IPs into connectivity checks,
    • adjust Alpine cloud-init service startup commands.

Why do we need it, and what problem does it solve?

  • Additional network E2E scenarios require VMs to communicate over an existing cluster VLAN; without this VLAN setup, VM-to-VM ping on additional interfaces is unreliable or impossible.
  • Image source mismatch in helper constructors (Ubuntu builders pointing to Alpine image) makes test intent inconsistent and can lead to unexpected behavior.
  • Mixed usage of perf/stable images and rigid IP constants increases test fragility and makes migration/connectivity scenarios less reproducible.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

@universal-itengineer universal-itengineer force-pushed the fix/test/network-interfaces branch from ef15157 to 924f4ad Compare March 4, 2026 09:11
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the fix/test/network-interfaces branch from 924f4ad to 92f42bb Compare March 4, 2026 09:14
@universal-itengineer universal-itengineer changed the title Fix/test/network interfaces test: fix network interfaces Mar 4, 2026
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer added this to the v1.7.0 milestone Mar 4, 2026
@universal-itengineer universal-itengineer marked this pull request as ready for review March 4, 2026 12:51
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer changed the title test: fix network interfaces test: updates E2E test network and image configuration Mar 4, 2026
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the fix/test/network-interfaces branch from d300227 to c77b5fd Compare March 4, 2026 16:25
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the fix/test/network-interfaces branch from fff0b12 to e3445d7 Compare March 4, 2026 18:41
Isteb4k
Isteb4k previously approved these changes Mar 4, 2026
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants