aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests
AgeCommit message (Collapse)AuthorFilesLines
2024-11-05Update basic_sdnc testMichal Jagiello1-3/+3
Align to new API output Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Iaa0a47afb7d6339fd3b653e99f0e272fc56e43b0
2024-11-05Update SDNC URLs in the test scriptAndreas Geissler2-68/+68
Issue-ID: TEST-419 Change-Id: Ica2f7cfb0536a36243d2657dd83fd781af4199d0 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-09-24Disable new pylint optionMichal Jagiello1-0/+1
Disable pylint's too-many-positional-arguments option Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I18a90e082413ad9b515e635d8b4888789ceff254
2024-04-04Refactor code a bit to make status test able running on multiple namespacesmichal.jagiello@t-mobile.pl8-18/+25
It's possible to run status on all tests and also exclude some namespaces from check Issue-ID: TEST-404 Change-Id: I33c54624f60b1c4db82a252d97a26e18464ed07f Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2024-03-07Merge "SDNC distribution status check fix"Micha? Jagie??o1-5/+5
2024-03-07Fix CPS DB checkLukasz Rajewski1-4/+10
Fix CPS DB check to use tls authentication Issue-ID: INT-2263 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I69fa15e849f6703b08a0057c4d633f951c6719f1
2024-03-07SDNC distribution status check fixLukasz Rajewski1-5/+5
SDNC distribution status check fix Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Icc494a06f622dcebf02846cc00121b6d7ebb45fa
2024-03-03Error reason added to the test reportsLukasz Rajewski5-44/+131
Error reason added to the test reports Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I024626764b134d9fe7607988cf46918414f1deb3
2024-02-28Merge "Enhance status check with nodes and cronjob checks"Micha? Jagie??o2-33/+107
2024-02-28Fix pylint issuesLukasz Rajewski2-4/+2
Fix pylint issues Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I6eccf2b346eace80a0529c3ef45db3ed75167850
2024-02-28Enhance status check with nodes and cronjob checksLukasz Rajewski2-33/+107
Enhance status check with nodes and cronjob checks Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Idc0ae2914ef4aebabd15ef7ff51474dc2cc565b7
2024-02-26Fix the issue of basic_vm_macro configurationLukasz Rajewski1-10/+13
- Fix the issue of basic_vm_macro introduced after refactoring - new SDK version used - tox updated with helper commands Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I46aedcd08279142b2da48a431ab4f21ae1c9d3d1
2024-02-21Remove SDNC DB interaction outside the clusterLukasz Rajewski2-2/+3
Remove SDNC DB interaction outside the cluster Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I3cb45ef4ec05dad96fac87c2d63f8db925047d76
2024-02-16Do not verify SO onboarding if test is not running inside clusterMichal Jagiello2-9/+8
Fix bug with invalid base class for one of instantiation step Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ife972dbf9954b130c37562cb0c293b0e1da86133
2024-02-15Change default value of SDNC_DB_PRIMARY_HOST into mariadb-galeraMichal Jagiello1-1/+1
That configuration value depends on the ONAP setup configuration but by default SDNC uses mariadb-galera as a database Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I91bdb6eda0384fd53455411ace53422417cbb610
2024-02-13Merge "Enhanced SDNC status check and SDNC distribution check"Micha? Jagie??o3-3/+114
2024-02-12Enhanced SDNC status check and SDNC distribution checkLukasz Rajewski3-3/+114
Enhanced SDNC status check and SDNC distribution check Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I4ed88c73251c5569bc6bc0ea9a4a4737ca903d93
2024-02-12Cleanup SO instance before instantationLukasz Rajewski2-20/+67
Cleanup SO instance before instantation Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: If38938a4ce949eda3c8c91c3a1e38090dc986508
2024-02-12Improve verification of distribution statusLukasz Rajewski5-135/+294
- distribution excluded from instantiation - more steps to get details of error Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2770a4d6ec6887b6e7b54e31ee4979c2b18e5d20
2024-02-08Prevent cleanup of parent when substep has failedLukasz Rajewski1-0/+15
Prevent cleanup of parent when substep has failed Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2ed0aaaab9e43fef56685958b03fd796df25bc3b
2024-02-08Fixed issue of subscription name for pnf macroLukasz Rajewski1-1/+12
Fixed issue of subscription name for pnf macro Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ib32763b8e5922c71bbd10f680e5a00d52fddcda2
2024-02-07Make archive optional on cleanupLukasz Rajewski5-27/+41
If sdc element was not onboarded properly it cannot be archived but still can be deleted Issue-ID: TEST-404 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I80836c7bd7735de86c09ebc0ef0b6ea4a21c78fb
2024-02-06Fixed wrong names of settings in sdnc serviceLukasz Rajewski1-4/+4
Fixed wrong names of settings in sdnc service Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Id322472a72235715d75566f3389b9cdc6857f654
2024-02-06Enable SDNC DB connection check and healtcheckLukasz Rajewski4-7/+135
Use also SDNC check before SO instantiate calls Issue-ID: TEST-395 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7c9d3fd4136cc620b931b89275b4021bd93171ba
2024-02-02Execution base method is not required to be run.Lukasz Rajewski2-9/+26
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I3659aa2e09dd7c51f756bfdafb67d11b5114af2e
2024-02-02Refactor tests to use SDC v2 onapsdk moduleMichal Jagiello23-577/+300
Refactored SDC allows to archive and delete SDC resources Remove unmaintained test basic_clamp Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I11e4be6f4567098b20733879e393c689766a9c6e
2024-01-31Changes in the packages sort orderLukasz Rajewski47-95/+139
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I9f8ac40254e6a052c4b3ced5b05e21d7e84fa37f
2024-01-29Enhanced validation of configuration of all testsLukasz Rajewski54-360/+408
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I2e4ef6365b44c33f4c0b3e72886a83f92c63e2f3
2024-01-22Improved cleanup of service instances for failed casesLukasz Rajewski13-251/+118
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I348fc625a8cd2ac7c2ee506f996a506c5a4bf4f3
2023-10-23Move msb k8s override values configuration on the top settings levelmontrealMichal Jagiello3-2/+1
With the current override implementation on gating there is no way to modfy that value there Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I0ca8654c5320d7eb32318d7cb0b1cce44387e2ef
2023-10-19Make pnf-simulator helm chart configurableMichal Jagiello4-1/+4
PNF simulator couldn't be configured on demand (e.g. image couldn't be changed) That version allows override values and run customized version of pnf-simulator Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ic18bdaeaa782b61478579056d5ba1a893087d85c
2023-10-04Fix deamon set checks for status testLukasz Rajewski2-10/+12
Fix deamon set checks for status test Issue-ID: TEST-409 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ic8458e60f2f626f8d54f8a3e687c03f6ac95f791
2023-09-14Support additional namespaces in the status testLukasz Rajewski2-84/+116
Support additional namespaces in the status test Issue-ID: TEST-406 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ia4a4fd8aad4af02da598f6f64954d85c02349a15
2023-09-04Improve-CPS-sanity-testpawel.denst2-1/+4
Improve-CPS-sanity-test Issue-ID: INT-2263 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I03c30e40667ab1796d373c8b617a18cfca7c1988
2023-09-04Improve-CPS-sanity-testpawel.denst1-1/+4
Improve-CPS-sanity-test Issue-ID: INT-2263 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: Iab13759245c2f355d68bbf55d1a03087cd6c3d6d
2023-09-01Improve-CPS-sanity-testpawel.denst3-5/+232
Improve CPS sanity test Issue-ID: INT-2263 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Change-Id: I64c54920d1c70c5aa8befb058402fe234eaab1e8
2023-08-08Fix pylama errorsMichal Jagiello6-6/+13
Some new code was not checked by pylama and we have new errors Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5e92f0bbbafedc8852599eb3fb3423509c3e0d12
2023-08-08Simplify PNF Macro VES Send processLukasz Rajewski8-100/+235
Issue-ID: TEST-404 Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7b3fd8f4bd96ff02dadf2662a1a16079a00fb1d0
2023-08-05Change cleanup process of testsLukasz Rajewski51-927/+623
Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Iffe3aeaa4eab6adcabc94d143d1f94a684cd4657
2023-07-18Fix issue in status check after pylama fixxes additionLukasz Rajewski2-2/+1
Issue-ID: INT-2222 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ia68eda6517295ba3916e585403ff7bcc3453b99c
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