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 2020/07/01 19:56:13 UTC
[GitHub] [kafka] vvcephei opened a new pull request #8971: MINOR: prune the metadata upgrade test matrix
vvcephei opened a new pull request #8971:
URL: https://github.com/apache/kafka/pull/8971
Most of the values in the metadata upgrade test matrix are just testing
the upgrade/downgrade path between two previous releases. This is
unnecessary. We run the tests for all supported branches, so what we
should test is the up-/down-gradability of released versions with respect
to the current branch.
### 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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-652625710
Oh, I realized this could plausibly impact the broker test also, so I kicked off a test of the whole file: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4008/console
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] guozhangwang commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
guozhangwang commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-654474451
LGTM!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] guozhangwang commented on a change in pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
guozhangwang commented on a change in pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#discussion_r449685553
##########
File path: tests/kafkatest/tests/streams/streams_upgrade_test.py
##########
@@ -189,9 +185,8 @@ def test_upgrade_downgrade_brokers(self, from_version, to_version):
processor.stop()
processor.node.account.ssh_capture("grep SMOKE-TEST-CLIENT-CLOSED %s" % processor.STDOUT_FILE, allow_fail=False)
- @matrix(from_version=metadata_1_versions, to_version=backward_compatible_metadata_2_versions)
- @matrix(from_version=metadata_1_versions, to_version=metadata_3_or_higher_versions)
- @matrix(from_version=metadata_2_versions, to_version=metadata_3_or_higher_versions)
+ @matrix(from_version=metadata_1_versions, to_version=[str(DEV_VERSION)])
+ @matrix(from_version=metadata_2_versions, to_version=[str(DEV_VERSION)])
Review comment:
I was originally thinking that `streams_application_upgrade_test.py` and `streams_upgrade_test.py` can be re-consolidated so that the latter would be for broker-clients compatibility (including rolling upgrade the brokers), and would for now be ignored. While the former would be used for upgrading / downgrading clients for different paths (one rolling bounce including version probing, two rolling bounces, full shutdown and restart). In that case, this test and the test_version_probing_upgrade below could be moved into the other file. WDYT?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei merged pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei merged pull request #8971:
URL: https://github.com/apache/kafka/pull/8971
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] guozhangwang commented on a change in pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
guozhangwang commented on a change in pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#discussion_r450488992
##########
File path: tests/kafkatest/tests/streams/streams_upgrade_test.py
##########
@@ -189,9 +185,8 @@ def test_upgrade_downgrade_brokers(self, from_version, to_version):
processor.stop()
processor.node.account.ssh_capture("grep SMOKE-TEST-CLIENT-CLOSED %s" % processor.STDOUT_FILE, allow_fail=False)
- @matrix(from_version=metadata_1_versions, to_version=backward_compatible_metadata_2_versions)
- @matrix(from_version=metadata_1_versions, to_version=metadata_3_or_higher_versions)
- @matrix(from_version=metadata_2_versions, to_version=metadata_3_or_higher_versions)
+ @matrix(from_version=metadata_1_versions, to_version=[str(DEV_VERSION)])
+ @matrix(from_version=metadata_2_versions, to_version=[str(DEV_VERSION)])
Review comment:
Yes I agree. That makes sense. My thoughts are just aligned with our previous discussions about merging various tests, especially even considering merging the StreamsSmokeTest with StreamsUpgradeTest but that is out of the scope of this one.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-653257513
Since I resolved a conflict, I'm re-running: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4011/console
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on a change in pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on a change in pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#discussion_r450367500
##########
File path: tests/kafkatest/tests/streams/streams_upgrade_test.py
##########
@@ -189,9 +185,8 @@ def test_upgrade_downgrade_brokers(self, from_version, to_version):
processor.stop()
processor.node.account.ssh_capture("grep SMOKE-TEST-CLIENT-CLOSED %s" % processor.STDOUT_FILE, allow_fail=False)
- @matrix(from_version=metadata_1_versions, to_version=backward_compatible_metadata_2_versions)
- @matrix(from_version=metadata_1_versions, to_version=metadata_3_or_higher_versions)
- @matrix(from_version=metadata_2_versions, to_version=metadata_3_or_higher_versions)
+ @matrix(from_version=metadata_1_versions, to_version=[str(DEV_VERSION)])
+ @matrix(from_version=metadata_2_versions, to_version=[str(DEV_VERSION)])
Review comment:
Ah, I see.
Since you mention the client-broker test, I was going to pose this question to you: The test is currently ignored, as has been ignored for as long as I can remember. It seems like we should fix it or delete it. I'm guessing your preference would be to fix it, right?
To the point about the client-client metadata upgrade test, I left it and the version probing test here because they are specifically testing that the relevant metadata versions get upgraded, whereas the test I moved was instead just about making sure that the app keeps running after an upgrade.
It does seem like we could improve the metadata and broker upgrade tests by making them run the full soak app instead, but I'm wondering if we could do it separately. This PR in particular seems like a good addition to add asap, since it should dramatically reduce the number of tests we have to run during system tests.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-656733910
Backported to 2.5
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-654520073
This also needs to be backported. I'll do it once I'm done backporting https://github.com/apache/kafka/pull/8938
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-652732162
great success! http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2020-07-01--001.1593639364--vvcephei--minor-prune-meta-upgrade-test-matrix--9d1f638fa/report.html
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-653256665
Hey @guozhangwang , now that https://github.com/apache/kafka/pull/8938 is finished, do you have any time to take a look at this one?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] guozhangwang commented on a change in pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
guozhangwang commented on a change in pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#discussion_r450488992
##########
File path: tests/kafkatest/tests/streams/streams_upgrade_test.py
##########
@@ -189,9 +185,8 @@ def test_upgrade_downgrade_brokers(self, from_version, to_version):
processor.stop()
processor.node.account.ssh_capture("grep SMOKE-TEST-CLIENT-CLOSED %s" % processor.STDOUT_FILE, allow_fail=False)
- @matrix(from_version=metadata_1_versions, to_version=backward_compatible_metadata_2_versions)
- @matrix(from_version=metadata_1_versions, to_version=metadata_3_or_higher_versions)
- @matrix(from_version=metadata_2_versions, to_version=metadata_3_or_higher_versions)
+ @matrix(from_version=metadata_1_versions, to_version=[str(DEV_VERSION)])
+ @matrix(from_version=metadata_2_versions, to_version=[str(DEV_VERSION)])
Review comment:
Yes I agree. It is not a `require` comment, I'm just leaving it since we've been discussing about merging various tests, especially even considering merging the StreamsSmokeTest with StreamsUpgradeTest but that can be done later.
##########
File path: tests/kafkatest/tests/streams/streams_upgrade_test.py
##########
@@ -189,9 +185,8 @@ def test_upgrade_downgrade_brokers(self, from_version, to_version):
processor.stop()
processor.node.account.ssh_capture("grep SMOKE-TEST-CLIENT-CLOSED %s" % processor.STDOUT_FILE, allow_fail=False)
- @matrix(from_version=metadata_1_versions, to_version=backward_compatible_metadata_2_versions)
- @matrix(from_version=metadata_1_versions, to_version=metadata_3_or_higher_versions)
- @matrix(from_version=metadata_2_versions, to_version=metadata_3_or_higher_versions)
+ @matrix(from_version=metadata_1_versions, to_version=[str(DEV_VERSION)])
+ @matrix(from_version=metadata_2_versions, to_version=[str(DEV_VERSION)])
Review comment:
Yes I agree. It is not a `require` comment, I'm just leaving it since we've been discussing about merging various tests, especially even considering merging the StreamsSmokeTest with StreamsUpgradeTest but that is out of the scope of this one.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] vvcephei commented on pull request #8971: MINOR: prune the metadata upgrade test matrix
Posted by GitBox <gi...@apache.org>.
vvcephei commented on pull request #8971:
URL: https://github.com/apache/kafka/pull/8971#issuecomment-654519320
Thanks, @guozhangwang ! I'll go ahead and merge it, despite the failures, since it couldn't possibly have caused any integration test failures.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org