-
Notifications
You must be signed in to change notification settings - Fork 0
feat(e2e): 基于 Docker 的 e2e 测试框架 + 修复 3 个 Linux 数据面 bug #2
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
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4738c98
docs(plan): e2e 测试实施计划 T00-T08
maxyu 7c75099
feat(e2e): T00 增加 MESH_TEST_TLS 开关支持自签证书
maxyu f5bca59
fix(e2e): T00 code review 修复
maxyu 4d25e24
feat(e2e): T01 Docker 镜像与 compose 编排
maxyu c29b9a3
fix(e2e): T01 code review 修复
maxyu 59809d7
feat(e2e): T02 helpers.sh 与 metrics.sh
maxyu dd971df
fix(e2e): T02 rtt_stats 取 avg 而非 min
maxyu 7403980
feat(e2e): T03 netem 预设封装(clean/baseline/wan/bad/satellite)
maxyu 56a0a19
fix(mesh): 修复 Linux TUN 写入 invalid offset 导致数据平面不通
maxyu b241e5c
fix(e2e): entrypoint-client 幂等支持容器重启
maxyu f7af571
feat(e2e): T04 场景 01 连通性与路由
maxyu e4ffc6a
fix(e2e): T04 收尾 fping 兜底 + ignore results 产物
maxyu 5391c19
feat(e2e): T05 场景 02 性能与抖动
maxyu edf8917
docs(bug): B00 记录 Linux TUN IFF_VNET_HDR 导致 TCP checksum 损坏
maxyu 1ef2482
feat(e2e): T06 场景 03 故障/重连/优雅退出
maxyu 9bf5a13
docs(bug): B01 记录 TunnelClient main loop 卡 tun.Read
maxyu fe5993b
feat(e2e): T07 run.sh 一键入口与结果聚合
maxyu cff0ed7
ci(e2e): T08 GitHub Actions e2e workflow
maxyu 4c020d5
docs(e2e): final review 收尾 metrics sed-E + README e2e 说明
maxyu 4b4a943
fix(mesh): B00 自开 TUN 不带 IFF_VNET_HDR 修复 Linux TCP checksum
maxyu a3868b8
fix(mesh): B01 持久 tunReadLoop 解耦 tun.Read,响应 ctx cancel
maxyu 15e6c52
docs(bug): B00/B01 标记已修复 + 实施记录
maxyu 06acfb3
fix(e2e): PR#2 CodeRabbit 反馈修复
maxyu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Docker build context 排除(T01 code review I-3) | ||
| # 两个 Dockerfile 都用 context: ../..(仓库根),这里裁掉无关内容 | ||
| # 必须保留进 context:internal/ cmd/ go.mod go.sum tests/e2e/fixtures/ | ||
| .git/ | ||
| bin/ | ||
| docs/ | ||
| .firecrawl/ | ||
| graphify-out/ | ||
| *.md | ||
| .DS_Store | ||
| .claude/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: e2e | ||
|
|
||
| on: | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| e2e: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Run e2e (quick mode) | ||
| run: bash tests/e2e/run.sh --quick | ||
|
|
||
| - name: Collect report | ||
| if: always() | ||
| run: | | ||
| mkdir -p e2e-report | ||
| cp -r tests/e2e/results ./e2e-report/ 2>/dev/null || true | ||
|
|
||
| - uses: actions/upload-artifact@v4 | ||
| if: always() | ||
| with: | ||
| name: e2e-report | ||
| path: e2e-report/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,4 @@ | ||
| bin/ | ||
|
|
||
| # e2e 测试产物 | ||
| tests/e2e/results/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.