Commit Graph

910 Commits

Author SHA1 Message Date
Bill Bejeck adb0332114
MINOR: Ignore streams eos test until we have an agreed upon fix. (#18664)
Ignore the streams_eos_test.py until we come up with a fix for creating local standby tasks on startup.
Reviewers: Matthias Sax<mjsax@apache.org>
2025-01-21 18:28:52 -05:00
TengYao Chi 78e35457ee
KAFKA-18480 Fix fail e2e `test_offset_truncate` (#18492)
Reviewers: TaiJuWu <tjwu1217@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2025-01-18 10:54:14 +08:00
Chirag Wadhwa 8cc560e954
Infrastructure for system tests for the new share consumer client (#18209)
Reviewers: Apoorv Mittal <apoorvmittal10@gmail.com>, Andrew Schofield <aschofield@confluent.io>
2025-01-17 12:03:32 +00:00
Bill Bejeck f4fca746cc
use version.py get_version to get version (#18563)
A prior commit introduced checking for the version of a node related to move to log4j2 but it was causing an error
AttributeError("'ClusterNode' object has no attribute 'version'") This PR uses the get_version method from version.py which checks if the Node has a version attribute preventing an error.

Reviewers: Matthias Sax <mjsax@apache.org>
2025-01-15 15:14:24 -05:00
TaiJuWu ceee1a732e
KAFKA-18346 Fix e2e TestKRaftUpgrade for v3.3.2 (#18386)
Due to an issue with handling folders in Kafka version 3.3.2 (see https://github.com/apache/kafka/pull/13130), this end-to-end test requires using a single folder for upgrade/downgrade scenarios involving 3.3.2.

Reviewers: Ismael Juma <ismael@juma.me.uk>, Chia-Ping Tsai <chia7712@gmail.com>
2025-01-15 20:37:55 +08:00
Kirk True 45e3c21e9a
KAFKA-17915: Convert Kafka Client system tests to use KRaft (#17669)
Reviewers: Lianet Magrans <lmagrans@confluent.io>, Chia-Ping Tsai <chia7712@gmail.com>
2025-01-14 14:47:15 +01:00
kevin-wu24 25fdcd05fc
KAFKA-17915: Convert remaining Kafka Client system tests to use KRaft (#18367)
Reviewers: Lianet Magrans <lmagrans@confluent.io>
2025-01-09 19:20:34 +01:00
TaiJuWu 5acbd42dd7
KAFKA-18277 Convert network_degrade_test to Kraft mode (#18247)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2025-01-10 01:49:13 +08:00
Jhen-Yung Hsu f95726a211
KAFKA-18417 Remove controlled.shutdown.max.retries and controlled.shutdown.retry.backoff.ms (#18431)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2025-01-08 17:13:42 +08:00
TaiJuWu 6737178c12
KAFKA-18280 fix e2e TestSecurityRollingUpgrade.test_rolling_upgrade_sasl_mechanism_phase_one (#18308)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-30 22:36:47 +08:00
TengYao Chi 96527be90d
KAFKA-18243 Fix compatibility of Loggers class between log4j and log4j2 (#18185)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-30 01:50:52 +08:00
Kuan-Po Tseng 4567f39825
KAFKA-18343: Use java_pids to implement pids (#18312)
Related to KAFKA-18343,

Currently, there is an issue that the ps ax output is truncated, which causes the Kafka process ID to be unavailable. This issue can be mitigated by replacing ps ax with jcmd (i.e. using java_pids in ducktape), as it does not suffer from the truncation problem.

Reviewers: Justine Olshan <jolshan@confluent.io>
2024-12-24 14:52:26 -08:00
Justine Olshan 8bd3746e0c
KAFKA-17705: Add Transactions V2 system tests and mark as production ready (#18132)
Added transaction version 2 to some of the system tests. Also marking TV2 as production ready.

Also fixes the defaultVersion test. 

Reviewers: Jun Rao <jun@confluent.io>
2024-12-21 14:01:54 -08:00
TengYao Chi 8c55dcc979
KAFKA-18237: Upgrade system tests from using 3.7.1 to 3.7.2 (#18180)
Reviewers: Matthias J. Sax <matthias@confluent.io>
2024-12-16 09:49:03 -08:00
David Jacot 84049369c1
MINOR: Bump trunk to 4.1.0-SNAPSHOT (#18213)
Reviewers: Mickael Maison <mickael.maison@gmail.com>
2024-12-16 16:47:13 +01:00
Jhen-Yung Hsu 9cc1547672
KAFKA-18247 Use log4j2 yaml to rewrite the fix of KAFKA-18145 (#18192)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-16 20:53:12 +08:00
TengYao Chi ca7b1dcb00
MINOR: Add an example of how to run multiple test file to tests/README (#18181)
Reviewers: TaiJuWu <tjwu1217@gmail.com>, Yung <yungyung7654321@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2024-12-16 13:52:14 +08:00
ClarkChen a2a098de6a
KAFKA-18246 Fix ConnectRestApiTest.test_rest_api by adding multiversioning configs (#18191)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-15 15:39:43 +08:00
Nick Guo 2966856049
KAFKA-18240 Remove nonexistent `LOG4J_CONFIG` from transactional_message_copier.py (#18184)
Reviewers: Ken Huang <s7133700@gmail.com>, TengYao Chi <kitingiao@gmail.com>, TaiJuWu <tjwu1217@gmail.com>, Yung <yungyung7654321@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2024-12-15 05:54:14 +08:00
TaiJuWu 161d1cdf85
KAFKA-18218 fix Trogdor system test (#18156)
Reviewers: Ken Huang <s7133700@gmail.com>, TengYao Chi <kitingiao@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2024-12-14 01:23:58 +08:00
TengYao Chi b37b89c668
KAFKA-9366 Upgrade log4j to log4j2 (#17373)
This pull request replaces Log4j with Log4j2 across the entire project, including dependencies, configurations, and code. The notable changes are listed below:

1. Introduce Log4j2 Instead of Log4j
2. Change Configuration File Format from Properties to YAML
3. Adds warnings to notify users if they are still using Log4j properties, encouraging them to transition to Log4j2 configurations

Co-authored-by: Lee Dongjin <dongjin@apache.org>

Reviewers: Luke Chen <showuon@gmail.com>, Mickael Maison <mickael.maison@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2024-12-14 01:14:31 +08:00
Ken Huang ce77a7413e
KAFKA-18194 Flaky test_broker_rolling_bounce due to metadata update (#18153)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-13 07:33:03 +08:00
Kuan-Po Tseng d2ad418cfd
KAFKA-18156 VerifiableConsumer should ignore "--session-timeout" when using CONSUMER protocol (#18036)
Reviewers: TaiJuWu <tjwu1217@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2024-12-11 21:12:46 +08:00
Yung 104fa57933
KAFKA-18118 Fix the incorrect soft link of results/latest (#17992)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-08 08:14:53 +08:00
ShivsundarR 50b6953661
KAFKA-18122 : Added support for ShareConsumeBenchWorker (#17984)
Added ShareConsumeBenchSpec and ShareConsumeBenchWorker similar to ConsumeBenchSpec/ConsumeBenchWorker. This will help us run trogdor workloads for share consumers as well.
Added a sample json workload running 5 share consumers.

Reviewers: Andrew Schofield <aschofield@confluent.io>, Manikumar Reddy <manikumar.reddy@gmail.com>
2024-12-05 18:46:32 +05:30
Ken Huang 6ef8b1c4c0
KAFKA-18132 Remove "session.timeout.ms" from connect-distributed.properties to fix connect e2e (#18005)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-05 10:28:03 +08:00
mingdaoy 0322764ab2
KAFKA-17460 Remove downgrade_test.py (#18038)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-05 07:07:01 +08:00
Ken Huang 2ee7e4d22c
KAFKA-18152 add 0.11, 1.0, 1.1, and 2.0 streams dependencies to dockerfile (#18025)
Reviewers: Justine Olshan <jolshan@confluent.io>, Chia-Ping Tsai <chia7712@gmail.com>
2024-12-04 19:24:12 +08:00
Peter Lee b295318796
KAFKA-18145 Fix failed e2e ConnectDistributedTest.test_dynamic_logging (#18023)
The org.reflections is removed, so the initial logger of worker is only "root". However, the e2e needs a non-root logger to verify dynamic logger

We can add a logger to connect_log4j.properties to fix this e2e. For example:

log4j.logger.org.apache.kafka.clients.consumer.ConsumerConfig=ERROR
this can make admin/logger return two logger - org.apache.kafka.clients.consumer.ConsumerConfig and root

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-12-04 19:22:45 +08:00
PoAn Yang 1f3f03579c
KAFKA-17979 Change [pytest] to [tool:pytest] in setup.cfg file (#17740)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-29 02:26:58 +08:00
PoAn Yang d1952e8542
KAFKA-18045 Add 0.11, 1.0, 1.1, and 2.0 back to streams_upgrade_test.py (#17876)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-25 21:34:36 +08:00
kevin-wu24 38aca3a045
KAFKA-17917: Convert Kafka core system tests to use KRaft (#17847)
- Remove some unused Zookeeper code

- Migrate group mode transactions, security rolling upgrade, and throttling tests to using KRaft

- Add KRaft downgrade tests to kraft_upgrade_test.py

Reviewers: Colin P. McCabe <cmccabe@apache.org>
2024-11-21 13:40:49 -08:00
Ken Huang fde6ae1500
KAFKA-18029 remove the `kraft.version=1` from kafka.py (#17838)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-18 00:48:19 +08:00
Ken Huang d8bfbb7d1a
KAFKA-17791: Dockerfile should use requirements.txt for dependencies (#17542)
Reviewers: Mickael Maison <mickael.maison@gmail.com>
2024-11-15 17:52:59 +01:00
TengYao Chi 84fe66827d
KAFKA-18006: Add 3.9.0 to end-to-end test (streams) (#17800)
This commit adds AK 3.9 to the system tests on trunk.
Follow-up of #17797

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, Bruno Cadonna <cadonna@apache.org>
2024-11-15 14:58:24 +01:00
PoAn Yang ed9cb08dfe
KAFKA-17977 Remove new_consumer from E2E (#17798)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-15 16:26:26 +08:00
TengYao Chi e9cd9c9811
KAFKA-18006 Add 3.9.0 to end-to-end test (core, client) (#17797)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-15 00:24:24 +08:00
Ken Huang 6147a311bf
KAFKA-17888 Upgrade ZooKeeper version from 3.4.9 to 3.5.7 to avoid ZOOKEEPER-3779, which can't run under JDK 11. (#17625)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-14 19:20:51 +08:00
PoAn Yang 1c3ee7fe60
KAFKA-18004 Use version 3.8 to run the ZooKeeper service for end-to-end tests (#17790)
We plan to remove all ZooKeeper-related code in version 4.0. However, some old brokers in the end-to-end tests still require ZooKeeper service, so we need to run the ZooKeeper service using the 3.x release instead of the dev branch.

Since version 3.9 is not available in the https://s3-us-west-2.amazonaws.com/kafka-packages repo, we can use version 3.8 for now.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-13 20:34:53 +08:00
PoAn Yang 440e0b8801
KAFKA-17923 Remove old kafka version from e2e (#17673)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-11-11 06:22:06 +08:00
ShivsundarR 0181073d49
KAFKA-17933: Added round trip trogdor workload for share consumer. (#17692)
Added ShareRoundTripWorker.java similar to RoundTripWorker.java. This will start a producer and a share consumer on a single node. The share consumer reads back the messages produced by the producer.

Reviewers: Andrew Schofield <aschofield@confluent.io>, Manikumar Reddy <manikumar.reddy@gmail.com>
2024-11-07 16:21:14 +05:30
kevin-wu24 5ec9dffa81
KAFKA-17916: removing ZK from connect ducktape tests (#17689)
Migrates existing connect tests that were using Zookeeper to use KRaft
instead, and cleans up some dead ZK code. For broker compatibility tests,
tests for versions 2.1-2.3 still need to use ZK.

Reviewers: Colin P. McCabe <cmccabe@apache.org>
2024-11-05 14:33:17 -08:00
Bill Bejeck 36c131ef4a
KAFKA-17609:[1/4] Changes needed to convert system tests to use KRaft and remove ZK (#17275)
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

Reviewers: Matthias Sax <mjsax@apache.org>
2024-11-05 11:23:33 -05:00
kevin-wu24 c5a31cd6fb
KAFKA-17625: Removing explicit ZK test parameterizations (#17638)
This PR removes ZK test parameterizations from ducktape by:

- Removing zk from quorum.all_non_upgrade
- Removing quorum.zk from @matrix and @parametrize annotations
- Changing usages of quorum.all to quorum.all_kraft
- Deleting message_format_change_test.py

The default metadata_quorum value still needs to be changed to KRaft rather than ZK, but this will be done in a follow-up PR.

Reviewers: Kirk True <kirk@kirktrue.pro>, Colin P. McCabe <cmccabe@apache.org>
2024-11-04 09:38:04 -08:00
Bill Bejeck 29881782c8
KAFKA-17609 Migrate broker compatibility test from ZK to KRaft (#17603)
Reviewers: Matthias J. Sax <matthias@confluent.io>, Chia-Ping Tsai <chia7712@gmail.com>
2024-10-31 04:51:06 +08:00
Josep Prat 5859df9ee0
MINOR: Add Kafka 3.8.1 to system tests (#17629)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-10-31 01:00:37 +08:00
Bill Bejeck 58dd76817e
KAFKA-17609:[2/4]Convert system tests to kraft part 2 (#17321)
* Part 2 of 4 converting system tests to use KRaft

Reviewers: Matthias Sax <mjsax@apache.org>
2024-10-30 12:31:47 -04:00
Bill Bejeck 358d8775fb
KAFKA-17609:[3/4]Convert system tests to kraft part 3 (#17327)
Part 3 of 4 converting streams system tests to KRaft

Reviewers: Matthias Sax <mjsax@apache.org>
2024-10-30 12:20:58 -04:00
Bill Bejeck 3d2edf8de0
KAFKA-17609:[4/4]Convert system tests to kraft part 4 (#17328)
Part 4 of 4 converting streams system tests to KRaft

Reviewers: Matthias Sax <mjsax@apache.org>
2024-10-30 12:07:16 -04:00
Mahsa Seifikar bed70d4d2e
MINOR: Correct error message in reassign_partitions_test.py (#17632)
Reviewers: Justine Olshan <jolshan@confluent.io>
2024-10-30 08:20:46 -07:00