Skip to content

Fail setup on DuoNic installation errors - #5538

Merged
Shankar Seal (shankarseal) merged 3 commits into
microsoft:mainfrom
lakshk98:duonic-script-fix
Sep 11, 2026
Merged

Fail setup on DuoNic installation errors#5538
Shankar Seal (shankarseal) merged 3 commits into
microsoft:mainfrom
lakshk98:duonic-script-fix

Conversation

@lakshk98

@lakshk98 Laksh (lakshk98) commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Description

Fail CI setup when duonic.ps1 returns a nonzero exit code so the workflow proceeds to post-test cleanup instead of continuing with an invalid network configuration.

Start the EbpfForWindows-Networking WPR profile on the target host or VM before DuoNic installation. This captures Microsoft-Windows-TCPIP events when installation fails and allows cleanup to stop and collect the trace.

This will help debugging transient errors in the duonic installation which cause pipeline to fail . Closes #5522

Testing

CI/CD

Documentation

NA

Installation

NA

Propagate a nonzero DuoNic installer exit code so CI runs its cleanup step, while restoring the working directory on all paths.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

This pull request isn't linked to any GitHub issue. Please reference an issue with a keyword such as Fixes #123, Closes #456, etc., so the work can be tracked.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request isn't linked to any GitHub issue. Please reference an issue with a keyword such as Fixes #123, Closes #456, etc., so the work can be tracked.

@lakshk98 Laksh (lakshk98) changed the title [draft] Duonic script fix test pipeline Fail setup on DuoNic installation errors Aug 27, 2026
Comment thread scripts/config_test_vm.psm1
@shankarseal
Shankar Seal (shankarseal) added this pull request to the merge queue Sep 11, 2026
Merged via the queue into microsoft:main with commit 9bb9c3d Sep 11, 2026
116 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in eBPF for Windows Triage Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Duonic Issue] Workflow failed - driver_native_only_arm64

3 participants