testsuite/pythonsdk-tests.git
3 months agoUse latest version of onapsdk 17/137117/1
Michal Jagiello [Fri, 2 Feb 2024 18:14:29 +0000 (19:14 +0100)]
Use latest version of onapsdk

Use 13.0.2 version with SDC bugfix

Issue-ID: TEST-404
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ib3fbaa6fe2538043f19c906d955596047fbfd3cd

3 months agoMerge "Update onapsdk version into bugfix 13.0.1 version"
Lukasz Rajewski [Fri, 2 Feb 2024 16:35:50 +0000 (16:35 +0000)]
Merge "Update onapsdk version into bugfix 13.0.1 version"

3 months agoExecution base method is not required to be run. 15/137115/1
Lukasz Rajewski [Fri, 2 Feb 2024 14:11:46 +0000 (15:11 +0100)]
Execution base method is not required to be run.

Issue-ID: TEST-402
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I3659aa2e09dd7c51f756bfdafb67d11b5114af2e

3 months agoUpdate onapsdk version into bugfix 13.0.1 version 14/137114/1
Michal Jagiello [Fri, 2 Feb 2024 13:01:34 +0000 (14:01 +0100)]
Update onapsdk version into bugfix 13.0.1 version

Fix an error on SDC v2 package

Issue-ID: TEST-404
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ie6ead9a146578a9d1fec18952a1d528c0a5226a7

3 months agoRefactor tests to use SDC v2 onapsdk module 96/137096/7
Michal Jagiello [Wed, 31 Jan 2024 07:30:41 +0000 (08:30 +0100)]
Refactor tests to use SDC v2 onapsdk module

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

3 months agoChanges in the packages sort order 97/137097/1
Lukasz Rajewski [Wed, 31 Jan 2024 10:06:56 +0000 (11:06 +0100)]
Changes in the packages sort order

Issue-ID: TEST-402
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I9f8ac40254e6a052c4b3ced5b05e21d7e84fa37f

3 months agoEnhanced validation of configuration of all tests 93/137093/1
Lukasz Rajewski [Sun, 28 Jan 2024 18:45:44 +0000 (19:45 +0100)]
Enhanced validation of configuration of all tests

Issue-ID: TEST-402
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I2e4ef6365b44c33f4c0b3e72886a83f92c63e2f3

3 months agoImproved cleanup of service instances for failed cases 64/137064/2
Lukasz Rajewski [Mon, 22 Jan 2024 15:15:46 +0000 (16:15 +0100)]
Improved cleanup of service instances for failed cases

Issue-ID: TEST-402
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I348fc625a8cd2ac7c2ee506f996a506c5a4bf4f3

4 months agoUse latest version of onapsdk 97/136897/1
Michal Jagiello [Thu, 21 Dec 2023 11:17:37 +0000 (12:17 +0100)]
Use latest version of onapsdk

Use 12.7.3 version with refactored CPS module

Issue-ID: INT-2277
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ic95c215d5f87e270114b20220e61d925e6d90dc7

5 months agoUse latest onapsdk version with CPS schema-set creation fix 38/136838/1
Michal Jagiello [Thu, 14 Dec 2023 07:41:02 +0000 (08:41 +0100)]
Use latest onapsdk version with CPS schema-set creation fix

Fix basic_cps test failures

Issue-ID: INT-2277
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Id91b955ef14fa6289dfc5ca6956d975fa062c3c7

6 months agoMove msb k8s override values configuration on the top settings level 04/136304/1 montreal
Michal Jagiello [Mon, 23 Oct 2023 07:20:18 +0000 (09:20 +0200)]
Move msb k8s override values configuration on the top settings level

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

6 months agoMake pnf-simulator helm chart configurable 58/136258/2
Michal Jagiello [Wed, 18 Oct 2023 13:44:19 +0000 (15:44 +0200)]
Make pnf-simulator helm chart configurable

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

7 months agoFix deamon set checks for status test 04/136104/1
Lukasz Rajewski [Wed, 4 Oct 2023 17:12:18 +0000 (19:12 +0200)]
Fix deamon set checks for status test

Fix deamon set checks for status test

Issue-ID: TEST-409
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ic8458e60f2f626f8d54f8a3e687c03f6ac95f791

7 months agoMerge "Use latest ONAP SDK"
Micha? Jagie??o [Wed, 20 Sep 2023 07:20:26 +0000 (07:20 +0000)]
Merge "Use latest ONAP SDK"

8 months agoUse latest ONAP SDK 65/135965/2
Michal Jagiello [Thu, 14 Sep 2023 12:19:02 +0000 (14:19 +0200)]
Use latest ONAP SDK

Update requirements to use ONAPSDK 12.3.1 version

Issue-ID: INT-2137
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I182303a317fc784aa95788e40a1612776e77d122

8 months agoSupport additional namespaces in the status test 62/135962/3
Lukasz Rajewski [Wed, 13 Sep 2023 21:14:46 +0000 (23:14 +0200)]
Support additional namespaces in the status test

Support additional namespaces in the status test

Issue-ID: TEST-406
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ia4a4fd8aad4af02da598f6f64954d85c02349a15

8 months agoImprove-CPS-sanity-test 04/135904/2
pawel.denst [Mon, 4 Sep 2023 11:52:12 +0000 (11:52 +0000)]
Improve-CPS-sanity-test

Improve-CPS-sanity-test

Issue-ID: INT-2263
Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
Change-Id: I03c30e40667ab1796d373c8b617a18cfca7c1988

8 months agoImprove-CPS-sanity-test 03/135903/1
pawel.denst [Mon, 4 Sep 2023 11:33:57 +0000 (11:33 +0000)]
Improve-CPS-sanity-test

Improve-CPS-sanity-test

Issue-ID: INT-2263
Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
Change-Id: Iab13759245c2f355d68bbf55d1a03087cd6c3d6d

8 months agoImprove-CPS-sanity-test 90/135890/2
pawel.denst [Thu, 31 Aug 2023 13:57:59 +0000 (13:57 +0000)]
Improve-CPS-sanity-test

Improve CPS sanity test

Issue-ID: INT-2263
Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
Change-Id: I64c54920d1c70c5aa8befb058402fe234eaab1e8

9 months agoFix pylama errors 86/135686/1
Michal Jagiello [Tue, 8 Aug 2023 08:58:06 +0000 (08:58 +0000)]
Fix pylama errors

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

9 months agoSimplify PNF Macro VES Send process 03/135603/10
Lukasz Rajewski [Sun, 30 Jul 2023 08:04:26 +0000 (08:04 +0000)]
Simplify PNF Macro VES Send process

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

9 months agoMerge "Change cleanup process of tests"
Micha? Jagie??o [Mon, 7 Aug 2023 13:06:39 +0000 (13:06 +0000)]
Merge "Change cleanup process of tests"

9 months agoChange cleanup process of tests 82/135582/6
Lukasz Rajewski [Thu, 27 Jul 2023 14:59:15 +0000 (14:59 +0000)]
Change cleanup process of tests

Issue-ID: TEST-402
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Iffe3aeaa4eab6adcabc94d143d1f94a684cd4657

9 months agoTry latest onapsdk 97/135597/1
Michal Jagiello [Fri, 28 Jul 2023 14:01:39 +0000 (14:01 +0000)]
Try latest onapsdk

Update dependency of onapsdk to the latest version

Issue-ID: INT-2222
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I71fc163885f217ff4d4bb42f42fb9cfc792c964d

9 months agoFix issue in status check after pylama fixxes addition 00/135500/1
Lukasz Rajewski [Tue, 18 Jul 2023 19:02:15 +0000 (19:02 +0000)]
Fix issue in status check after pylama fixxes addition

Issue-ID: INT-2222
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ia68eda6517295ba3916e585403ff7bcc3453b99c

10 months agoMerge "Add pylama into checks"
Lukasz Rajewski [Tue, 18 Jul 2023 06:39:55 +0000 (06:39 +0000)]
Merge "Add pylama into checks"

10 months agoAdd pylama into checks 82/135482/2
Michal Jagiello [Mon, 17 Jul 2023 13:30:55 +0000 (13:30 +0000)]
Add pylama into checks

Checks code with pylama

