aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-11-08[TEST] Fix cds-resource-resolution testistanbulMichal Jagiello1-0/+0
Test failed because: * password to CDS DB was changed * the syntax in CDS code was changed from Blueprint to BluePrint Both issues fixed in CBA file Issue-ID: TEST-369 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ifac6b61ae2f05559b90c42661f4eb8379f9a42eb (cherry picked from commit 337aa506b763cd3c3799a9e874f5c4fccad73fa1)
2021-11-08[TEST] Fix multi_vnf_macro scenario.Michal Jagiello1-1/+1
Scenario class call itself in the __init__ so it cause the RecursionError Issue-ID: TEST-358 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I12cbe4c03414f9f4c94587b450adf58646eda05e (cherry picked from commit ec14ad158ecd5489cc8169b23015c716f946e909)
2021-11-08[TEST] Do not show "No execution start time..." error log message for ↵Michal Jagiello1-2/+3
skipped substeps If one of the step fails and there are more substeps in the scenario then they won't be executed. During the report creation in the code the status of these steps were not checked and the confusing error message was logged. That change provide additional check if the step was skipped (not executed). Issue-ID: TEST-368 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id1ea95229b2fd5cf3107d423f356f02dab437669 (cherry picked from commit ac0b4732cf23d5bf9c96ef56e8d6e5346f3c2fbc)
2021-11-08[TEST] Added support for multi-vnf macro instantiationJulien Fontaine30-20/+473
Decoupled service YAML template into a model YAML template and a (SO) service YAML template. Model YAML template will be used during the onboarding steps and service YAML template will be used to generate payload when sending instantiation request to SO. Service YAML template reference model name to use for its VNF/VF-Modules using "model_name" field. This provide more flexibility to design the testcase and enables to setup more complex testcases like instantiating several VNF/VF-MOdules using the same SDC model infos. This patch aims to provide backward compatibility for existing testcases based on YAML template. Issue-ID: TEST-358 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: I69d370eff4d383d5af135206476c65e4a56e4ee5 (cherry picked from commit c3ef82f489b915095b7464fb119daf43b84f67f8)
2021-11-08[INTEGRATION] Use the newest onapsdk (9.0.0)Michal Jagiello7-33/+20
Issue-ID: INT-1994 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I3b6e04f5c89265f16674a66317faddee4c9597ab (cherry picked from commit 062f7ed7f73ed61dc3990c3a23403fd544ae6261)
2021-11-08[TEST] CDS resource-resolution testMichal Jagiello8-2/+534
Issue-ID: TEST-291 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5d9f55b67942c62f63e11282ef2383fe063d3137 (cherry picked from commit c31b7fb464fbb8bb0c7d8d2b3dc7b20f4a04cff5)
2021-09-27[TEST] Do not use VID API in testsMichal Jagiello1-2/+2
VID is going to be removed on Istanbul release so in tests we shouldn't use any of it's API. PythonSDK code requires some of the VID package classes for instantiation, but it requires just class instances and not the already created resources. Issue-ID: TEST-364 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie3822dbb9981f382a94cc7ffd0e1917682bc78ae
2021-09-13[BASIC_CLAMP] Adapt tca clamp pluginmrichomme1-4/+28
The clamp plugin needs to be updated to match DCAE enhancements Issue-ID: INT-1978 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I7a3b96470ec3cff4c2ee1092f282058bff368311
2021-09-08Merge "Update HEAT-file for ubuntu20 used for basic_vm_macro test Issue-ID: ↵Michal Jagiello4-6/+6
TEST-361"
2021-09-08Update HEAT-file for ubuntu20 used for basic_vm_macro testAndreas Geissler4-6/+6
Issue-ID: TEST-361 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I662945ec980bd100c7b3279a2fa97a1e8889f92c
2021-09-02[ADMIN] Update INFO.yaml (new PTL and cleanup)morganrol1-10/+8
Update: - Michal Jagiello new Integration PTL Remove: - Marchin Przybysz Issue-ID: INT-1967 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: Idcec86b8ba42b4f817d4ae45f9e62c56fc7133ee
2021-08-31[TEST] Get cleanup reports from substeps also if parent step has no cleanup ↵Michal Jagiello1-2/+2
report Some cleanup reports are missing in pnf_macro test. Issue-ID: TEST-357 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I1d8cb6ccdfc4bd82c581bcce74e2d573bd306fda
2021-08-25[TEST] Unwind master back to 27.07.2020Krzysztof Opasiak14-593/+27
Unwind master due to regression in few tests. Issue-ID: OOM-1 Change-Id: I3b759a5928aeb47fc7fddeaa5998aa090d085c5c Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-08-19[TEST] Do not create pnf simulator in "onap" namespaceMichal Jagiello5-8/+10
As described in ticket - that resource shouldn't be created in onap namespace because if it's not properly deleted it has impact on the security tests results. Note: That change doesn't require any additional work in lab preparation - the namespace is going to be created by MSB K8S plugin. Issue-ID: TEST-356 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie7b288ce81b0fab0f746622d863cd48497d739e9
2021-08-19Merge "CDS resource-resolution test"Morgan Richomme8-2/+532
2021-08-19Merge "[TEST] Get cleanup reports from substeps also if parent step has no ↵Morgan Richomme1-2/+2
cleanup report"
2021-08-19Merge "[TEST] Additional cleanup before MSB K8S instance creation"Lukasz Rajewski3-15/+49
2021-08-04[TEST] Get cleanup reports from substeps also if parent step has no cleanup ↵Michal Jagiello1-2/+2
report Some cleanup reports are missing in pnf_macro test. Issue-ID: TEST-357 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id6edabf77e38c82b6075947fb77b23e4574d01cd
2021-08-03[TEST] Additional cleanup before MSB K8S instance creationMichal Jagiello3-15/+49
Issue-ID: TEST-354 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I507e15fb89eb019508387284f8ed76075709cf13
2021-07-30CDS resource-resolution testMichal Jagiello8-2/+532
Issue-ID: TEST-291 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I441f2486b38481624eeefa18f47840d4c7a3db9d
2021-07-27Change rb-definition-version identifierLukasz Rajewski1-2/+2
Change rb-definition-version identifier. As a consequnece the vf-module-model-customization-uuid will be used to identify the version of the rb definition. In consequence the profiling mechanism use may be affected. Issue-ID: MULTICLOUD-1377 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ib7fd12be4b728e7bed79513a2008a28a61e12482
2021-07-26[TEST] Use the newest ONAP SDK versionMichal Jagiello6-6/+6
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 Jagiello6-1/+109
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-18[TEST] Wait for instantiated simulator longerMichal Jagiello1-1/+1
Sometimes it takes longer to start nf-simulator. Issue-ID: TEST-341 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ic7e47ca197187d3c764936e5850582d0d388ea1c
2021-06-16[TEST] Create "pnf-macro-test-simulator" resourcesMichal Jagiello2-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-06-14Merge "[ADMIN] Update and clean Integration committer list"Lukasz Rajewski0-0/+0
2021-06-14[ADMIN] Update and clean Integration committer listmorganrol1-15/+16
Add: - Bartosz Gardziejewski - Alexander Mazuruk Remove: - Thierry Hardy - Lasse Kaihlavirta - Pawel Wieczorek Update lifecycle_state if needed Issue-ID: INT-1930 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I0fba9111f551810c3d88ff187d308471107bea37
2021-06-10[ADMIN] Update and clean Integration committer listmorganrol1-15/+16
Add: - Bartosz Gardziejewski - Alexander Mazuruk Remove: - Thierry Hardy - Lasse Kaihlavirta - Pawel Wieczorek Update lifecycle_state if needed Issue-ID: INT-1930 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I9624fc2da0daa82e832c84b90640b1a9a7803b4e
2021-05-28Merge "[TEST] Use nf-simulator/vesclient"Morgan Richomme2-2/+2
2021-05-28[TEST] Use nf-simulator/vesclientMichal Jagiello2-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 Jagiello4-46/+53
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 Rajewski4-53/+46
2021-05-13Revert "[TEST] Do not try to recreate already created SDC resources"Morgan Richomme4-53/+46
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 Richomme4-46/+53
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 Jagiello4-46/+53
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-27Merge "Wait for pnf simulator"Morgan Richomme6-66/+54
2021-04-21[EXCEPTIONS] Distinguish onaptests and onapsdk exceptionmorganrol9-10/+38
there is no error_message method on onapsdk exception as a consequence we may raise a new excpetion when catching sdk exception leading to the non generation of the report Issue-ID: TEST-332 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I42d1413ef142e29eeafdfe701f136ae45b097de4
2021-04-21Wait for pnf simulatorMichal Jagiello6-66/+54
Add VSP for PNF Issue-ID: TEST-280 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If2476f5f9f9fc8d4c14c5dd398a8a659e7fe3e9a
2021-04-08Use 7.5.1 onapsdk versionMichal Jagiello1-1/+1
It fixes macro instantiation issues. Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I7d0b5619f17acd09802b5611ca22fb1354eed6f1