Skip to content

Comments

KAFKA-20153: Upgrade ducktape from 0.12 to 0.13#21517

Open
Rancho-7 wants to merge 3 commits intoapache:trunkfrom
Rancho-7:KAFKA-20153
Open

KAFKA-20153: Upgrade ducktape from 0.12 to 0.13#21517
Rancho-7 wants to merge 3 commits intoapache:trunkfrom
Rancho-7:KAFKA-20153

Conversation

@Rancho-7
Copy link
Collaborator

@Rancho-7 Rancho-7 commented Feb 19, 2026

@github-actions github-actions bot added triage PRs from the community tests Test fixes (including flaky tests) small Small PRs labels Feb 19, 2026
@Rancho-7
Copy link
Collaborator Author

these two tests failed on my local:

test_id:    kafkatest.tests.tools.replica_verification_test.ReplicaVerificationToolTest.test_replica_lags.metadata_quorum=ISOLATED_KRAFT
status:     FAIL
run time:   56.214 seconds


    TimeoutError('Timed out waiting to reach non-zero number of replica lags.')
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 351, in _do_run
    data = self.run_test()
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 411, in run_test
    return self.test_context.function(self.test)
  File "/usr/local/lib/python3.10/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/tools/replica_verification_test.py", line 93, in test_replica_lags
    wait_until(lambda: self.replica_verifier.get_lag_for_partition(TOPIC, 0) > 0, timeout_sec=10,
  File "/usr/local/lib/python3.10/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: Timed out waiting to reach non-zero number of replica lags.
----------------------------------------------------------------------------------------------------
test_id:    kafkatest.tests.core.network_degrade_test.NetworkDegradeTest.test_rate.task_name=rate-1000-latency-50.device_name=eth0.latency_ms=50.rate_limit_kbit=1000000.metadata_quorum=COMBINED_KRAFT
status:     FAIL
run time:   1 minute 0.897 seconds


    AssertionError('Expected most of the measured rates to be within an order of magnitude of target 1000000. This means `tc` did not limit the bandwidth as expected.')
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 351, in _do_run
    data = self.run_test()
  File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 411, in run_test
    return self.test_context.function(self.test)
  File "/usr/local/lib/python3.10/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/network_degrade_test.py", line 146, in test_rate
    assert len(acceptable_rates) > 5, msg
AssertionError: Expected most of the measured rates to be within an order of magnitude of target 1000000. This means `tc` did not limit the bandwidth as expected.

tests/setup.py Outdated
packages=find_packages(),
include_package_data=True,
install_requires=["ducktape==0.12.0", "requests>=2.31.0", "psutil==5.7.2", "pytest==8.3.3", "mock==5.1.0"],
install_requires=["ducktape==0.13.0", "requests>=2.31.0", "psutil==5.7.2", "pytest==8.3.3", "mock==5.1.0"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you update the requests' lower bound from 2.31.0 to 2.32.2?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Updated.

@github-actions github-actions bot removed the triage PRs from the community label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small Small PRs tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants