Skip to content

Fix incompatibility for customers which implement HelixAdmin and Base… #259

Fix incompatibility for customers which implement HelixAdmin and Base…

Fix incompatibility for customers which implement HelixAdmin and Base… #259

GitHub Actions / Tests Results failed Jul 6, 2024 in 0s

1867 passed, 1 failed and 9 skipped

Tests failed

Report Passed Failed Skipped Time
helix-common/target/surefire-reports/TEST-TestSuite.xml 249ms
helix-core/target/surefire-reports/TEST-TestSuite.xml 1420✅ 3⚪ 6s
helix-lock/target/surefire-reports/TEST-TestSuite.xml 14✅ 52s
helix-rest/target/surefire-reports/TEST-TestSuite.xml 219✅ 1❌ 6⚪ 223s
helix-view-aggregator/target/surefire-reports/TEST-TestSuite.xml 15✅ 70s
meta-client/target/surefire-reports/TEST-TestSuite.xml 69✅ 670s
metadata-store-directory-common/target/surefire-reports/TEST-TestSuite.xml 31✅ 12s
metrics-common/target/surefire-reports/TEST-TestSuite.xml 250ms
recipes/distributed-lock-manager/target/surefire-reports/TEST-TestSuite.xml 392ms
recipes/rabbitmq-consumer-group/target/surefire-reports/TEST-TestSuite.xml 387ms
recipes/rsync-replicated-file-system/target/surefire-reports/TEST-TestSuite.xml 450ms
recipes/service-discovery/target/surefire-reports/TEST-TestSuite.xml 439ms
recipes/task-execution/target/surefire-reports/TEST-TestSuite.xml 407ms
zookeeper-api/target/surefire-reports/TEST-TestSuite.xml 99✅ 225s

✅ helix-common/target/surefire-reports/TEST-TestSuite.xml

No tests found

Test suite Passed Failed Skipped Time
TestSuite 249ms

✅ helix-core/target/surefire-reports/TEST-TestSuite.xml

1423 tests were completed in 6s with 1420 passed, 0 failed and 3 skipped.

Test suite Passed Failed Skipped Time
TestSuite 1420✅ 3⚪ 6s

✅ helix-lock/target/surefire-reports/TEST-TestSuite.xml

14 tests were completed in 52s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TestSuite 14✅ 52s

❌ helix-rest/target/surefire-reports/TEST-TestSuite.xml

226 tests were completed in 223s with 219 passed, 1 failed and 6 skipped.

Test suite Passed Failed Skipped Time
TestSuite 219✅ 1❌ 6⚪ 223s

❌ TestSuite

org.apache.helix.rest.metadatastore.accessor.TestZkRoutingDataReader
  ✅ testGetRoutingData
  ✅ testGetRoutingDataMSRDChildEmptyValue
  ✅ testGetRoutingDataMissingMSRDChildren
org.apache.helix.rest.metadatastore.accessor.TestZkRoutingDataWriter
  ✅ testAddMetadataStoreRealm
  ✅ testDeleteMetadataStoreRealm
  ✅ testAddShardingKey
  ✅ testDeleteShardingKey
  ✅ testSetRoutingData
  ✅ testAddMetadataStoreRealmNonLeader
  ✅ testDeleteMetadataStoreRealmNonLeader
  ✅ testAddShardingKeyNonLeader
  ✅ testDeleteShardingKeyNonLeader
  ✅ testSetRoutingDataNonLeader
org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory
  ✅ testGetAllNamespaces
  ✅ testGetAllMetadataStoreRealms
  ✅ testGetAllShardingKeys
  ✅ testGetNamespaceRoutingData
  ✅ testGetAllShardingKeysInRealm
  ✅ testGetAllMappingUnderPath
  ✅ testGetMetadataStoreRealm
  ✅ testDataChangeCallback
  ✅ testChildChangeCallback
  ✅ testDataDeletionCallback
  ✅ testSetNamespaceRoutingData
org.apache.helix.rest.server.TestHelixRestServer
  ✅ testInvalidHelixRestServerInitialization
  ✅ testDefaultNamespaceFail
org.apache.helix.rest.server.TestMetadataStoreDirectoryAccessor
  ✅ testGetAllNamespaces
  ✅ testGetAllMetadataStoreRealms
  ✅ testGetMetadataStoreRealmWithShardingKey
  ✅ testAddMetadataStoreRealm
  ✅ testDeleteMetadataStoreRealm
  ✅ testGetShardingKeysInNamespace
  ✅ testGetShardingKeysUnderPath
  ✅ testGetRoutingData
  ✅ testGetShardingKeysInRealm
  ✅ testGetRealmShardingKeysUnderPath
  ✅ testAddShardingKey
  ✅ testDeleteShardingKey
  ✅ testSetRoutingData
