Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebpfwindows e2e tests #1470

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vpidatala94
Copy link

Changes being introduced.

test\e2e\tools\event-writer : this is an test tool that helps generating mock trace and drop events using a bpf program based on customer inputs. The tools consists a BPF program and C++ Application that is used to load/unload and attach/update filter
Tool is intentionally building only for Release config variant for x64.

Additional changes in E2E with jobs
a. to load program,maps and pin it because retina ebpforwindows plugin expects cilium pre-loaded.
b. to validate windows bpf metrics advanced + basic.

  1. collect pre-test basic metrics
  2. create a non-hpc-pod
  3. capture ifindex, interface of that non-hpc-pod and attach the bpf program to that interface
  4. set filter for event-writer to trace and initiate curl from the non-hpc-pod
  5. capture post-test BPF program and check if the metrics have increased.
  6. check for the presence of advanced metrics
    c. to unpin bpf program, maps at the end of tests

@vpidatala94 vpidatala94 requested a review from a team as a code owner March 25, 2025 02:35
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.

None yet

1 participant