[ 
https://issues.apache.org/jira/browse/KAFKA-18346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

TaiJuWu reopened KAFKA-18346:
-----------------------------

> Fix e2e TestKRaftUpgrade from v3.3.2
> ------------------------------------
>
>                 Key: KAFKA-18346
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18346
>             Project: Kafka
>          Issue Type: Test
>            Reporter: TaiJuWu
>            Assignee: TaiJuWu
>            Priority: Blocker
>             Fix For: 4.0.0
>
>
> Follow e2e fail
> test_id:    
> kafkatest.tests.core.kraft_upgrade_test.TestKRaftUpgrade.test_combined_mode_upgrade_downgrade.from_kafka_version=3.3.2.metadata_quorum=COMBINED_KRAFT
> status:     FAIL
> run time:   5 minutes 17.865 seconds
>     TimeoutError("Kafka server didn't finish startup in 60 seconds")
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python3.7/dist-packages/ducktape/tests/runner_client.py", 
> line 351, in _do_run
>     data = self.run_test()
>   File 
> "/usr/local/lib/python3.7/dist-packages/ducktape/tests/runner_client.py", 
> line 411, in run_test
>     return self.test_context.function(self.test)
>   File "/usr/local/lib/python3.7/dist-packages/ducktape/mark/_mark.py", line 
> 438, in wrapper
>     return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 182, in test_combined_mode_upgrade_downgrade
>     self.run_upgrade_downgrade(from_kafka_version)
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 160, in run_upgrade_downgrade
>     self.run_produce_consume_validate(core_test_action=lambda: 
> self.downgrade_to_version(starting_kafka_version))
>   File "/opt/kafka-dev/tests/kafkatest/tests/produce_consume_validate.py", 
> line 105, in run_produce_consume_validate
>     core_test_action(*args)
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 160, in <lambda>
>     self.run_produce_consume_validate(core_test_action=lambda: 
> self.downgrade_to_version(starting_kafka_version))
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 85, in downgrade_to_version
>     self.kafka.controller_quorum.start_node(node)
>   File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 912, in 
> start_node
>     self.wait_for_start(node, monitor, timeout_sec)
>   File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 917, in 
> wait_for_start
>     err_msg="Kafka server didn't finish startup in %d seconds" % timeout_sec)
>   File 
> "/usr/local/lib/python3.7/dist-packages/ducktape/cluster/remoteaccount.py", 
> line 754, in wait_until
>     allow_fail=True) == 0, **kwargs)
>   File "/usr/local/lib/python3.7/dist-packages/ducktape/utils/util.py", line 
> 58, in wait_until
>     raise TimeoutError(err_msg() if callable(err_msg) else err_msg) from 
> last_exception
> ducktape.errors.TimeoutError: Kafka server didn't finish startup in 60 seconds
> ----------------------------------------------------------------------------------------------------
> test_id:    
> kafkatest.tests.core.kraft_upgrade_test.TestKRaftUpgrade.test_isolated_mode_upgrade_downgrade.from_kafka_version=3.3.2.metadata_quorum=ISOLATED_KRAFT
> status:     FAIL
> run time:   4 minutes 29.349 seconds
>     TimeoutError("Kafka server didn't finish startup in 60 seconds")
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python3.7/dist-packages/ducktape/tests/runner_client.py", 
> line 351, in _do_run
>     data = self.run_test()
>   File 
> "/usr/local/lib/python3.7/dist-packages/ducktape/tests/runner_client.py", 
> line 411, in run_test
>     return self.test_context.function(self.test)
>   File "/usr/local/lib/python3.7/dist-packages/ducktape/mark/_mark.py", line 
> 438, in wrapper
>     return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 188, in test_isolated_mode_upgrade_downgrade
>     self.run_upgrade_downgrade(from_kafka_version)
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 160, in run_upgrade_downgrade
>     self.run_produce_consume_validate(core_test_action=lambda: 
> self.downgrade_to_version(starting_kafka_version))
>   File "/opt/kafka-dev/tests/kafkatest/tests/produce_consume_validate.py", 
> line 105, in run_produce_consume_validate
>     core_test_action(*args)
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 160, in <lambda>
>     self.run_produce_consume_validate(core_test_action=lambda: 
> self.downgrade_to_version(starting_kafka_version))
>   File "/opt/kafka-dev/tests/kafkatest/tests/core/kraft_upgrade_test.py", 
> line 85, in downgrade_to_version
>     self.kafka.controller_quorum.start_node(node)
>   File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 912, in 
> start_node
>     self.wait_for_start(node, monitor, timeout_sec)
>   File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 917, in 
> wait_for_start
>     err_msg="Kafka server didn't finish startup in %d seconds" % timeout_sec)
>   File 
> "/usr/local/lib/python3.7/dist-packages/ducktape/cluster/remoteaccount.py", 
> line 754, in wait_until
>     allow_fail=True) == 0, **kwargs)
>   File "/usr/local/lib/python3.7/dist-packages/ducktape/utils/util.py", line 
> 58, in wait_until
>     raise TimeoutError(err_msg() if callable(err_msg) else err_msg) from 
> last_exception
> ducktape.errors.TimeoutError: Kafka server didn't finish startup in 60 seconds



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to