adding test number tags to each testcase
Change-Id: I66978362d3c5344dbb9b4b543508672a37f223a5
diff --git a/src/test/cord-api/Tests/WorkflowValidations/ATT_Test001.robot b/src/test/cord-api/Tests/WorkflowValidations/ATT_Test001.robot
index da0a422..aeb78dc 100644
--- a/src/test/cord-api/Tests/WorkflowValidations/ATT_Test001.robot
+++ b/src/test/cord-api/Tests/WorkflowValidations/ATT_Test001.robot
@@ -51,6 +51,7 @@
... Configure whitelist with correct ONU location
... Validate successful authentication/DHCP/E2E ping
[Setup] None
+ [Tags] test1
Wait Until Keyword Succeeds 300s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -67,6 +68,7 @@
... Validate failed authentication/DHCP/E2E ping
... Add ONU to whitelist
... Validate successful authentication/DHCP/E2E ping
+ [Tags] test2
Wait Until Keyword Succeeds 300s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -98,6 +100,7 @@
... Validate failed authentication/DHCP/E2E ping
... Update whitelist with correct ONU location
... Validate successful authentication/DHCP/E2E ping
+ [Tags] test3
Wait Until Keyword Succeeds 300s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -129,6 +132,7 @@
... Validate successful authentication (expected with the ONF pod setup) but failed DHCP/E2E ping
... Recreate subscriber model
... Validate successful authentication/DHCP/E2E ping
+ [Tags] test4
Wait Until Keyword Succeeds 300s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -156,6 +160,7 @@
... Provision subscriber
... Validate successful authentication/DHCP/E2E ping
[Setup] None
+ [Tags] test5
Create Whitelist
Create VOLT
Wait Until Keyword Succeeds 300s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
@@ -175,6 +180,7 @@
[Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
... Configure whitelist with correct ONU location and skip RG authentication
... Validate failed authentication/DHCP/E2E ping
+ [Tags] test6
Wait Until Keyword Succeeds 300s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -185,6 +191,7 @@
... Skip whitelist configuration for ONU
... Validate failed authentication/DHCP/E2E ping
[Setup] None
+ [Tags] test7
Create Subscriber
Create VOLT
Wait Until Keyword Succeeds 300s 15s Validate ONU States UNKNOWN DISABLED ${onu_device}
@@ -204,6 +211,7 @@
... Provision subscriber
... Validate successful authentication/DHCP/E2E ping
[Setup] None
+ [Tags] test8
Create VOLT
Wait Until Keyword Succeeds 300s 15s Validate ONU States UNKNOWN DISABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI DISABLED AWAITING ${onu_device}
@@ -229,6 +237,7 @@
[Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
... Configure whitelist with wrong ONU location
... Validate failed authentication/DHCP/E2E ping
+ [Tags] test9
Update Whitelist with Wrong Location
Wait Until Keyword Succeeds 300s 15s Validate ONU States UNKNOWN DISABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI DISABLED AWAITING ${onu_device}
@@ -247,6 +256,7 @@
... Provision subscriber
... Validate successful authentication/DHCP/E2E ping
[Setup] None
+ [Tags] test10
Create VOLT
Create Whitelist
Update Whitelist with Wrong Location
diff --git a/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot b/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
index 2452f2d..494d37f 100644
--- a/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
+++ b/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
@@ -49,7 +49,7 @@
... Configure whitelist with correct ONU location
... Validate successful authentication/DHCP/E2E ping
[Setup] None
- [Tags] stable latest
+ [Tags] stable latest test1
Wait Until Keyword Succeeds 60s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -75,7 +75,7 @@
... Validate failed authentication/DHCP/E2E ping
... Add ONU to whitelist
... Validate successful authentication/DHCP/E2E ping
- [Tags] latest
+ [Tags] latest test2
Wait Until Keyword Succeeds 60s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -112,7 +112,7 @@
... Validate failed authentication/DHCP/E2E ping
... Update whitelist with correct ONU location
... Validate successful authentication/DHCP/E2E ping
- [Tags] latest
+ [Tags] latest test3
Wait Until Keyword Succeeds 60s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -149,7 +149,7 @@
... Validate failed authentication/DHCP/E2E ping
... Recreate subscriber model
... Validate successful authentication/DHCP/E2E ping
- [Tags] latest
+ [Tags] latest test4
Wait Until Keyword Succeeds 60s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -179,7 +179,7 @@
... Validate successful authentication (expected with the ONF pod setup) but failed DHCP/E2E ping
... Provision subscriber
... Validate successful authentication/DHCP/E2E ping
- [Tags] latest
+ [Tags] latest test5
Remove Subscriber
Wait Until Keyword Succeeds 60s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
@@ -200,7 +200,7 @@
[Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
... Configure whitelist with correct ONU location and skip RG authentication
... Validate failed authentication/DHCP/E2E ping
- [Tags] stable latest
+ [Tags] stable latest test6
Wait Until Keyword Succeeds 60s 15s Validate ONU States ACTIVE ENABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI ENABLED AWAITING ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
@@ -212,7 +212,7 @@
[Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
... Skip whitelist configuration for ONU
... Validate failed authentication/DHCP/E2E ping
- [Tags] stable latest
+ [Tags] stable latest test7
[Setup] Simple Setup
Wait Until Keyword Succeeds 60s 2s Create Subscriber
Wait Until Keyword Succeeds 60s 2s Create VOLT
@@ -234,7 +234,7 @@
... Validate successful authentication (expected with the ONF pod setup) but failed DHCP/E2E ping
... Provision subscriber
... Validate successful authentication/DHCP/E2E ping
- [Tags] latest
+ [Tags] latest test8
[Setup] Simple Setup
Wait Until Keyword Succeeds 60s 2s Create VOLT
Wait Until Keyword Succeeds 60s 15s Validate ONU States UNKNOWN DISABLED ${onu_device}
@@ -262,7 +262,7 @@
[Documentation] Validates E2E Ping Connectivity and object states for the given scenario:
... Configure whitelist with wrong ONU location
... Validate failed authentication/DHCP/E2E ping
- [Tags] latest
+ [Tags] latest test9
Update Whitelist with Wrong Location
Wait Until Keyword Succeeds 60s 15s Validate ONU States UNKNOWN DISABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI DISABLED AWAITING ${onu_device}
@@ -282,7 +282,7 @@
... Validate successful authentication (expected with the ONF pod setup) but failed DHCP/E2E ping
... Provision subscriber
... Validate successful authentication/DHCP/E2E ping
- [Tags] latest
+ [Tags] latest test10
[Setup] Simple Setup
Wait Until Keyword Succeeds 60s 2s Create VOLT
Wait Until Keyword Succeeds 60s 2s Create Whitelist
@@ -414,4 +414,4 @@
Update Whitelist with Correct Location
${whitelist_id}= Retrieve Whitelist Entry ${onu_device}
- CORD Put ${ATT_WHITELIST} {"pon_port_id": ${onu_location} } ${whitelist_id}
\ No newline at end of file
+ CORD Put ${ATT_WHITELIST} {"pon_port_id": ${onu_location} } ${whitelist_id}
diff --git a/src/test/cord-api/setup_venv.sh b/src/test/cord-api/setup_venv.sh
old mode 100644
new mode 100755