org.apache.helix.rest.server.TestPropertyStoreAccessor
  ✅ testPutPropertyStore
  ✅ testDeletePropertyStore
  ✅ testGetPropertyStoreWithEmptyContent
  ✅ testGetPropertyStoreWithEmptyDataPath
  ✅ testGetPropertyStoreWithInValidPath
  ✅ testGetPropertyStoreWithTestStringData
  ✅ testGetPropertyStoreWithZNRecordData
org.apache.helix.rest.server.TestTaskAccessor
  ✅ testGetAddTaskUserContent
  ✅ testInvalidGetAddTaskUserContent
org.apache.helix.rest.server.TestResourceAssignmentOptimizerAccessor
  ✅ testComputePartitionAssignment
  ✅ testComputePartitionAssignmentWaged
  ✅ testComputePartitionAssignmentNegativeInput
org.apache.helix.rest.server.TestMSDAccessorLeaderElection
  ✅ testAddMetadataStoreRealmRequestForwarding
  ✅ testDeleteMetadataStoreRealmRequestForwarding
  ✅ testAddShardingKeyRequestForwarding
  ✅ testDeleteShardingKeyRequestForwarding
  ✅ testSetRoutingDataRequestForwarding
org.apache.helix.rest.server.TestAuthValidator
  ✅ testDefaultAuthValidator
  ✅ testCustomAuthValidator
org.apache.helix.rest.server.TestAclRegister
  ✅ testDefaultAclRegister
  ✅ testCustomACLRegister
org.apache.helix.rest.server.TestResourceAccessor
  ✅ testGetResources
  ✅ testGetResource
  ✅ testAddResources
  ✅ testResourceConfig
  ✅ testIdealState
  ✅ testExternalView
  ✅ testCustomizedView
  ✅ testPartitionHealth
  ✅ testResourceHealth
  ✅ updateResourceConfig
  ✅ updateResourceConfigIDMissing
  ✅ deleteFromResourceConfig
  ✅ updateResourceIdealState
  ✅ testEnableWagedRebalance
  ✅ deleteFromResourceIdealState
  ✅ testAddResourceWithWeight
  ✅ testValidateResource
org.apache.helix.rest.server.TestNamespacedAPIAccess
  ✅ testDefaultNamespaceDisabled
  ✅ testNamespacedCRUD
  ✅ testNamespaceServer
org.apache.helix.rest.server.TestInstancesAccessor
  ✅ testInstanceStoppableZoneBasedWithToBeStoppedInstances
  ✅ testInstanceStoppableZoneBasedWithoutZoneOrder
  ✅ testCrossZoneStoppableWithZoneOrder
  ✅ testCrossZoneStoppableWithZoneOrder
  ✅ testCrossZoneStoppableWithoutZoneOrder
  ✅ testInstanceStoppableCrossZoneBasedWithSelectedCheckList
  ✅ testInstanceStoppableCrossZoneBasedWithEvacuatingInstances
  ✅ testInstanceStoppable_zoneBased_zoneOrder
  ✅ testInstancesStoppable_zoneBased
  ✅ testInstancesStoppable_disableOneInstance
  ✅ testGetAllInstances
  ✅ testValidateWeightForAllInstances
org.apache.helix.rest.server.TestWorkflowAccessor
  ✅ testGetWorkflows
  ✅ testGetWorkflow
  ✅ testGetWorkflowConfig
  ✅ testGetWorkflowContext
  ✅ testCreateWorkflow
  ✅ testUpdateWorkflow
  ✅ testGetAndUpdateWorkflowContentStore
  ✅ testInvalidGetAndUpdateWorkflowContentStore
  ✅ testDeleteWorkflow
org.apache.helix.rest.server.TestJobAccessor
  ✅ testGetJobs
  ✅ testGetJob
  ✅ testGetJobConfig
  ✅ testGetJobContext
  ✅ testCreateJob
  ✅ testGetAddJobContent
  ✅ testInvalidGetAndUpdateJobContentStore
  ✅ testDeleteJob
