FrankYang0529 opened a new pull request, #17798:
URL: https://github.com/apache/kafka/pull/17798
```
>
TC_PATHS="tests/kafkatest/tests/core/compatibility_test_new_broker_test.py"
/bin/bash tests/docker/run_tests.sh
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.12.0
session_id: 2024-11-13--002
run time: 20 minutes 2.593 seconds
tests run: 20
passed: 20
flaky: 0
failed: 0
ignored: 0
================================================================================
> TC_PATHS="tests/kafkatest/tests/core/kraft_upgrade_test.py" /bin/bash
tests/docker/run_tests.sh
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.12.0
session_id: 2024-11-13--003
run time: 48 minutes 41.477 seconds
tests run: 18
passed: 18
flaky: 0
failed: 0
ignored: 0
================================================================================
> TC_PATHS="tests/kafkatest/tests/core/quorum_reconfiguration_test.py"
/bin/bash tests/docker/run_tests.sh
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.12.0
session_id: 2024-11-13--004
run time: 31.308 seconds
tests run: 2
passed: 0
flaky: 0
failed: 2
ignored: 0
================================================================================
test_id:
kafkatest.tests.core.quorum_reconfiguration_test.TestQuorumReconfiguration.test_isolated_mode_reconfig.metadata_quorum=ISOLATED_KRAFT
status: FAIL
run time: 16.724 seconds
RemoteCommandError({'ssh_config': {'host': 'ducker04', 'hostname':
'ducker04', 'user': 'ducker', 'port': 22, 'password': '', 'identityfile':
'/home/ducker/.ssh/id_rsa', 'connecttimeout': None}, 'hostname': 'ducker04',
'ssh_hostname': 'ducker04', 'user': 'ducker', 'externally_routable_ip':
'ducker04', '_logger': <Logger
kafkatest.tests.core.quorum_reconfiguration_test.TestQuorumReconfiguration.test_isolated_mode_reconfig.metadata_quorum=ISOLATED_KRAFT-1
(DEBUG)>, 'os': 'linux', '_ssh_client': <paramiko.client.SSHClient object at
0x7f66afef42e8>, '_sftp_client': <paramiko.sftp_client.SFTPClient object at
0x7f66aeed3be0>, '_custom_ssh_exception_checks': None},
'/opt/kafka-dev/bin/kafka-storage.sh format --ignore-formatted --config
/mnt/kafka/kafka.properties --cluster-id I2eXt9rvSnyhct8BYmW6-w --feature
kraft.version=1', 1, b'Cannot set kraft.version to 1 unless KIP-853
configuration is present. Try removing the --feature flag for kraft.version.\n')
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/quorum_reconfiguration_test.py",
line 156, in test_isolated_mode_reconfig
self.kafka.start(isolated_controllers_to_skip=[inactive_controller])
File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 652,
in start
Service.start(self, **kwargs)
File
"/usr/local/lib/python3.7/dist-packages/ducktape/services/service.py", line
265, in start
self.start_node(node, **kwargs)
File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 892,
in start_node
node.account.ssh(cmd)
File
"/usr/local/lib/python3.7/dist-packages/ducktape/cluster/remoteaccount.py",
line 35, in wrapper
return method(self, *args, **kwargs)
File
"/usr/local/lib/python3.7/dist-packages/ducktape/cluster/remoteaccount.py",
line 310, in ssh
raise RemoteCommandError(self, cmd, exit_status, stderr.read())
ducktape.cluster.remoteaccount.RemoteCommandError: ducker@ducker04: Command
'/opt/kafka-dev/bin/kafka-storage.sh format --ignore-formatted --config
/mnt/kafka/kafka.properties --cluster-id I2eXt9rvSnyhct8BYmW6-w --feature
kraft.version=1' returned non-zero exit status 1. Remote error message:
b'Cannot set kraft.version to 1 unless KIP-853 configuration is present. Try
removing the --feature flag for kraft.version.\n'
--------------------------------------------------------------------------------
test_id:
kafkatest.tests.core.quorum_reconfiguration_test.TestQuorumReconfiguration.test_combined_mode_reconfig.metadata_quorum=COMBINED_KRAFT
status: FAIL
run time: 14.304 seconds
RemoteCommandError({'ssh_config': {'host': 'ducker11', 'hostname':
'ducker11', 'user': 'ducker', 'port': 22, 'password': '', 'identityfile':
'/home/ducker/.ssh/id_rsa', 'connecttimeout': None}, 'hostname': 'ducker11',
'ssh_hostname': 'ducker11', 'user': 'ducker', 'externally_routable_ip':
'ducker11', '_logger': <Logger
kafkatest.tests.core.quorum_reconfiguration_test.TestQuorumReconfiguration.test_combined_mode_reconfig.metadata_quorum=COMBINED_KRAFT-2
(DEBUG)>, 'os': 'linux', '_ssh_client': <paramiko.client.SSHClient object at
0x7f66aec5cb00>, '_sftp_client': <paramiko.sftp_client.SFTPClient object at
0x7f66aec6fa58>, '_custom_ssh_exception_checks': None},
'/opt/kafka-dev/bin/kafka-storage.sh format --ignore-formatted --config
/mnt/kafka/kafka.properties --cluster-id I2eXt9rvSnyhct8BYmW6-w --feature
kraft.version=1', 1, b'Cannot set kraft.version to 1 unless KIP-853
configuration is present. Try removing the --feature flag for kraft.version.\n')
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/quorum_reconfiguration_test.py",
line 115, in test_combined_mode_reconfig
self.kafka.start(nodes_to_skip=[inactive_controller])
File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 652,
in start
Service.start(self, **kwargs)
File
"/usr/local/lib/python3.7/dist-packages/ducktape/services/service.py", line
265, in start
self.start_node(node, **kwargs)
File "/opt/kafka-dev/tests/kafkatest/services/kafka/kafka.py", line 892,
in start_node
node.account.ssh(cmd)
File
"/usr/local/lib/python3.7/dist-packages/ducktape/cluster/remoteaccount.py",
line 35, in wrapper
return method(self, *args, **kwargs)
File
"/usr/local/lib/python3.7/dist-packages/ducktape/cluster/remoteaccount.py",
line 310, in ssh
raise RemoteCommandError(self, cmd, exit_status, stderr.read())
ducktape.cluster.remoteaccount.RemoteCommandError: ducker@ducker11: Command
'/opt/kafka-dev/bin/kafka-storage.sh format --ignore-formatted --config
/mnt/kafka/kafka.properties --cluster-id I2eXt9rvSnyhct8BYmW6-w --feature
kraft.version=1' returned non-zero exit status 1. Remote error message:
b'Cannot set kraft.version to 1 unless KIP-853 configuration is present. Try
removing the --feature flag for kraft.version.\n'
--------------------------------------------------------------------------------
```
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]