Skip to content

Conversation

@YiqinZhang
Copy link
Contributor

Introduces a new orchestrator implementation for krkn AI chaos testing that follows the same lifecycle pattern as the existing E2E orchestrator.

Changes

New Files

  • pkg/krknai/krknai.go: Implements KrknAIOrchestrator that satisfies the orchestrator.Orchestrator interface
  • cmd/osde2e/krknai/cmd.go: Adds new CLI command osde2e krknai with similar flags to the test command

Modified Files

  • cmd/osde2e/main.go: Registers the new krknai command in the CLI

Implementation Details

The KrknAIOrchestrator implements all required orchestrator methods:

  • Provision(): Identical to E2E - loads cluster context, provisions/reuses cluster, installs addons
  • Execute(): Simplified placeholder that returns success without running tests
  • AnalyzeLogs(): Identical to E2E - performs AI-powered log analysis on failures
  • Report(): Identical to E2E - collects and writes cluster logs
  • PostProcessCluster(): Identical to E2E - runs must-gather, updates cluster properties, extends expiration
  • Cleanup(): Identical to E2E - deletes cluster if configured
  • Result(): Returns the orchestrator result with exit code and status

CLI Usage

The new command can be invoked as:

osde2e krknai [flags]

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 13, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: YiqinZhang

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

The pull request process is described here

Details 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 13, 2026

@YiqinZhang: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/hypershift-pr-check 53f6bbf link true /test hypershift-pr-check

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

@ritmun
Copy link
Contributor

ritmun commented Jan 14, 2026

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants