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

3 years agoRemove masspnfsimulator as a git submodule. 47/119247/2
Illia Halych [Fri, 12 Mar 2021 12:00:59 +0000 (12:00 +0000)]
Remove masspnfsimulator as a git submodule.

Removed both submodule and the old pnf directory

Issue-ID: INT-1882
Signed-off-by: Illia Halych <illia.halych@t-mobile.pl>
Change-Id: Ie439a0dea9aff7efc743822ec5ea5715f4af241e

3 years agoMerge "[ADMIN] Add Illia Halych in INFO.yaml"
Sylvain Desbureaux [Tue, 6 Apr 2021 12:34:42 +0000 (12:34 +0000)]
Merge "[ADMIN] Add Illia Halych in INFO.yaml"

3 years ago[ADMIN] Add Illia Halych in INFO.yaml 98/120198/1
mrichomme [Mon, 5 Apr 2021 09:21:27 +0000 (11:21 +0200)]
[ADMIN] Add Illia Halych in INFO.yaml

Add Eli and cleanup the INFO.yaml file

Issue-ID: INT-1842
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ia19d46447776413e491c63b60777eb46d840afdf

3 years agoMerge "[CLAMP] Integrate basic_clamp"
Morgan Richomme [Fri, 2 Apr 2021 07:44:15 +0000 (07:44 +0000)]
Merge "[CLAMP] Integrate basic_clamp"

3 years agoMerge "Basic VM macro"
Morgan Richomme [Fri, 2 Apr 2021 06:54:42 +0000 (06:54 +0000)]
Merge "Basic VM macro"

3 years agoBasic VM macro 58/119658/14
Michal Jagiello [Tue, 23 Mar 2021 18:23:48 +0000 (18:23 +0000)]
Basic VM macro

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

3 years agoMerge "Nodeport cleanup in basic_cds test"
Morgan Richomme [Fri, 2 Apr 2021 06:46:42 +0000 (06:46 +0000)]
Merge "Nodeport cleanup in basic_cds test"

3 years ago[CLAMP] Integrate basic_clamp 72/120072/2
morganrol [Wed, 31 Mar 2021 17:07:11 +0000 (19:07 +0200)]
[CLAMP] Integrate basic_clamp

Some regressions occured and old files were used
This patch update the different components with the right versions
It also renames the vnf-service in basic_clamp-services.yaml
It creates the entry point and the scenario to integrate the test in xtesting

Issue-ID: INT-1819

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

3 years ago[SDC] Add a timer before certifying 55/119655/1
morganrol [Tue, 23 Mar 2021 17:48:59 +0000 (18:48 +0100)]
[SDC] Add a timer before certifying

The goal is to reduce the number of errors on SDC
due to the processing time on certification
Initially a re-try was attempted on exception
but no exception is raised
so use a Timer to reduce the stress on certification

Issue-ID: TEST-315

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

3 years agoNodeport cleanup in basic_cds test 76/119576/1
Michal Jagiello [Mon, 22 Mar 2021 09:05:21 +0000 (09:05 +0000)]
Nodeport cleanup in basic_cds test

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

3 years agoWait 15 minutes for orchestration requests 63/119563/1
Michal Jagiello [Fri, 19 Mar 2021 20:49:16 +0000 (20:49 +0000)]
Wait 15 minutes for orchestration requests

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

3 years agoMerge "Timeout on orchestration requests"
Morgan Richomme [Fri, 19 Mar 2021 16:20:59 +0000 (16:20 +0000)]
Merge "Timeout on orchestration requests"

3 years agoTimeout on orchestration requests 48/119548/2
Michal Jagiello [Fri, 19 Mar 2021 15:01:26 +0000 (15:01 +0000)]
Timeout on orchestration requests

Use wait_for_finish method to raise an exception if orchestration requests took more than 10 minutes

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

3 years ago[PNF] Extend timer before sending request to simulator 17/119517/2
morganrol [Thu, 18 Mar 2021 17:16:51 +0000 (18:16 +0100)]
[PNF] Extend timer before sending request to simulator

Tests done on daily Guilin shows that the simulator takes some seconds
to start, so we shoudl not send immediately the regsitration request to
the simu
A retry mechanism could be implemented
meanwhile the extension of the timer seems to be enough

Issue-ID: INT-1822

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

3 years ago[SDC] Certify only when needed 84/119284/3
morganrol [Sat, 13 Mar 2021 18:59:25 +0000 (19:59 +0100)]
[SDC] Certify only when needed

1) checkin and onboard only if the tests is not already distributed
if the service is distributed, we assume that it is a replay of the test
and we do not need to re-onboard the service done during the first
steps.
It shall be then possible to replay
- basic_network
- basic_vm
- basic_cnf
- basic_pnf
- basic_clamp

2) include a replay of certify in case of resource not found

Issue-ID: TEST-315

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

3 years agoMerge "Remove cert authent in basic_clamp"
Michal Jagiello [Thu, 18 Mar 2021 15:53:17 +0000 (15:53 +0000)]
Merge "Remove cert authent in basic_clamp"

3 years agoRemove pvc from pnf simulator helm chart 03/119503/1
Michal Jagiello [Thu, 18 Mar 2021 13:56:57 +0000 (13:56 +0000)]
Remove pvc from pnf simulator helm chart

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

3 years agoRemove cert authent in basic_clamp 20/117520/6
mrichomme [Thu, 4 Feb 2021 17:56:12 +0000 (18:56 +0100)]
Remove cert authent in basic_clamp

Clamp can now be reached using a basic/auth
The Cert is no more needed
This is much simpler to deal with and integrate in CI

Issue-ID: INT-1819

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

3 years ago[SDC] Add manifest to basic packages 47/118947/1
ChrisC [Tue, 9 Mar 2021 10:55:57 +0000 (11:55 +0100)]
[SDC] Add manifest to basic packages

SDC requires a MANIFEST.json file when onboarding zipped artifacts, this was not strictly checked prior to H release.

Issue-ID: SDC-3497
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I997d93bdfef7b972b9ae13905344b8191a4b3525

3 years agoMerge "Add missing logger for Pnf Scenario"
Morgan Richomme [Mon, 8 Mar 2021 08:11:25 +0000 (08:11 +0000)]
Merge "Add missing logger for Pnf Scenario"

3 years agoAdd missing logger for Pnf Scenario 60/118860/1
Michal Jagiello [Fri, 5 Mar 2021 16:00:28 +0000 (16:00 +0000)]
Add missing logger for Pnf Scenario

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

3 years agoWrapper for simulators 92/117192/8
Eli Halych [Thu, 28 Jan 2021 16:11:39 +0000 (16:11 +0000)]
Wrapper for simulators

Implemented using Avionix. Supports Helm 3 only. The local directory path was defined relative to the package. Remote charts that are described locally are used. Starting the simulator is provided as a regular HTTP or HTTPS request.

Issue-ID: INT-1829
Signed-off-by: Eli Halych <illia.halych@t-mobile.pl>
Change-Id: Ia17c4043bedd853bf2c068e53d51cd2808a3c0db

3 years ago[TEST] Collect steps cleanup reports 65/117865/4
Michal Jagiello [Mon, 15 Feb 2021 21:33:17 +0000 (21:33 +0000)]
[TEST] Collect steps cleanup reports

Collect reports of steps cleanup and present them in report

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

3 years ago[INT] Catch all onaptests and onapsdk exceptions for scenarios 21/117721/2
Michal Jagiello [Wed, 10 Feb 2021 21:19:59 +0000 (21:19 +0000)]
[INT] Catch all onaptests and onapsdk exceptions for scenarios

Catch onaptests and onapsdk exceptions in scenario to generate test report if test fails

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

3 years agoConsider settings custom exceptions for reporting 62/117662/1
morganrol [Wed, 10 Feb 2021 09:16:59 +0000 (10:16 +0100)]
Consider settings custom exceptions for reporting

Issue-ID: TEST-303

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

