aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-05-23Refactor status verification testLukasz Rajewski5-719/+801
Issue-ID: INT-2239 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I6db4d1d46536b0e1d6aeac2d8c9a569ed007f590
2023-05-18Merge ""Configure ONAP Python tests to not expose services""Lukasz Rajewski2-3/+7
2023-05-18"Configure ONAP Python tests to not expose services"Pawe? Denst2-3/+7
Changed name of setting value Issue-ID: INT-2234 Change-Id: I3f56707e9310164560c4c866b527b6c75a477cfa Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
2023-05-18Merge "Fix cps steps doc"Lukasz Rajewski1-3/+27
2023-05-18Revert "Configure ONAP Python tests to not expose services"Pawe? Denst2-7/+3
Changed name of setting value Issue-ID: INT-2234 Change-Id: I22f35a4cdff076862f086cb15d06e3d0101c883a Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
2023-05-11Configure ONAP Python tests to not expose servicespawel.denst2-3/+7
Changed name of setting value Issue-ID: INT-2234 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I7c66789753f54e76217f16f9b9bc4ac5b89bd7e7
2023-05-09Migration of the healthchecks to gerritpawel.denst15-0/+1950
Changes to set default directory for results if None Issue-ID: INT-2226 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I5337a55f3271ebb5e58298e1fb1aa3b665713909
2023-05-09Fix cps steps docMichal Jagiello1-3/+27
Add information which settings values are used by steps Issue-ID: TEST-123 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I4b9a723a38cde45788c7cc2d3b73a7b3cc6514fa
2023-04-17Disable SDC resources cleanupMichal Jagiello3-6/+1
SDC resources deletion makes a lot of issues, so should be enabled on demand and enabled for all tests after all needed fixes Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ice1d3558403851e98a05c99608a5ed0ecf0d6689
2023-03-29Test pnf_macro fixMichal Jagiello4-11/+15
Configure and check service distribuiton for 30 minutes Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I316a3e5c179530ba92c87c43795643e9faf30048
2023-03-17Fix tests regressionMichal Jagiello5-14/+30
Delete SDC resources only if exists and archive all before delete Bump onapsdk requirements Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I1c116b93ab1dc4be2501df57b2a7d2d97354cfa5
2023-03-15Add cleanup to sdc resources ondboarding stepMichal Jagiello8-3/+77
Delete SDC resources on cleanup Bump onapsdk requirements to 10.4.2 Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id9e51f07a9c91a02b67a87eb897a2a4d19fa6738
2023-03-10Bump version of onapsdk and use k8s plugin (not via msb)Michal Jagiello4-4/+4
The newest version of onapsdk fix some bugs but most important it uses k8s plugin API and not MSB (which is deprecated) Issue-ID: OOM-3117 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I56d43dff41b0762b983e59d9f364b3c8c8226537
2023-02-06[CPS] Fix basic_cps testMichal Jagiello1-3/+2
Add missing variable assignement Issue-ID: INT-2194 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I70044dd5b75cb0b57e97d8091fa43c757c926abf
2023-02-03Merge "[CPS] Create basic_cps test"Lukasz Rajewski4-0/+304
2023-02-02[CPS] Create basic_cps testMichal Jagiello4-0/+304
Create test to check if creating basic cps resources (dataspace, schema-set, anchor) works and it's possible to create a node on an anchor. Issue-ID: INT-2194 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I86c5a80da65b90e2f1a228fcc7fc46a54bee92bc
2023-02-02[TEST] Way of creating VES url changedLukasz Rajewski1-9/+12
Issue-ID: TEST-389 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I5bd418697bb21ddd3d841a8f1a3c4c97e7c66078
2022-04-20[INTEGRATION] Add one more conditional statement during service onboardingMichal Jagiello1-9/+16
Sometimes if we restart tests service can be on the "unexpected" state - for example Checked In Then we shouldn't try to check it in again because it raises an exception Check if service is not already checked in and if it's move forward Issue-ID: SDC-3949 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I95dfd21f2dc92021b89db9e62abbb0005c06f907
2022-04-12Log exception stack trace on test failureMichal Jagiello11-22/+25
If test fails and exception is raised most of the test scenarios don't print a stack trace so debugging consume more time. Additionally double check on the SDC service distribution status due to an error on Python ONAP SDK Issue-ID: SDC-3949 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ifc51dbe287a45d5fbbee788f205d1dbe936516e4
2022-04-04[TEST] Change of the k8sregion nameLukasz Rajewski3-4/+4
Change of the k8sregion name to avoid overlap between two different tests Issue-ID: TEST-384 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ia734694e8ba9880f90888fed2182c753e11ed8c0
2022-03-11[TEST] Change of the namespace for basic_cnf_macroLukasz Rajewski1-2/+2
Change of the namespace for onap-tests, commonly used for tests purpose. Issue-ID: TEST-382 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I6ecc89226fa5e51eeb1816e8b681850889e0df8d
2022-02-25[TEST] PNF macro nad CDS resource resoulution tests are failing on retryMichal Jagiello2-18/+16
If any of these two tests fail on the first try retry will always fail as well. It's because of that test's cleanup phase was executed only if an execution phase passed (all substeps). Because of that simulators was never deleted and second instantiation try fails every time. That change split test into two phases: execution and cleanup - if execution fails cleanup will be executed despite of that. Issue-ID: TEST-354 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Icf4abb1d82c64d1168e6200e94f9e05b54223d9c
2022-01-31[TEST] Update resource-resolution CBA file due to run mockserver on ↵Michal Jagiello1-0/+0
"onap-tests" namespace In "dsl_definitions" url was used without a namespace so CDS Blueprint processor REST calls weren't send to valid pod. Issue-ID: TEST-380 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I06596e1293a8fd50fc6443a0c82a1acbd22f2fae
2022-01-27[TEST] Add cds resource resolution missing cleanup method callMichal Jagiello1-0/+1
Currently no cleanup is performed for this test Issue-ID: TEST-380 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I7e241cc79d02b581a76a06d757d3df673195956c
2022-01-17[TEST] Fixed CBA and its publish for Basic CNF macroLukasz Rajewski2-0/+2
- Fixed CBA for Basic CNF macro after bad git push of binary file. - Added nodeport exposure for cbapublish step when CBA file is already enriched Issue-ID: TEST-376 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Icf4bbf94691453a5421467dc5c8ec876a0fa191a
2022-01-12[TEST] Basic CNF macroLukasz Rajewski47-156/+443
Basic CNF macro added with refactoring that enables debugging under IDE Also SDK upgraded to 9.2 what required adaptation in existing tests Issue-ID: TEST-376 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I697857bc0c13e86b88b71c3b46e0c4b59751939c Signed-off-by: mrichomme <morgan.richomme@orange.com>
2021-12-14[TEST] Do not create simulators in "onap" namespaceMichal Jagiello11-40/+45
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: I0acf6262e3c8c9fbe9113d96e62960ce36ece04c
2021-10-28[TEST] Fix cds-resource-resolution testMichal 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
2021-10-25Merge "[TEST] Do not show "No execution start time..." error log message for ↵Michal Jagiello1-2/+3
skipped substeps"
2021-10-22[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
2021-10-21[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
2021-10-19[TEST] Added support for multi-vnf macro instantiationJulien Fontaine28-20/+440
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
2021-10-17[INTEGRATION] Use the newest onapsdk (9.0.0)Michal Jagiello6-32/+19
Issue-ID: INT-1994 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I3b6e04f5c89265f16674a66317faddee4c9597ab
2021-10-11Merge "[TEST] CDS resource-resolution test"Michal Jagiello7-2/+533
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-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[TEST] CDS resource-resolution testMichal Jagiello7-2/+533
Issue-ID: TEST-291 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5d9f55b67942c62f63e11282ef2383fe063d3137
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 Opasiak13-592/+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 Richomme7-2/+531
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 Jagiello7-2/+531
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 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 Jagiello5-1/+108
Issue-ID: TEST-349 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I951e9720668de9bf00136d4e043c9fe8950061f1