testsuite/pythonsdk-tests.git
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 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

2 years ago[BASIC_CLAMP] Adapt tca clamp plugin 80/124080/1
mrichomme [Mon, 13 Sep 2021 15:16:43 +0000 (17:16 +0200)]
[BASIC_CLAMP] Adapt tca clamp plugin

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

2 years agoMerge "Update HEAT-file for ubuntu20 used for basic_vm_macro test Issue-ID: TEST...
Michal Jagiello [Wed, 8 Sep 2021 13:55:11 +0000 (13:55 +0000)]
Merge "Update HEAT-file for ubuntu20 used for basic_vm_macro test Issue-ID: TEST-361"

2 years agoUpdate HEAT-file for ubuntu20 used for basic_vm_macro test 90/123890/2
Andreas Geissler [Mon, 6 Sep 2021 09:48:48 +0000 (09:48 +0000)]
Update HEAT-file for ubuntu20 used for basic_vm_macro test
Issue-ID: TEST-361

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I662945ec980bd100c7b3279a2fa97a1e8889f92c

2 years ago[ADMIN] Update INFO.yaml (new PTL and cleanup) 21/123821/2
morganrol [Thu, 2 Sep 2021 15:37:58 +0000 (17:37 +0200)]
[ADMIN] Update INFO.yaml (new PTL and cleanup)

Update:
- Michal Jagiello new Integration PTL

Remove:
- Marchin Przybysz

Issue-ID: INT-1967
Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: Idcec86b8ba42b4f817d4ae45f9e62c56fc7133ee

2 years ago[TEST] CDS resource-resolution test 61/123761/2
Michal Jagiello [Tue, 20 Jul 2021 10:15:32 +0000 (10:15 +0000)]
[TEST] CDS resource-resolution test

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

2 years ago[TEST] Get cleanup reports from substeps also if parent step has no cleanup report 24/123724/1
Michal Jagiello [Wed, 4 Aug 2021 11:25:28 +0000 (11:25 +0000)]
[TEST] Get cleanup reports from substeps also if parent step has no cleanup 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

2 years ago[TEST] Unwind master back to 27.07.2020 54/123554/1
Krzysztof Opasiak [Wed, 25 Aug 2021 15:44:25 +0000 (17:44 +0200)]
[TEST] Unwind master back to 27.07.2020

Unwind master due to regression in few tests.

Issue-ID: OOM-1
Change-Id: I3b759a5928aeb47fc7fddeaa5998aa090d085c5c
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2 years ago[TEST] Do not create pnf simulator in "onap" namespace 86/123086/4
Michal Jagiello [Wed, 4 Aug 2021 08:35:09 +0000 (08:35 +0000)]
[TEST] Do not create pnf simulator 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: Ie7b288ce81b0fab0f746622d863cd48497d739e9

2 years agoMerge "CDS resource-resolution test"
Morgan Richomme [Thu, 19 Aug 2021 13:12:03 +0000 (13:12 +0000)]
Merge "CDS resource-resolution test"

2 years agoMerge "[TEST] Get cleanup reports from substeps also if parent step has no cleanup...
Morgan Richomme [Thu, 19 Aug 2021 13:11:25 +0000 (13:11 +0000)]
Merge "[TEST] Get cleanup reports from substeps also if parent step has no cleanup report"

2 years agoMerge "[TEST] Additional cleanup before MSB K8S instance creation"
Lukasz Rajewski [Thu, 19 Aug 2021 12:28:38 +0000 (12:28 +0000)]
Merge "[TEST] Additional cleanup before MSB K8S instance creation"

2 years ago[TEST] Get cleanup reports from substeps also if parent step has no cleanup report 94/123094/1
Michal Jagiello [Wed, 4 Aug 2021 11:25:28 +0000 (11:25 +0000)]
[TEST] Get cleanup reports from substeps also if parent step has no cleanup 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

2 years ago[TEST] Additional cleanup before MSB K8S instance creation 26/122926/2
Michal Jagiello [Wed, 28 Jul 2021 11:20:49 +0000 (11:20 +0000)]
[TEST] Additional cleanup before MSB K8S instance creation

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

2 years agoCDS resource-resolution test 37/122737/3
Michal Jagiello [Tue, 20 Jul 2021 10:15:32 +0000 (10:15 +0000)]
CDS resource-resolution test

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

