Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tests): add integration test cases for changing the policies on CVC dynamically #148

Merged
merged 2 commits into from
Aug 12, 2020

Conversation

mittachaitu
Copy link
Contributor

This PR adds covers the following integration test cases:

  • Updating (includes adding and removing) resource requirements on CVC.
  • Adding toleration on CVC.
  • Adding priority class name on CVC.
  • Update luworkers and queuedepth values on CVC.
  • Updating CVC with a target node selector.

Signed-off-by: mittachaitu [email protected]

…CVC dynamically

This PR adds covers the following integration test cases:
- Updating (includes adding and removing) resource requirements on CVC.
- Adding toleration on CVC.
- Adding priority class name on CVC.
- Update luworkers and queuedepth values on CVC.
- Updating CVC with target node selector.

Signed-off-by: mittachaitu <[email protected]>
@mittachaitu mittachaitu self-assigned this Aug 4, 2020
@mittachaitu mittachaitu linked an issue Aug 4, 2020 that may be closed by this pull request
14 tasks
@mittachaitu
Copy link
Contributor Author

sai@sai: ginkgo -v -- -kubeconfig=/var/run/kubernetes/admin.kubeconfig -nodecount=1 -replicacount=1
Running Suite: CSPC Integration Tests
=====================================
Random Seed: 1596544879
Will run 23 of 23 specs

I0804 18:11:27.327657   29430 cache.go:57] Building CSPC Resource Cache...
Volume Provisioning Tests Intantiating Volume tests Provision pools using CSPC 
  should provision pools and pools should be marked as Healthy
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:69

• [SLOW TEST:22.374 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:67
    Provision pools using CSPC
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:68
      should provision pools and pools should be marked as Healthy
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:69
------------------------------
Volume Provisioning Tests Intantiating Volume tests Provision CStor-CSI volume 
  Should provision volume and PVC should bound to PV
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:75
STEP: Creating cstor-provision-sc StorageClass
I0804 18:11:49.782116   29430 pvc_util.go:65] PersistentVolumeClaim pvc-vol found and phase=Pending (10.426186ms)
I0804 18:11:54.859791   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase= (12.314344ms)
I0804 18:11:59.862086   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase= (5.01460904s)
I0804 18:12:04.866787   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase=Init (10.019306258s)
I0804 18:12:09.868595   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase=Init (15.021120626s)
I0804 18:12:14.870687   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase=Init (20.02320966s)
I0804 18:12:19.878318   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase=Init (25.030820458s)
I0804 18:12:24.880709   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase=Init (30.033231228s)
I0804 18:12:29.888255   29430 cv_util.go:57] CStorVolume pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and phase=Init (35.040762044s)

• [SLOW TEST:45.170 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:67
    Provision CStor-CSI volume
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:74
      Should provision volume and PVC should bound to PV
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:75
------------------------------
Volume Provisioning Tests Intantiating Volume tests Verify Status of CStorVolume related resources 
  no error should be returned and all the resources must be healthy
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:84
•
------------------------------
Volume Provisioning Tests Intantiating Volume tests De-Provision CStor volume 
  no error should be returned and all the CStor volume resources should be delete
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:91
I0804 18:12:39.967283   29430 cv_util.go:88] Volme manager pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and count=1 (8.822025ms)
I0804 18:12:44.985223   29430 cv_util.go:88] Volme manager pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and count=1 (5.026753652s)
I0804 18:12:50.023132   29430 cv_util.go:88] Volme manager pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and count=1 (10.064657367s)
I0804 18:12:55.038509   29430 cv_util.go:88] Volme manager pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and count=1 (15.080032111s)
I0804 18:13:00.051626   29430 cv_util.go:88] Volme manager pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and count=1 (20.093159419s)
I0804 18:13:05.055251   29430 cv_util.go:88] Volme manager pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and count=1 (25.096799596s)
I0804 18:13:10.060804   29430 cv_util.go:88] Volme manager pvc-9f3ee37d-e306-4bc8-a349-157cabe732c5 found and count=1 (30.102349964s)

• [SLOW TEST:40.181 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:67
    De-Provision CStor volume
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:90
      no error should be returned and all the CStor volume resources should be delete
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:91
------------------------------
Volume Provisioning Tests Intantiating Volume tests Deleting PVC Namespace 
  no error should occur during deletion of namespace
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:97
•
------------------------------
Volume Provisioning Tests Intantiating Volume tests Deprovisioning cspc 
  no error should be returned during pool deprovisioning
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:105

• [SLOW TEST:6.389 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:67
    Deprovisioning cspc
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:104
      no error should be returned during pool deprovisioning
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:105
------------------------------
Volume Provisioning Tests Intantiating Volume provisioing test with replica count more than available pools Provision pools using CSPC 
  should provision pools and pools should be marked as Healthy
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:471

• [SLOW TEST:46.027 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume provisioing test with replica count more than available pools
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:469
    Provision pools using CSPC
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:470
      should provision pools and pools should be marked as Healthy
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:471
------------------------------
Volume Provisioning Tests Intantiating Volume provisioing test with replica count more than available pools Provision CStor-CSI volume 
  Shouldn't provision volume and CVC should be in Pending state
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:476
STEP: Creating sc-with-more-replicas StorageClass
I0804 18:14:07.688798   29430 pvc_util.go:65] PersistentVolumeClaim pvc-with-more-replicas found and phase=Pending (10.49278ms)
I0804 18:14:12.694771   29430 cvc_util.go:53] CStorVolumeConfig pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and phase=Pending (1.76602ms)
I0804 18:14:17.696780   29430 cvc_util.go:53] CStorVolumeConfig pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and phase=Pending (5.003776538s)
I0804 18:14:22.699858   29430 cvc_util.go:53] CStorVolumeConfig pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and phase=Pending (10.006850648s)
I0804 18:14:27.702030   29430 cvc_util.go:53] CStorVolumeConfig pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and phase=Pending (15.009023597s)
I0804 18:14:32.707289   29430 cvc_util.go:53] CStorVolumeConfig pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and phase=Pending (20.014276332s)
I0804 18:14:37.709766   29430 cvc_util.go:53] CStorVolumeConfig pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and phase=Pending (25.016761018s)

• [SLOW TEST:35.184 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume provisioing test with replica count more than available pools
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:469
    Provision CStor-CSI volume
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:475
      Shouldn't provision volume and CVC should be in Pending state
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:476
------------------------------
Volume Provisioning Tests Intantiating Volume provisioing test with replica count more than available pools De-Provision CStor volume 
  no error should be returned and all the CStor volume resources should be delete
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:514
I0804 18:14:47.870806   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (12.687285ms)
I0804 18:14:52.874077   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (5.015978341s)
I0804 18:14:57.878767   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (10.020657917s)
I0804 18:15:02.892608   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (15.034501856s)
I0804 18:15:07.899073   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (20.040965663s)
I0804 18:15:12.914366   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (25.05625377s)
I0804 18:15:17.932566   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (30.074451151s)
I0804 18:15:22.939679   29430 cv_util.go:88] Volme manager pvc-7eda55aa-2ab7-4214-849a-91e45835d4fe found and count=1 (35.081576686s)

• [SLOW TEST:45.239 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume provisioing test with replica count more than available pools
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:469
    De-Provision CStor volume
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:513
      no error should be returned and all the CStor volume resources should be delete
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:514
------------------------------
Volume Provisioning Tests Intantiating Volume provisioing test with replica count more than available pools Deleting PVC Namespace 
  no error should occur during deletion of namespace
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:520
•
------------------------------
Volume Provisioning Tests Intantiating Volume provisioing test with replica count more than available pools Deprovisioning cspc 
  no error should be returned during pool deprovisioning
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:527

• [SLOW TEST:24.113 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating Volume provisioing test with replica count more than available pools
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:469
    Deprovisioning cspc
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:526
      no error should be returned during pool deprovisioning
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:527
------------------------------
Volume Provisioning Tests Intantiating dynamic Volume resource limits tests Provision pools using CSPC 
  should provision pools and pools should be marked as Healthy
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:126

• [SLOW TEST:43.003 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating dynamic Volume resource limits tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:124
    Provision pools using CSPC
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:125
      should provision pools and pools should be marked as Healthy
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:126
------------------------------
Volume Provisioning Tests Intantiating dynamic Volume resource limits tests Provision CStor-CSI volume and add and remove resource limits dynamically 
  Should propogated to volume manager pod
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:132
STEP: Creating cstor-provision-sc-resource-limits StorageClass
I0804 18:16:35.279426   29430 pvc_util.go:65] PersistentVolumeClaim pvc-vol-resource-limits found and phase=Pending (33.327434ms)
I0804 18:16:40.332631   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase= (11.544735ms)
I0804 18:16:45.341724   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase= (5.020646878s)
I0804 18:16:50.343583   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase=Init (10.022520863s)
I0804 18:16:55.348660   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase=Init (15.027595294s)
I0804 18:17:00.357417   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase=Init (20.036338171s)
I0804 18:17:05.364124   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase=Init (25.043041755s)
I0804 18:17:10.370302   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase=Init (30.04922316s)
I0804 18:17:15.374056   29430 cv_util.go:57] CStorVolume pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 found and phase=Init (35.052983873s)
I0804 18:17:20.439009   29430 provisioning_test.go:181] Waiting for volumemanager to have both resource limits
I0804 18:17:20.540922   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (101.840802ms)
I0804 18:17:25.551401   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (5.112333328s)
I0804 18:17:30.567078   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (10.12800201s)
I0804 18:17:35.569962   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (15.130905542s)
I0804 18:17:40.574091   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (20.135033471s)
I0804 18:17:45.591842   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (25.152764435s)
I0804 18:17:50.596706   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (30.15764817s)
I0804 18:17:55.605226   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (35.16616266s)
I0804 18:18:00.608351   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (40.169296328s)
I0804 18:18:05.613504   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (45.174442566s)
I0804 18:18:10.672133   29430 provisioning_test.go:192] Resource limits &ResourceRequirements{Limits:ResourceList{cpu: {{0 0} {<nil>} 0 DecimalSI},memory: {{1073741824 0} {<nil>} 1Gi BinarySI},},Requests:ResourceList{cpu: {{0 0} {<nil>} 0 DecimalSI},memory: {{524288000 0} {<nil>} 500Mi BinarySI},},} - nil
I0804 18:18:10.672375   29430 provisioning_test.go:195] Waiting for volumemanager to have resource limits alone
I0804 18:18:10.691354   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (18.928766ms)
I0804 18:18:15.737258   29430 provisioning_test.go:208] Waiting for volumemanager not to have any resource limits
I0804 18:18:15.809799   29430 cv_util.go:245] Waiting for resource limits to propogate to volume manager pvc-f0a12ae6-fb53-47ca-a026-a68f0fc33e81 since (72.471254ms)

• [SLOW TEST:116.166 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating dynamic Volume resource limits tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:124
    Provision CStor-CSI volume and add and remove resource limits dynamically
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:131
      Should propogated to volume manager pod
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:132
------------------------------
Volume Provisioning Tests Intantiating dynamic Volume resource limits tests Deprovisioning cspc 
  no error should be returned during pool deprovisioning
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:223

• [SLOW TEST:18.198 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating dynamic Volume resource limits tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:124
    Deprovisioning cspc
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:222
      no error should be returned during pool deprovisioning
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:223
------------------------------
Volume Provisioning Tests Intantiating dynamic Volume provisioning and add tolerations dynamically Provision pools using CSPC 
  should provision pools and pools should be marked as Healthy
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:246

• [SLOW TEST:49.514 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating dynamic Volume provisioning and add tolerations dynamically
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:244
    Provision pools using CSPC
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:245
      should provision pools and pools should be marked as Healthy
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:246
------------------------------
Volume Provisioning Tests Intantiating dynamic Volume provisioning and add tolerations dynamically Provision CStor-CSI volume and add and remove tolertions dynamically 
  Should propogated to volume manager pod
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:252
STEP: Creating cstor-provision-sc-tolerations StorageClass
I0804 18:19:39.085478   29430 pvc_util.go:65] PersistentVolumeClaim pvc-vol-toleratations found and phase=Pending (11.336631ms)
I0804 18:19:44.132909   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase= (8.388271ms)
I0804 18:19:49.418456   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase= (5.293930539s)
I0804 18:19:54.427253   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase=Init (10.302727211s)
I0804 18:19:59.436582   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase=Init (15.312055877s)
I0804 18:20:04.441597   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase=Init (20.317081828s)
I0804 18:20:09.451228   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase=Init (25.326703428s)
I0804 18:20:14.453505   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase=Init (30.329001613s)
I0804 18:20:19.455419   29430 cv_util.go:57] CStorVolume pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 found and phase=Init (35.33091769s)
I0804 18:20:24.511638   29430 provisioning_test.go:277] Waiting for cstor volumemanager deployment to have tolerations
I0804 18:20:24.684818   29430 cv_util.go:131] Waiting for tolerations to propogate to volume manager deployment pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 since (173.103421ms)
I0804 18:20:29.697839   29430 provisioning_test.go:289] Waiting for cstor volumemanager deployment to have tolerations
I0804 18:20:29.776481   29430 cv_util.go:131] Waiting for tolerations to propogate to volume manager deployment pvc-f1636e9b-1829-4503-a9d0-babdc7fc55a6 since (78.624862ms)

• [SLOW TEST:141.841 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating dynamic Volume provisioning and add tolerations dynamically
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:244
    Provision CStor-CSI volume and add and remove tolertions dynamically
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:251
      Should propogated to volume manager pod
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:252
------------------------------
Volume Provisioning Tests Intantiating dynamic Volume provisioning and add tolerations dynamically Deprovisioning cspc 
  no error should be returned during pool deprovisioning
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:302

• [SLOW TEST:18.381 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Intantiating dynamic Volume provisioning and add tolerations dynamically
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:244
    Deprovisioning cspc
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:301
      no error should be returned during pool deprovisioning
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:302
------------------------------
Volume Provisioning Tests Provisioning cStor Volume and dynamically adding priority class tests Provision pools using CSPC 
  should provision pools and pools should be marked as Healthy
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:320

• [SLOW TEST:46.039 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Provisioning cStor Volume and dynamically adding priority class tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:318
    Provision pools using CSPC
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:319
      should provision pools and pools should be marked as Healthy
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:320
------------------------------
Volume Provisioning Tests Provisioning cStor Volume and dynamically adding priority class tests Provision CStor-CSI volume and add and remove priority class dynamically 
  Should propogated to volume manager pod
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:326
STEP: Creating cstor-provision-sc-priority StorageClass
I0804 18:23:05.356622   29430 pvc_util.go:65] PersistentVolumeClaim pvc-vol-priority-class found and phase=Pending (10.621159ms)
I0804 18:23:10.416953   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase= (8.517924ms)
I0804 18:23:15.419453   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase= (5.011024619s)
I0804 18:23:20.426813   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase=Init (10.018370997s)
I0804 18:23:25.434642   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase=Init (15.026198608s)
I0804 18:23:30.445625   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase=Init (20.037174305s)
I0804 18:23:35.448384   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase=Init (25.03995483s)
I0804 18:23:40.456969   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase=Init (30.048523656s)
I0804 18:23:45.464879   29430 cv_util.go:57] CStorVolume pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and phase=Init (35.056427836s)
I0804 18:23:50.517055   29430 provisioning_test.go:354] Waiting for cstor volumemanager deployment to have priority class
I0804 18:23:50.558519   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (41.433882ms)
I0804 18:23:55.568480   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (5.051387588s)
I0804 18:24:00.572563   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (10.055477109s)
I0804 18:24:05.575711   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (15.058627617s)
I0804 18:24:10.589183   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (20.072080883s)
I0804 18:24:15.604938   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (25.087833288s)
I0804 18:24:20.608990   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (30.091905109s)
I0804 18:24:25.623325   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (35.106221992s)
I0804 18:24:30.643763   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (40.126651231s)
I0804 18:24:35.649581   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (45.132492082s)
I0804 18:24:40.717171   29430 provisioning_test.go:366] Waiting for cstor volumemanager to have priority class
I0804 18:24:40.830159   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (112.910328ms)
I0804 18:24:45.841645   29430 cv_util.go:158] Waiting for priority class name to propogated to volume manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba since (5.124404344s)
I0804 18:24:55.958364   29430 cv_util.go:88] Volme manager pvc-7b503e22-ff33-478b-b645-8ce1c6620eba found and count=1 (12.080022ms)

• [SLOW TEST:115.844 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Provisioning cStor Volume and dynamically adding priority class tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:318
    Provision CStor-CSI volume and add and remove priority class dynamically
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:325
      Should propogated to volume manager pod
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:326
------------------------------
Volume Provisioning Tests Provisioning cStor Volume and dynamically adding priority class tests Deprovisioning cspc 
  no error should be returned during pool deprovisioning
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:383

• [SLOW TEST:18.156 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Provisioning cStor Volume and dynamically adding priority class tests
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:318
    Deprovisioning cspc
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:382
      no error should be returned during pool deprovisioning
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:383
------------------------------
Volume Provisioning Tests Provisioning cStor Volume and dynamically update tunables Provision pools using CSPC 
  should provision pools and pools should be marked as Healthy
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:400

• [SLOW TEST:45.614 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Provisioning cStor Volume and dynamically update tunables
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:398
    Provision pools using CSPC
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:399
      should provision pools and pools should be marked as Healthy
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:400
------------------------------
Volume Provisioning Tests Provisioning cStor Volume and dynamically update tunables Provision CStor-CSI volume and update tunables dynamically 
  Should propogated to volume manager pod
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:406
STEP: Creating cstor-provision-sc-tunables StorageClass
I0804 18:26:04.897703   29430 pvc_util.go:65] PersistentVolumeClaim pvc-vol-tunables found and phase=Pending (11.343126ms)
I0804 18:26:09.928189   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase= (2.412697ms)
I0804 18:26:14.950197   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase= (5.024423112s)
I0804 18:26:19.979761   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase=Init (10.05396906s)
I0804 18:26:24.994384   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase=Init (15.068592208s)
I0804 18:26:30.009057   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase=Init (20.083271344s)
I0804 18:26:35.123488   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase=Init (25.197698796s)
I0804 18:26:40.130997   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase=Init (30.205208888s)
I0804 18:26:45.143990   29430 cv_util.go:57] CStorVolume pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and phase=Init (35.218193307s)
I0804 18:26:50.159927   29430 provisioning_test.go:423] Waiting for cstor volumemanager to have tunables
I0804 18:26:50.229468   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (69.494814ms)
I0804 18:26:55.242295   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (5.082330111s)
I0804 18:27:00.255043   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (10.095059777s)
I0804 18:27:05.269090   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (15.109126485s)
I0804 18:27:10.278633   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (20.118671477s)
I0804 18:27:15.293160   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (25.133195678s)
I0804 18:27:20.297752   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (30.137804166s)
I0804 18:27:25.301092   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (35.141145927s)
I0804 18:27:30.311213   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (40.151253836s)
I0804 18:27:35.324323   29430 cv_util.go:298] Waiting for tunables to propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (45.164350818s)
I0804 18:27:40.518521   29430 provisioning_test.go:440] Waiting for cstor volumemanager to have nodeSelector changes
I0804 18:27:40.697348   29430 cv_util.go:185] Waiting for node selector to be propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (178.72201ms)
I0804 18:27:45.702058   29430 cv_util.go:185] Waiting for node selector to be propogated to volume manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f since (5.183447615s)
I0804 18:27:55.755126   29430 cv_util.go:88] Volme manager pvc-34e26598-4567-48ba-90bc-9c604e4b2d8f found and count=1 (6.871371ms)

• [SLOW TEST:115.956 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Provisioning cStor Volume and dynamically update tunables
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:398
    Provision CStor-CSI volume and update tunables dynamically
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:405
      Should propogated to volume manager pod
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:406
------------------------------
Volume Provisioning Tests Provisioning cStor Volume and dynamically update tunables Deprovisioning cspc 
  no error should be returned during pool deprovisioning
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:452

• [SLOW TEST:21.366 seconds]
Volume Provisioning Tests
/home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:53
  Provisioning cStor Volume and dynamically update tunables
  /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:398
    Deprovisioning cspc
    /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:451
      no error should be returned during pool deprovisioning
      /home/sai/gocode/src/github.com/openebs/cstor-operators/tests/cstorvolume/provisioing/provisioning_test.go:452
------------------------------

Ran 23 of 23 Specs in 1014.836 seconds
SUCCESS! -- 23 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS

Ginkgo ran 1 suite in 17m3.066031138s
Test Suite Passed

@sonasingh46 sonasingh46 merged commit 0758d38 into openebs-archive:master Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add integration test for cstor volumes in cvc
2 participants