Issue-ID: INT-2222
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: If275ef90f21e3049abe72bcf373473b40846005c

10 months agoRemove troubleshooting code 23/135423/2
Michal Jagiello [Fri, 14 Jul 2023 08:01:45 +0000 (08:01 +0000)]
Remove troubleshooting code

Remove line which breaks test

Issue-ID: INT-982
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ib2661483d694e40484160365eb4f08f3a396e493

10 months agoFix status base.html 73/135373/1
Michal Jagiello [Wed, 12 Jul 2023 09:57:41 +0000 (09:57 +0000)]
Fix status base.html

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

10 months agoExclude certain labels and fix issue with missing selectors 33/135333/1
Lukasz Rajewski [Wed, 5 Jul 2023 17:38:27 +0000 (17:38 +0000)]
Exclude certain labels and fix issue with missing selectors

Issue-ID: INT-2246
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I84974b10ea0b62ccb81a9747e67fe4d9a79f43ba

10 months agoFix wrong template of kubeconfig file 21/135321/1
Lukasz Rajewski [Tue, 4 Jul 2023 16:00:14 +0000 (16:00 +0000)]
Fix wrong template of kubeconfig file

Some spaces were missing

Issue-ID: INT-2246
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I12cb4e3677465c2c5caed26fb7333c30d6592f6a

10 months agoStatus encoding exception fixed 99/135099/1
Lukasz Rajewski [Thu, 22 Jun 2023 16:10:52 +0000 (16:10 +0000)]
Status encoding exception fixed

- additional try catch introduced

Issue-ID: TEST-400
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ifc8d2015b7f5530476c32cba27d30f8ff11b9933

10 months agoMerge "Namespace status verification 2.0"
Micha? Jagie??o [Thu, 22 Jun 2023 10:37:04 +0000 (10:37 +0000)]
Merge "Namespace status verification 2.0"

10 months agoNamespace status verification 2.0 54/135054/1
Lukasz Rajewski [Tue, 20 Jun 2023 18:18:39 +0000 (18:18 +0000)]
Namespace status verification 2.0

- 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

10 months agoMerge "BaseScenario class added"
Micha? Jagie??o [Wed, 21 Jun 2023 05:59:12 +0000 (05:59 +0000)]
Merge "BaseScenario class added"

10 months agoBaseScenario class added 39/134939/3
Lukasz Rajewski [Fri, 16 Jun 2023 15:56:52 +0000 (15:56 +0000)]
BaseScenario class added

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

10 months agoConfigure status tests to not store logs 50/134950/2
pawel.denst [Mon, 19 Jun 2023 11:48:20 +0000 (11:48 +0000)]
Configure status tests to not store logs

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

11 months agoMerge "Modify Python ONAP SDK tests to not require kubeconfig"
Lukasz Rajewski [Fri, 16 Jun 2023 06:45:35 +0000 (06:45 +0000)]
Merge "Modify Python ONAP SDK tests to not require kubeconfig"

11 months agoEnhanced SDNC test to cover SVC logic check 13/134913/1
Lukasz Rajewski [Thu, 15 Jun 2023 20:26:48 +0000 (20:26 +0000)]
Enhanced SDNC test to cover SVC logic check

Issue-ID: TEST-395
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I1e49e8652d06b4c0147e8e1280ccbac9af83b8d4

11 months agoModify Python ONAP SDK tests to not require kubeconfig 58/134758/6
pawel.denst [Mon, 5 Jun 2023 08:00:55 +0000 (08:00 +0000)]
Modify Python ONAP SDK tests to not require kubeconfig

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

11 months agoAdd component name to the JSON report format 75/134775/1
Lukasz Rajewski [Tue, 6 Jun 2023 12:20:00 +0000 (12:20 +0000)]
Add component name to the JSON report format

Issue-ID: INT-2235
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I81274e0cca45ef86490e8004c594d7e85bf3c539

11 months agoMerge "Configure status tests to not create artifacts"
Micha? Jagie??o [Fri, 2 Jun 2023 08:42:36 +0000 (08:42 +0000)]
Merge "Configure status tests to not create artifacts"

