test(e2e): improve additional network interfaces e2e test reliability#2290
Merged
LopatinDmitr merged 4 commits intomainfrom Apr 30, 2026
Merged
test(e2e): improve additional network interfaces e2e test reliability#2290LopatinDmitr merged 4 commits intomainfrom
LopatinDmitr merged 4 commits intomainfrom
Conversation
hardcoretime
requested changes
Apr 29, 2026
…s test Signed-off-by: Dmitry Lopatin <dmitry.lopatin@flant.com>
Enable ClusterNetwork and CiliumEndpoint resource dumping for failed additional network interface tests to improve diagnostics. Signed-off-by: Dmitry Lopatin <dmitry.lopatin@flant.com>
Co-authored-by: Roman Sysoev <36233932+hardcoretime@users.noreply.github.com> Signed-off-by: Dmitry Lopatin <93423466+LopatinDmitr@users.noreply.github.com>
f237ce8 to
94abae6
Compare
66bd62e to
6faad49
Compare
Use the full Ginkgo test name when deciding whether to dump ClusterNetwork and CEP resources so truncation of filenames does not skip the additional network diagnostics. Refactor the interface name persistence check to use a dedicated retry helper that reads and parses interface data via ip JSON output. Signed-off-by: Dmitry Lopatin <dmitry.lopatin@flant.com>
6faad49 to
13bbde9
Compare
hardcoretime
approved these changes
Apr 30, 2026
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.
Description
This PR improves the reliability and diagnostics of the
VirtualMachineAdditionalNetworkInterfacesE2E test.Key changes:
SSHCommandcalls withcheckResultSSHCommandwhich includesEventuallyretry logic. This helps avoid test failures due to transient SSH connectivity issues during VM boot or configuration.ClusterNetworkandCiliumEndpoint(CEP) resources when tests in thevirtualmachineadditionalnetworkinterfacesblock fail.Why do we need it, and what problem does it solve?
ClusterNetwork,CEP).What is the expected result?
VirtualMachineAdditionalNetworkInterfacestests are more stable.clusternetwork.yamlandcep.yaml.Checklist
Changelog entries