strimzi-kafka-operator
strimzi-kafka-operator copied to clipboard
[ST] default builders for plain/tls internal clients
Type of change
- Refactoring
Description
Changes described by files:
TestConstants
and TestStorage
Concerned mainly with new fields (added for smooth work with continuous clients)
-
continuousProducerName
(All 3 same as their basic counterparts but with extra suffix) -
continuousConsumerName
-
continuousTopicName
-
continuousMessageCount
(300 in comparison to 100)
ClientUtils
public static KafkaClientsBuilder getDefaultContinuousClientBuilder(TestStorage testStorage) {
and
public static KafkaClientsBuilder getDefaultBasicClientBuilder(TestStorage testStorage)
added for their respective usage their differ in what params of testorage are used here but mostly with number of meesages and wait between them.
as these clients are basically hello world (used to be called that way) i put there also bootstrap address for plain text port. there is additionaly namespace and default user which are there for completness.
Any of them can be changed and as can be seen in specific tests they sometimes are which makes it visible what is actually important about given producer/consumer.
additional helper method waitForContinuousClientSuccess
which waits specifically for continuous clients.
<specific>ST
classes
changes include:
- replacing
Environment.TEST_SUITE_NAMESPACE
with testStorage atlernative. - removal of unncessary names for producer and consumers espcially with prefixes
continuous
or<random>
if not needed - some continuous client time and message shortening due to very long waiting just for message sending
- slight refactors and removals of unnecessary methods.
/azp run regression
Azure Pipelines successfully started running 1 pipeline(s).
/azp run regression
Azure Pipelines successfully started running 1 pipeline(s).
@strimzi-ci run tests --testcase=RackAwarenessST --profile=all --env=STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:
:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: all GROUPS: TEST_CASE: RackAwarenessST TOTAL: 3 PASS: 3 FAIL: 0 SKIP: 0 BUILD_NUMBER: 9 OCP_VERSION: 4.15 BUILD_IMAGES: false FIPS_ENABLED: false PARALLEL_COUNT: 5 EXCLUDED_GROUPS: loadbalancer,nodeport,olm ENV_VARIABLES: STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
@strimzi-ci run tests --profile=all --env=STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:
:x: Test Summary :x:
TEST_PROFILE: all GROUPS: TEST_CASE: TOTAL: 191 PASS: 150 FAIL: 38 SKIP: 3 BUILD_NUMBER: 10 OCP_VERSION: 4.15 BUILD_IMAGES: false FIPS_ENABLED: false PARALLEL_COUNT: 5 EXCLUDED_GROUPS: loadbalancer,nodeport,olm ENV_VARIABLES: STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:
- testCorsForbidden in io.strimzi.systemtest.bridge.HttpBridgeCorsST
- testSendSimpleMessage in io.strimzi.systemtest.bridge.HttpBridgeST
- testReceiveSimpleMessageTlsScramSha in io.strimzi.systemtest.bridge.HttpBridgeScramShaST
- testReceiveSimpleMessageTls in io.strimzi.systemtest.bridge.HttpBridgeTlsST
- testKafkaQuotasPluginIntegration in io.strimzi.systemtest.kafka.QuotasST
- testKafkaZookeeperAndKafkaConnectWithJMX in io.strimzi.systemtest.metrics.JmxST
- io.strimzi.systemtest.metrics.MetricsST
- testKafkaMirrorMaker2ConnectorsState in io.strimzi.systemtest.mirrormaker.MirrorMaker2ST
- testScaleMirrorMakerUpAndDownToZero in io.strimzi.systemtest.mirrormaker.MirrorMakerST
- testMultipleCOsInDifferentNamespaces in io.strimzi.systemtest.operators.MultipleClusterOperatorsST
- testPauseReconciliationInKafkaRebalanceAndTopic in io.strimzi.systemtest.operators.ReconciliationST
- testAddingAndRemovingJbodVolumes in io.strimzi.systemtest.rollingupdate.AlternativeReconcileTriggersST
- testNPWhenOperatorIsInDifferentNamespaceThanOperand in io.strimzi.systemtest.security.NetworkPoliciesST
- testAutoReplaceAllCaKeysTriggeredByAnno in io.strimzi.systemtest.security.SecurityST
- io.strimzi.systemtest.security.oauth.OauthAuthorizationST
- io.strimzi.systemtest.security.oauth.OauthPasswordGrantsST
- io.strimzi.systemtest.security.oauth.OauthPlainST
- io.strimzi.systemtest.security.oauth.OauthScopeST
- io.strimzi.systemtest.security.oauth.OauthTlsST
- testDrainCleanerWithComponents in io.strimzi.systemtest.specific.DrainCleanerST
- testKafkaClusterUpgrade in io.strimzi.systemtest.upgrade.kraft.KRaftKafkaUpgradeDowngradeST
- testDowngradeStrimziVersion testDowngradeStrimziVersion-HEAD-0.39.0 in io.strimzi.systemtest.upgrade.kraft.KRaftStrimziDowngradeST
- testUpgradeAcrossVersionsWithNoKafkaVersion in io.strimzi.systemtest.upgrade.kraft.KRaftStrimziUpgradeST
Re-run command: @strimzi-ci run tests --profile=all --testcase=io.strimzi.systemtest.bridge.HttpBridgeCorsST#testCorsForbidden,io.strimzi.systemtest.bridge.HttpBridgeST#testSendSimpleMessage,io.strimzi.systemtest.bridge.HttpBridgeScramShaST#testReceiveSimpleMessageTlsScramSha,io.strimzi.systemtest.bridge.HttpBridgeTlsST#testReceiveSimpleMessageTls,io.strimzi.systemtest.kafka.QuotasST#testKafkaQuotasPluginIntegration,io.strimzi.systemtest.metrics.JmxST#testKafkaZookeeperAndKafkaConnectWithJMX,io.strimzi.systemtest.metrics.MetricsST,io.strimzi.systemtest.mirrormaker.MirrorMaker2ST#testKafkaMirrorMaker2ConnectorsState,io.strimzi.systemtest.mirrormaker.MirrorMakerST#testScaleMirrorMakerUpAndDownToZero,io.strimzi.systemtest.operators.MultipleClusterOperatorsST#testMultipleCOsInDifferentNamespaces,io.strimzi.systemtest.operators.ReconciliationST#testPauseReconciliationInKafkaRebalanceAndTopic,io.strimzi.systemtest.rollingupdate.AlternativeReconcileTriggersST#testAddingAndRemovingJbodVolumes,io.strimzi.systemtest.security.NetworkPoliciesST#testNPWhenOperatorIsInDifferentNamespaceThanOperand,io.strimzi.systemtest.security.SecurityST#testAutoReplaceAllCaKeysTriggeredByAnno,io.strimzi.systemtest.security.oauth.OauthAuthorizationST,io.strimzi.systemtest.security.oauth.OauthPasswordGrantsST,io.strimzi.systemtest.security.oauth.OauthPlainST,io.strimzi.systemtest.security.oauth.OauthScopeST,io.strimzi.systemtest.security.oauth.OauthTlsST,io.strimzi.systemtest.specific.DrainCleanerST#testDrainCleanerWithComponents,io.strimzi.systemtest.upgrade.kraft.KRaftKafkaUpgradeDowngradeST#testKafkaClusterUpgrade,io.strimzi.systemtest.upgrade.kraft.KRaftStrimziDowngradeST#testDowngradeStrimziVersion testDowngradeStrimziVersion-HEAD-0.39.0,io.strimzi.systemtest.upgrade.kraft.KRaftStrimziUpgradeST#testUpgradeAcrossVersionsWithNoKafkaVersion
@strimzi-ci run tests --profile=all --env=STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:
:x: Test Summary :x:
TEST_PROFILE: all GROUPS: TEST_CASE: TOTAL: 191 PASS: 153 FAIL: 35 SKIP: 3 BUILD_NUMBER: 14 OCP_VERSION: 4.15 BUILD_IMAGES: false FIPS_ENABLED: false PARALLEL_COUNT: 5 EXCLUDED_GROUPS: loadbalancer,nodeport,olm ENV_VARIABLES: STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:
- testCorsForbidden in io.strimzi.systemtest.bridge.HttpBridgeCorsST
- testReceiveSimpleMessage in io.strimzi.systemtest.bridge.HttpBridgeST
- testReceiveSimpleMessageTlsScramSha in io.strimzi.systemtest.bridge.HttpBridgeScramShaST
- testReceiveSimpleMessageTls in io.strimzi.systemtest.bridge.HttpBridgeTlsST
- testKafkaQuotasPluginIntegration in io.strimzi.systemtest.kafka.QuotasST
- testKafkaZookeeperAndKafkaConnectWithJMX in io.strimzi.systemtest.metrics.JmxST
- io.strimzi.systemtest.metrics.MetricsST
- testKMM2RollAfterSecretsCertsUpdateTLS in io.strimzi.systemtest.mirrormaker.MirrorMaker2ST
- testScaleMirrorMakerUpAndDownToZero in io.strimzi.systemtest.mirrormaker.MirrorMakerST
- testMultipleCOsInDifferentNamespaces in io.strimzi.systemtest.operators.MultipleClusterOperatorsST
- testNPGenerationEnvironmentVariable in io.strimzi.systemtest.security.NetworkPoliciesST
- testAutoReplaceAllCaKeysTriggeredByAnno in io.strimzi.systemtest.security.SecurityST
- io.strimzi.systemtest.security.oauth.OauthAuthorizationST
- io.strimzi.systemtest.security.oauth.OauthPasswordGrantsST
- io.strimzi.systemtest.security.oauth.OauthPlainST
- io.strimzi.systemtest.security.oauth.OauthScopeST
- io.strimzi.systemtest.security.oauth.OauthTlsST
- testDrainCleanerWithComponents in io.strimzi.systemtest.specific.DrainCleanerST
- testKafkaClusterUpgrade in io.strimzi.systemtest.upgrade.kraft.KRaftKafkaUpgradeDowngradeST
- testDowngradeStrimziVersion testDowngradeStrimziVersion-HEAD-0.39.0 in io.strimzi.systemtest.upgrade.kraft.KRaftStrimziDowngradeST
- testUpgradeAcrossVersionsWithNoKafkaVersion in io.strimzi.systemtest.upgrade.kraft.KRaftStrimziUpgradeST
Re-run command: @strimzi-ci run tests --profile=all --testcase=io.strimzi.systemtest.bridge.HttpBridgeCorsST#testCorsForbidden,io.strimzi.systemtest.bridge.HttpBridgeST#testReceiveSimpleMessage,io.strimzi.systemtest.bridge.HttpBridgeScramShaST#testReceiveSimpleMessageTlsScramSha,io.strimzi.systemtest.bridge.HttpBridgeTlsST#testReceiveSimpleMessageTls,io.strimzi.systemtest.kafka.QuotasST#testKafkaQuotasPluginIntegration,io.strimzi.systemtest.metrics.JmxST#testKafkaZookeeperAndKafkaConnectWithJMX,io.strimzi.systemtest.metrics.MetricsST,io.strimzi.systemtest.mirrormaker.MirrorMaker2ST#testKMM2RollAfterSecretsCertsUpdateTLS,io.strimzi.systemtest.mirrormaker.MirrorMakerST#testScaleMirrorMakerUpAndDownToZero,io.strimzi.systemtest.operators.MultipleClusterOperatorsST#testMultipleCOsInDifferentNamespaces,io.strimzi.systemtest.security.NetworkPoliciesST#testNPGenerationEnvironmentVariable,io.strimzi.systemtest.security.SecurityST#testAutoReplaceAllCaKeysTriggeredByAnno,io.strimzi.systemtest.security.oauth.OauthAuthorizationST,io.strimzi.systemtest.security.oauth.OauthPasswordGrantsST,io.strimzi.systemtest.security.oauth.OauthPlainST,io.strimzi.systemtest.security.oauth.OauthScopeST,io.strimzi.systemtest.security.oauth.OauthTlsST,io.strimzi.systemtest.specific.DrainCleanerST#testDrainCleanerWithComponents,io.strimzi.systemtest.upgrade.kraft.KRaftKafkaUpgradeDowngradeST#testKafkaClusterUpgrade,io.strimzi.systemtest.upgrade.kraft.KRaftStrimziDowngradeST#testDowngradeStrimziVersion testDowngradeStrimziVersion-HEAD-0.39.0,io.strimzi.systemtest.upgrade.kraft.KRaftStrimziUpgradeST#testUpgradeAcrossVersionsWithNoKafkaVersion
/azp list
CI/CD Pipelines for this repository:
/azp run feature-gates-regression
Azure Pipelines successfully started running 1 pipeline(s).
@strimzi-ci run tests --profile=all --testcase=HttpBridgeST,MirrorMaker2ST --parallel-count=1 --env=STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:
:x: Test Summary :x:
TEST_PROFILE: all GROUPS: TEST_CASE: HttpBridgeST,MirrorMaker2ST TOTAL: 19 PASS: 17 FAIL: 2 SKIP: 0 BUILD_NUMBER: 30 OCP_VERSION: 4.15 BUILD_IMAGES: false FIPS_ENABLED: false PARALLEL_COUNT: 1 EXCLUDED_GROUPS: loadbalancer,nodeport,olm ENV_VARIABLES: STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:
- testSendSimpleMessage in io.strimzi.systemtest.bridge.HttpBridgeST
Re-run command: @strimzi-ci run tests --profile=all --testcase=io.strimzi.systemtest.bridge.HttpBridgeST#testSendSimpleMessage
@strimzi-ci run tests --cluster-type=ocp --cluster-version=4.14 --install-type=bundle --profile=all --testcase=HttpBridgeST,MirrorMaker2ST --parallel-count=1 --env=STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:
:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: all GROUPS: TEST_CASE: HttpBridgeST,MirrorMaker2ST TOTAL: 19 PASS: 19 FAIL: 0 SKIP: 0 BUILD_NUMBER: 31 OCP_VERSION: 4.14 BUILD_IMAGES: false FIPS_ENABLED: false PARALLEL_COUNT: 1 EXCLUDED_GROUPS: loadbalancer,nodeport,olm ENV_VARIABLES: STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
@strimzi-ci run tests --cluster-type=ocp --cluster-version=4.14 --install-type=bundle --profile=all --testcase=KRaftStrimziUpgradeST,AlternativeReconcileTriggersST,KRaftKafkaUpgradeDowngradeST --parallel-count=1 --env=STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:
@strimzi-ci run tests --cluster-type=ocp --cluster-version=4.14 --install-type=bundle --profile=all --testcase= NetworkPoliciesST, HttpBridgeTlsST, KRaftStrimziDowngradeST --parallel-count=1 --env=STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:
/azp run kraft-regression
Azure Pipelines successfully started running 1 pipeline(s).
:x: Test Summary :x:
TEST_PROFILE: all GROUPS: TEST_CASE: KRaftStrimziUpgradeST,AlternativeReconcileTriggersST,KRaftKafkaUpgradeDowngradeST TOTAL: 13 PASS: 5 FAIL: 8 SKIP: 0 BUILD_NUMBER: 32 OCP_VERSION: 4.14 BUILD_IMAGES: false FIPS_ENABLED: false PARALLEL_COUNT: 1 EXCLUDED_GROUPS: loadbalancer,nodeport,olm ENV_VARIABLES: STRIMZI_FEATURE_GATES=-KafkaNodePools,-UnidirectionalTopicOperator,-UseKRaft
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:
- testKafkaClusterUpgrade in io.strimzi.systemtest.upgrade.kraft.KRaftKafkaUpgradeDowngradeST
- testUpgradeAcrossVersionsWithNoKafkaVersion in io.strimzi.systemtest.upgrade.kraft.KRaftStrimziUpgradeST
Re-run command: @strimzi-ci run tests --profile=all --testcase=io.strimzi.systemtest.upgrade.kraft.KRaftKafkaUpgradeDowngradeST#testKafkaClusterUpgrade,io.strimzi.systemtest.upgrade.kraft.KRaftStrimziUpgradeST#testUpgradeAcrossVersionsWithNoKafkaVersion