2 years agoChange rb-definition-version identifier 85/122885/1
Lukasz Rajewski [Tue, 27 Jul 2021 16:02:25 +0000 (18:02 +0200)]
Change rb-definition-version identifier

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

2 years ago[TEST] Use the newest ONAP SDK version 15/122815/2
Michal Jagiello [Thu, 22 Jul 2021 10:13:50 +0000 (10:13 +0000)]
[TEST] Use the newest ONAP SDK version

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

2 years ago[TEST] Basic macro stability scenario 28/122428/3
Michal Jagiello [Mon, 5 Jul 2021 10:45:05 +0000 (10:45 +0000)]
[TEST] Basic macro stability scenario

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

2 years ago[TEST] Check if cds blueprintsprocessor service type is 'NodePort' 56/122356/1
Michal Jagiello [Wed, 30 Jun 2021 07:34:18 +0000 (07:34 +0000)]
[TEST] Check if cds blueprintsprocessor service type is 'NodePort'

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

2 years ago[TEST] Wait for instantiated simulator longer 38/122038/1
Michal Jagiello [Fri, 18 Jun 2021 12:33:10 +0000 (12:33 +0000)]
[TEST] Wait for instantiated simulator longer

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

2 years ago[TEST] Create "pnf-macro-test-simulator" resources 44/121944/1
Michal Jagiello [Wed, 16 Jun 2021 07:27:31 +0000 (07:27 +0000)]
[TEST] Create "pnf-macro-test-simulator" resources

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

2 years agoMerge "[OPTIM] Tune SDC delay before certification"
Michal Jagiello [Wed, 16 Jun 2021 06:43:54 +0000 (06:43 +0000)]
Merge "[OPTIM] Tune SDC delay before certification"

2 years agoMerge "[ADMIN] Update and clean Integration committer list"
Lukasz Rajewski [Mon, 14 Jun 2021 14:31:59 +0000 (14:31 +0000)]
Merge "[ADMIN] Update and clean Integration committer list"

2 years ago[ADMIN] Update and clean Integration committer list 25/121825/2
morganrol [Thu, 10 Jun 2021 16:56:40 +0000 (18:56 +0200)]
[ADMIN] Update and clean Integration committer list

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

2 years ago[ADMIN] Update and clean Integration committer list 32/121832/1
morganrol [Thu, 10 Jun 2021 16:56:40 +0000 (18:56 +0200)]
[ADMIN] Update and clean Integration committer list

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

2 years agoMerge "[TEST] Use nf-simulator/vesclient"
Morgan Richomme [Fri, 28 May 2021 15:22:00 +0000 (15:22 +0000)]
Merge "[TEST] Use nf-simulator/vesclient"

2 years ago[TEST] Use nf-simulator/vesclient 90/121590/1
Michal Jagiello [Fri, 28 May 2021 14:16:05 +0000 (14:16 +0000)]
[TEST] Use nf-simulator/vesclient

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

2 years ago[OPTIM] Tune SDC delay before certification 62/121562/1
mrichomme [Thu, 27 May 2021 06:59:31 +0000 (08:59 +0200)]
[OPTIM] Tune SDC delay before certification

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

2 years agoMerge "[TEST] Patch ip values in pnf-simulator event"
Morgan Richomme [Wed, 19 May 2021 06:27:01 +0000 (06:27 +0000)]
Merge "[TEST] Patch ip values in pnf-simulator event"

2 years agoMerge "[CLAMP] Fix Policy exception in basic_clamp"
Morgan Richomme [Wed, 19 May 2021 06:26:02 +0000 (06:26 +0000)]
Merge "[CLAMP] Fix Policy exception in basic_clamp"

3 years ago[TEST] Patch ip values in pnf-simulator event 94/121394/1
Michal Jagiello [Tue, 18 May 2021 06:27:36 +0000 (06:27 +0000)]
[TEST] Patch ip values in pnf-simulator event

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

3 years ago[TEST] Do not try to recreate already created SDC resources 78/121378/1
Michal Jagiello [Tue, 11 May 2021 07:56:34 +0000 (07:56 +0000)]
[TEST] Do not try to recreate already created SDC resources

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

