Skip to content

[AI Generated] Fix IPv6 XDP tests with local source patches - #4754

Open
LiliDeng wants to merge 1 commit into
microsoft:mainfrom
LiliDeng:bugfix/xdp-ipv6-tcpdump_021026_183209
Open

LiliDeng wants to merge 1 commit into
microsoft:mainfrom
LiliDeng:bugfix/xdp-ipv6-tcpdump_021026_183209

Conversation

@LiliDeng

@LiliDeng LiliDeng commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Description

The repository https://github.com/LIS/bpf-samples.git is read-only, so we can't modify it directly. To avoid using a personal account, I'm applying a patch to enable IPv6 support instead.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Key Test Cases:

Impacted LISA Features:

Tested Azure Marketplace Images:

Test Results

Image VM Size Result
PASSED / FAILED / SKIPPED

Copilot AI balanced review requested due to automatic review settings October 8, 2026 11:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Kernel-level packet rewriting and build lifecycle changes have no reported validation results.

4 open findings
What changed in this PR

Adds IPv6 support to XDP packet-capture and action tests using a packaged local BPF patch.

Changes:

  • Adds ICMPv6 filtering and packet parsing.
  • Applies and preserves local source patches during builds.
  • Packages the IPv6 patch in distributions.
File Description
.gitattributes Enforces LF endings for patches.
MANIFEST.in Includes patch files in source distributions.
pyproject.toml Includes patches in package data.
lisa/​tools/​git.py Adds idempotent patch application.
lisa/​tools/​tcpdump.py Supports ICMPv6 filters and parsing.
lisa/​microsoft/​testsuites/​xdp/​functional.py Uses address-family-specific filters.
lisa/​microsoft/​testsuites/​xdp/​xdpdump.py Applies patches during builds.
lisa/​microsoft/​testsuites/​xdp/​xdptools.py Adds reusable build handling.
lisa/​microsoft/​testsuites/​xdp/​xdpdump-ipv6.patch Implements IPv6 XDP actions.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread lisa/tools/git.py
Comment thread lisa/tools/tcpdump.py
Comment thread pyproject.toml
Comment thread pyproject.toml
@LiliDeng LiliDeng changed the title Fix IPv6 XDP tests with local source patches [AI Generated] Fix IPv6 XDP tests with local source patches Oct 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants