Skip to content

HOTIFX: fix Kafka versions for system tests#14490

Merged
mjsax merged 2 commits intoapache:trunkfrom
mjsax:fix-versions
Oct 5, 2023
Merged

HOTIFX: fix Kafka versions for system tests#14490
mjsax merged 2 commits intoapache:trunkfrom
mjsax:fix-versions

Conversation

@mjsax
Copy link
Copy Markdown
Member

@mjsax mjsax commented Oct 5, 2023

The last PR (9e3b1f9) bumping versions introduces a bug for system test setup. This PR fixes it.

Call for review @satishd


DEV_BRANCH = KafkaVersion("dev")
DEV_VERSION = KafkaVersion("3.6.0-SNAPSHOT")
DEV_VERSION = KafkaVersion("3.7.0-SNAPSHOT")
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

forgot to dump the dev-version -- this breaks the system test setup.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This may be just bad timing as @satishd is releasing 3.6.0 right now. We typically bump this version after the vote passes according to the release process: https://cwiki.apache.org/confluence/display/KAFKA/Release+Process#ReleaseProcess-Afterthevotepasses

I wonder if we should undo this change from this PR and let Satish do it as part of the release process. WDYT?

Copy link
Copy Markdown
Member Author

@mjsax mjsax Oct 5, 2023

Choose a reason for hiding this comment

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

The vote was closed, and @satishd did pump the version in all other places already (cf 9e3b1f9) -- his PR should have also bumped DEV_VERSION(otherwise system test start to break) but missed it.

DEV_VERSION must match what is in gradle.properties, so this is really just a plain fix :)

# 3.7.x versions
V_3_7_0 = KafkaVersion("3.7.0")
LATEST_3_7 = V_3_7_0 No newline at end of file
# only add released versions here No newline at end of file
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Side cleanup -- happens all the time -- added a comment now -- we only add released versions here. There is no 3.7.0 release yet -- seems even 3.6.0 was added pre-mature -- your PR bumping the versions should have added 3.6.0...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for adding this comment. It will clarify for other RMs or whoever is making the required changes for the release.

DEV_VERSION = KafkaVersion("3.6.0-SNAPSHOT")
DEV_VERSION = KafkaVersion("3.7.0-SNAPSHOT")

LATEST_METADATA_VERSION = "3.6"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not sure what this is -- does it need to be bumped or not?

Copy link
Copy Markdown
Member

@showuon showuon left a comment

Choose a reason for hiding this comment

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

LGTM!

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

Found a similar issue for 2.6 branch -> #14492

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

Also 2.7 -> #14493

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

2.8 is not broken, but needs some version bumps -> #14494

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

3.0 is also broken -> #14495

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

3.1 is broken, too: #14496

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

3.2 -> #14497

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

3.3 -> #14498

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

3.4 is ok, just needs a few versions bumps: #14499

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

3.5 is broken as well: #14500

@mjsax
Copy link
Copy Markdown
Member Author

mjsax commented Oct 5, 2023

3.6 is fine, but also needs some version bumps: #14501

Copy link
Copy Markdown
Member

@satishd satishd left a comment

Choose a reason for hiding this comment

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

Thanks @mjsax for the PR. LGTM.

# 3.7.x versions
V_3_7_0 = KafkaVersion("3.7.0")
LATEST_3_7 = V_3_7_0 No newline at end of file
# only add released versions here No newline at end of file
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for adding this comment. It will clarify for other RMs or whoever is making the required changes for the release.

@mjsax mjsax merged commit cdf726f into apache:trunk Oct 5, 2023
@mjsax mjsax deleted the fix-versions branch October 5, 2023 17:23
mjsax added a commit to confluentinc/kafka that referenced this pull request Oct 17, 2023
Reviewers: Luke Chen <showuon@gmail.com>, Satish Duggana <satishd@apache.org>
k-wall pushed a commit to k-wall/kafka that referenced this pull request Nov 21, 2023
Reviewers: Luke Chen <showuon@gmail.com>, Satish Duggana <satishd@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants