Skip to content

Commit 506ab8b

Browse files
authored
ef tag addition for block vanilla tests (#3593)
1 parent ad6c398 commit 506ab8b

15 files changed

+132
-129
lines changed

tests/e2e/csi_snapshot_basic.go

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
520520
11. The snapshot that was created via CNS in step-2 should be deleted as part of k8s snapshot delete
521521
12. Delete the pvc
522522
*/
523-
ginkgo.It("[block-vanilla-snapshot] Verify snapshot static provisioning "+
523+
ginkgo.It("[ef-vanilla-block][block-vanilla-snapshot] Verify snapshot static provisioning "+
524524
"via CNS", ginkgo.Label(p0, block, vanilla, snapshot, stable, vc80), func() {
525525

526526
ctx, cancel := context.WithCancel(context.Background())
@@ -842,7 +842,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
842842
9. Query the Snasphot from CNS side using the volumeId
843843
10. Cleanup the snapshot and delete the volume
844844
*/
845-
ginkgo.It("[block-vanilla-snapshot] Verify snapshot static provisioning with deletion "+
845+
ginkgo.It("[ef-vanilla-block][block-vanilla-snapshot] Verify snapshot static provisioning with deletion "+
846846
"policy Retain - test2", ginkgo.Label(p0, block, vanilla, snapshot, stable, vc80), func() {
847847

848848
ctx, cancel := context.WithCancel(context.Background())
@@ -1958,7 +1958,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
19581958
designed to return success even though it cannot find a snapshot in the backend)
19591959
*/
19601960

1961-
ginkgo.It("[cf-wcp] [block-vanilla-snapshot] [tkg-snapshot][supervisor-snapshot]"+
1961+
ginkgo.It("[ef-vanilla-block][cf-wcp][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot]"+
19621962
"[ef-vks-cnapshot] Delete a non-existent snapshot", ginkgo.Label(p0, block, vanilla,
19631963
wcp, snapshot, tkg, negative, vc90), func() {
19641964

@@ -2143,8 +2143,9 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
21432143
4. Create with exact size and ensure it succeeds
21442144
*/
21452145

2146-
ginkgo.It("[cf-wcp][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot] Create Volume from snapshot with "+
2147-
"different size", ginkgo.Label(p1, block, vanilla, snapshot, tkg, wcp, stable, negative, vc90), func() {
2146+
ginkgo.It("[ef-vanilla-block][cf-wcp][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot] Create Volume "+
2147+
"from snapshot with different size", ginkgo.Label(p1, block, vanilla, snapshot, tkg, wcp, stable, negative,
2148+
vc90), func() {
21482149

21492150
ctx, cancel := context.WithCancel(context.Background())
21502151
defer cancel()
@@ -2276,9 +2277,9 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
22762277
10. Verify if the new pod attaches to the PV created in step-8
22772278
11. Cleanup the sts and the snapshot + pv that was left behind in step-7
22782279
*/
2279-
ginkgo.It("[ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot]"+
2280-
"[supervisor-snapshot] [ef-vks-snapshot] Snapshot workflow for "+
2281-
"statefulsets", ginkgo.Label(p0, block, vanilla, snapshot, wcp, tkg, vc80), func() {
2280+
ginkgo.It("[ef-vanilla-block][ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot]"+
2281+
"[ef-vks-snapshot] Snapshot workflow for statefulsets", ginkgo.Label(p0, block, vanilla, snapshot, wcp,
2282+
tkg, vc80), func() {
22822283
ctx, cancel := context.WithCancel(context.Background())
22832284
defer cancel()
22842285
quota := make(map[string]*resource.Quantity)
@@ -2534,8 +2535,9 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
25342535
5. Expect VolumeFailedDelete error with an appropriate err-msg
25352536
6. Run cleanup - delete the snapshots and then delete pv
25362537
*/
2537-
ginkgo.It("[ef-wcp-snapshot][block-vanilla-snapshot] [tkg-snapshot][supervisor-snapshot] Volume deletion with"+
2538-
"existing snapshots", ginkgo.Label(p0, block, vanilla, snapshot, tkg, wcp, stable, negative, vc80), func() {
2538+
ginkgo.It("[ef-vanilla-block][ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot] Volume "+
2539+
"deletion with existing snapshots", ginkgo.Label(p0, block, vanilla, snapshot, tkg, wcp, stable, negative,
2540+
vc80), func() {
25392541

25402542
ctx, cancel := context.WithCancel(context.Background())
25412543
defer cancel()
@@ -2628,8 +2630,8 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
26282630
4. create a pre-provisioned snapshot (which uses VolumeSnapshotContent as source) using the VSC from step(3)
26292631
5. Ensure this provisioning fails with appropriate error: SnapshotContentMismatch error
26302632
*/
2631-
ginkgo.It("[block-vanilla-snapshot] [tkg-snapshot][ef-vks-snapshot] Create a pre-provisioned snapshot using "+
2632-
"VolumeSnapshotContent as source", ginkgo.Label(p1, block, vanilla, snapshot, tkg, stable,
2633+
ginkgo.It("[ef-vanilla-block][block-vanilla-snapshot][tkg-snapshot][ef-vks-snapshot] Create a pre-provisioned "+
2634+
"snapshot using VolumeSnapshotContent as source", ginkgo.Label(p1, block, vanilla, snapshot, tkg, stable,
26332635
negative, vc80), func() {
26342636

26352637
ctx, cancel := context.WithCancel(context.Background())
@@ -2729,7 +2731,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
27292731
(note the snapshotHandle its pointing to has been deleted)
27302732
9. Volume Create should fail with an appropriate error on k8s side
27312733
*/
2732-
ginkgo.It("[block-vanilla-snapshot] Pre-provisioned snapshot using incorrect/non-existing "+
2734+
ginkgo.It("[ef-vanilla-block][block-vanilla-snapshot] Pre-provisioned snapshot using incorrect/non-existing "+
27332735
"static snapshot", ginkgo.Label(p0, block, vanilla, snapshot, negative, vc80), func() {
27342736

27352737
ctx, cancel := context.WithCancel(context.Background())
@@ -2886,7 +2888,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
28862888
7. Validate the pvc is Bound
28872889
8. Cleanup the snapshot and pvc
28882890
*/
2889-
ginkgo.It("[block-vanilla-snapshot] Create a volume from a snapshot that is still not "+
2891+
ginkgo.It("[ef-vanilla-block][block-vanilla-snapshot] Create a volume from a snapshot that is still not "+
28902892
"ready-to-use", ginkgo.Label(p0, block, vanilla, snapshot, stable, negative, vc80), func() {
28912893

28922894
ctx, cancel := context.WithCancel(context.Background())
@@ -3361,8 +3363,9 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
33613363
6. Run resize and it should succeed
33623364
7. Cleanup the pvc
33633365
*/
3364-
ginkgo.It("[ef-wcp-snapshot][block-vanilla-snapshot] [tkg-snapshot][supervisor-snapshot] Volume online resize of "+
3365-
"a volume having snapshots", ginkgo.Label(p0, block, vanilla, tkg, snapshot, stable, negative, vc90), func() {
3366+
ginkgo.It("[ef-vanilla-block][ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot] Volume "+
3367+
"online resize of a volume having snapshots", ginkgo.Label(p0, block, vanilla, tkg, snapshot, stable, negative,
3368+
vc90), func() {
33663369

33673370
ctx, cancel := context.WithCancel(context.Background())
33683371
defer cancel()
@@ -4253,7 +4256,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
42534256
8. Cleanup all the snapshots and the pvc.
42544257
*/
42554258

4256-
ginkgo.It("[ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot]"+
4259+
ginkgo.It("[ef-vanilla-block][ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot]"+
42574260
"[ef-vks-snapshot] Multi-master and snapshot workflow", ginkgo.Label(p1, block, vanilla,
42584261
tkg, snapshot, vc80), func() {
42594262

@@ -4525,7 +4528,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
45254528
5. Validate creation of additional snapshots beyond the configured
45264529
max-snapshots per volume fails - check error returned
45274530
*/
4528-
ginkgo.It("[block-vanilla-snapshot] Max Snapshots per volume test", ginkgo.Label(p1, block,
4531+
ginkgo.It("[ef-vanilla-block][block-vanilla-snapshot] Max Snapshots per volume test", ginkgo.Label(p1, block,
45294532
vanilla, snapshot, vc80), func() {
45304533

45314534
ctx, cancel := context.WithCancel(context.Background())
@@ -4907,8 +4910,8 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
49074910
3. Cleanup of snapshot, pvc and sc
49084911
*/
49094912

4910-
ginkgo.It("[pq-wcp-snpt][block-vanilla-snapshot][tkg-snapshot] [supervisor-snapshot] Volume provision and "+
4911-
"snapshot creation/restore on VMFS Datastore", ginkgo.Label(p0, block, vanilla, snapshot,
4913+
ginkgo.It("[ef-vanilla-block][pq-wcp-snpt][block-vanilla-snapshot][tkg-snapshot] [supervisor-snapshot] Volume "+
4914+
"provision and snapshot creation/restore on VMFS Datastore", ginkgo.Label(p0, block, vanilla, snapshot,
49124915
tkg, vc80), func() {
49134916
ctx, cancel := context.WithCancel(context.Background())
49144917
defer cancel()
@@ -4921,7 +4924,7 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
49214924
2. Create Snapshot class and take a snapshot of the volume
49224925
3. Cleanup of snapshot, pvc and sc
49234926
*/
4924-
ginkgo.It("[ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot] [supervisor-snapshot]"+
4927+
ginkgo.It("[ef-vanilla-block][ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot] [supervisor-snapshot]"+
49254928
"[ef-vks-snapshot] Volume provision and snapshot creation/restore on NFS Datastore", ginkgo.Label(p0,
49264929
block, vanilla, snapshot, tkg, vc80), func() {
49274930
ctx, cancel := context.WithCancel(context.Background())
@@ -4964,9 +4967,9 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
49644967
4. Volume restore
49654968
5. snapshot create/delete workflow
49664969
*/
4967-
ginkgo.It("[ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot][ef-vks-snapshot] Scale-up "+
4968-
"creation of snapshots across multiple volumes", ginkgo.Label(p1, block, vanilla, snapshot,
4969-
tkg, stable, vc80), func() {
4970+
ginkgo.It("[ef-vanilla-block][ef-wcp-snapshot][block-vanilla-snapshot][tkg-snapshot][supervisor-snapshot]"+
4971+
"[ef-vks-snapshot] Scale-up creation of snapshots across multiple volumes", ginkgo.Label(p1, block, vanilla,
4972+
snapshot, tkg, stable, vc80), func() {
49704973

49714974
ctx, cancel := context.WithCancel(context.Background())
49724975
defer cancel()

tests/e2e/csi_static_provisioning_basic.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ var _ = ginkgo.Describe("Basic Static Provisioning", func() {
267267
// 9. Verify volume is detached from the node.
268268
// 10. Delete PVC.
269269
// 11. Verify PV is deleted automatically.
270-
ginkgo.It("[csi-block-vanilla] [csi-block-vanilla-parallelized] Verify basic static provisioning "+
271-
"workflow", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
270+
ginkgo.It("[ef-vanilla-block][csi-block-vanilla] [csi-block-vanilla-parallelized] Verify basic static "+
271+
"provisioning workflow", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
272272
var err error
273273

274274
ctx, cancel := context.WithCancel(context.Background())
@@ -376,8 +376,8 @@ var _ = ginkgo.Describe("Basic Static Provisioning", func() {
376376
// 9. Verify volume is detached from the node.
377377
// 10. Delete PVC.
378378
// 11. Verify PV is deleted automatically.
379-
ginkgo.It("[csi-block-vanilla] [csi-block-vanilla-parallelized] Verify basic static provisioning workflow "+
380-
"with XFS filesystem", ginkgo.Label(p1, block, vanilla, core, vc70), func() {
379+
ginkgo.It("[ef-vanilla-block][csi-block-vanilla][csi-block-vanilla-parallelized] Verify basic static provisioning"+
380+
" workflow with XFS filesystem", ginkgo.Label(p1, block, vanilla, core, vc70), func() {
381381
var err error
382382

383383
ctx, cancel := context.WithCancel(context.Background())

tests/e2e/data_persistence.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ var _ = ginkgo.Describe("Data Persistence", func() {
304304
// 10. Delete pod.
305305
// 11. Wait for volume to be detached.
306306
// 12. Delete PVC and SC.
307-
ginkgo.It("[csi-block-vanilla] [csi-block-vanilla-parallelized] Dynamic volume provisioning data persistence "+
308-
"test with XFS filesystem", ginkgo.Label(p0, block, vanilla, wcp, core, vc70), func() {
307+
ginkgo.It("[ef-vanilla-block][csi-block-vanilla][csi-block-vanilla-parallelized] Dynamic volume provisioning data"+
308+
" persistence test with XFS filesystem", ginkgo.Label(p0, block, vanilla, wcp, core, vc70), func() {
309309
ctx, cancel := context.WithCancel(context.Background())
310310
defer cancel()
311311
var sc *storagev1.StorageClass

tests/e2e/fullsync_test_for_block_volume.go

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ var _ bool = ginkgo.Describe("full-sync-test", func() {
134134
}
135135
})
136136

137-
ginkgo.It("[csi-block-vanilla] [csi-block-vanilla-serialized] Verify CNS volume is created after "+
138-
"full sync when pv entry is present", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
137+
ginkgo.It("[ef-vanilla-block][csi-block-vanilla] [csi-block-vanilla-serialized] Verify CNS volume is created "+
138+
"after full sync when pv entry is present", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
139139
var err error
140140

141141
ctx, cancel := context.WithCancel(context.Background())
@@ -209,8 +209,8 @@ var _ bool = ginkgo.Describe("full-sync-test", func() {
209209

210210
})
211211

212-
ginkgo.It("[ef-wcp][csi-supervisor] [csi-block-vanilla] [csi-block-vanilla-serialized] Verify labels are created "+
213-
"in CNS after updating pvc and/or pv with new labels", ginkgo.Label(p0, block, vanilla, wcp, core,
212+
ginkgo.It("[ef-vanilla-block][csi-supervisor] [csi-block-vanilla] [csi-block-vanilla-serialized] Verify labels "+
213+
"are created in CNS after updating pvc and/or pv with new labels", ginkgo.Label(p0, block, vanilla, wcp, core,
214214
vc70), func() {
215215
ginkgo.By("Invoking test to verify labels creation")
216216
var sc *storagev1.StorageClass
@@ -298,8 +298,9 @@ var _ bool = ginkgo.Describe("full-sync-test", func() {
298298

299299
})
300300

301-
ginkgo.It("[ef-wcp][csi-supervisor] [csi-block-vanilla] [csi-block-vanilla-serialized] Verify CNS volume is "+
302-
"deleted after full sync when pv entry is delete", ginkgo.Label(p0, block, vanilla, wcp, core, vc70), func() {
301+
ginkgo.It("[ef-vanilla-block][ef-wcp][csi-supervisor] [csi-block-vanilla] [csi-block-vanilla-serialized] Verify CNS "+
302+
"volume is deleted after full sync when pv entry is delete", ginkgo.Label(p0, block, vanilla, wcp, core,
303+
vc70), func() {
303304
ginkgo.By("Invoking test to verify CNS volume creation")
304305
ctx, cancel := context.WithCancel(context.Background())
305306
defer cancel()
@@ -402,7 +403,7 @@ var _ bool = ginkgo.Describe("full-sync-test", func() {
402403
// 9. verify that pvc labels for pvclaim[2] has been updated.
403404
// 10. verify that pv labels for pvs[3] has been updated.
404405
// 11. cleanup to remove pvs and pvcliams.
405-
ginkgo.It("[csi-block-vanilla] [csi-block-vanilla-serialized] Verify Multiple PVCs are "+
406+
ginkgo.It("[ef-vanilla-block][csi-block-vanilla] [csi-block-vanilla-serialized] Verify Multiple PVCs are "+
406407
"deleted/updated after full sync", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
407408
sc, err := createStorageClass(client, nil, nil, v1.PersistentVolumeReclaimRetain, "", false, "")
408409
gomega.Expect(err).NotTo(gomega.HaveOccurred())
@@ -513,8 +514,8 @@ var _ bool = ginkgo.Describe("full-sync-test", func() {
513514
}
514515
})
515516

516-
ginkgo.It("[csi-block-vanilla] [csi-block-vanilla-serialized] Verify PVC metadata is created in CNS "+
517-
"after PVC is created in k8s", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
517+
ginkgo.It("[ef-vanilla-block][csi-block-vanilla] [csi-block-vanilla-serialized] Verify PVC metadata is created "+
518+
"in CNS after PVC is created in k8s", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
518519
var err error
519520

520521
ctx, cancel := context.WithCancel(context.Background())
@@ -589,8 +590,8 @@ var _ bool = ginkgo.Describe("full-sync-test", func() {
589590
gomega.Expect(err).NotTo(gomega.HaveOccurred())
590591
})
591592

592-
ginkgo.It("[csi-block-vanilla] [csi-block-vanilla-serialized] Verify PVC metadata is deleted in CNS after "+
593-
"PVC is deleted in k8s", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
593+
ginkgo.It("[ef-vanilla-block][csi-block-vanilla] [csi-block-vanilla-serialized] Verify PVC metadata is deleted in"+
594+
" CNS after PVC is deleted in k8s", ginkgo.Label(p0, block, vanilla, core, vc70), func() {
594595
var err error
595596

596597
ctx, cancel := context.WithCancel(context.Background())

tests/e2e/labelupdates.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ var _ bool = ginkgo.Describe("[csi-block-vanilla] [csi-block-vanilla-parallelize
120120
}
121121
})
122122

123-
ginkgo.It("[cf-wcp] [csi-supervisor] verify labels are created in CNS after updating pvc "+
123+
ginkgo.It("[ef-vanilla-block][cf-wcp] [csi-supervisor] verify labels are created in CNS after updating pvc "+
124124
"and/or pv with new labels", ginkgo.Label(p1, block, vanilla, windows, wcp,
125125
core), func() {
126126
ginkgo.By("Invoking test to verify labels creation")
@@ -194,8 +194,8 @@ var _ bool = ginkgo.Describe("[csi-block-vanilla] [csi-block-vanilla-parallelize
194194

195195
})
196196

197-
ginkgo.It("[csi-supervisor] verify labels are removed in CNS after removing them from pvc and/or "+
198-
"pv", ginkgo.Label(p0, block, vanilla, windows, wcp, core), func() {
197+
ginkgo.It("[ef-vanilla-block][csi-supervisor] verify labels are removed in CNS after removing them from pvc "+
198+
"and/or pv", ginkgo.Label(p0, block, vanilla, windows, wcp, core), func() {
199199
ginkgo.By("Invoking test to verify labels deletion")
200200
labels := make(map[string]string)
201201
labels[labelKey] = labelValue
@@ -394,7 +394,7 @@ var _ bool = ginkgo.Describe("[csi-block-vanilla] [csi-block-vanilla-parallelize
394394
8. Delete SC
395395
*/
396396

397-
ginkgo.It("Verify PVC name is removed from PV entry on CNS after PVC is deleted "+
397+
ginkgo.It("[ef-vanilla-block]Verify PVC name is removed from PV entry on CNS after PVC is deleted "+
398398
"when Reclaim Policy is set to retain.", ginkgo.Label(p0, block, vanilla, windows, core), func() {
399399
var err error
400400
ctx, cancel := context.WithCancel(context.Background())

0 commit comments

Comments
 (0)