Skip to content

MINOR: replace deprecated exactly_once_beta into exactly_once_v2#10884

Merged
cadonna merged 5 commits into
apache:trunkfrom
showuon:systemTestEosUpdate
Sep 27, 2021
Merged

MINOR: replace deprecated exactly_once_beta into exactly_once_v2#10884
cadonna merged 5 commits into
apache:trunkfrom
showuon:systemTestEosUpdate

Conversation

@showuon

@showuon showuon commented Jun 15, 2021

Copy link
Copy Markdown
Member

replace deprecated exactly_once_beta into exactly_once_v2 in system tests.

Follow up for #10870, found out there are still some system tests using the deprecated exactly_once_beta. Update them.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)


# TODO enable after 2.5 is released
# @parametrize(broker_version=str(LATEST_2_5))
# def test_compatible_brokers_eos_beta_enabled(self, broker_version):

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.

We forgot to enable it after V2.5. Enable it now.

@showuon

showuon commented Jun 15, 2021

Copy link
Copy Markdown
Member Author

@vvcephei , please help review this PR. Thanks.

@showuon

showuon commented Jun 22, 2021

Copy link
Copy Markdown
Member Author

All failed tests are unrelated.

    Build / JDK 16 and Scala 2.13 / kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopicsWithManyPartitions()
    Build / JDK 11 and Scala 2.13 / org.apache.kafka.common.network.SslTransportLayerTest.[1] tlsProtocol=TLSv1.2, useInlinePem=false
    Build / JDK 11 and Scala 2.13 / org.apache.kafka.common.network.SslTransportLayerTest.[2] tlsProtocol=TLSv1.2, useInlinePem=true
    Build / JDK 11 and Scala 2.13 / org.apache.kafka.common.network.SslTransportLayerTest.[3] tlsProtocol=TLSv1.3, useInlinePem=false
    Build / JDK 11 and Scala 2.13 / org.apache.kafka.common.network.SslTransportLayerTest.[1] tlsProtocol=TLSv1.2, useInlinePem=false
    Build / JDK 11 and Scala 2.13 / org.apache.kafka.common.network.SslTransportLayerTest.[2] tlsProtocol=TLSv1.2, useInlinePem=true
    Build / JDK 11 and Scala 2.13 / org.apache.kafka.common.network.SslTransportLayerTest.[3] tlsProtocol=TLSv1.3, useInlinePem=false
    Build / JDK 8 and Scala 2.12 / kafka.server.RaftClusterTest.testCreateClusterAndCreateListDeleteTopic()

@showuon

showuon commented Jun 22, 2021

Copy link
Copy Markdown
Member Author

@vvcephei @mjsax , could you help review? Thank you.

@showuon

showuon commented Jul 1, 2021

Copy link
Copy Markdown
Member Author

@vvcephei @mjsax , could you help review? Thank you

@showuon

showuon commented Jul 6, 2021

Copy link
Copy Markdown
Member Author

@cadonna , I saw you were updating system tests last week, you might want to check this PR. Thanks.

@cadonna cadonna left a comment

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 the PR, @showuon !

When I run these system tests, I get

TimeoutError("Kafka server didn't finish startup in 60 seconds")

reliably for 2.8 and 3.0.

@showuon

showuon commented Jul 13, 2021

Copy link
Copy Markdown
Member Author

Interesting. I'll take a look. Thanks.

@showuon

showuon commented Jul 19, 2021

Copy link
Copy Markdown
Member Author

@cadonna , sorry, it turns out the version LATEST_3_0 cannot be tested yet. Remove it to make it work. Thank you.

SESSION REPORT (ALL TESTS)
ducktape version: 0.8.1
session_id:       2021-07-19--014
run time:         3 minutes 0.207 seconds
tests run:        4
passed:           4
failed:           0
ignored:          0
================================================================================
test_id:    kafkatest.tests.streams.streams_broker_compatibility_test.StreamsBrokerCompatibility.test_compatible_brokers_eos_v2_enabled.broker_version=2.5.1
status:     PASS
run time:   45.659 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_broker_compatibility_test.StreamsBrokerCompatibility.test_compatible_brokers_eos_v2_enabled.broker_version=2.6.2
status:     PASS
run time:   42.687 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_broker_compatibility_test.StreamsBrokerCompatibility.test_compatible_brokers_eos_v2_enabled.broker_version=2.7.1
status:     PASS
run time:   45.178 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_broker_compatibility_test.StreamsBrokerCompatibility.test_compatible_brokers_eos_v2_enabled.broker_version=2.8.0
status:     PASS
run time:   46.120 seconds
--------------------------------------------------------------------------------

@showuon

showuon commented Sep 27, 2021

Copy link
Copy Markdown
Member Author

@cadonna , please help take a look when available, to enable an ignored system test, and update the deprecated exactly_once_beta to exactly_once_v2. Thank you.

@cadonna

cadonna commented Sep 27, 2021

Copy link
Copy Markdown
Member

@showuon Thank you for the ping! I started the system tests on this branch. If they are green, I will merge.

@cadonna

cadonna commented Sep 27, 2021

Copy link
Copy Markdown
Member

System tests passed: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4694/console

Build failures are unrelated.

@cadonna cadonna left a comment

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.

LGTM!

@cadonna
cadonna merged commit 1af1c80 into apache:trunk Sep 27, 2021
xdgrulez pushed a commit to xdgrulez/kafka that referenced this pull request Dec 22, 2021
…che#10884)

Replace deprecated exactly_once_beta with exactly_once_v2 in system tests.

Follow up for apache#10870, found out there are still some system tests using the deprecated exactly_once_beta. This PR updates them.

Reviewers: Bruno Cadonna <cadonna@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.

2 participants