You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/08/04 04:30:51 UTC

[GitHub] [kafka] vvcephei commented on pull request #10602: KAFKA-12724: Add 2.8.0 to system tests and streams upgrade tests.

vvcephei commented on pull request #10602:
URL: https://github.com/apache/kafka/pull/10602#issuecomment-892354208


   Ok, I figured it out. The problem was that this change was adding the new version(s) to the _metadata_ upgrade test, but there isn't a metadata upgrade between 2.x and 3.0. Since we're down to the wire now, I just went ahead and pushed a fix to this branch.
   
   It passes for me locally now:
   ```
   [john@arcturus kafka]$ TC_PATHS="tests/kafkatest/tests/streams/streams_application_upgrade_test.py::StreamsUpgradeTest.test_app_upgrade" _DUCKTAPE_OPTIONS='--parameters '\''{"from_version":"2.8.0","to_version":"3.1.0-SNAPSHOT","bounce_type":"full"}'\' bash tests/docker/run_tests.sh
   
   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_application_upgrade_test.py::StreamsUpgradeTest.test_app_upgrade --parameters '{"from_version":"2.8.0","to_version":"3.1.0-SNAPSHOT","bounce_type":"full"}'"
   [INFO:2021-08-03 21:27:59,868]: starting test run with session id 2021-08-03--012...
   [INFO:2021-08-03 21:27:59,868]: running 1 tests...
   [INFO:2021-08-03 21:27:59,869]: Triggering test 1 of 1...
   [INFO:2021-08-03 21:27:59,878]: RunnerClient: Loading test {'directory': '/opt/kafka-dev/tests/kafkatest/tests/streams', 'file_name': 'streams_application_upgrade_test.py', 'cls_name': 'StreamsUpgradeTest', 'method_name': 'test_app_upgrade', 'injected_args': {'from_version': '2.8.0', 'to_version': '3.1.0-SNAPSHOT', 'bounce_type': 'full'}}
   [INFO:2021-08-03 21:27:59,883]: RunnerClient: kafkatest.tests.streams.streams_application_upgrade_test.StreamsUpgradeTest.test_app_upgrade.from_version=2.8.0.to_version=3.1.0-SNAPSHOT.bounce_type=full: Setting up...
   [INFO:2021-08-03 21:27:59,884]: RunnerClient: kafkatest.tests.streams.streams_application_upgrade_test.StreamsUpgradeTest.test_app_upgrade.from_version=2.8.0.to_version=3.1.0-SNAPSHOT.bounce_type=full: Running...
   [INFO:2021-08-03 21:29:44,814]: RunnerClient: kafkatest.tests.streams.streams_application_upgrade_test.StreamsUpgradeTest.test_app_upgrade.from_version=2.8.0.to_version=3.1.0-SNAPSHOT.bounce_type=full: PASS
   [INFO:2021-08-03 21:29:44,816]: RunnerClient: kafkatest.tests.streams.streams_application_upgrade_test.StreamsUpgradeTest.test_app_upgrade.from_version=2.8.0.to_version=3.1.0-SNAPSHOT.bounce_type=full: Tearing down...
   [INFO:2021-08-03 21:30:03,898]: RunnerClient: kafkatest.tests.streams.streams_application_upgrade_test.StreamsUpgradeTest.test_app_upgrade.from_version=2.8.0.to_version=3.1.0-SNAPSHOT.bounce_type=full: Summary: 
   [INFO:2021-08-03 21:30:03,899]: RunnerClient: kafkatest.tests.streams.streams_application_upgrade_test.StreamsUpgradeTest.test_app_upgrade.from_version=2.8.0.to_version=3.1.0-SNAPSHOT.bounce_type=full: Data: None
   ================================================================================
   SESSION REPORT (ALL TESTS)
   ducktape version: 0.8.1
   session_id:       2021-08-03--012
   run time:         2 minutes 4.072 seconds
   tests run:        1
   passed:           1
   failed:           0
   ignored:          0
   ================================================================================
   test_id:    kafkatest.tests.streams.streams_application_upgrade_test.StreamsUpgradeTest.test_app_upgrade.from_version=2.8.0.to_version=3.1.0-SNAPSHOT.bounce_type=full
   status:     PASS
   run time:   2 minutes 4.014 seconds
   --------------------------------------------------------------------------------
   ```


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org