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
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
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
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
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
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
Michal Jagiello [Wed, 16 Jun 2021 06:43:54 +0000 (06:43 +0000)]
Merge "[OPTIM] Tune SDC delay before certification"
Lukasz Rajewski [Mon, 14 Jun 2021 14:31:59 +0000 (14:31 +0000)]
Merge "[ADMIN] Update and clean Integration committer list"
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
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
Morgan Richomme [Fri, 28 May 2021 15:22:00 +0000 (15:22 +0000)]
Merge "[TEST] Use nf-simulator/vesclient"
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
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
Morgan Richomme [Wed, 19 May 2021 06:27:01 +0000 (06:27 +0000)]
Merge "[TEST] Patch ip values in pnf-simulator event"
Morgan Richomme [Wed, 19 May 2021 06:26:02 +0000 (06:26 +0000)]
Merge "[CLAMP] Fix Policy exception in basic_clamp"
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
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
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""
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
Morgan Richomme [Wed, 12 May 2021 15:52:48 +0000 (15:52 +0000)]
Merge "[TEST] Catch k8s connection exceptions"
Morgan Richomme [Wed, 12 May 2021 14:41:05 +0000 (14:41 +0000)]
Merge "[TEST] Do not try to recreate already created SDC resources"
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
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
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
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
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
Morgan Richomme [Tue, 27 Apr 2021 12:26:25 +0000 (12:26 +0000)]
Merge "Wait for pnf simulator"
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
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
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
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
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
Bartek Grzybowski [Wed, 7 Apr 2021 09:24:44 +0000 (09:24 +0000)]
Merge "Remove masspnfsimulator as a git submodule."
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
Sylvain Desbureaux [Tue, 6 Apr 2021 12:34:42 +0000 (12:34 +0000)]
Merge "[ADMIN] Add Illia Halych in INFO.yaml"
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
Morgan Richomme [Fri, 2 Apr 2021 07:44:15 +0000 (07:44 +0000)]
Merge "[CLAMP] Integrate basic_clamp"
Morgan Richomme [Fri, 2 Apr 2021 06:54:42 +0000 (06:54 +0000)]
Merge "Basic VM macro"
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
Morgan Richomme [Fri, 2 Apr 2021 06:46:42 +0000 (06:46 +0000)]
Merge "Nodeport cleanup in basic_cds test"
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
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
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
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
Morgan Richomme [Fri, 19 Mar 2021 16:20:59 +0000 (16:20 +0000)]
Merge "Timeout on orchestration requests"
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
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
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
Michal Jagiello [Thu, 18 Mar 2021 15:53:17 +0000 (15:53 +0000)]
Merge "Remove cert authent in basic_clamp"
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
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
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
Morgan Richomme [Mon, 8 Mar 2021 08:11:25 +0000 (08:11 +0000)]
Merge "Add missing logger for Pnf Scenario"
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
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
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
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
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
Sylvain Desbureaux [Mon, 8 Feb 2021 17:24:58 +0000 (17:24 +0000)]
Merge "Python SDK 7.4.0 compatibility"
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
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
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
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
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
Morgan Richomme [Fri, 15 Jan 2021 16:28:31 +0000 (16:28 +0000)]
Merge "[PythonSDK-tests] Add basic_onboard testcase"
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
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
Lukasz Rajewski [Tue, 5 Jan 2021 20:58:12 +0000 (20:58 +0000)]
Merge "PNF macro instantiation"
Catherine Lefevre [Tue, 5 Jan 2021 11:31:58 +0000 (11:31 +0000)]
Merge "Prepare basic_clamp use case"
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>
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>
Michal Jagiello [Tue, 15 Dec 2020 07:05:49 +0000 (07:05 +0000)]
Merge "Add PNF simulator execution and cleanup as a BaseStep"
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
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
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
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
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
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
Thierry Hardy [Wed, 25 Nov 2020 07:55:37 +0000 (07:55 +0000)]
Merge "CDS onboarding steps and simple CBA enrichment scenarion."
Thierry Hardy [Wed, 25 Nov 2020 07:50:37 +0000 (07:50 +0000)]
Merge "PNF onboarding step"
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
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
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
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
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
Krzysztof Kuzmicki [Fri, 6 Nov 2020 20:44:28 +0000 (20:44 +0000)]
Merge "Add CLAMP E2E tests"
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>
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
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
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
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
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
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>
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>
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>
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>
Morgan Richomme [Tue, 13 Oct 2020 09:36:34 +0000 (09:36 +0000)]
Merge "Revert "Create basic_cnf test leveraging onapsdk""
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>
Morgan Richomme [Mon, 12 Oct 2020 11:24:35 +0000 (11:24 +0000)]
Merge "Create basic_cnf test leveraging onapsdk"
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