Repository navigation
ci(inkless:system-tests): run the upstream Kafka system tests in sharded jobs [KC-856] - #914
Draft
giuseppelillo wants to merge 1 commit into
Draft
giuseppelillo wants to merge 1 commit into
giuseppelillo wants to merge 1 commit into
Conversation
…ded jobs [KC-856] Add the Inkless Upstream System Tests workflow. It runs the Apache Kafka ducktape suite under tests/kafkatest/tests/ (everything except inkless/) against the fork. The suite has 1076 tests, which is too large for one job. A shard script splits it into 16 shards of whole test files. Each shard runs as its own job with its own ducker cluster. The workflow runs on Fridays at 22:00 UTC and on dispatch, which takes a ref, a shard list, and a maximum parallelism. Assisted-by: Claude Sonnet 5.5
giuseppelillo
force-pushed
the
glillo/kc-856-release-tests-90b8ca
branch
from
December 3, 2026 13:54
530c8fd to
be4ff3c
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The upstream Apache Kafka system tests don't run in any workflow. The Inkless fork carries far more custom changes than a normal Kafka release branch, so nothing checks that the classic path of the fork still behaves like upstream.
This adds the
Inkless Upstream System Testsworkflow. The suite undertests/kafkatest/tests/(everything exceptinkless/) has 1076 tests, which is too large for one job and the 360-minute runner limit..github/scripts/upstream-system-test-shards.pysplits it into 16 shards of whole test files. Each shard runs as its own job with its own ducker cluster, sized to the shard's largest@cluster(num_nodes=N).ref(a release branch such asinkless-4.1),shards(a comma-separated list), andmax-parallel(set it to1to run shards in series).Prepare shardsjob runs--check, which fails if an upstream test file is in no shard or in two. An upstream sync that adds a test file therefore fails the workflow until someone assigns the file.ducker-ak teststrips the quotes from parametrized targets such asfile.py::Class.test@{...}.Testing
--checkpasses, and--matrixemits 16 entries.ducktape --collect-onlyon each shard's files finds the tests of every shard. The declared node count of every shard matches the collected@clusterrequirement plus the driver.client/compression_test.py,core/get_offset_shell_test.py,core/produce_bench_test.py) are skipped when ducktape collects the whole directory. Collecting by file finds their tests, which is why the shards list files.toolsshard locally with the workflow'sducker-ak testcommand: 11 of 12 tests pass.ReplicaVerificationToolTest.test_replica_lagsfails every time (4 runs, the last onmainat124717430b) withTimed out waiting to reach non-zero number of replica lags. The test file has no Inkless changes. I haven't run it against unmodified upstream, so I don't know yet whether the fork causes it.ReplicationTest.test_replication_with_broker_failure(hard_bounce, KRaft) locally, and it passes.make valereports no alerts.workflow_dispatchrun needs the file on the default branch. The first dispatch after merge shows how long each shard takes and whether the 13-nodecore-scaleshard fits in the runner's memory.🤖 Generated with Claude Code