Skip to content
New issue

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

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

Already on GitHub? # to your account

为 Kuscia 增加集成测试:复杂任务场景 #82

Open
Candicepan opened this issue Aug 22, 2023 · 1 comment
Open

为 Kuscia 增加集成测试:复杂任务场景 #82

Candicepan opened this issue Aug 22, 2023 · 1 comment
Labels
intermediate SecretFlow Open Source Contribution Plan OSCP SecretFlow Open Source Contribution Plan

Comments

@Candicepan
Copy link

Candicepan commented Aug 22, 2023

此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 4 任务 ISSUE,欢迎社区开发者参与共建~

This ISSUE is one of the tasks of the SecretFlow Open Source Contribution Plan (referred to as SF OSCP) Phase 4. Welcome to join us in building it together!

任务介绍

  • 任务名称:为 Kuscia 增加集成测试:复杂任务场景
  • 技术方向:Kuscia/集成测试
  • 任务难度:进阶🌟🌟
  • 任务期望完成时间:4周
  • 任务 Reviewer:@YanZhuangz

详细要求

为了确保 Kuscia 的健壮性,我们需要尽可能集成测试各种复杂情况下的 Kuscia Job 都能表现出正确的行为。下面是已经想到的场景,你也可以增加更多的场景。

  • 功能性:
    • 对于新创建的节点,KusciaJob 应该能够正确的和其进行交互并完成任务。
    • 删除并重新创建某个节点的 DomainRoute,KusciaJob应该能够正确的和其进行交互并完成任务。
    • 对于导致单方失败的 KusciaJob,应该正确的进入到 Failed 状态,并释放其持有的资源。导致单方失败的 KusciaJob 可以通过类似删除某方的数据文件等形式构造。
    • 增加覆盖 e2e 的场景,包含 Kuscia 支持的运行时 (RunK)。
    • 你可以添加你想到的其它场景。
    • 将该测试集集成到 Kuscia 集成测试脚本逻辑 。
  • 正确性:基于最新的镜像,参考 Makefile 运行集成测试的所有测试集,无失败用例。
  • 代码规范:https://github.com/uber-go/guide/blob/master/style.md
  • 提交说明:
    • 关联该 ISSUE 并先准备详细的设计方案文档,请在 ISSUE 下评论提交方案,经过我们确认后进行开发。
    • 功能开发完成后,关联该 ISSUE 并提交代码至 https://github.com/secretflow/kuscia

能力要求

  • 对 Kuscia 有一定的了解
  • 对 Kuscia Job 流程有一定了解
  • 对 Shell 脚本有一定了解
  • 对 Kubernetes 有一定了解
  • 熟悉 Kuscia 的集成部署,了解 Kuscia 的运行时

操作说明

@Candicepan Candicepan converted this from a draft issue Aug 22, 2023
@Candicepan Candicepan added OSCP SecretFlow Open Source Contribution Plan intermediate SecretFlow Open Source Contribution Plan labels Aug 22, 2023
AgravicCastle pushed a commit to AgravicCastle/kuscia that referenced this issue Sep 19, 2023
@github-actions
Copy link

Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.

@Candicepan Candicepan changed the title [加码任务]为 Kuscia 增加集成测试:复杂任务场景 为 Kuscia 增加集成测试:复杂任务场景 Nov 3, 2023
@Candicepan Candicepan moved this to Needs Triage in OSCP Phase 3 Nov 3, 2023
@Candicepan Candicepan removed this from OSCP Phase 2 Nov 3, 2023
@Candicepan Candicepan removed this from OSCP Phase 3 Mar 8, 2024
@Candicepan Candicepan added this to OSCP Mar 8, 2024
@Candicepan Candicepan moved this to Needs Triage in OSCP Mar 8, 2024
@Candicepan Candicepan removed this from OSCP Feb 28, 2025
@Candicepan Candicepan moved this to Needs Triage in OSCP Phase4 Season of Dev Feb 28, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
intermediate SecretFlow Open Source Contribution Plan OSCP SecretFlow Open Source Contribution Plan
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant