KAFKA-14279; Add 3.3.x streams system tests#13077
Conversation
|
@cadonna can you review this PR? Running system tests on this branch. |
|
Here are the system test results: http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/system-test-kafka-branch-builder--1672893494--jsancio--kafka-14545-stream-3-3-test--a595bcfb9c/2023-01-04--001./2023-01-04--001./report.html Looks like this test failed: I am going to rerun just this test. |
|
|
||
| final Properties streamsProperties = Utils.loadProps(propFileName); | ||
|
|
||
| System.out.println("StreamsTest instance started (StreamsUpgradeTest v3.2)"); |
There was a problem hiding this comment.
| System.out.println("StreamsTest instance started (StreamsUpgradeTest v3.2)"); | |
| System.out.println("StreamsTest instance started (StreamsUpgradeTest v3.3)"); |
|
|
||
| @Override | ||
| public void init(final ProcessorContext<KOut, VOut> context) { | ||
| System.out.println("[3.2] initializing processor: topic=" + topic + "taskId=" + context.taskId()); |
There was a problem hiding this comment.
| System.out.println("[3.2] initializing processor: topic=" + topic + "taskId=" + context.taskId()); | |
| System.out.println("[3.3] initializing processor: topic=" + topic + "taskId=" + context.taskId()); |
| @Override | ||
| public void init(final ProcessorContext<Void, Void> context) { | ||
| super.init(context); | ||
| System.out.println("[3.2] initializing processor: topic=" + topic + " taskId=" + context.taskId()); |
There was a problem hiding this comment.
| System.out.println("[3.2] initializing processor: topic=" + topic + " taskId=" + context.taskId()); | |
| System.out.println("[3.3] initializing processor: topic=" + topic + " taskId=" + context.taskId()); |
|
|
|
@jsancio -- any update? |
|
@mjsax I got a chance to work on this today. I updated the PR. Here is the result from running the test locally: TC_PATHS="tests/kafkatest/tests/streams/streams_upgrade_test.py::StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces" _DUCKTAPE_OPTIONS='--parameters '\''{"from_version":"3.3.1","to_version":"3.5.0-SNAPSHOT"}'\' tests/docker/run_tests.sh
> Configure project :
Starting build with version 3.5.0-SNAPSHOT (commit id a0090d24) using Gradle 7.6, Java 1.8 and Scala 2.13.10
Build properties: maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0
BUILD SUCCESSFUL in 1s
168 actionable tasks: 168 up-to-date
docker exec ducker01 bash -c "cd /opt/kafka-dev && ducktape --cluster-file /opt/kafka-dev/tests/docker/build/cluster.json ./tests/kafkatest/tests/streams/streams_upgrade_test.py::StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces --parameters '{"from_version":"3.3.1","to_version":"3.5.0-SNAPSHOT"}'"
/usr/local/lib/python3.9/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
[INFO:2023-01-09 16:14:29,112]: starting test run with session id 2023-01-09--003...
[INFO:2023-01-09 16:14:29,112]: running 1 tests...
[INFO:2023-01-09 16:14:29,112]: Triggering test 1 of 1...
[INFO:2023-01-09 16:14:29,117]: RunnerClient: Loading test {'directory': '/opt/kafka-dev/tests/kafkatest/tests/streams', 'file_name': 'streams_upgrade_test.py', 'cls_name': 'StreamsUpgradeTest', 'method_name': 'test_rolling_upgrade_with_2_bounces', 'injected_args': {'from_version': '3.3.1', 'to_version': '3.5.0-SNAPSHOT'}}
[INFO:2023-01-09 16:14:29,118]: RunnerClient: kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.5.0-SNAPSHOT: on run 1/1
[INFO:2023-01-09 16:14:29,119]: RunnerClient: kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.5.0-SNAPSHOT: Setting up...
[INFO:2023-01-09 16:14:29,119]: RunnerClient: kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.5.0-SNAPSHOT: Running...
[INFO:2023-01-09 16:18:09,123]: RunnerClient: kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.5.0-SNAPSHOT: Tearing down...
[INFO:2023-01-09 16:18:28,193]: RunnerClient: kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.5.0-SNAPSHOT: PASS
[INFO:2023-01-09 16:18:28,193]: RunnerClient: kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.5.0-SNAPSHOT: Data: None
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.11.1
session_id: 2023-01-09--003
run time: 3 minutes 59.087 seconds
tests run: 1
passed: 1
flaky: 0
failed: 0
ignored: 0
================================================================================
test_id: kafkatest.tests.streams.streams_upgrade_test.StreamsUpgradeTest.test_rolling_upgrade_with_2_bounces.from_version=3.3.1.to_version=3.5.0-SNAPSHOT
status: PASS
run time: 3 minutes 59.075 seconds
--------------------------------------------------------------------------------
|
|
Thanks for the PR. Merged to |
Reviewers: Matthias J. Sax <matthias@confluent.io>
* apache-github/trunk: KAFKA-14601: Improve exception handling in KafkaEventQueue apache#13089 KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface (apache#12886) KAFKA-14530: Check state updater more often (apache#13017) KAFKA-14304 Use boolean for ZK migrating brokers in RPC/record (apache#13103) KAFKA-14003 Kafka Streams JUnit4 to JUnit5 migration part 2 (apache#12301) KAFKA-14607: Move Scheduler/KafkaScheduler to server-common (apache#13092) KAFKA-14367; Add `OffsetFetch` to the new `GroupCoordinator` interface (apache#12870) KAFKA-14557; Lock metadata log dir (apache#13058) MINOR: Implement toString method for TopicAssignment and PartitionAssignment (apache#13101) KAFKA-12558: Do not prematurely mutate internal partition state in Mirror Maker 2 (apache#11818) KAFKA-14540: Fix DataOutputStreamWritable#writeByteBuffer (apache#13032) KAFKA-14600: Reduce flakiness in ProducerIdExpirationTest (apache#13087) KAFKA-14279: Add 3.3.x streams system tests (apache#13077) MINOR: bump streams quickstart pom versions and add to list in gradle.properties (apache#13064) MINOR: Update KRaft cluster upgrade documentation for 3.4 (apache#13063) KAFKA-14493: Introduce Zk to KRaft migration state machine STUBs in KRaft controller. (apache#12998) KAFKA-14570: Fix parenthesis in verifyFullFetchResponsePartitions output (apache#13072) MINOR: Remove public mutable fields from ProducerAppendInfo (apache#13091)
Reviewers: Matthias J. Sax <matthias@confluent.io>
Add 3.3.x stream upgrade tests. The streams/upgrade-system-tests-33 directory was created by coping streams/upgrade-system-tests-32 without changes.
Committer Checklist (excluded from commit message)