11 months agoCreate SDNC Sanity test 91/134691/6
Aleksandr Taranov [Thu, 25 May 2023 14:21:34 +0000 (17:21 +0300)]
Create SDNC Sanity test

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

11 months agoConfigure status tests to not create artifacts 17/134717/2
pawel.denst [Tue, 30 May 2023 14:04:56 +0000 (14:04 +0000)]
Configure status tests to not create artifacts

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

11 months agoONAP Python SDK tests should generate JSON artifact (next to HTML) 53/134553/18
pawel.denst [Wed, 10 May 2023 10:50:58 +0000 (10:50 +0000)]
ONAP Python SDK tests should generate JSON artifact (next to HTML)

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

11 months agoMerge "Fix the order of cleanup of certain steps"
Micha? Jagie??o [Mon, 29 May 2023 10:20:29 +0000 (10:20 +0000)]
Merge "Fix the order of cleanup of certain steps"

11 months agoFix the order of cleanup of certain steps 03/134703/1
Lukasz Rajewski [Fri, 26 May 2023 14:08:55 +0000 (14:08 +0000)]
Fix the order of cleanup of certain steps

Issue-ID: INT-2239
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I3f7d4d7921e031c4d69ab19862421aeaba4595eb

11 months agoChange STATUS_RESULTS_DIRECTORY in python-sdk tests 02/134702/1
pawel.denst [Fri, 26 May 2023 13:42:13 +0000 (13:42 +0000)]
Change STATUS_RESULTS_DIRECTORY in python-sdk tests

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

11 months agoMerge "Fix VES client simulator image and pod verification method"
Micha? Jagie??o [Wed, 24 May 2023 07:23:40 +0000 (07:23 +0000)]
Merge "Fix VES client simulator image and pod verification method"

11 months agoChange entrypoint for status test 02/134602/1
Lukasz Rajewski [Tue, 23 May 2023 12:29:12 +0000 (12:29 +0000)]
Change entrypoint for status test

Issue-ID: INT-2239
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ice613848928f9826cd2859daf3ba769c52fada96

11 months agoFix VES client simulator image and pod verification method 00/134600/1
Lukasz Rajewski [Tue, 23 May 2023 11:56:25 +0000 (11:56 +0000)]
Fix VES client simulator image and pod verification method

Issue-ID: TEST-397
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Iaabd13e0eed2f7a0714e8baf6f5eaf01da599ebd

11 months agoRefactor status verification test 85/134585/8
Lukasz Rajewski [Thu, 18 May 2023 21:04:51 +0000 (21:04 +0000)]
Refactor status verification test

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

12 months agoMerge ""Configure ONAP Python tests to not expose services""
Lukasz Rajewski [Thu, 18 May 2023 18:03:27 +0000 (18:03 +0000)]
Merge ""Configure ONAP Python tests to not expose services""

12 months ago"Configure ONAP Python tests to not expose services" 86/133886/1
Pawe? Denst [Thu, 18 May 2023 11:52:58 +0000 (11:52 +0000)]
"Configure ONAP Python tests to not expose services"

Changed name of setting value

Issue-ID: INT-2234
Change-Id: I3f56707e9310164560c4c866b527b6c75a477cfa
Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
12 months agoMerge "Fix cps steps doc"
Lukasz Rajewski [Thu, 18 May 2023 11:49:13 +0000 (11:49 +0000)]
Merge "Fix cps steps doc"

12 months agoRevert "Configure ONAP Python tests to not expose services" 85/133885/1
Pawe? Denst [Thu, 18 May 2023 07:19:06 +0000 (07:19 +0000)]
Revert "Configure ONAP Python tests to not expose services"

Changed name of setting value

Issue-ID: INT-2234
Change-Id: I22f35a4cdff076862f086cb15d06e3d0101c883a
Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
12 months agoConfigure ONAP Python tests to not expose services 16/134516/6
pawel.denst [Tue, 9 May 2023 12:44:23 +0000 (12:44 +0000)]
Configure ONAP Python tests to not expose services

Changed name of setting value

Issue-ID: INT-2234
Signed-off-by: pawel.denst <pawel.denst@external.t-mobile.pl>
Change-Id: I7c66789753f54e76217f16f9b9bc4ac5b89bd7e7

