Skip to content

fix(e2e): ensure slot retrieval does not fail in ValidateNetworkInterfaceConfig#7792

Merged
djsly merged 1 commit intomainfrom
msp/fix-rx-e2e
Feb 5, 2026
Merged

fix(e2e): ensure slot retrieval does not fail in ValidateNetworkInterfaceConfig#7792
djsly merged 1 commit intomainfrom
msp/fix-rx-e2e

Conversation

@mugeshsp
Copy link
Contributor

@mugeshsp mugeshsp commented Feb 5, 2026

What this PR does / why we need it:

Fix a bash script failure in the ValidateNetworkInterfaceConfig e2e test validator when no network interfaces match the enP* slot pattern.

The issue occurred when running with set -euo pipefail and the awk command in the udevadm pipeline returned a non-zero exit code (no match found). This caused the entire script to exit with code 1, even though this is an expected scenario when VMs don't have PCI network devices with enP* slot names.

Fixes #

  • Added || true to the udevadm/awk pipeline to ensure the command always succeeds

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bash script failure in the ValidateNetworkInterfaceConfig e2e test validator when VMs don't have PCI network devices with slot names matching the enP* pattern.

Changes:

  • Added || true to the udevadm/awk pipeline to prevent script failure when no network interface slot is found

@djsly djsly merged commit 5e2ac88 into main Feb 5, 2026
41 of 46 checks passed
@djsly djsly deleted the msp/fix-rx-e2e branch February 5, 2026 17:13
mxj220 pushed a commit that referenced this pull request Feb 5, 2026
mxj220 pushed a commit that referenced this pull request Feb 5, 2026
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.

2 participants

Comments