org.apache.helix.rest.server.TestClusterAccessor
  ✅ testGetClusters
  ✅ testAddVirtualTopologyGroup
  ✅ testAddVirtualTopologyGroup
  ✅ testAddVirtualTopologyGroup
  ✅ testGetClusterTopology
  ✅ testGetClusterTopologyAndFaultZoneMap
  ✅ testAddConfigFields
  ✅ testUpdateConfigFields
  ✅ testDeleteConfigFields
  ✅ testCreateDeleteCluster
  ✅ testEnableDisableCluster
  ✅ testGetClusterConfig
  ✅ testEnableDisableMaintenanceMode
  ✅ testEmptyMaintenanceSignal
  ✅ testGetControllerLeadershipHistory
  ✅ testGetMaintenanceHistory
  ✅ testEnableDisableMaintenanceModeWithCustomFields
  ✅ testGetStateModelDef
  ✅ testActivateSuperCluster
  ✅ testAddClusterWithCloudConfig
  ✅ testAddClusterWithInvalidCloudConfig
  ✅ testAddClusterWithInvalidCustomizedCloudConfig
  ✅ testAddClusterWithValidCustomizedCloudConfig
  ✅ testAddClusterWithCloudConfigDisabledCloud
  ✅ testAddCloudConfigNonExistedCluster
  ✅ testAddCloudConfig
  ✅ testDeleteCloudConfig
  ✅ testEnableWagedRebalanceForAllResources
  ✅ testCreateRESTConfig
  ✅ testPartialDeleteCloudConfig
  ✅ testPurgeOfflineParticipants
  ✅ testUpdateCloudConfig
  ✅ testAddCustomizedConfigNonExistedCluster
  ✅ testAddCustomizedConfig
  ✅ testDeleteCustomizedConfig
  ✅ testUpdateCustomizedConfig
  ✅ testOnDemandRebalance
  ✅ testUpdateRESTConfig
  ✅ testDeleteRESTConfig
  ✅ testVirtualTopologyGroupMaintenanceMode
  ✅ testClusterFreezeMode
org.apache.helix.rest.server.TestPerInstanceAccessor
  ✅ testIsInstanceStoppable
  ✅ testTakeInstanceNegInput
  ✅ testTakeInstanceNegInput2
  ✅ testTakeInstanceHealthCheck
  ✅ testTakeInstanceNonBlockingCheck
  ✅ testTakeInstanceOperationSuccess
  ✅ testFreeInstanceOperationSuccess
  ✅ testTakeInstanceOperationCheckFailure
  ✅ testTakeInstanceOperationCheckFailureCommonInput
  ✅ testTakeInstanceOperationCheckFailureNonBlocking
  ✅ testTakeInstanceCheckOnly
  ✅ testGetAllMessages
  ✅ testGetMessagesByStateModelDef
  ✅ testGetAllInstances
  ✅ testGetInstanceById
  ✅ testAddInstance
  ✅ testDeleteInstance
  ❌ updateInstance
	org.apache.helix.api.exceptions.HelixMetaDataAccessException: The ZNRecord for IDEALSTATES is not valid.
  ⚪ updateInstanceConfig
  ⚪ deleteInstanceConfig
  ⚪ checkUpdateFails
  ⚪ testValidateWeightForInstance
  ⚪ testValidateDeltaInstanceConfigForUpdate
  ⚪ testGetResourcesOnInstance
org.apache.helix.rest.clusterMaintenanceService.TestMaintenanceManagementService
  ✅ testCustomPartitionCheckWithSkipZKRead
  ✅ testGetInstanceStoppableCheckConnectionRefused
  ✅ testGetInstanceStoppableCheckWhenCustomInstanceCheckAndCustomPartitionCheckDisabled
  ✅ testGetInstanceStoppableCheckWhenCustomInstanceCheckDisabled
  ✅ testGetInstanceStoppableCheckWhenCustomInstanceCheckFail
  ✅ testGetInstanceStoppableCheckWhenCustomPartitionCheckDisabled
  ✅ testGetInstanceStoppableCheckWhenHelixOwnCheckFail
  ✅ testGetStoppableWithAllChecks
org.apache.helix.rest.client.TestCustomRestClient
  ✅ testGetInstanceStoppableCheck
  ✅ testGetInstanceStoppableCheck_when_response_empty
  ✅ testGetInstanceStoppableCheck_when_url_404
  ✅ testGetPartitionStoppableCheck
  ✅ testGetPartitionStoppableCheckWhenTimeout
  ✅ testGetPartitionStoppableCheck_when_response_empty
  ✅ testGetPartitionStoppableCheck_when_url_404
  ✅ testPostRequestFormat
org.apache.helix.rest.common.TestHelixDataAccessorWrapper
  ✅ testGetPartitionHealthOfInstanceWithExpiredZKRecord
  ✅ testGetPartitionHealthOfInstanceWithIncompleteZKRecord
  ✅ testGetPartitionHealthOfInstanceWithValidZKRecord
org.apache.helix.rest.metadatastore.integration.TestRoutingDataUpdate
  ✅ testRoutingDataUpdate
org.apache.helix.rest.server.TestPartitionAssignmentAPI
  ✅ testComputePartitionAssignmentAddInstance
  ✅ testComputePartitionAssignmentMaintenanceMode
  ✅ testComputePartitionAssignmentReplaceInstance
org.apache.helix.rest.server.TestZooKeeperAccessor
  ✅ testDelete
  ✅ testExists
  ✅ testGetChildren
  ✅ testGetData
  ✅ testGetStat
org.apache.helix.rest.server.TestHelixRestObjectNameFactory
  ✅ createsObjectNameWithDomainInInput
  ✅ createsObjectNameWithNameAsKeyPropertyName
org.apache.helix.rest.server.service.TestClusterService
  ✅ testGetClusterTopology_whenMultiZones
  ✅ testGetClusterTopology_whenZeroZones
  ✅ testGetClusterTopology_whenZoneHasMultiInstances
org.apache.helix.rest.server.service.TestVirtualTopologyGroupService
  ✅ testInstanceConfigUpdater
  ✅ testInstanceConfigUpdater
  ✅ testInstanceConfigUpdater
  ✅ testMaintenanceModeCheckAfter
  ✅ testMaintenanceModeCheckBeforeApiCall
  ✅ testNumberOfInstanceCheck
  ✅ testParamValidation
  ✅ testTopologyAwareEnabledSetup
  ✅ testVirtualTopologyGroupService
  ✅ testVirtualTopologyString
org.apache.helix.rest.server.util.JerseyUriRequestBuilder
  ✅ testUriBuilderGetPath
org.apache.helix.rest.server.util.TestInstanceValidationUtilInRest
  ✅ testPartitionLevelCheck
  ✅ testPartitionLevelCheckInitState
  ✅ testPartitionLevelCheckWithToBeStoppedNode
org.apache.helix.rest.server.json.cluster.TestClusterTopology
  ✅ whenSerializingClusterTopology
org.apache.helix.rest.server.json.cluster.TestClusterInfo
  ✅ whenSerializingClusterInfo
org.apache.helix.rest.server.json.instance.TestStoppableCheck
  ✅ testConstructorSortingOrder
  ✅ whenSerializingStoppableCheck
org.apache.helix.rest.server.TestDefaultMonitoringMbeans
  ✅ testMBeanApplicationName

✅ helix-view-aggregator/target/surefire-reports/TEST-TestSuite.xml

15 tests were completed in 70s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TestSuite 15✅ 70s

✅ meta-client/target/surefire-reports/TEST-TestSuite.xml

69 tests were completed in 670s with 69 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TestSuite 69✅ 670s

✅ metadata-store-directory-common/target/surefire-reports/TEST-TestSuite.xml

31 tests were completed in 12s with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TestSuite 31✅ 12s

✅ metrics-common/target/surefire-reports/TEST-TestSuite.xml

No tests found

Test suite Passed Failed Skipped Time
TestSuite 250ms

✅ recipes/distributed-lock-manager/target/surefire-reports/TEST-TestSuite.xml

No tests found

Test suite Passed Failed Skipped Time
TestSuite 392ms

✅ recipes/rabbitmq-consumer-group/target/surefire-reports/TEST-TestSuite.xml

No tests found

Test suite Passed Failed Skipped Time
TestSuite 387ms

✅ recipes/rsync-replicated-file-system/target/surefire-reports/TEST-TestSuite.xml

No tests found

Test suite Passed Failed Skipped Time
TestSuite 450ms

✅ recipes/service-discovery/target/surefire-reports/TEST-TestSuite.xml

No tests found

Test suite Passed Failed Skipped Time
TestSuite 439ms

✅ recipes/task-execution/target/surefire-reports/TEST-TestSuite.xml

No tests found

Test suite Passed Failed Skipped Time
TestSuite 407ms

✅ zookeeper-api/target/surefire-reports/TEST-TestSuite.xml

99 tests were completed in 225s with 99 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TestSuite 99✅ 225s

Annotations

Check failure on line 563 in helix-rest/src/test/java/org/apache/helix/rest/server/TestPerInstanceAccessor.java

See this annotation in the file changed.

@github-actions github-actions / Tests Results

TestSuite ► org.apache.helix.rest.server.TestPerInstanceAccessor ► updateInstance

Failed test found in:
  helix-rest/target/surefire-reports/TEST-TestSuite.xml
Error:
  org.apache.helix.api.exceptions.HelixMetaDataAccessException: The ZNRecord for IDEALSTATES is not valid.
Raw output
org.apache.helix.api.exceptions.HelixMetaDataAccessException: The ZNRecord for IDEALSTATES is not valid.
	at org.apache.helix.rest.server.TestPerInstanceAccessor.updateInstance(TestPerInstanceAccessor.java:563)