12 months agoMerge "Migration of the healthchecks to gerrit"
Micha? Jagie??o [Thu, 11 May 2023 06:23:43 +0000 (06:23 +0000)]
Merge "Migration of the healthchecks to gerrit"

12 months agoMigration of the healthchecks to gerrit 79/134479/14
pawel.denst [Thu, 4 May 2023 09:03:17 +0000 (09:03 +0000)]
Migration of the healthchecks to gerrit

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

12 months agoFix cps steps doc 89/134489/2
Michal Jagiello [Fri, 5 May 2023 12:44:22 +0000 (12:44 +0000)]
Fix cps steps doc

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

12 months agoUpdate INFO.yaml with new PTL 55/134255/2
Marek Szwałkiewicz [Thu, 20 Apr 2023 12:12:39 +0000 (14:12 +0200)]
Update INFO.yaml with new PTL

Issue-ID: INT-2218
Change-Id: I00d7efcd4a033e0280bb1a42e4c1d57320826c14
Signed-off-by: Marek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
12 months agoRemove empty docs directory 78/134478/4
Marek Szwałkiewicz [Thu, 4 May 2023 08:59:35 +0000 (10:59 +0200)]
Remove empty docs directory

Issue-ID: INT-2218
Change-Id: I778c3d23e75c8e376aef6f3808e1b4803f64598e
Signed-off-by: Marek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
13 months agoDisable SDC resources cleanup 93/134193/1
Michal Jagiello [Mon, 17 Apr 2023 12:46:37 +0000 (12:46 +0000)]
Disable SDC resources cleanup

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

13 months agoTest pnf_macro fix 11/133811/3
Michal Jagiello [Fri, 24 Mar 2023 15:38:53 +0000 (15:38 +0000)]
Test pnf_macro fix

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

14 months agoFix tests regression 79/133679/2
Michal Jagiello [Thu, 16 Mar 2023 13:43:57 +0000 (13:43 +0000)]
Fix tests regression

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

14 months agoAdd cleanup to sdc resources ondboarding step 21/132921/7
Michal Jagiello [Mon, 16 Jan 2023 15:17:01 +0000 (15:17 +0000)]
Add cleanup to sdc resources ondboarding step

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

14 months agoBump version of onapsdk and use k8s plugin (not via msb) 20/133620/1
Michal Jagiello [Fri, 10 Mar 2023 14:20:39 +0000 (14:20 +0000)]
Bump version of onapsdk and use k8s plugin (not via msb)

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

15 months ago[CPS] Fix basic_cps test 53/133153/1
Michal Jagiello [Mon, 6 Feb 2023 11:58:11 +0000 (11:58 +0000)]
[CPS] Fix basic_cps test

Add missing variable assignement

Issue-ID: INT-2194
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I70044dd5b75cb0b57e97d8091fa43c757c926abf

15 months agoMerge "[CPS] Create basic_cps test"
Lukasz Rajewski [Fri, 3 Feb 2023 11:46:04 +0000 (11:46 +0000)]
Merge "[CPS] Create basic_cps test"

15 months ago[CPS] Create basic_cps test 39/132939/3
Michal Jagiello [Wed, 18 Jan 2023 13:24:23 +0000 (13:24 +0000)]
[CPS] Create basic_cps test

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

15 months ago[TEST] Way of creating VES url changed 92/133092/2
Lukasz Rajewski [Tue, 31 Jan 2023 14:14:41 +0000 (15:14 +0100)]
[TEST] Way of creating VES url changed

Issue-ID: TEST-389
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I5bd418697bb21ddd3d841a8f1a3c4c97e7c66078

16 months ago[TEST] Change of the namespace for basic_cnf_macro 63/132863/1
Lukasz Rajewski [Wed, 4 Jan 2023 14:44:20 +0000 (15:44 +0100)]
[TEST] Change of the namespace for basic_cnf_macro

Fixed version of the cryptography package

Issue-ID: TEST-388
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I870a1475b99f50401b80b8231509a2ff874779e3

