https://github.com/apecloud/kubeblocks/actions/runs/21898070725 previous_version: kubeblocks_version:1.0.2 bash test/kbcli/test_kbcli_1.0.sh --type 47 --version 1.0.2 --generate-output true --chaos-mesh true --aws-access-key-id *** --aws-secret-access-key *** --jihulab-token *** --random-namespace true --region eastus --cloud-provider aks CURRENT_TEST_DIR:test/kbcli source commons files source engines files source kubeblocks files source kubedb files CLUSTER_NAME:  `kubectl get namespace | grep ns-hvtvi `(B   `kubectl create namespace ns-hvtvi`(B  namespace/ns-hvtvi created create namespace ns-hvtvi done(B download kbcli  `gh release list --repo apecloud/kbcli --limit 100 | (grep "1.0" || true)`(B   `curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s v1.0.2`(B  Your system is linux_amd64 Installing kbcli ... Downloading ... kbcli installed successfully. Kubernetes: v1.32.10 KubeBlocks: 1.0.2 kbcli: 1.0.2 Make sure your docker service is running and begin your journey with kbcli: kbcli playground init For more information on how to get started, please visit: https://kubeblocks.io download kbcli v1.0.2 done(B Kubernetes: v1.32.10 KubeBlocks: 1.0.2 kbcli: 1.0.2 Kubernetes Env: v1.32.10 check snapshot controller check snapshot controller done(B POD_RESOURCES: aks kb-default-sc found aks default-vsc found found default storage class: default (B KubeBlocks version is:1.0.2 skip upgrade KubeBlocks(B current KubeBlocks version: 1.0.2 helm repo add chaos-mesh https://charts.chaos-mesh.org "chaos-mesh" has been added to your repositories add helm chart repo chaos-mesh success chaos mesh already installed check component definition set component name:yashandb set component version set component version:yashandb set service versions:23.1.1-100 set service versions sorted:23.1.1-100 set yashandb component definition set yashandb component definition yashandb-1.0.1 REPORT_COUNT 0:0 set replicas first:1,23.1.1-100 set replicas third:1,23.1.1-100 set replicas fourth:1,23.1.1-100 set minimum cmpv service version set minimum cmpv service version replicas:1,23.1.1-100 set replicas end:1,23.1.1-100 REPORT_COUNT:1 CLUSTER_TOPOLOGY: set yashandb component definition set yashandb component definition yashandb-1.0.1 LIMIT_CPU:0.1 LIMIT_MEMORY:0.5 storage size: 1 CLUSTER_NAME:yashandb-tiolra pod_info: termination_policy:DoNotTerminate create 1 replica DoNotTerminate yashandb cluster check component definition set component definition by component version check cmpd by labels check cmpd by compDefs set component definition: yashandb-1.0.1 by component version:yashandb apiVersion: apps.kubeblocks.io/v1 kind: Cluster metadata: name: yashandb-tiolra namespace: ns-hvtvi spec: terminationPolicy: DoNotTerminate componentSpecs: - name: yashandb componentDef: yashandb-1.0.1 tls: false replicas: 1 resources: requests: cpu: 100m memory: 0.5Gi limits: cpu: 100m memory: 0.5Gi volumeClaimTemplates: - name: data spec: storageClassName: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi  `kubectl apply -f test_create_yashandb-tiolra.yaml`(B  cluster.apps.kubeblocks.io/yashandb-tiolra created apply test_create_yashandb-tiolra.yaml Success(B  `rm -rf test_create_yashandb-tiolra.yaml`(B  check cluster status  `kbcli cluster list yashandb-tiolra --show-labels --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS yashandb-tiolra ns-hvtvi DoNotTerminate Creating Feb 11,2026 17:24 UTC+0800 cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B cluster_status:Creating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances yashandb-tiolra --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME yashandb-tiolra-yashandb-0 ns-hvtvi yashandb-tiolra yashandb Running 0 100m / 100m 512Mi / 512Mi data:1Gi aks-cicdamdpool-13251918-vmss000004/10.224.0.5 Feb 11,2026 17:24 UTC+0800 check pod status done(B check cluster connect  `kubectl exec -it yashandb-tiolra-yashandb-0 --namespace ns-hvtvi -- sh -c "echo '/home/yashan/bin/yasboot sql -d sys/yasdb_123@:1688'"`(B  check cluster connect done(B  `kubectl get secrets -l app.kubernetes.io/instance=yashandb-tiolra`(B  Not found cluster secret(B DB_USERNAME:;DB_PASSWORD:;DB_PORT:;DB_DATABASE:(B There is no password in Type: 47.(B describe cluster  `kbcli cluster describe yashandb-tiolra --namespace ns-hvtvi `(B  Name: yashandb-tiolra Created Time: Feb 11,2026 17:24 UTC+0800 NAMESPACE CLUSTER-DEFINITION TOPOLOGY STATUS TERMINATION-POLICY ns-hvtvi Running DoNotTerminate Endpoints: COMPONENT INTERNAL EXTERNAL yashandb yashandb-tiolra-yashandb.ns-hvtvi.svc.cluster.local:1688 Topology: COMPONENT SERVICE-VERSION INSTANCE ROLE STATUS AZ NODE CREATED-TIME yashandb 23.1.1-100 yashandb-tiolra-yashandb-0 Running 0 aks-cicdamdpool-13251918-vmss000004/10.224.0.5 Feb 11,2026 17:24 UTC+0800 Resources Allocation: COMPONENT INSTANCE-TEMPLATE CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE-SIZE STORAGE-CLASS yashandb 100m / 100m 512Mi / 512Mi data:1Gi default Images: COMPONENT COMPONENT-DEFINITION IMAGE yashandb yashandb-1.0.1 docker.io/apecloud/yashandb-personal:23.1.1.100 Show cluster events: kbcli cluster list-events -n ns-hvtvi yashandb-tiolra  `kbcli cluster label yashandb-tiolra app.kubernetes.io/instance- --namespace ns-hvtvi `(B  label "app.kubernetes.io/instance" not found.  `kbcli cluster label yashandb-tiolra app.kubernetes.io/instance=yashandb-tiolra --namespace ns-hvtvi `(B   `kbcli cluster label yashandb-tiolra --list --namespace ns-hvtvi `(B  NAME NAMESPACE LABELS yashandb-tiolra ns-hvtvi app.kubernetes.io/instance=yashandb-tiolra label cluster app.kubernetes.io/instance=yashandb-tiolra Success(B  `kbcli cluster label case.name=kbcli.test1 -l app.kubernetes.io/instance=yashandb-tiolra --namespace ns-hvtvi `(B   `kbcli cluster label yashandb-tiolra --list --namespace ns-hvtvi `(B  NAME NAMESPACE LABELS yashandb-tiolra ns-hvtvi app.kubernetes.io/instance=yashandb-tiolra case.name=kbcli.test1 label cluster case.name=kbcli.test1 Success(B  `kbcli cluster label yashandb-tiolra case.name=kbcli.test2 --overwrite --namespace ns-hvtvi `(B   `kbcli cluster label yashandb-tiolra --list --namespace ns-hvtvi `(B  NAME NAMESPACE LABELS yashandb-tiolra ns-hvtvi app.kubernetes.io/instance=yashandb-tiolra case.name=kbcli.test2 label cluster case.name=kbcli.test2 Success(B  `kbcli cluster label yashandb-tiolra case.name- --namespace ns-hvtvi `(B   `kbcli cluster label yashandb-tiolra --list --namespace ns-hvtvi `(B  NAME NAMESPACE LABELS yashandb-tiolra ns-hvtvi app.kubernetes.io/instance=yashandb-tiolra delete cluster label case.name Success(B cluster connect  `kubectl exec -it yashandb-tiolra-yashandb-0 --namespace ns-hvtvi -- sh -c "echo '/home/yashan/bin/yasboot sql -d sys/yasdb_123@:1688'" `(B  /home/yashan/bin/yasboot sql -d sys/yasdb_123@:1688 connect cluster Success(B cluster restart check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster restart yashandb-tiolra --auto-approve --force=true --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-restart-rn8x4 created successfully, you can view the progress: kbcli cluster describe-ops yashandb-tiolra-restart-rn8x4 -n ns-hvtvi check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-restart-rn8x4 ns-hvtvi Restart yashandb-tiolra yashandb Running -/- Feb 11,2026 17:29 UTC+0800 check cluster status  `kbcli cluster list yashandb-tiolra --show-labels --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS yashandb-tiolra ns-hvtvi DoNotTerminate Updating Feb 11,2026 17:24 UTC+0800 app.kubernetes.io/instance=yashandb-tiolra cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances yashandb-tiolra --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME yashandb-tiolra-yashandb-0 ns-hvtvi yashandb-tiolra yashandb Running 0 100m / 100m 512Mi / 512Mi data:1Gi aks-cicdamdpool-13251918-vmss000004/10.224.0.5 Feb 11,2026 17:29 UTC+0800 check pod status done(B check cluster connect  `kubectl exec -it yashandb-tiolra-yashandb-0 --namespace ns-hvtvi -- sh -c "echo '/home/yashan/bin/yasboot sql -d sys/yasdb_123@:1688'"`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-restart-rn8x4 ns-hvtvi Restart yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:29 UTC+0800 check ops status done(B ops_status:yashandb-tiolra-restart-rn8x4 ns-hvtvi Restart yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:29 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations yashandb-tiolra-restart-rn8x4 --namespace ns-hvtvi `(B  opsrequest.operations.kubeblocks.io/yashandb-tiolra-restart-rn8x4 patched  `kbcli cluster delete-ops --name yashandb-tiolra-restart-rn8x4 --force --auto-approve --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-restart-rn8x4 deleted check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster vscale yashandb-tiolra --auto-approve --force=true --components yashandb --cpu 200m --memory 0.6Gi --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-verticalscaling-chjrx created successfully, you can view the progress: kbcli cluster describe-ops yashandb-tiolra-verticalscaling-chjrx -n ns-hvtvi check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-verticalscaling-chjrx ns-hvtvi VerticalScaling yashandb-tiolra yashandb Running -/- Feb 11,2026 17:29 UTC+0800 check cluster status  `kbcli cluster list yashandb-tiolra --show-labels --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS yashandb-tiolra ns-hvtvi DoNotTerminate Updating Feb 11,2026 17:24 UTC+0800 app.kubernetes.io/instance=yashandb-tiolra cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances yashandb-tiolra --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME yashandb-tiolra-yashandb-0 ns-hvtvi yashandb-tiolra yashandb Running 0 200m / 200m 644245094400m / 644245094400m data:1Gi aks-cicdamdpool-13251918-vmss000004/10.224.0.5 Feb 11,2026 17:30 UTC+0800 check pod status done(B check cluster connect  `kubectl exec -it yashandb-tiolra-yashandb-0 --namespace ns-hvtvi -- sh -c "echo '/home/yashan/bin/yasboot sql -d sys/yasdb_123@:1688'"`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-verticalscaling-chjrx ns-hvtvi VerticalScaling yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:29 UTC+0800 check ops status done(B ops_status:yashandb-tiolra-verticalscaling-chjrx ns-hvtvi VerticalScaling yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:29 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations yashandb-tiolra-verticalscaling-chjrx --namespace ns-hvtvi `(B  opsrequest.operations.kubeblocks.io/yashandb-tiolra-verticalscaling-chjrx patched  `kbcli cluster delete-ops --name yashandb-tiolra-verticalscaling-chjrx --force --auto-approve --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-verticalscaling-chjrx deleted cluster stop check cluster status before ops check cluster status done(B cluster_status:Running(B  `kbcli cluster stop yashandb-tiolra --auto-approve --force=true --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-stop-rg97h created successfully, you can view the progress: kbcli cluster describe-ops yashandb-tiolra-stop-rg97h -n ns-hvtvi check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-stop-rg97h ns-hvtvi Stop yashandb-tiolra yashandb Running 0/1 Feb 11,2026 17:30 UTC+0800 check cluster status  `kbcli cluster list yashandb-tiolra --show-labels --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS yashandb-tiolra ns-hvtvi DoNotTerminate Stopping Feb 11,2026 17:24 UTC+0800 app.kubernetes.io/instance=yashandb-tiolra cluster_status:Stopping(B cluster_status:Stopping(B cluster_status:Stopping(B check cluster status done(B cluster_status:Stopped(B check pod status  `kbcli cluster list-instances yashandb-tiolra --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME check pod status done(B check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-stop-rg97h ns-hvtvi Stop yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:30 UTC+0800 check ops status done(B ops_status:yashandb-tiolra-stop-rg97h ns-hvtvi Stop yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:30 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations yashandb-tiolra-stop-rg97h --namespace ns-hvtvi `(B  opsrequest.operations.kubeblocks.io/yashandb-tiolra-stop-rg97h patched  `kbcli cluster delete-ops --name yashandb-tiolra-stop-rg97h --force --auto-approve --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-stop-rg97h deleted cluster start check cluster status before ops check cluster status done(B cluster_status:Stopped(B  `kbcli cluster start yashandb-tiolra --force=true --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-start-t6jrw created successfully, you can view the progress: kbcli cluster describe-ops yashandb-tiolra-start-t6jrw -n ns-hvtvi check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-start-t6jrw ns-hvtvi Start yashandb-tiolra yashandb Running 0/1 Feb 11,2026 17:30 UTC+0800 check cluster status  `kbcli cluster list yashandb-tiolra --show-labels --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS yashandb-tiolra ns-hvtvi DoNotTerminate Updating Feb 11,2026 17:24 UTC+0800 app.kubernetes.io/instance=yashandb-tiolra cluster_status:Updating(B check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances yashandb-tiolra --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME yashandb-tiolra-yashandb-0 ns-hvtvi yashandb-tiolra yashandb Running 0 200m / 200m 644245094400m / 644245094400m data:1Gi aks-cicdamdpool-13251918-vmss000004/10.224.0.5 Feb 11,2026 17:30 UTC+0800 check pod status done(B check cluster connect  `kubectl exec -it yashandb-tiolra-yashandb-0 --namespace ns-hvtvi -- sh -c "echo '/home/yashan/bin/yasboot sql -d sys/yasdb_123@:1688'"`(B  check cluster connect done(B check ops status  `kbcli cluster list-ops yashandb-tiolra --status all --namespace ns-hvtvi `(B  NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME yashandb-tiolra-start-t6jrw ns-hvtvi Start yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:30 UTC+0800 check ops status done(B ops_status:yashandb-tiolra-start-t6jrw ns-hvtvi Start yashandb-tiolra yashandb Succeed 1/1 Feb 11,2026 17:30 UTC+0800 (B  `kubectl patch -p '{"metadata":{"finalizers":[]}}' --type=merge opsrequests.operations yashandb-tiolra-start-t6jrw --namespace ns-hvtvi `(B  opsrequest.operations.kubeblocks.io/yashandb-tiolra-start-t6jrw patched  `kbcli cluster delete-ops --name yashandb-tiolra-start-t6jrw --force --auto-approve --namespace ns-hvtvi `(B  OpsRequest yashandb-tiolra-start-t6jrw deleted cluster update terminationPolicy WipeOut  `kbcli cluster update yashandb-tiolra --termination-policy=WipeOut --namespace ns-hvtvi `(B  cluster.apps.kubeblocks.io/yashandb-tiolra updated check cluster status  `kbcli cluster list yashandb-tiolra --show-labels --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER-DEFINITION TERMINATION-POLICY STATUS CREATED-TIME LABELS yashandb-tiolra ns-hvtvi WipeOut Running Feb 11,2026 17:24 UTC+0800 app.kubernetes.io/instance=yashandb-tiolra check cluster status done(B cluster_status:Running(B check pod status  `kbcli cluster list-instances yashandb-tiolra --namespace ns-hvtvi `(B  NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME yashandb-tiolra-yashandb-0 ns-hvtvi yashandb-tiolra yashandb Running 0 200m / 200m 644245094400m / 644245094400m data:1Gi aks-cicdamdpool-13251918-vmss000004/10.224.0.5 Feb 11,2026 17:30 UTC+0800 check pod status done(B check cluster connect  `kubectl exec -it yashandb-tiolra-yashandb-0 --namespace ns-hvtvi -- sh -c "echo '/home/yashan/bin/yasboot sql -d sys/yasdb_123@:1688'"`(B  check cluster connect done(B cluster list-logs  `kbcli cluster list-logs yashandb-tiolra --namespace ns-hvtvi `(B  cluster logs  `kbcli cluster logs yashandb-tiolra --tail 30 --namespace ns-hvtvi `(B  delete cluster yashandb-tiolra  `kbcli cluster delete yashandb-tiolra --auto-approve --namespace ns-hvtvi `(B  pod_info:yashandb-tiolra-yashandb-0 1/1 Running 0 40s Cluster yashandb-tiolra deleted delete cluster pod done(B check cluster resource non-exist OK: pvc(B delete cluster done(B Yashandb Test Suite All Done!(B Test Engine: yashandb Test Type: 47 --------------------------------------Yashandb (Topology = Replicas 1) Test Result-------------------------------------- [PASSED]|[Create]|[ComponentDefinition=yashandb-1.0.1;ComponentVersion=yashandb;ServiceVersion=23.1.1-100;]|[Description=Create a cluster with the specified component definition yashandb-1.0.1 and component version yashandb and service version 23.1.1-100](B [PASSED]|[Connect]|[ComponentName=yashandb]|[Description=Connect to the cluster](B [PASSED]|[Restart]|[-]|[Description=Restart the cluster](B [PASSED]|[VerticalScaling]|[ComponentName=yashandb]|[Description=VerticalScaling the cluster specify component yashandb](B [PASSED]|[Stop]|[-]|[Description=Stop the cluster](B [PASSED]|[Start]|[-]|[Description=Start the cluster](B [PASSED]|[Update]|[TerminationPolicy=WipeOut]|[Description=Update the cluster TerminationPolicy WipeOut](B [PASSED]|[Delete]|[-]|[Description=Delete the cluster](B [END]