Skip to content

Feature Request: Add Support for Sharded Test Runs (Shard Count and Shard Index) #48

Description

@roxell

Running large sub-suites like syscalls on a single device can be very time-consuming (e.g., ~60 minutes on hardware X).
I would like kirk to support sharding, meaning:

  • The full test set can be split into multiple shards (e.g., 10 shards).
  • Each boot (device) would be responsible for running one shard.
  • Each boot is given two parameters:
    • shard_count: the total number of shards (e.g., 10)
    • shard_index: which specific shard this boot should run (from 1 to 10)

Behavior Example:

  • Configure shard_count=10.
  • Boot 10 devices, each launched with a unique shard_index (1, 2, ..., 10).
  • Each device runs its assigned subset of tests.

Benefits:

  • Huge reduction in total test time (e.g., from 60 minutes down to ~6 minutes).
  • Better utilization of available hardware.
  • Much faster CI/CD feedback for developers and testers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions