-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAFKA-17609:[1/4] Changes needed to convert system tests to use KRaft and remove ZK #17275
KAFKA-17609:[1/4] Changes needed to convert system tests to use KRaft and remove ZK #17275
Conversation
tests/kafkatest/tests/streams/streams_application_upgrade_test.py
Outdated
Show resolved
Hide resolved
tests/kafkatest/tests/streams/streams_application_upgrade_test.py
Outdated
Show resolved
Hide resolved
Thanks Bill. Made a pass. Can you also trigger a system test run and share the link? |
b5df169
to
ec294cf
Compare
Passing system tests for ApplicationUpgradeTest Also in the PR description |
@mjsax all comments addressed |
I kicked off a new branch builder for |
System test results 29 passed, 3 failed - I'll look into the failures. |
c7c36fb
to
38d44da
Compare
@@ -265,8 +253,8 @@ def test_broker_type_bounce_at_start(self, failure_mode, broker_type, sleep_time | |||
@cluster(num_nodes=7) | |||
@matrix(failure_mode=["clean_shutdown", "hard_shutdown", "clean_bounce", "hard_bounce"], | |||
num_failures=[2], | |||
metadata_quorum=quorum.all_non_upgrade) | |||
def test_many_brokers_bounce(self, failure_mode, num_failures, metadata_quorum=quorum.zk): | |||
metadata_quorum=[quorum.isolated_kraft]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required to indicate to use KRaft for metadata quorum. Failing to do so without a @matrix
annotation results in this error as the test will default to ZK without it.
zk_sasl=self.zk.zk_sasl if self.quorum_info.using_zk else False, zk_tls=self.zk_client_secure,
AttributeError: 'NoneType' object has no attribute 'zk_sasl'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update: some of these tests were failing as previously configured so I needed to update to isolated_kraft
and increase the number of nodes.
@@ -284,8 +272,8 @@ def test_many_brokers_bounce(self, failure_mode, num_failures, metadata_quorum=q | |||
@cluster(num_nodes=7) | |||
@matrix(failure_mode=["clean_bounce", "hard_bounce"], | |||
num_failures=[3], | |||
metadata_quorum=quorum.all_non_upgrade) | |||
def test_all_brokers_bounce(self, failure_mode, num_failures, metadata_quorum=quorum.zk): | |||
metadata_quorum=[quorum.isolated_kraft]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required to indicate to use KRaft for metadata quorum. Failing to do so without a @matrix
annotation results in this error as the test will default to ZK without it.
zk_sasl=self.zk.zk_sasl if self.quorum_info.using_zk else False, zk_tls=self.zk_client_secure,
AttributeError: 'NoneType' object has no attribute 'zk_sasl'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update: some of these tests were failing as previously configured so I needed to update to isolated_kraft
and increase the number of nodes.
38d44da
to
3351d6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
3351d6b
to
6d489f5
Compare
07058ea
to
8f8a159
Compare
8f8a159
to
d81fcfc
Compare
Merged #17275 into trunk |
This is part one of a multi-pr effort to convert Kafka Streams system tests to KRaft. I decided to break down the changes into multiple PRs to reduce the review load
Committer Checklist (excluded from commit message)