E2E Integration Test Cases
|
|
---|
Overview:
The PNF software upgrade use case consists of three main parts:
- SDC for distributing the resource model and custom workflow design
- SO will implement building blocks in workflow for preCheck, downloadNeSw, activateNesW, updateAAI & postCheck.
- CDS Blueprint Processor will implement the mount, configure and un-mount requests to SDNC/ODL. The processor currently has the ability to read a blueprint from archive and process it.
JIRAs:
TODO - Need to create a filter to link all JIRAs
Deployment:
Test environment requirements for the test cases:
- xNF simulator for test cases: PNF Simulator with TLS & YANG support.
- Rest Client simulator.
- SO with BB implemented in workflows.
- CDS Blueprint processor enhanced so that it can send mount, send configuration and un-mount rest request to SDNC.
This environment can be set up by following the steps below.
- Repo : Yet to update
- RUN : Yet to update
Use Case preconditions:
- xNF simulator.
- Rest Client sim.
Upgrade One PNF Instance
High Level feature integration Testcases
# | Workflow | Test Case | Status |
---|---|---|---|
1 | Preparation Workflow | PreCheck and DownloadNESw - Sw image not available on PNF | NOT YET TESTED |
2 | Preparation Workflow | PreCheck and DownloadNESw - Sw image already available on PNF | NOT YET TESTED |
3 | Preparation Workflow | PreCheck and DownloadNESw - Sw image download failed | NOT YET TESTED |
4 | Software Upgrade Workflow | PreCheck, DownloadNESw, ActivateNeSw(and update AAI) & postCheck with Sw image not available on PNF - Activation OK | NOT YET TESTED |
5 | Software Upgrade Workflow | PreCheck, DownloadNESw, ActivateNeSw (and update AAI) & postCheck with Sw image already available on PNF - Activation OK | NOT YET TESTED |
6 | Software Upgrade Workflow | PreCheck, DownloadNESw, ActivateNeSw with update AAI & postCheck - Activation NOK, Rollback triggered | NOT YET TESTED |
Detailed Description Feature Integration Testcases :
Preparation Workflow Test Cases:
Test Case ID | PNF_SW_UP_E2E_01 | ||||
---|---|---|---|---|---|
Test Case Name | PreCheck and DownloadNESw - Sw image not available on PNF | ||||
Test Description | Ensure that Precheck & DownloadNESw BB are run successfully. Validate API decision of using CDS self-service API is following the design time configuration | ||||
Release | Frankfurt | ||||
Pre-conditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass /Fail) | |||||
Testing Lab |
Test Case ID | PNF_SW_UP_E2E_02 | ||||
---|---|---|---|---|---|
Test Case Name | PreCheck and DownloadNESw - Sw image already available on PNF | ||||
Test Description | Ensure that Precheck & DownloadNESw BB are run successfully. Validate API decision of using CDS self-service API is following the design time configuration | ||||
Release | Frankfurt | ||||
Pre-conditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass /Fail) | |||||
Testing Lab |
Test Case ID | PNF_SW_UP_E2E_03 | ||||
---|---|---|---|---|---|
Test Case Name | PreCheck and DownloadNESw - Sw image download failed | ||||
Test Description | Ensure that Precheck BB runs successfully & DownloadNESw BB fails due to download failure. Validate API decision of using CDS self-service API is following the design time configuration | ||||
Release | Frankfurt | ||||
Pre-conditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass /Fail) | |||||
Testing Lab |
Software Upgrade Workflow Test Cases:
Test Case ID | PNF_SW_UP_E2E_04 | ||||
---|---|---|---|---|---|
Test Case Name | PreCheck, DownloadNESw, ActivateNeSw(and update AAI) & postCheck with Sw image not available on PNF - Activation OK | ||||
Test Description | Ensure that Precheck, DownloadNESw, ActivateNeSw with update AAI & postCheck BB are run successfully. Validate API decision of using CDS self-service API is following the design time configuration | ||||
Release | Frankfurt | ||||
Pre-conditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass /Fail) | |||||
Testing Lab |
Test Case ID | PNF_SW_UP_E2E_05 | ||||
---|---|---|---|---|---|
Test Case Name | PreCheck, DownloadNESw, ActivateNeSw (and update AAI) & postCheck with Sw image already available on PNF - Activation OK | ||||
Test Description | Ensure that Precheck, DownloadNESw, ActivateNeSw with update AAI & postCheck BB are run successfully. Validate API decision of using CDS self-service API is following the design time configuration | ||||
Release | Frankfurt | ||||
Pre-conditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass /Fail) | |||||
Testing Lab |
Test Case ID | PNF_SW_UP_E2E_06 | ||||
---|---|---|---|---|---|
Test Case Name | PreCheck, DownloadNESw, ActivateNeSw with update AAI & postCheck - Activation NOK, Rollback triggered | ||||
Test Description | Ensure that Precheck & DownloadNESw BBs run successfully but ActivateNeSw BB fails. Validate API decision of using CDS self-service API is following the design time configuration Software Upgrade Activation failed, Rollback is triggered | ||||
Release | Frankfurt | ||||
Pre-conditions |
| ||||
Testing Steps |
| ||||
Conclusion (Pass /Fail) | |||||
Testing Lab |
Information:
Next Step(s):