microsoft / microsoft/ebpf-for-windows

sample_ext_app tests fail, NMR Attach failure.

Open
#4,648 0 comments 0 reactions 2 assignees Assigned to @shankarseal View on GitHub
bug P2 triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

### Describe the bug

sample_ext_app.exe fails to load programs. It looks like the sample-ext program type doesn't have a registered NMR provider to match with, even though it's a valid guid in [ebpf_program_attach_type_guids.h](https://github.com/microsoft/ebpf-for-windows/blob/main/include/ebpf_program_attach_type_guids.h).

[ebpf etl trace sample-ext.txt](https://github.com/user-attachments/files/22323178/ebpf.etl.trace.sample-ext.txt)

### OS information

Windows 11 Enterprise Evaluation
Build 22621.ni_release.220506-1250

### Steps taken to reproduce bug

1. Build the repo and deploy release/debug artifacts to VM using deploy-ebpf.ps1.
2. Try to run sample-ext-app as suggested in Getting-Started.md
3. All tests fail.
4. Loss.

### Expected behavior

1. Build the repo and deploy release/debug artifacts to VM using deploy-ebpf.ps1.
2. Try to run sample-ext-app as suggested in Getting-Started.md
3. All tests should succeed.
4. Profit.

### Actual outcome

All tests fail in sample_ext_app.exe

### Additional details

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.