18 months ago[INTEGRATION] Update committers list 40/131740/2 kohn
Michal Jagiello [Mon, 24 Oct 2022 09:19:20 +0000 (09:19 +0000)]
[INTEGRATION] Update committers list

That change was done by automated integration tool to maintain commiters list in INFO.yaml

Issue-ID: INT-2146
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ib2749ed8e1c0a7b62a740e18d78ea1d0d6ee19f2

23 months agoUse latest version of ONAP SDK 33/129433/1
Michal Jagiello [Tue, 31 May 2022 12:26:57 +0000 (12:26 +0000)]
Use latest version of ONAP SDK

Use 10.0.0 version of SDK in tests

Issue-ID: INT-2119
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ibbec40e08e7ed7091988da77b870fc952c582ed1

2 years ago[INTEGRATION] Update committers list 27/129127/1
Michal Jagiello [Thu, 5 May 2022 11:41:53 +0000 (11:41 +0000)]
[INTEGRATION] Update committers list

That change was done by automated integration tool to maintain commiters list in INFO.yaml

Issue-ID: INT-2106
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ic8fe8cad42f6bf60f4725e0e07e4e247525907da

2 years ago[INTEGRATION] Add one more conditional statement during service onboarding 25/128725/1
Michal Jagiello [Wed, 20 Apr 2022 11:32:38 +0000 (11:32 +0000)]
[INTEGRATION] Add one more conditional statement during service onboarding

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

2 years agoLog exception stack trace on test failure 51/128351/4
Michal Jagiello [Thu, 7 Apr 2022 07:26:58 +0000 (07:26 +0000)]
Log exception stack trace on test failure

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

2 years ago[TEST] Change of the k8sregion name 56/128256/3
Lukasz Rajewski [Fri, 1 Apr 2022 13:15:26 +0000 (15:15 +0200)]
[TEST] Change of the k8sregion name

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

2 years ago[TEST] Change of the namespace for basic_cnf_macro 97/127697/1
Lukasz Rajewski [Fri, 11 Mar 2022 14:03:24 +0000 (15:03 +0100)]
[TEST] Change of the namespace for basic_cnf_macro

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

2 years agoMerge "Use Python ONAP SDK 9.4.0"
Michal Jagiello [Wed, 2 Mar 2022 09:05:23 +0000 (09:05 +0000)]
Merge "Use Python ONAP SDK 9.4.0"

2 years agoMerge "[TEST] PNF macro nad CDS resource resoulution tests are failing on retry"
Michal Jagiello [Wed, 2 Mar 2022 09:05:11 +0000 (09:05 +0000)]
Merge "[TEST] PNF macro nad CDS resource resoulution tests are failing on retry"

2 years agoUse Python ONAP SDK 9.4.0 98/127398/1
Michal Jagiello [Tue, 1 Mar 2022 12:42:59 +0000 (12:42 +0000)]
Use Python ONAP SDK 9.4.0

It fixes issues with Jinja

Issue-ID: INT-2078
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I382aac26069893d76ae2b83dc69b93bb13739d7c

2 years ago[INTEGRATION] Update committers list 39/127339/1
Michal Jagiello [Mon, 28 Feb 2022 09:21:29 +0000 (09:21 +0000)]
[INTEGRATION] Update committers list

That change was done by automated integration tool to maintain commiters list in INFO.yaml

Issue-ID: INT-2077
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I03f735f8db7fa5475e1422651ae8070d6308d2d2

2 years ago[TEST] PNF macro nad CDS resource resoulution tests are failing on retry 00/127300/1
Michal Jagiello [Fri, 25 Feb 2022 07:08:27 +0000 (07:08 +0000)]
[TEST] PNF macro nad CDS resource resoulution tests are failing on retry

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

2 years ago[PYTHON] Improve requirement versioning 70/127270/1
mrichomme [Thu, 24 Feb 2022 08:40:03 +0000 (09:40 +0100)]
[PYTHON] Improve requirement versioning

Add versions for
- openstack lib
- kubernetes lib
- jinja2 lib

Issue-ID: INT-2078

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I20cde0e01c22c81786685a6e8d5483bec65bc9f1

