Hi Maros, it is looking better now, but I have some additional comments.

FV5: Yeah maybe just mention all fault-injection operations.

FV6: Thanks for adding the link to this thread, but it seems to be broken.

FV9: The comparison table currently has a row called "Nodes started
per test", which is slightly misleading. Ducktape reuses a pre-started
pool of containers across tests rather than creating new containers
for each test invocation. The trade-off is more efficient resource
utilization when running many tests sequentially or in parallel
(Ducktape), versus better isolation through a fresh cluster for each
test (Testcontainers). I suggest to rewrite that row to: Container
lifecycle | Reuses a pre-started pool of containers across tests for
efficiency | Creates a fresh set of containers for each test
invocation for better isolation.

FV10: It would be good to mention in the motivation section that the
ability to use alternative base images is important for running tests
in environments requiring FIPS-enabled cryptographic providers. Maybe
also the test framework popularity in the comparison table.

FV11: Support for benchmarks and Trogdor workloads could be mentioned
as a possible follow-up KIP if there is sufficient demand. I'm not
convinced that running benchmarks inside containers is particularly
useful unless we can guarantee that the test nodes are running on
separate physical machines, avoiding resource contention that could
distort the results. Also, Ducktape is not limited to Docker
containers running on a single machine. It can run tests against AWS
EC2 instances, Vagrant VMs, and bare-metal clusters. This deployment
flexibility is worth mentioning in the comparison table.

FV12: The statement that "Ducktape stays the system test runner for
release candidates" needs clarification. As soon as we start migrating
tests to the new framework, we will need to run both frameworks to
cover the existing Ducktape tests and the newly migrated JUnit tests.
We should make it clear that both frameworks will be required for
release-candidate testing throughout the migration, until the
migration is complete.

FV13: The comparison under "Debugging" seems incomplete. Kafka's
existing Ducktape documentation also describes how to attach a remote
JVM debugger to processes running inside worker containers, for
example, Kafka broker processes and CLI tools. This capability should
be acknowledged in the comparison, rather than suggesting that
Ducktape only provides log-based debugging.

FV14: Could we provide a configuration option to preserve logs and
test artifacts for successful tests as well? This is particularly
useful when investigating flaky tests, since comparing the logs from
successful and failed executions can help identify subtle differences
in timing or behavior.

Best,
Fede

Reply via email to