testsuite/pythonsdk-tests.git
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>
3 years agoSupport non multicloud configuration 83/112183/6
mrichomme [Fri, 4 Sep 2020 15:03:23 +0000 (17:03 +0200)]
Support non multicloud configuration

Add tenant and availability zone manually
It is done by multicloud in multicloud mode

Use settings.py as the main settings and specific
settings per use case

Issue-ID: TEST-256

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I3a66a8416cddb546780f784568e7a88f2bd1781b
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoAdd proxy support for pythonsdk-tests 44/111944/4
mrichomme [Tue, 1 Sep 2020 09:30:43 +0000 (11:30 +0200)]
Add proxy support for pythonsdk-tests

Issue-ID: TEST-253

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Icc411e8418a698dd031bc5338d38311b85da113b
Signed-off-by: mrichomme <morgan.richomme@orange.com>
3 years agoUpdated onboarding steps and customer creation and added HEAT files 46/112046/6
andreasgeissler [Wed, 2 Sep 2020 14:09:17 +0000 (16:09 +0200)]
Updated onboarding steps and customer creation and added HEAT files
Updated README to comply styleguide - hopefully now
Issue-ID: TEST-260

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

3 years agoAdd logger in python-sdktests 36/111836/5
jardellos [Fri, 28 Aug 2020 09:27:47 +0000 (11:27 +0200)]
Add logger in python-sdktests

Adding of logger to onaptests setting the stream and file handlers based
on settings.py
onapsdk should evolve to include the same code
This would avoid to add it in run.py
Simplification of the proposal based on remarks from Michal and Morgan
Issue-ID: TEST-252

Signed-off-by: jardellos <thierry.hardy@orange.com>
Change-Id: I5b7baf77580df916c4f5e62965a47d8462b44c43

3 years agoFirst proposal for the structure for pythonsdk based scenarios 88/110288/14
Michal Jagiello [Thu, 16 Jul 2020 17:16:42 +0000 (19:16 +0200)]
First proposal for the structure for pythonsdk based scenarios

Issue-ID: TEST-240

Change-Id: Ic989b26442b868363af7b3872bff49dd70d78be0
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
4 years agoMerge "Replace jira project reference"
Marcin Przybysz [Mon, 8 Jun 2020 07:47:54 +0000 (07:47 +0000)]
Merge "Replace jira project reference"

4 years agoReplace jira project reference 40/108740/2
mrichomme [Wed, 3 Jun 2020 15:25:47 +0000 (17:25 +0200)]
Replace jira project reference

move from INT to TEST

Issue-ID: INT-1607

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ifbb1f3290fbe4858a6734d39cc64336c06301bbd
Signed-off-by: mrichomme <morgan.richomme@orange.com>
4 years agoAdd tox.ini for pythonsdk-tests 20/108720/5
mrichomme [Wed, 3 Jun 2020 07:48:34 +0000 (09:48 +0200)]
Add tox.ini for pythonsdk-tests

Issue-ID: INT-1607

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I668882bcceb98c47896486c600f24fae52341b61
Signed-off-by: mrichomme <morgan.richomme@orange.com>
4 years agoCreate INFO.yaml for new pythonsdk_tests repository 50/108550/3
mrichomme [Fri, 29 May 2020 07:30:58 +0000 (09:30 +0200)]
Create INFO.yaml for new pythonsdk_tests repository

Issue-ID: INT-1607

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I97963f4fb9e79b9931ed69534259ca235ac750a3
Signed-off-by: mrichomme <morgan.richomme@orange.com>
4 years agoAutomation adds .gitreview 52/108252/2
LF Jenkins CI [Wed, 27 May 2020 20:29:38 +0000 (20:29 +0000)]
Automation adds .gitreview

Issue-ID: CIMAN-33

Change-Id: I1a06545321e4be7ea0546dec4226fd253a2c8bdf
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoInitial empty repository
LF Jenkins CI [Wed, 27 May 2020 20:29:19 +0000 (20:29 +0000)]
Initial empty repository