Skip to content

Conversation

@zeeke
Copy link
Member

@zeeke zeeke commented Nov 6, 2025

Shutting down a PF to test if the NIC can be used for pod-to-pod connectivity causes a race condition, as the config-daemon would try to set it up again during reconciliation. Also, it would trigger a node drain, making the test case very flaky.

Instead, convert the test case to verify that a NIC with
no carrier provides intra-node connectivity.

Shutting down a PF to test if the NIC can be used for
pod-to-pod connectivity causes a race condition, as
the config-daemon would try to set it up again during
reconciliation. Also, it would trigger a node drain,
making the test case very flaky.

Instead, convert the test case to verify that a NIC with
 no carrier provides intra-node connectivity.

Signed-off-by: Andrea Panattoni <[email protected]>
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Thanks for your PR,
To run vendors CIs, Maintainers can use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs, Maintainers can use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@github-actions github-actions bot added the tests label Nov 6, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19137964106

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 7 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.04%) to 62.394%

Files with Coverage Reduction New Missed Lines %
controllers/helper.go 2 70.23%
controllers/generic_network_controller.go 5 77.49%
Totals Coverage Status
Change from base Build 19136618681: 0.04%
Covered Lines: 8757
Relevant Lines: 14035

💛 - Coveralls

Copy link
Collaborator

@SchSeba SchSeba left a comment

Choose a reason for hiding this comment

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

LGTM

@zeeke zeeke requested review from adrianchiris and e0ne November 17, 2025 09:30
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.

3 participants