aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-07-18Merge "Add pylama into checks"Lukasz Rajewski51-303/+394
2023-07-17Add pylama into checksMichal Jagiello51-303/+394
Checks code with pylama Issue-ID: INT-2222 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If275ef90f21e3049abe72bcf373473b40846005c
2023-07-14Remove troubleshooting codeMichal Jagiello2-1/+2
Remove line which breaks test Issue-ID: INT-982 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ib2661483d694e40484160365eb4f08f3a396e493
2023-07-12Fix status base.htmlMichal Jagiello1-5/+1
Fix error with template generation for k8s status tests on some conditions Issue-ID: INT-2246 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I18d9c4b81ea32d95a8d9a16fdaf1c0a17b0689f4
2023-07-05Exclude certain labels and fix issue with missing selectorsLukasz Rajewski4-18/+33
Issue-ID: INT-2246 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I84974b10ea0b62ccb81a9747e67fe4d9a79f43ba
2023-07-04Fix wrong template of kubeconfig fileLukasz Rajewski1-4/+4
Some spaces were missing Issue-ID: INT-2246 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I12cb4e3677465c2c5caed26fb7333c30d6592f6a
2023-06-22Status encoding exception fixedLukasz Rajewski2-21/+27
- additional try catch introduced Issue-ID: TEST-400 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ifc8d2015b7f5530476c32cba27d30f8ff11b9933
2023-06-22Merge "Namespace status verification 2.0"Micha? Jagie??o3-490/+631
2023-06-21Namespace status verification 2.0Lukasz Rajewski3-490/+631
- separate steps for resource type - optional version check - new file with details of failed resources Issue-ID: INT-2246 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I538f877ab4d0824fd8dd5e65255c7ecf9545a26b
2023-06-21Merge "BaseScenario class added"Micha? Jagie??o17-126/+109
2023-06-20BaseScenario class addedLukasz Rajewski17-126/+109
It prints out settings and will unify logic of scenarios later on. Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie5929e0cc136183d4374b95bfc1600445126c4b6
2023-06-19Configure status tests to not store logspawel.denst1-98/+84
Configure status tests to not store logs Issue-ID: INT-2251 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: Ia395ef033899380cd7e64a6d0e3d9daa067c81bb
2023-06-16Merge "Modify Python ONAP SDK tests to not require kubeconfig"Lukasz Rajewski6-14/+62
2023-06-15Enhanced SDNC test to cover SVC logic checkLukasz Rajewski3-29/+157
Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I1e49e8652d06b4c0147e8e1280ccbac9af83b8d4
2023-06-15Modify Python ONAP SDK tests to not require kubeconfigpawel.denst6-14/+62
Modify Python ONAP SDK tests to not require kubeconfig Issue-ID: INT-2247 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I0d61250a2373d8549696cedaa2c0c5fb721d0e3b
2023-06-06Add component name to the JSON report formatLukasz Rajewski2-5/+8
Issue-ID: INT-2235 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I81274e0cca45ef86490e8004c594d7e85bf3c539
2023-06-02Merge "Configure status tests to not create artifacts"Micha? Jagie??o2-62/+76
2023-05-31Create SDNC Sanity testAleksandr Taranov3-0/+218
Issue-ID: TEST-395 Signed-off-by: Aleksandr Taranov <aleksandr.taranov@telekom.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2a035beb74510013eb8e04aecd90c648af77fe28
2023-05-31Configure status tests to not create artifactspawel.denst2-62/+76
Configure check_status to not create artifacts Issue-ID: INT-2246 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I091fe5ceff2bd5a3aba6f1929bb75ae6503a4919
2023-05-30ONAP Python SDK tests should generate JSON artifact (next to HTML)pawel.denst2-2/+22
Generation of report file in JSON format Issue-ID: INT-2235 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ib99a0cb8bf317633e19a4a2e1c41d611a3b9f343
2023-05-29Merge "Fix the order of cleanup of certain steps"Micha? Jagie??o3-5/+2
2023-05-26Fix the order of cleanup of certain stepsLukasz Rajewski3-5/+2
Issue-ID: INT-2239 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I3f7d4d7921e031c4d69ab19862421aeaba4595eb
2023-05-26Change STATUS_RESULTS_DIRECTORY in python-sdk testspawel.denst2-2/+2
Change STATUS_RESULTS_DIRECTORY in python-sdk tests Issue-ID: INT-2245 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I3563d9896c556379afbd1eba83cdd750a887c8d0
2023-05-23Fix VES client simulator image and pod verification methodLukasz Rajewski2-4/+7
Issue-ID: TEST-397 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Iaabd13e0eed2f7a0714e8baf6f5eaf01da599ebd
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>