aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-05-12Merge "[TEST] Do not try to recreate already created SDC resources"Morgan Richomme4-46/+53
2021-05-11[TEST] Catch ConnectionError exception during pnf simulator startupMichal Jagiello1-1/+1
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
2021-05-11[TEST] Do not try to recreate already created SDC resourcesMichal Jagiello4-46/+53
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
2021-04-27[CLAMP] Update clamp to allow re-play of the testmorganrol2-16/+22
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
2021-04-27Merge "Wait for pnf simulator"Morgan Richomme6-66/+54
2021-04-21[EXCEPTIONS] Distinguish onaptests and onapsdk exceptionmorganrol9-10/+38
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
2021-04-21Wait for pnf simulatorMichal Jagiello6-66/+54
Add VSP for PNF Issue-ID: TEST-280 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If2476f5f9f9fc8d4c14c5dd398a8a659e7fe3e9a
2021-04-08Use 7.5.1 onapsdk versionMichal Jagiello1-1/+1
It fixes macro instantiation issues. Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I7d0b5619f17acd09802b5611ca22fb1354eed6f1
2021-04-07[VMMACRO] Do not use multicloud when running basic_vm_macromrichomme1-1/+1
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
2021-04-07[CLAMP] raise exception in case of Policy or DCAE errorsmorganrol2-2/+11
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
2021-04-07Merge "Remove masspnfsimulator as a git submodule."Bartek Grzybowski8-245/+0
2021-04-07Remove masspnfsimulator as a git submodule.Illia Halych8-245/+0
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
2021-04-06Merge "[ADMIN] Add Illia Halych in INFO.yaml"Sylvain Desbureaux1-10/+8
2021-04-05[ADMIN] Add Illia Halych in INFO.yamlmrichomme1-10/+8
Add Eli and cleanup the INFO.yaml file Issue-ID: INT-1842 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ia19d46447776413e491c63b60777eb46d840afdf
2021-04-02Merge "[CLAMP] Integrate basic_clamp"Morgan Richomme6-8/+59
2021-04-02Merge "Basic VM macro"Morgan Richomme11-52/+351
2021-04-02Basic VM macroMichal Jagiello11-52/+351
Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Idd977cf3082587746fe27718a284197fda4afe5c
2021-04-02Merge "Nodeport cleanup in basic_cds test"Morgan Richomme1-3/+33
2021-03-31[CLAMP] Integrate basic_clampmorganrol6-8/+59
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
2021-03-23[SDC] Add a timer before certifyingmorganrol1-7/+2
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
2021-03-22Nodeport cleanup in basic_cds testMichal Jagiello1-3/+33
Issue-ID: TEST-317 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I21fe3e4a30c9fed14e05b9f14523de46798466b0
2021-03-19Wait 15 minutes for orchestration requestsMichal Jagiello1-1/+1
Issue-ID: TEST-316 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Iae4398b36293e78cd8e9a98782ed26eeba4d7d1e
2021-03-19Merge "Timeout on orchestration requests"Morgan Richomme6-47/+75
2021-03-19Timeout on orchestration requestsMichal Jagiello6-47/+75
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
2021-03-18[PNF] Extend timer before sending request to simulatormorganrol2-2/+2
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
2021-03-18[SDC] Certify only when neededmorganrol1-4/+26
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
2021-03-18Merge "Remove cert authent in basic_clamp"Michal Jagiello2-6/+2
2021-03-18Remove pvc from pnf simulator helm chartMichal Jagiello1-0/+0
Issue-ID: INT-1822 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: If7b21128eaec65567a94a4d5daad5a3960c0bed6
2021-03-18Remove cert authent in basic_clampmrichomme2-6/+2
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
2021-03-09[SDC] Add manifest to basic packagesChrisC2-0/+0
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
2021-03-08Merge "Add missing logger for Pnf Scenario"Morgan Richomme1-0/+3
2021-03-05Add missing logger for Pnf ScenarioMichal Jagiello1-0/+3
Issue-ID: INT-1822 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ic247446b82e406ce0a8b4477f833bb9f12847836
2021-02-22Wrapper for simulatorsEli Halych8-1/+208
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
2021-02-16[TEST] Collect steps cleanup reportsMichal Jagiello15-22/+220
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
2021-02-11[INT] Catch all onaptests and onapsdk exceptions for scenariosMichal Jagiello7-16/+34
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
2021-02-10Consider settings custom exceptions for reportingmorganrol1-3/+3
Issue-ID: TEST-303 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: Ia94f963cc145f154756e2765e7a8a5883ceb3188
2021-02-08Merge "Python SDK 7.4.0 compatibility"Sylvain Desbureaux12-25/+43
2021-02-08Python SDK 7.4.0 compatibilityMichal Jagiello12-25/+43
Use Python SDK exceptions. Issue-ID: TEST-302 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I76996817c0d7b91c0214ad521c3768682ff07e83
2021-02-01[TESTS] cleanup tests and remove reference to ubuntu16mrichomme13-202/+26
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
2021-01-25PNF simulator CNF instantiation and registation stepsMichal Jagiello14-74/+400
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
2021-01-21Add basic_pnf entry pointMichal Jagiello1-1/+2
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
2021-01-18[TESTCASE] fix basic_onboard scenariomrichomme1-3/+5
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
2021-01-15Merge "[PythonSDK-tests] Add basic_onboard testcase"Morgan Richomme6-1/+172
2021-01-15[PythonSDK-tests] Add basic_onboard testcaseChereau Natacha6-1/+172
Issue-ID: TEST-288 Signed-off-by: Chereau Natacha <natacha.chereau@orange.com> Change-Id: Ide7267428b5ca694dc3ca44a4c81730233610b78
2021-01-12Fix steps time measurementMichal Jagiello5-4/+68
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
2021-01-05Merge "PNF macro instantiation"Lukasz Rajewski10-4/+438
2021-01-05Merge "Prepare basic_clamp use case"Catherine Lefevre4-3/+30
2020-12-16PNF macro instantiationMichal Jagiello10-4/+438
Issue-ID: TEST-280 Change-Id: I6d18b90c3f4c66ddf8c9a4ebe3de7182481e331f Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
2020-12-16Update masspnf simulator repository pathBartek Grzybowski4-4/+4
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>
2020-12-15Merge "Add PNF simulator execution and cleanup as a BaseStep"Michal Jagiello9-0/+242