3 years agoMerge "Revert "[TEST] Do not try to recreate already created SDC resources""
Lukasz Rajewski [Thu, 13 May 2021 07:47:04 +0000 (07:47 +0000)]
Merge "Revert "[TEST] Do not try to recreate already created SDC resources""

3 years agoRevert "[TEST] Do not try to recreate already created SDC resources" 08/121308/1
Morgan Richomme [Thu, 13 May 2021 07:42:35 +0000 (07:42 +0000)]
Revert "[TEST] Do not try to recreate already created SDC resources"

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

3 years agoMerge "[TEST] Catch k8s connection exceptions"
Morgan Richomme [Wed, 12 May 2021 15:52:48 +0000 (15:52 +0000)]
Merge "[TEST] Catch k8s connection exceptions"

3 years agoMerge "[TEST] Do not try to recreate already created SDC resources"
Morgan Richomme [Wed, 12 May 2021 14:41:05 +0000 (14:41 +0000)]
Merge "[TEST] Do not try to recreate already created SDC resources"

3 years ago[CLAMP] Fix Policy exception in basic_clamp 86/121286/1
mrichomme [Wed, 12 May 2021 14:26:21 +0000 (16:26 +0200)]
[CLAMP] Fix Policy exception in basic_clamp

Attribute error due to bad import

Issue-ID: TEST-338

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

3 years ago[TEST] Catch ConnectionError exception during pnf simulator startup 73/121173/1
Michal Jagiello [Tue, 11 May 2021 13:04:10 +0000 (13:04 +0000)]
[TEST] Catch ConnectionError exception during pnf simulator startup

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

3 years ago[TEST] Catch k8s connection exceptions 47/121247/1
Michal Jagiello [Tue, 11 May 2021 09:38:25 +0000 (09:38 +0000)]
[TEST] Catch k8s connection exceptions

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

3 years ago[TEST] Do not try to recreate already created SDC resources 45/121245/2
Michal Jagiello [Tue, 11 May 2021 07:56:34 +0000 (07:56 +0000)]
[TEST] Do not try to recreate already created SDC resources

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

3 years ago[CLAMP] Update clamp to allow re-play of the test 33/120933/2
morganrol [Tue, 27 Apr 2021 15:08:34 +0000 (17:08 +0200)]
[CLAMP] Update clamp to allow re-play of the test

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

3 years agoMerge "Wait for pnf simulator"
Morgan Richomme [Tue, 27 Apr 2021 12:26:25 +0000 (12:26 +0000)]
Merge "Wait for pnf simulator"

3 years ago[EXCEPTIONS] Distinguish onaptests and onapsdk exception 67/120767/1
morganrol [Wed, 21 Apr 2021 12:45:24 +0000 (14:45 +0200)]
[EXCEPTIONS] Distinguish onaptests and onapsdk exception

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

3 years agoWait for pnf simulator 95/120295/2
Michal Jagiello [Mon, 12 Apr 2021 09:08:46 +0000 (09:08 +0000)]
Wait for pnf simulator

Add VSP for PNF

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

3 years agoUse 7.5.1 onapsdk version 31/120331/1
Michal Jagiello [Thu, 8 Apr 2021 16:24:45 +0000 (16:24 +0000)]
Use 7.5.1 onapsdk version

It fixes macro instantiation issues.

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

3 years ago[VMMACRO] Do not use multicloud when running basic_vm_macro 01/120301/1
mrichomme [Wed, 7 Apr 2021 17:20:34 +0000 (19:20 +0200)]
[VMMACRO] Do not use multicloud when running basic_vm_macro

It seems that the multicloud part is not really working...
Do not use it

Issue-ID: INT-1894

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

3 years ago[CLAMP] raise exception in case of Policy or DCAE errors 34/120234/2
morganrol [Tue, 6 Apr 2021 17:18:42 +0000 (19:18 +0200)]
[CLAMP] raise exception in case of Policy or DCAE errors

remove the exit(1) to be sure we got a nice reporting

Issue-ID: INT-1819

Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: Ie652d382fd649e3537209d6891881db5ee219207

3 years agoMerge "Remove masspnfsimulator as a git submodule."
Bartek Grzybowski [Wed, 7 Apr 2021 09:24:44 +0000 (09:24 +0000)]
Merge "Remove masspnfsimulator as a git submodule."