2 years ago[TEST] Update resource-resolution CBA file due to run mockserver on "onap-tests"... 64/126864/1
Michal Jagiello [Mon, 31 Jan 2022 12:53:27 +0000 (12:53 +0000)]
[TEST] Update resource-resolution CBA file due to run mockserver on "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

2 years ago[TEST] Add cds resource resolution missing cleanup method call 24/126824/1
Michal Jagiello [Thu, 27 Jan 2022 14:53:07 +0000 (14:53 +0000)]
[TEST] Add cds resource resolution missing cleanup method call

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

2 years ago[TEST] Fixed CBA and its publish for Basic CNF macro 16/126616/2
Lukasz Rajewski [Mon, 17 Jan 2022 17:06:25 +0000 (18:06 +0100)]
[TEST] Fixed CBA and its publish for Basic CNF macro

- 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

2 years ago[TEST] Basic CNF macro 77/126377/19
Lukasz Rajewski [Thu, 23 Dec 2021 12:40:11 +0000 (13:40 +0100)]
[TEST] Basic CNF macro

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>
2 years agoMerge "[TEST] Do not create simulators in "onap" namespace"
Michal Jagiello [Mon, 20 Dec 2021 07:25:45 +0000 (07:25 +0000)]
Merge "[TEST] Do not create simulators in "onap" namespace"

2 years ago[TEST] Do not create simulators in "onap" namespace 11/123811/7
Michal Jagiello [Wed, 4 Aug 2021 08:35:09 +0000 (08:35 +0000)]
[TEST] Do not create simulators in "onap" namespace

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

2 years ago[INTEGRATION] Remove Bartosz Gardziejewski from commiters list 00/125900/1
Michal Jagiello [Thu, 25 Nov 2021 11:30:35 +0000 (11:30 +0000)]
[INTEGRATION] Remove Bartosz Gardziejewski from commiters list

That change was done by automated integration tool to maintain commiters list in INFO.yaml

Issue-ID: INT-2008
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I1ba986fdd5fcc9b33f390ba92436fc14c2cc9566

2 years ago[TEST] Fix cds-resource-resolution test 36/125436/1
Michal Jagiello [Thu, 28 Oct 2021 12:55:25 +0000 (12:55 +0000)]
[TEST] Fix cds-resource-resolution test

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

2 years agoMerge "[TEST] Do not show "No execution start time..." error log message for skipped...
Michal Jagiello [Mon, 25 Oct 2021 07:14:01 +0000 (07:14 +0000)]
Merge "[TEST] Do not show "No execution start time..." error log message for skipped substeps"

2 years ago[TEST] Fix multi_vnf_macro scenario. 76/125276/1
Michal Jagiello [Fri, 22 Oct 2021 13:46:26 +0000 (13:46 +0000)]
[TEST] Fix multi_vnf_macro scenario.

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

2 years ago[TEST] Do not show "No execution start time..." error log message for skipped substeps 77/125177/1
Michal Jagiello [Thu, 21 Oct 2021 10:49:07 +0000 (10:49 +0000)]
[TEST] Do not show "No execution start time..." error log message for 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

2 years ago[TEST] Added support for multi-vnf macro instantiation 36/123136/16
Julien Fontaine [Wed, 4 Aug 2021 19:52:02 +0000 (15:52 -0400)]
[TEST] Added support for multi-vnf macro instantiation

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

2 years ago[INTEGRATION] Use the newest onapsdk (9.0.0) 76/124876/5
Michal Jagiello [Wed, 13 Oct 2021 09:28:45 +0000 (09:28 +0000)]
[INTEGRATION] Use the newest onapsdk (9.0.0)

Issue-ID: INT-1994
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I3b6e04f5c89265f16674a66317faddee4c9597ab

2 years agoMerge "[TEST] CDS resource-resolution test"
Michal Jagiello [Mon, 11 Oct 2021 09:12:43 +0000 (09:12 +0000)]
Merge "[TEST] CDS resource-resolution test"

2 years ago[TEST] Do not use VID API in tests 07/124507/1
Michal Jagiello [Mon, 27 Sep 2021 14:53:02 +0000 (14:53 +0000)]
[TEST] Do not use VID API in tests

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