Skip to content

KAFKA-19418: Fix for flaky verifiable producer system test (#20001) - #21653

Merged
bbejeck merged 1 commit into
apache:4.0from
bbejeck:Cherry-pick_KAFKA-19418_flaky_verifiable_producer_test_4_0
Mar 6, 2026
Merged

bbejeck merged 1 commit into
apache:4.0from
bbejeck:Cherry-pick_KAFKA-19418_flaky_verifiable_producer_test_4_0

Conversation

@bbejeck

@bbejeck bbejeck commented Mar 5, 2026

Copy link
Copy Markdown
Member

Fix to avoid flakiness in verifiable producer system test. The test lists running processes and greps to find the VerifiableProducer one, but wasn't providing an specific pattern to grep (so flaky if there were more than one process containing the default grep pattern "kafka")

Fix by passing a "proc_grep_string" to filter when looking for the VerifiableProducer process.

All test pass successfully after the change.

Reviewers: PoAn Yang payang@apache.org, Andrew Schofield aschofield@confluent.io

System test run (local)

 RunnerClient: kafkatest.sanity_checks.test_verifiable_producer.TestVerifiableProducer.test_simple_run.producer_version=dev.security_protocol=SSL.metadata_quorum=ISOLATED_KRAFT: Data: None
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.12.0
session_id:       2026-03-05--001
run time:         9 minutes 26.513 seconds
tests run:        21
passed:           21
flaky:            0
failed:           0
ignored:          0
================================================================================

)

Fix to avoid flakiness in verifiable producer system test. The test
lists running processes and greps to find the VerifiableProducer one,
but wasn't providing an specific pattern to grep (so flaky if there were
more than one process containing the default grep pattern "kafka")

Fix by passing a "proc_grep_string"  to filter when looking for the
VerifiableProducer process.

All test pass successfully after the change.

Reviewers: PoAn Yang <payang@apache.org>, Andrew Schofield
<aschofield@confluent.io>
@bbejeck
bbejeck merged commit 79cdcc7 into apache:4.0 Mar 6, 2026
5 checks passed
@bbejeck
bbejeck deleted the Cherry-pick_KAFKA-19418_flaky_verifiable_producer_test_4_0 branch March 6, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants