A | B | C | D | E | F | G | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Created | 10/02/2024 | |||||||||||||||
2 | Updated | 10/02/2024 | |||||||||||||||
3 | Total Tests | 19 | Automated | ||||||||||||||
4 | E2E | 19 | 0 | ||||||||||||||
5 | FT | 0 | 0 | ||||||||||||||
6 | IT | 0 | 0 | ||||||||||||||
7 | UT | 0 | 0 | ||||||||||||||
8 | |||||||||||||||||
9 | TestCase Type | Feature Scenario | Testcase Title | TestcaseId | Testcase Precondition | Testcase steps | Expected Result | TestReport | Issue identified | ||||||||
10 | E2E | Create Backup | Create Backup with services in default namespace | Kahu_0003 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | n | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All service of default namespace is backuped. c) All dependent resources of a service is also backuped | PASS | |||||||||
11 | E2E | Create Backup | Create Backup with configmap in default namespace | Kahu_0004 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: ConfigMap isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All configmap of default namespace is backuped. c) All dependent resources of a configmap are also backuped | PASS | |||||||||
12 | E2E | Create Backup | Create Backup with deployment in default namespace | Kahu_0005 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: Deployment isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All deployment of default namespace is backuped c) All dependent resources of a deployment are also backuped | PASS | |||||||||
13 | E2E | Create Backup | Create Backup with daemonset in default namespace | Kahu_0006 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: DaemonSet isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All daemonset of default namespace is backuped. c) All dependent resources of a daemonset are also backuped | PASS | |||||||||
14 | E2E | Create Backup | Create Backup with statefulset in default namespace | Kahu_0007 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: StatefulSet isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All statefulset of default namespace is backuped. but point to note, the statefulset which has ownerreference will not be backuped c) All dependent resources of a statefultset are also backuped | PASS | |||||||||
15 | E2E | Create Backup | Create Backup with pods in default namespace | Kahu_0008 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: Pod isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All pods of default namespace is backuped. but point to note, the pod which has ownerreference will not be backuped c) All dependent resources of a pod are also backuped | PASS | |||||||||
16 | E2E | Create Backup | Create Backup with pods with volumes in default namespace | Kahu_0008 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server d. volume service with volume provider 3. Metadata location is created already 4. pod contains some pvc and some data written on volume 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: Pod isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All pods of default namespace is backuped. but point to note, the pod which has ownerreference will not be backuped c) All dependent resources of a pod are also backuped d) volumebackup content is created for this backup (kubectl get vbc) | NOT TESTED | |||||||||
17 | E2E | Create Backup | Create Backup with replicaset in default namespace | Kahu_0009 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: ReplicaSet isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All replicaset of default namespace is backuped. but point to note, the replicaset which has ownerreference will not be backuped c) All dependent resources of a replicaset are also backuped | PASS | |||||||||
18 | E2E | Create Backup | Create Backup with PVC in default namespace | Kahu_0010 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: PersistentVolumeClaim isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All PVC of default namespace is backuped c) All dependent resources of a pvc are also backuped | NOT TESTED | |||||||||
19 | E2E | Create Backup | Create Backup with Storage Class in cluster | Kahu_0011 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: metadataLocation: nfs includeResources: - name: kind: StorageClass isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All storaceclass of default namespace is backuped. | PASS | |||||||||
20 | E2E | Create Backup | Create Backup with deployment but only name contains kahu, keyword | Kahu_0012 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kahu kind: Deployment isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All deployment has "kahu" keywork of default namespace is backuped. For example: 1. kahu-123 2. 123-kahu 3. 123-kahu-456 etc. | PASS | |||||||||
21 | E2E | Create Backup | Create Backup with deployment but only name contains "kahu", keyword but exclude the name "kahu-restore-deployment" | Kahu_0013 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kahu kind: Deployment isRegex: true excludeResources: - name: kahu-restore-deployment kind: Deployment isRegex: false 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All deployment has "kahu" keywork of default namespace is backuped. For example: 1. kahu-123 2. 123-kahu 3. 123-kahu-456 but it should not contain "kahu-restore-deployment" name | PASS | |||||||||
22 | E2E | Create Backup | Create Backup with deployment but only name contains "kahu", keyword but exclude the name "restore" | Kahu_0014 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kahu kind: Deployment isRegex: true excludeResources: - name: restore kind: Deployment isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All deployment has "kahu" keywork of default namespace is backuped. For example: 1. kahu-123 2. 123-kahu 3. 123-kahu-456 but it should not contain 1. restore-* 2. *-restore 3. *-restore-* | PASS | |||||||||
23 | E2E | Create Backup | Create Backup with deployment and pod | Kahu_0015 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: kind: Deployment isRegex: true includeResources: - name: kind: Pod isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All deployments and pods are backuped. but point to note, the pod which has ownerreference will not be backuped | PASS | |||||||||
24 | E2E | Create Backup | Create Backup with all resources excepts deployment and pod | Kahu_0016 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs excludeResources: - name: kind: Deployment isRegex: true excludeResources: - name: kind: Pod isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All resources excepts deployments and pods are backuped. but point to note, the resource which has ownerreference will not be backuped | PASS | |||||||||
25 | E2E | Create Backup | Create Backup with all resources from two namespaces, default and test-ns | Kahu_0017 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default, test-ns] metadataLocation: nfs 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All resources of default and test-ns namespaces, like deployments, pods, daemonset, statefulset, replicaset, service, configmap, serviceaccount, role/clusterrole etc. should be backuped. but point to note, the resource which has ownerreference will not be backuped | PASS | |||||||||
26 | E2E | Create Backup | Create Backup with all Pod, which has labels, app = nginx | Kahu_0018 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs label: matchLabels: app: nginx includeResources: - name: kind: Pod isRegex: true 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, All pod which has labels app=nginx are backuped | PASS | |||||||||
27 | E2E | Create Backup | Create Backup with specific name of Pod | Kahu_0019 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | 1. Create below backup CR using kubectl command (use kubectl create -f <backup.yaml>) apiVersion: kahu.io/v1 kind: Backup metadata: name: backup-Kahu-0001 spec: includeNamespaces: [default] metadataLocation: nfs includeResources: - name: <specific-name> kind: Pod isRegex: false 2. Use kubectl describe backup <backup-name> -n test-kahu 3. Get inside nfs server pod and check for the content inside mount path given (use command kubectl exec -ti <nfs-server-pod> -n test-kahu /bin/sh) | 1. In step 2, a) Verify that backup stage is Finished and State is Completed b) Verify the resource list in status shows all the required resources 2. In step 3, verify that a) tar file is created with name of backup b) After untar file, the <specific-name> pod is backuped and it's dependent resource | PASS | |||||||||
28 | E2E | Create Backup | Create Backup with Pod from One namespace and deployment from different namespace | Kahu_0020 | 1. Kahu project installed in given name-space (test-kahu) 2. All below pods should be up and running: a. backup service b. Meta service with nfs provider c. nfs-server 3. Metadata location is created already 4. Namespace new-ns is created and contains some of the kubernetes resources | NO SUPPORT | NA | NOT TESTED | |||||||||
29 | |||||||||||||||||
30 | |||||||||||||||||
31 | |||||||||||||||||
32 | |||||||||||||||||
33 | |||||||||||||||||
34 | |||||||||||||||||
35 | |||||||||||||||||
36 | |||||||||||||||||
37 | |||||||||||||||||
38 | |||||||||||||||||
39 | |||||||||||||||||
40 | |||||||||||||||||
41 | |||||||||||||||||
42 | |||||||||||||||||
43 | |||||||||||||||||
44 | |||||||||||||||||
45 | |||||||||||||||||
46 | |||||||||||||||||
47 | |||||||||||||||||
48 | |||||||||||||||||
49 | |||||||||||||||||
50 | |||||||||||||||||
51 | |||||||||||||||||
52 | |||||||||||||||||
53 | |||||||||||||||||
54 | |||||||||||||||||
55 | |||||||||||||||||
56 | |||||||||||||||||
57 | |||||||||||||||||
58 | |||||||||||||||||
59 | |||||||||||||||||
60 | |||||||||||||||||
61 | |||||||||||||||||
62 | |||||||||||||||||
63 | |||||||||||||||||
64 | |||||||||||||||||
65 | |||||||||||||||||
66 | |||||||||||||||||
67 | |||||||||||||||||
68 | |||||||||||||||||
69 | |||||||||||||||||
70 | |||||||||||||||||
71 | |||||||||||||||||
72 | |||||||||||||||||
73 | |||||||||||||||||
74 | |||||||||||||||||
75 | |||||||||||||||||
76 | |||||||||||||||||
77 | |||||||||||||||||
78 | |||||||||||||||||
79 | |||||||||||||||||
80 | |||||||||||||||||
81 | |||||||||||||||||
82 | |||||||||||||||||
83 | |||||||||||||||||
84 | |||||||||||||||||
85 | |||||||||||||||||
86 | |||||||||||||||||
87 | |||||||||||||||||
88 | |||||||||||||||||
89 | |||||||||||||||||
90 | |||||||||||||||||
91 | |||||||||||||||||
92 | |||||||||||||||||
93 | |||||||||||||||||
94 | |||||||||||||||||
95 | |||||||||||||||||
96 | |||||||||||||||||
97 | |||||||||||||||||
98 | |||||||||||||||||
99 | |||||||||||||||||
100 |