[VOL-2635] Update released tags for tests, update build job for released charts
Change-Id: I5f241347e51251a08686c17e9711eb9f27531377
diff --git a/tests/functional/Voltha_FailureScenarios.robot b/tests/functional/Voltha_FailureScenarios.robot
index ada3952..50d294d 100644
--- a/tests/functional/Voltha_FailureScenarios.robot
+++ b/tests/functional/Voltha_FailureScenarios.robot
@@ -104,6 +104,37 @@
... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}
Run Keyword And Ignore Error Collect Logs
END
+ # Deleting OLT run tests independently (as this test doesn't not run on each POD)
+ Run Keyword If ${has_dataplane} Delete Device and Verify
+
+Verify restart openolt-adapter container after VOLTHA is operational
+ [Documentation] Restart openolt-adapter container after VOLTHA is operational.
+ ... Prerequisite : ONUs are authenticated and pingable.
+ [Tags] functional VOL-1958 RestartPods released
+ [Setup] Run Keywords Announce Message START TEST RestartPods
+ ... AND Start Logging RestartPods
+ [Teardown] Run Keywords Collect Logs
+ ... AND Stop Logging RestartPods
+ ... AND Announce Message END TEST RestartPods
+ # Add OLT device
+ setup
+ # Performing Sanity Test to make sure subscribers are all AUTH+DHCP and pingable
+ Run Keyword If ${has_dataplane} Clean Up Linux
+ Wait Until Keyword Succeeds ${timeout} 2s Perform Sanity Test
+ ${waitforRestart} Set Variable 120s
+ ${podStatusOutput}= Run kubectl get pods -n ${NAMESPACE}
+ Log ${podStatusOutput}
+ ${countBforRestart}= Run kubectl get pods -n ${NAMESPACE} | grep Running | wc -l
+ ${podName} Set Variable adapter-open-olt
+ Restart Pod ${NAMESPACE} ${podName}
+ Wait Until Keyword Succeeds ${waitforRestart} 2s Validate Pod Status ${podName} ${NAMESPACE}
+ ... Running
+ Repeat Sanity Test
+ ${podStatusOutput}= Run kubectl get pods -n ${NAMESPACE}
+ Log ${podStatusOutput}
+ ${countAfterRestart}= Run kubectl get pods -n ${NAMESPACE} | grep Running | wc -l
+ Should Be Equal As Strings ${countAfterRestart} ${countBforRestart}
+ Log to console Pod ${podName} restarted and sanity checks passed successfully
Verify restart ofagent container after VOLTHA is operational
[Documentation] Restart ofagent container after VOLTHA is operational.
@@ -129,33 +160,6 @@
${countAfterRestart}= Run kubectl get pods -n ${NAMESPACE} | grep Running | wc -l
Should Be Equal As Strings ${countAfterRestart} ${countBforRestart}
-Verify restart openolt-adapter container after VOLTHA is operational
- [Documentation] Restart openolt-adapter container after VOLTHA is operational.
- ... Prerequisite : ONUs are authenticated and pingable.
- [Tags] functional VOL-1958 RestartPods
- [Setup] Run Keywords Announce Message START TEST RestartPods
- ... AND Start Logging RestartPods
- [Teardown] Run Keywords Collect Logs
- ... AND Stop Logging RestartPods
- ... AND Announce Message END TEST RestartPods
- ${waitforRestart} Set Variable 120s
- # Remove the Sanity Check after enabling first failure test (OLT Adapter Test)
- #Run Keyword If ${has_dataplane} Clean Up Linux
- #Wait Until Keyword Succeeds ${timeout} 2s Perform Sanity Test
- ${podStatusOutput}= Run kubectl get pods -n ${NAMESPACE}
- Log ${podStatusOutput}
- ${countBforRestart}= Run kubectl get pods -n ${NAMESPACE} | grep Running | wc -l
- ${podName} Set Variable adapter-open-olt
- Restart Pod ${NAMESPACE} ${podName}
- Wait Until Keyword Succeeds ${waitforRestart} 2s Validate Pod Status ${podName} ${NAMESPACE}
- ... Running
- Repeat Sanity Test
- ${podStatusOutput}= Run kubectl get pods -n ${NAMESPACE}
- Log ${podStatusOutput}
- ${countAfterRestart}= Run kubectl get pods -n ${NAMESPACE} | grep Running | wc -l
- Should Be Equal As Strings ${countAfterRestart} ${countBforRestart}
- Log to console Pod ${podName} restarted and sanity checks passed successfully
-
Check ONU adapter crash not forcing authentication again
[Documentation] After ONU adapter restart, checks wpa log for 'authentication started'
... message count to make sure auth not started again and validates EAP status and ping.