aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps
AgeCommit message (Collapse)AuthorFilesLines
2021-07-26[TEST] Use the newest ONAP SDK versionMichal Jagiello5-5/+5
Use `a_la_carte` flag in vnf and vf_module SO deletion Issue-ID: TEST-352 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6db6bfa28dfe17fb1a1eac7021f941490a73bb6f
2021-07-05[TEST] Basic macro stability scenarioMichal Jagiello1-1/+6
Issue-ID: TEST-349 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I951e9720668de9bf00136d4e043c9fe8950061f1
2021-06-30[TEST] Check if cds blueprintsprocessor service type is 'NodePort'Michal Jagiello1-33/+65
Kubernetes API returns error response on ExposeCDSBlueprintprocessorNodePortStep cleanup if service is already ClusterIP. Add conditional statement to check if service is still 'NodePort' type. Issue-ID: TEST-347 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I406b1910cccace6066e25d865b5aa1b6601efe74
2021-06-16[TEST] Create "pnf-macro-test-simulator" resourcesMichal Jagiello1-1/+1
Resolve conflicting "pnf-simulator" resource creation. Replate it with "pnf-macro-test-simulator" Issue-ID: TEST-341 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Icb54cab9b9f8a5e09e657faea96f9ce9bc79acef
2021-06-16Merge "[OPTIM] Tune SDC delay before certification"Michal Jagiello2-2/+5
2021-05-28Merge "[TEST] Use nf-simulator/vesclient"Morgan Richomme1-2/+2
2021-05-28[TEST] Use nf-simulator/vesclientMichal Jagiello1-2/+2
Pnf-simulator created "mongo" service and deployment what causes errors. With the nf-simulator/vesclinet we could create mogno service with custom name Issue-ID: TEST-341 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Iafde4be988d44291a56c649a1902319bbeeb050c
2021-05-27[OPTIM] Tune SDC delay before certificationmrichomme2-2/+5
workaround to reduce the risk of race condition add also a delay between VF creation on certification Issue-ID: TEST-315 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I811de68c92ddaf38431d0b6eb2d0fbc715478d5a
2021-05-19Merge "[TEST] Patch ip values in pnf-simulator event"Morgan Richomme1-0/+4
2021-05-19Merge "[CLAMP] Fix Policy exception in basic_clamp"Morgan Richomme1-3/+3
2021-05-18[TEST] Patch ip values in pnf-simulator eventMichal Jagiello1-0/+4
Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I59b141fce25581b0fd92fcc3e2857148b7002c2b
2021-05-17[TEST] Do not try to recreate already created SDC resourcesMichal Jagiello3-45/+51
When try to recreate SDC resources like VF, PNF or Service it's API returns errors. Check before onboarding if resource we want to create already exists. Issue-ID: TEST-333 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Idcedfa18331ec898fa446d6d7689885a485a1a86
2021-05-13Merge "Revert "[TEST] Do not try to recreate already created SDC resources""Lukasz Rajewski3-51/+45
2021-05-13Revert "[TEST] Do not try to recreate already created SDC resources"Morgan Richomme3-51/+45
This reverts commit ed9b039e5f4b54aa6ebbef7aa95fafdce7d5ce75. Reason for revert: regression observed in all chains and gating Change-Id: I2b310ac172bec7880687dae591f62f5d02814b07 Signed-off-by: morganrol <morgan.richomme@orange.com> Issue-ID: TEST-333
2021-05-12Merge "[TEST] Catch k8s connection exceptions"Morgan Richomme2-39/+56
2021-05-12Merge "[TEST] Do not try to recreate already created SDC resources"Morgan Richomme3-45/+51
2021-05-12[CLAMP] Fix Policy exception in basic_clampmrichomme1-3/+3
Attribute error due to bad import Issue-ID: TEST-338 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ief0341343a21f9b97dce3ca69bada97efea36727
2021-05-11[TEST] Catch ConnectionError exception during pnf simulator startupMichal Jagiello1-1/+1
When PNF simulator starts up a series of requests are sent but if ConnectionError is raised then tests is interrupted and no report is generated Issue-ID: TEST-337 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5dbdfa3b7d5a2c16b3ecc00ae4ab46ac3bb5443f
2021-05-11[TEST] Catch k8s connection exceptionsMichal Jagiello2-39/+56
In two steps: ExposeCDSBlueprintprocessorNodePortStep and PnfSimulatorCnfRegisterStep we uses kubernetes Python library to prepare environment or check the status of pod instantiation. If connection with k8s api gateway can't be established an exception is raised and no test report is created. Add try...except block to catch connection error and finish test gently Issue-ID: TEST-336 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I1993bec4c886d77645e1a60e0f3d169abeb4e8bd
2021-05-11[TEST] Do not try to recreate already created SDC resourcesMichal Jagiello3-45/+51
When try to recreate SDC resources like VF, PNF or Service it's API returns errors. Check before onboarding if resource we want to create already exists. Issue-ID: TEST-333 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I852bdf12bc6acd5ef8be52c9a883861f53d4a9ac
2021-04-27[CLAMP] Update clamp to allow re-play of the testmorganrol2-16/+22
Today a docker restart is failing because we try to enrich a certified artifacts Like for other basic_* tests, if the service is already distributed we may just consider creating the loop (bypass the model onboarding part) so we can run the test as a replay and use it for parallel tests Issue-ID: TEST-334 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I5f353488e64b420fa94303695311a473682a5fa1
2021-04-21Wait for pnf simulatorMichal Jagiello3-60/+48
Add VSP for PNF Issue-ID: TEST-280 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If2476f5f9f9fc8d4c14c5dd398a8a659e7fe3e9a
2021-04-07[CLAMP] raise exception in case of Policy or DCAE errorsmorganrol1-2/+3
remove the exit(1) to be sure we got a nice reporting Issue-ID: INT-1819 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: Ie652d382fd649e3537209d6891881db5ee219207
2021-04-07Merge "Remove masspnfsimulator as a git submodule."Bartek Grzybowski5-241/+0
2021-04-07Remove masspnfsimulator as a git submodule.Illia Halych5-241/+0
Removed both submodule and the old pnf directory Issue-ID: INT-1882 Signed-off-by: Illia Halych <illia.halych@t-mobile.pl> Change-Id: Ie439a0dea9aff7efc743822ec5ea5715f4af241e
2021-04-02Merge "[CLAMP] Integrate basic_clamp"Morgan Richomme1-4/+2
2021-04-02Merge "Basic VM macro"Morgan Richomme5-51/+110
2021-04-02Basic VM macroMichal Jagiello5-51/+110
Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Idd977cf3082587746fe27718a284197fda4afe5c
2021-04-02Merge "Nodeport cleanup in basic_cds test"Morgan Richomme1-3/+33
2021-03-31[CLAMP] Integrate basic_clampmorganrol1-4/+2
Some regressions occured and old files were used This patch update the different components with the right versions It also renames the vnf-service in basic_clamp-services.yaml It creates the entry point and the scenario to integrate the test in xtesting Issue-ID: INT-1819 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I7a9e49d8ddc2c5bd0625a4a5ed940c10aed74f81
2021-03-23[SDC] Add a timer before certifyingmorganrol1-7/+2
The goal is to reduce the number of errors on SDC due to the processing time on certification Initially a re-try was attempted on exception but no exception is raised so use a Timer to reduce the stress on certification Issue-ID: TEST-315 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I0a67d006597c3094f55f93893126865d7ead33fb
2021-03-22Nodeport cleanup in basic_cds testMichal Jagiello1-3/+33
Issue-ID: TEST-317 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I21fe3e4a30c9fed14e05b9f14523de46798466b0
2021-03-19Merge "Timeout on orchestration requests"Morgan Richomme5-47/+73
2021-03-19Timeout on orchestration requestsMichal Jagiello5-47/+73
Use wait_for_finish method to raise an exception if orchestration requests took more than 10 minutes Issue-ID: TEST-316 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0d82d91b0f7104caf32e5905d5950047d7551a7b
2021-03-18[PNF] Extend timer before sending request to simulatormorganrol1-1/+1
Tests done on daily Guilin shows that the simulator takes some seconds to start, so we shoudl not send immediately the regsitration request to the simu A retry mechanism could be implemented meanwhile the extension of the timer seems to be enough Issue-ID: INT-1822 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I648f3d3401206b79190b431d35f83c506788bfaa
2021-03-18[SDC] Certify only when neededmorganrol1-4/+26
1) checkin and onboard only if the tests is not already distributed if the service is distributed, we assume that it is a replay of the test and we do not need to re-onboard the service done during the first steps. It shall be then possible to replay - basic_network - basic_vm - basic_cnf - basic_pnf - basic_clamp 2) include a replay of certify in case of resource not found Issue-ID: TEST-315 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I04289311429c55d0e79220b0985c6a2f53d24bf1
2021-03-18Remove cert authent in basic_clampmrichomme1-3/+2
Clamp can now be reached using a basic/auth The Cert is no more needed This is much simpler to deal with and integrate in CI Issue-ID: INT-1819 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I9325c2d37826feed6148cd509717c6788639938d
2021-02-22Wrapper for simulatorsEli Halych3-0/+157
Implemented using Avionix. Supports Helm 3 only. The local directory path was defined relative to the package. Remote charts that are described locally are used. Starting the simulator is provided as a regular HTTP or HTTPS request. Issue-ID: INT-1829 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: Ia17c4043bedd853bf2c068e53d51cd2808a3c0db
2021-02-16[TEST] Collect steps cleanup reportsMichal Jagiello12-20/+87
Collect reports of steps cleanup and present them in report Issue-ID: TEST-305 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie288c85a381c6c53e7ffeb441f07e474a135c42d
2021-02-10Consider settings custom exceptions for reportingmorganrol1-3/+3
Issue-ID: TEST-303 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: Ia94f963cc145f154756e2765e7a8a5883ceb3188
2021-02-08Python SDK 7.4.0 compatibilityMichal Jagiello9-22/+36
Use Python SDK exceptions. Issue-ID: TEST-302 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I76996817c0d7b91c0214ad521c3768682ff07e83
2021-01-25PNF simulator CNF instantiation and registation stepsMichal Jagiello8-48/+368
Use CNF of PNF simulator in pnf_macro scenario Issue-ID: INT-1822 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id7f70b45219a36b7fc70921a1438b0cbe57a1756
2021-01-12Fix steps time measurementMichal Jagiello4-4/+12
Substeps execution time is not stored with the right time of step execution Issue-ID: TEST-292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I58e2aecb1f3cfb1a2bf78a438fc3d508ecf83cc1
2021-01-05Merge "PNF macro instantiation"Lukasz Rajewski4-4/+210
2021-01-05Merge "Prepare basic_clamp use case"Catherine Lefevre1-0/+26
2020-12-16PNF macro instantiationMichal Jagiello4-4/+210
Issue-ID: TEST-280 Change-Id: I6d18b90c3f4c66ddf8c9a4ebe3de7182481e331f Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2020-12-16Update masspnf simulator repository pathBartek Grzybowski1-1/+1
Masspnf simulator has been moved to it's own repository. Change-Id: I6360b478bb853eabf57ddad199e36180c5a8f2e9 Issue-ID: TEST-278 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-12-14Add PNF simulator execution and cleanup as a BaseStepEli Halych5-0/+237
1. The simulator is the masspnfsim from integration project. Added as a git submodule. 2. The flow: build image, bootstrap simulator, run simulator, stop simulator, remove simulator, remove image (only simulator). 3. Additionally trigger (sending a message to VES) is handled in pnf/utils.py. To send a request to VES, vesip in settings.PNF_VES_CONFIG should be set to the one accessible from simulator container. Default one (172.17.0.1) communicates with the machine the simulator runs at. 4. commonEventHeader's fields can be overridden in settings.py (here sourceName, reportingEntityName) Issue-ID: TEST-278 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: Id77dc8c517a30458abd81f2aadc416204be522b5
2020-12-08Prepare basic_clamp use casemrichomme1-0/+26
Update of basic_clamp use case Please note there is a dependency with the onapsdk [1] due to teh fact that policy_tca (frankfurt) has to be changed to policy.tca in guilin. In this version, we still use the clamp authentication done by certificates. The last version of clamp supports basic/auth but onapsdk has to be updated to offer this option, which will better. Until it is updated, the use case can work using the old cert authentificaiton method. This use case has been succesfully tested on - daily guilin => dcae k8s plugin 3.4.2 - daily master => use the version 3.4.3 [1]: https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/-/merge_requests/216 Issue-ID: TEST-277 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I4c5da94dd5669f328d124f7a85886d248a9c5a61
2020-11-25Merge "CDS onboarding steps and simple CBA enrichment scenarion."Thierry Hardy2-2/+131