3 years agoMerge "Python SDK 7.4.0 compatibility"
Sylvain Desbureaux [Mon, 8 Feb 2021 17:24:58 +0000 (17:24 +0000)]
Merge "Python SDK 7.4.0 compatibility"

3 years agoPython SDK 7.4.0 compatibility 82/117582/3
Michal Jagiello [Fri, 5 Feb 2021 20:37:02 +0000 (20:37 +0000)]
Python SDK 7.4.0 compatibility

Use Python SDK exceptions.

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

3 years ago[TESTS] cleanup tests and remove reference to ubuntu16 04/117304/2
mrichomme [Mon, 1 Feb 2021 16:26:42 +0000 (17:26 +0100)]
[TESTS] cleanup tests and remove reference to ubuntu16

the basic_vm test was historically called ubuntu16...
as we are now delaing more with ubuntu18 or ubuntu20, the reference
to the version16 is a bit old

- Replace ubuntu16 by basic_vm
- Use ubuntu20 instead of Ubuntu16
- Replace onap.small by m1.small to be natively compatible with any Openstack
  (default flavor)

Issue-ID: TEST-299

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

3 years agoPNF simulator CNF instantiation and registation steps 07/117107/1
Michal Jagiello [Mon, 25 Jan 2021 12:00:25 +0000 (12:00 +0000)]
PNF simulator CNF instantiation and registation steps

Use CNF of PNF simulator in pnf_macro scenario

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

3 years agoAdd basic_pnf entry point 47/117047/1
Michal Jagiello [Thu, 21 Jan 2021 14:29:53 +0000 (14:29 +0000)]
Add basic_pnf entry point

Basic PNF test:
 - run PNF simulator
 - onboard SDC service with PNF subcomponent
 - instantiate service using macro flow

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

3 years ago[TESTCASE] fix basic_onboard scenario 57/116957/1
mrichomme [Mon, 18 Jan 2021 14:26:53 +0000 (15:26 +0100)]
[TESTCASE] fix basic_onboard scenario

the run_basic_onboard.py is working, but the scenario used by xtesting
cannot work properly.

Tested on Daily master lab.

Issue-ID: TEST-288

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

3 years agoMerge "[PythonSDK-tests] Add basic_onboard testcase"
Morgan Richomme [Fri, 15 Jan 2021 16:28:31 +0000 (16:28 +0000)]
Merge "[PythonSDK-tests] Add basic_onboard testcase"

3 years ago[PythonSDK-tests] Add basic_onboard testcase 82/116782/9
Chereau Natacha [Wed, 13 Jan 2021 09:54:46 +0000 (10:54 +0100)]
[PythonSDK-tests] Add basic_onboard testcase

Issue-ID: TEST-288

Signed-off-by: Chereau Natacha <natacha.chereau@orange.com>
Change-Id: Ide7267428b5ca694dc3ca44a4c81730233610b78

3 years agoFix steps time measurement 70/116770/1
Michal Jagiello [Tue, 12 Jan 2021 20:30:16 +0000 (20:30 +0000)]
Fix steps time measurement

Substeps execution time is not stored with the right time of step execution

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

3 years agoMerge "PNF macro instantiation"
Lukasz Rajewski [Tue, 5 Jan 2021 20:58:12 +0000 (20:58 +0000)]
Merge "PNF macro instantiation"

3 years agoMerge "Prepare basic_clamp use case"
Catherine Lefevre [Tue, 5 Jan 2021 11:31:58 +0000 (11:31 +0000)]
Merge "Prepare basic_clamp use case"

3 years agoPNF macro instantiation 21/116421/4
Michal Jagiello [Wed, 25 Nov 2020 10:52:03 +0000 (10:52 +0000)]
PNF macro instantiation

Issue-ID: TEST-280
Change-Id: I6d18b90c3f4c66ddf8c9a4ebe3de7182481e331f
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
3 years agoUpdate masspnf simulator repository path 22/116422/2
Bartek Grzybowski [Wed, 16 Dec 2020 11:50:49 +0000 (12:50 +0100)]
Update masspnf simulator repository path

Masspnf simulator has been moved to it's own repository.

Change-Id: I6360b478bb853eabf57ddad199e36180c5a8f2e9
Issue-ID: TEST-278
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
3 years agoMerge "Add PNF simulator execution and cleanup as a BaseStep"
Michal Jagiello [Tue, 15 Dec 2020 07:05:49 +0000 (07:05 +0000)]
Merge "Add PNF simulator execution and cleanup as a BaseStep"

3 years agoAdd PNF simulator execution and cleanup as a BaseStep 72/115372/9
Eli Halych [Wed, 25 Nov 2020 10:52:03 +0000 (10:52 +0000)]
Add PNF simulator execution and cleanup as a BaseStep

1. The simulator is the masspnfsim from integration project. Added as a git submodule.
2. The flow: build image, bootstrap simulator, run simulator, stop simulator,
remove simulator, remove image (only simulator).
3. Additionally trigger (sending a message to VES) is handled in pnf/utils.py. To send a request to VES,
vesip in settings.PNF_VES_CONFIG should be set to the one accessible from simulator container. Default one
(172.17.0.1) communicates with the machine the simulator runs at.
4. commonEventHeader's fields can be overridden in settings.py (here sourceName, reportingEntityName)

Issue-ID: TEST-278
Signed-off-by: Eli Halych <illia.halych@t-mobile.pl>
Change-Id: Id77dc8c517a30458abd81f2aadc416204be522b5

3 years agoPrepare basic_clamp use case 27/116227/2
mrichomme [Tue, 8 Dec 2020 17:11:58 +0000 (18:11 +0100)]
Prepare basic_clamp use case

Update of basic_clamp use case
Please note there is a dependency with the onapsdk [1]
due to teh fact that policy_tca (frankfurt) has to be changed
to policy.tca in guilin.

In this version, we still use the clamp authentication
done by certificates.
The last version of clamp supports basic/auth but onapsdk has to be
updated to offer this option, which will better.
Until it is updated, the use case can work using the old cert
authentificaiton method.

This use case has been succesfully tested on
- daily guilin => dcae k8s plugin 3.4.2
- daily master => use the version 3.4.3

[1]: https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/-/merge_requests/216

Issue-ID: TEST-277

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

3 years agobasic_cds adapatations for xtesting 29/116129/2
mrichomme [Fri, 4 Dec 2020 13:34:29 +0000 (14:34 +0100)]
basic_cds adapatations for xtesting

Issue-ID: TEST-245

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

3 years agoPrepare basic_cds endpoint for xtesting 30/116030/1
mrichomme [Wed, 2 Dec 2020 15:28:19 +0000 (16:28 +0100)]
Prepare basic_cds endpoint for xtesting

Issue-ID: TEST-245

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

3 years agoMinor typo corrections 94/115994/1
Lasse Kaihlavirta [Wed, 2 Dec 2020 10:35:16 +0000 (12:35 +0200)]
Minor typo corrections

 - follow-up on https://gerrit.onap.org/r/c/testsuite/pythonsdk-tests/+/115972

Issue-ID: INT-1796
Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>
Change-Id: I8921f5aa344a3da9c40fbe20a146819587968bd1

3 years agoBetter exception handling 72/115972/1
Sylvain Desbureaux [Tue, 1 Dec 2020 16:49:31 +0000 (17:49 +0100)]
Better exception handling

Instead of catching all exceptions that can occurs and miss one, let's
create a "parent" exception class for OnapTest and catch only this one.

In order to know what's the error, we also create a class attribute
(`error_message`) that gives us the reason for exception.

Issue-ID: INT-1796
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I798d8c6270c466b1d9be6511f52fd9441401c9c8

3 years agoMerge "CDS onboarding steps and simple CBA enrichment scenarion."
Thierry Hardy [Wed, 25 Nov 2020 07:55:37 +0000 (07:55 +0000)]
Merge "CDS onboarding steps and simple CBA enrichment scenarion."

3 years agoMerge "PNF onboarding step"
Thierry Hardy [Wed, 25 Nov 2020 07:50:37 +0000 (07:50 +0000)]
Merge "PNF onboarding step"

3 years agoCDS onboarding steps and simple CBA enrichment scenarion. 30/115030/7
Michal Jagiello [Wed, 18 Nov 2020 11:20:59 +0000 (11:20 +0000)]
CDS onboarding steps and simple CBA enrichment scenarion.

Steps for data dictionary upload and CBA enrichment

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

3 years agoAdd Lasse as Integration committer 04/115204/1 develop
mrichomme [Fri, 20 Nov 2020 17:42:26 +0000 (18:42 +0100)]
Add Lasse as Integration committer

Issue-ID: INT-1788

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

3 years agoPNF onboarding step 41/115041/2
Michal Jagiello [Wed, 18 Nov 2020 14:54:20 +0000 (14:54 +0000)]
PNF onboarding step

Add a code to onboard service with MACRO service instance type.
Add properties assignement

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

3 years agoAdd properties for new Clamp case 28/114728/1
mrichomme [Mon, 9 Nov 2020 19:25:14 +0000 (20:25 +0100)]
Add properties for new Clamp case

Issue-ID: TEST-251

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

3 years agoUpdate the TCA yaml i CLAMP E2E tests 81/114681/1
sebdet [Mon, 9 Nov 2020 08:23:31 +0000 (09:23 +0100)]
Update the TCA yaml i CLAMP E2E tests

The TCA microservice yaml must be updated for Guilin, it uses a new policy

Issue-ID: CLAMP-977
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I9dd857906487d9f5b0d25a84add3836cbd4fea42

3 years agoMerge "Add CLAMP E2E tests"
Krzysztof Kuzmicki [Fri, 6 Nov 2020 20:44:28 +0000 (20:44 +0000)]
Merge "Add CLAMP E2E tests"

3 years agoAdd CLAMP E2E tests 42/110542/21
amine ezziati [Fri, 24 Jul 2020 07:08:42 +0000 (09:08 +0200)]
Add CLAMP E2E tests

Issue-ID: TEST-240
Signed-off-by: amine ezziati <mohamedamine.ezziati@orange.com>
Change-Id: Ib612f1670aca10d9ac9f15fadb9cab58a7d8e5a8
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoIntegration tests report enrichment 33/114533/4
Michal Jagiello [Tue, 3 Nov 2020 15:25:58 +0000 (15:25 +0000)]
Integration tests report enrichment

Improve the step description for better reporting
Add duration step in pythonsdk-test reporting

Issue-ID: TEST-271
Issue-ID: TEST-272

Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I6d46cb38ae236bc578eb15982c2c0b8f2b0c0791

3 years agoUsecase basic_cnf: helm package error 56/114356/1
Thierry Hardy [Wed, 28 Oct 2020 12:43:01 +0000 (13:43 +0100)]
Usecase basic_cnf: helm package error

Kubernetes resources name are based on the release name whose name has changed in onap master release
compared to Frankfurt. This name is now override in helm package

Issue-ID: TEST-243
Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
Change-Id: I97df6f5b22ac04d7d84c81c1d9ebdb70b3edd2c1

3 years agoUsecase basic_cnf: remaining errors 77/114077/1
Thierry Hardy [Wed, 21 Oct 2020 06:59:25 +0000 (08:59 +0200)]
Usecase basic_cnf: remaining errors

Error in cleanup phase for all usecases
Missing variables in settings for basic_cnf

Issue-ID: TEST-243
Signed-off-by: jardellos <thierry.hardy@orange.com>
Change-Id: Ic10fc2ae2361f82192a403cf06ee5d8031599acb

3 years agoFix reporting when no details/components are defined 66/113966/1
morganrOL [Sat, 17 Oct 2020 20:05:15 +0000 (22:05 +0200)]
Fix reporting when no details/components are defined

Issue-ID: TEST-269

Signed-off-by: morganrOL <morgan.richomme@orange.com>
Change-Id: I94a480aef910eb814b30c04b86eb206530b66c5c

3 years agoFix nit in vf module cleanup 65/113965/1
morganrOL [Sat, 17 Oct 2020 19:57:35 +0000 (21:57 +0200)]
Fix nit in vf module cleanup

Issue-ID: TEST-254

Signed-off-by: morganrOL <morgan.richomme@orange.com>
Change-Id: Ie59ba7935119f193a1f4cba2f0a5722ed1783441

3 years agoRevert "Revert "Create basic_cnf test leveraging onapsdk"" 66/113866/9
Thierry Hardy [Wed, 14 Oct 2020 08:51:57 +0000 (08:51 +0000)]
Revert "Revert "Create basic_cnf test leveraging onapsdk""

This reverts commit ded9ae3b507b9687a68cc00dfc75e13130be13ff.

Reason for revert: ONAP SDK 7.1 version is released
Correction hardcode value (k8s) and onapsdk version to 7.1.0

Issue-ID: TEST-243
Change-Id: I535af4298f79a34476074612079dc479d2fc0b61
Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
3 years agoAdded basic_network testcase 05/113805/11
andreasgeissler [Mon, 12 Oct 2020 16:05:46 +0000 (18:05 +0200)]
Added basic_network testcase

Issue-ID: TEST-255
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: I86b34c0980cee7a5824231591a60d1f50dfe4f37
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoFix bad path of the logs in the reporting page 16/113916/3
mrichomme [Thu, 15 Oct 2020 12:57:37 +0000 (14:57 +0200)]
Fix bad path of the logs in the reporting page

Issue-ID: TEST-270

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ief03cf6916b417fb0c80c5086ffe8e73f3865329
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoImprove xtesting integration 28/113828/2
mrichomme [Tue, 13 Oct 2020 10:52:24 +0000 (12:52 +0200)]
Improve xtesting integration

All the exceptions shall be caught by the use case

Issue-ID: TEST-257

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ie2762ad869d8984ce2125db4a8ef4990ee50f82a
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoMerge "Revert "Create basic_cnf test leveraging onapsdk""
Morgan Richomme [Tue, 13 Oct 2020 09:36:34 +0000 (09:36 +0000)]
Merge "Revert "Create basic_cnf test leveraging onapsdk""

3 years agoRevert "Create basic_cnf test leveraging onapsdk" 89/113789/1
Morgan Richomme [Tue, 13 Oct 2020 09:16:20 +0000 (09:16 +0000)]
Revert "Create basic_cnf test leveraging onapsdk"

This reverts commit 0123c525b0182a5d6f9cd1bee3830eb1956239c7.

Reason for revert: <it is breaking basic_vm because ModuleNotFoundError: No module named 'onapsdk.msb.k8s' >

Issue-ID: TEST-243

Change-Id: Iaf398a11b296b2c2bf55d9a25a588cd32e44077a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
3 years agoMerge "Create basic_cnf test leveraging onapsdk"
Morgan Richomme [Mon, 12 Oct 2020 11:24:35 +0000 (11:24 +0000)]
Merge "Create basic_cnf test leveraging onapsdk"

3 years agoCreate basic_cnf test leveraging onapsdk 86/113486/10
Thierry Hardy [Fri, 2 Oct 2020 14:18:17 +0000 (16:18 +0200)]
Create basic_cnf test leveraging onapsdk

Add the scenario basic_cnf that uses multicloud-k8s plugin to instantiate cnf on k8s
Add the removal of profile in cleanup part
Add store_state
Issue-ID: TEST-243
Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
Change-Id: Ib743c259decf95cdc69975e1ef7d4ba7aadccfae

3 years agoAdd reporting page creation in pythonsdk-tests 80/113680/2
mrichomme [Thu, 8 Oct 2020 11:46:50 +0000 (13:46 +0200)]
Add reporting page creation in pythonsdk-tests

Issue-ID: TEST-269

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I4ab0a2f7a1a1e98ae5d05166c6aa06212d24eeae
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoMerge "Collect steps execution result"
Morgan Richomme [Wed, 7 Oct 2020 09:02:51 +0000 (09:02 +0000)]
Merge "Collect steps execution result"

3 years agoCollect steps execution result 66/113566/2
Michal Jagiello [Tue, 6 Oct 2020 09:56:13 +0000 (09:56 +0000)]
Collect steps execution result

Create a decorator to collect step execution result and store them in storage class.
Storage class prepare a dictionary with step class name and execution result.

Issue-ID: INT-1733
Change-Id: I9c4030a0740085a9acca461c1581683c469ecbcf
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
3 years agoRemove clearwater_ims configuration file 57/113557/1
mrichomme [Tue, 6 Oct 2020 06:56:44 +0000 (08:56 +0200)]
Remove clearwater_ims configuration file

They contain reference to GPLv3 [1]

Issue-ID: INT-1732

[1]: https://lfscanning.org/reports/onap/onap-2020-10-48775714-948d-4f9d-b93f-13de323390f2.html

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

3 years agoFix artifact path in clearwater_ims use case 20/113420/1
mrichomme [Thu, 1 Oct 2020 11:34:21 +0000 (13:34 +0200)]
Fix artifact path in clearwater_ims use case

Issue-ID: TEST-224

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

3 years agoParam missing for clearwater_ims use case 15/113415/1
mrichomme [Thu, 1 Oct 2020 09:33:14 +0000 (11:33 +0200)]
Param missing for clearwater_ims use case

Issue-ID: TEST-242

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

3 years agoUpdate entry point to consider clean as part of the test 09/113409/1
mrichomme [Thu, 1 Oct 2020 06:24:50 +0000 (08:24 +0200)]
Update entry point to consider clean as part of the test

It is not just a teradown oepration for extra resources
We must verify that resources have been properly cleaned

Issue-ID: TEST-240

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

3 years agoUpdate path management 20/113320/2
mrichomme [Tue, 29 Sep 2020 14:08:46 +0000 (16:08 +0200)]
Update path management

In case a yaml file is defined the zip was referenced in 2 places
consider only the yaml param if the yaml file is defined

Add the python path to simplify the integration in CI
a,d avoid overwritting any configuration

only the 2 ENV parameters + the openstack cloud + the hosts
are needed to run any pythonsdk-test

Issue-ID: TEST-240

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I57bf303b497e4d2b1dd740286f07beb3783222b1
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoMerge "Add heat zip files"
Thierry Hardy [Tue, 29 Sep 2020 12:27:40 +0000 (12:27 +0000)]
Merge "Add heat zip files"

3 years agouse onapsdk 7.0.0 and no more the develop branch 03/113303/1
mrichomme [Tue, 29 Sep 2020 08:58:53 +0000 (10:58 +0200)]
use onapsdk 7.0.0 and no more the develop branch

Issue-ID: TEST-240

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

3 years agoAdd heat zip files 00/113300/1
mrichomme [Tue, 29 Sep 2020 08:27:29 +0000 (10:27 +0200)]
Add heat zip files

due to the gitignore, the heat files for basic_vm and
clearwater_ims were not available

Issue-ID: TEST-240

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

3 years agoMerge "Wait for distribution before launching the instantiation"
Morgan Richomme [Mon, 28 Sep 2020 15:22:35 +0000 (15:22 +0000)]
Merge "Wait for distribution before launching the instantiation"

3 years agoMerge "Prepare python package to integrate it in xtesting docker"
Thierry Hardy [Mon, 28 Sep 2020 15:20:56 +0000 (15:20 +0000)]
Merge "Prepare python package to integrate it in xtesting docker"

3 years agoWait for distribution before launching the instantiation 72/113172/2
mrichomme [Fri, 25 Sep 2020 15:21:38 +0000 (17:21 +0200)]
Wait for distribution before launching the instantiation

Issue-ID: TEST-240

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ib4fbd3d6b8eb870afd45ae88206ae57d142cf8e0
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoPrepare python package to integrate it in xtesting docker 02/113002/7
mrichomme [Tue, 22 Sep 2020 15:28:22 +0000 (17:28 +0200)]
Prepare python package to integrate it in xtesting docker

- creation of entrypoint
- include templates in the package
- complete requirements

Open question for integration python reviewers:
- I was not able with the MANIFEST to use the template directory  until
I put it in the package tree. I am not sure it is very nice..
Maybe it is not the right way, we could simply copy the templates in the
docker rather than including them as part of the python package..

Note: I retested the ubuntu16 (onboarding/deployment/instantiation) on
the Daily Master

Issue-ID: TEST-258

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I26f3e959b9c5e341ab197a6c519ca87e31921921
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoMerge "Avoid to add vim info with ESR if the vim is already provisionned"
Morgan Richomme [Thu, 24 Sep 2020 12:06:40 +0000 (12:06 +0000)]
Merge "Avoid to add vim info with ESR if the vim is already provisionned"

3 years agoAvoid to add vim info with ESR if the vim is already provisionned 94/113094/3
Thierry Hardy [Thu, 24 Sep 2020 09:03:54 +0000 (11:03 +0200)]
Avoid to add vim info with ESR if the vim is already provisionned

- Optimization of the cloud configuration
- CloudRegionCreateStep was called twice
- Change the name of RegisterCloudRegionToMulticloud to RegisterCloudRegion
to be more generic
- Having the cloud creation in RegisterCloudRegionStep avoid adding the ESR
each time an instantiation is launched so the CloudRegionCreateStep is now
inserted in RegisterCloudRegionStep
- USE_MULTICLOUD was no longer checked
- The adding of availability zone and tenant is also moved to RegisterCloudRegionStep
Pylint issue corrected
Minor errors (init without added step)
Issue-ID: TEST-264
Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
Change-Id: Ibfd5506412fd7472144165c19bfe9e4dc53d6e08
Signed-off-by: Thierry Hardy <thierry.hardy@orange.com>
3 years agoUpdate INFO.yaml 40/113040/2
mrichomme [Wed, 23 Sep 2020 08:42:35 +0000 (10:42 +0200)]
Update INFO.yaml

Issue-ID: INT-1724

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I4f06a7890cee119f7e905b59db5255d15b6adc14
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoAllows to launch only instantiation 84/112884/1
Thierry Hardy [Fri, 18 Sep 2020 11:32:36 +0000 (13:32 +0200)]
Allows to launch only instantiation

It is requested to be able to launch instantiation without performing
again onboarding and cloud configuration steps.

Issue-ID: TEST-254
Signed-off-by: jardellos <thierry.hardy@orange.com>
Change-Id: I4e25a0cc4c9e195ed26c96f15ac5ae9a36ec9bfb

3 years agoAdd cleanup function 27/112627/3
mrichomme [Mon, 14 Sep 2020 16:16:26 +0000 (18:16 +0200)]
Add cleanup function

Issue-ID: TEST-240

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I784e958f869a0cbee702c915509fe80d37d44b65
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoConsider SERVICE_NAME from the yaml file 25/112625/1
mrichomme [Mon, 14 Sep 2020 15:29:57 +0000 (17:29 +0200)]
Consider SERVICE_NAME from the yaml file

avoid duplication in yaml and settings
if not defined in Yaml, possibility to set it up manually

Issue-ID: TEST-240

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

3 years agoUpdated yaml-based instantiation and MultiCloud registry 88/112388/7
andreasgeissler [Wed, 9 Sep 2020 16:01:12 +0000 (18:01 +0200)]
Updated yaml-based instantiation and MultiCloud registry
Correction for linter and updated run script
Issue-ID: TEST-256

Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: Ia1f6f41f8fc6ed74c836ea7aa987f10487f377a6

3 years agoUse clouds.yaml rather than duplicating the openstack data in the conf 70/112270/5
mrichomme [Tue, 8 Sep 2020 09:43:20 +0000 (11:43 +0200)]
Use clouds.yaml rather than duplicating the openstack data in the conf

Issue-ID: TEST-261

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