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

eBPF unit test: add proposal #1267

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

Conversation

sancppp
Copy link

@sancppp sancppp commented Mar 6, 2025

What type of PR is this?

/kind enhancement
/kind documentation

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #1209

Special notes for your reviewer:

  • 调研Cilium项目的eBPF单元测试框架
  • 设计、实现Kmesh eBPF单元测试框架
  • 添加测试用例

Does this PR introduce a user-facing change?:

NONE

@kmesh-bot
Copy link
Collaborator

@sancppp: The label(s) kind/documentation cannot be applied, because the repository doesn't have them.

In response to this:

What type of PR is this?

/kind enhancement
/kind documentation

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #1209

Special notes for your reviewer:

  • 调研Cilium项目的eBPF单元测试框架
  • 设计、实现Kmesh eBPF单元测试框架
  • 添加测试用例

Does this PR introduce a user-facing change?:

NONE

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign bitcoffeeiux for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kmesh-bot
Copy link
Collaborator

Welcome @sancppp! It looks like this is your first PR to kmesh-net/kmesh 🎉

@sancppp
Copy link
Author

sancppp commented Mar 21, 2025

CC @tacslon .
This pull request introduces a comprehensive eBPF unit testing framework for the Kmesh project, inspired by the Cilium project's testing framework. The documentation is provided in both English and Chinese. The most important changes include the background and design approach for the framework, detailed descriptions of the sample Cilium eBPF unit testing framework, and the specific design of the Kmesh eBPF unit testing framework.

Documentation and Framework Design:

  • docs/ebpf_unit_test.md: Added detailed documentation for the Kmesh eBPF Unit Testing Framework, including background, design approach, and specific design components.
  • docs/ebpf_unit_test_zh.md: Provided a Chinese translation of the Kmesh eBPF Unit Testing Framework documentation, covering the same detailed aspects as the English version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[lfx-mentorship-2025-Mar-May] Kmesh eBPF unit test
2 participants