aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2020-12-14Add PNF simulator execution and cleanup as a BaseStepEli Halych9-0/+242
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
2020-12-08Prepare basic_clamp use casemrichomme4-3/+30
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
2020-12-04basic_cds adapatations for xtestingmrichomme1-2/+11
Issue-ID: TEST-245 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I4bb0a1c728ad8b982e6936c8a3bc5572ee08a6b4
2020-12-02Prepare basic_cds endpoint for xtestingmrichomme1-0/+1
Issue-ID: TEST-245 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ia00587ba06b8720a028ded83cdda32226cbede74
2020-12-02Minor typo correctionsLasse Kaihlavirta1-3/+3
- 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
2020-12-01Better exception handlingSylvain Desbureaux5-79/+45
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
2020-11-25Merge "CDS onboarding steps and simple CBA enrichment scenarion."Thierry Hardy8-2/+3826
2020-11-25Merge "PNF onboarding step"Thierry Hardy3-11/+203
2020-11-23CDS onboarding steps and simple CBA enrichment scenarion.Michal Jagiello8-2/+3826
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
2020-11-20Add Lasse as Integration committerdevelopmrichomme1-1/+8
Issue-ID: INT-1788 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ifd1953e4685e88a7b6323c2838a5e54e469948e0
2020-11-19PNF onboarding stepMichal Jagiello3-11/+203
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
2020-11-09Add properties for new Clamp casemrichomme2-0/+20
Issue-ID: TEST-251 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I613404382e2f9abab1aa9d30f6cba0c85c1c289e
2020-11-09Update the TCA yaml i CLAMP E2E testssebdet3-174/+143
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
2020-11-06Merge "Add CLAMP E2E tests"Krzysztof Kuzmicki11-0/+754
2020-11-06Add CLAMP E2E testsamine ezziati11-0/+754
Issue-ID: TEST-240 Signed-off-by: amine ezziati <mohamedamine.ezziati@orange.com> Change-Id: Ib612f1670aca10d9ac9f15fadb9cab58a7d8e5a8 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-11-04Integration tests report enrichmentMichal Jagiello21-31/+340
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
2020-10-28Usecase basic_cnf: helm package errorThierry Hardy1-0/+0
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
2020-10-21Usecase basic_cnf: remaining errorsThierry Hardy3-3/+5
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
2020-10-17Fix reporting when no details/components are definedmorganrOL1-2/+2
Issue-ID: TEST-269 Signed-off-by: morganrOL <morgan.richomme@orange.com> Change-Id: I94a480aef910eb814b30c04b86eb206530b66c5c
2020-10-17Fix nit in vf module cleanupmorganrOL1-1/+1
Issue-ID: TEST-254 Signed-off-by: morganrOL <morgan.richomme@orange.com> Change-Id: Ie59ba7935119f193a1f4cba2f0a5722ed1783441
2020-10-16Revert "Revert "Create basic_cnf test leveraging onapsdk""Thierry Hardy18-9/+414
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>
2020-10-16Added basic_network testcaseandreasgeissler9-16/+365
Issue-ID: TEST-255 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I86b34c0980cee7a5824231591a60d1f50dfe4f37 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-15Fix bad path of the logs in the reporting pagemrichomme4-11/+26
Issue-ID: TEST-270 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ief03cf6916b417fb0c80c5086ffe8e73f3865329 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-14Improve xtesting integrationmrichomme10-83/+144
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>
2020-10-13Merge "Revert "Create basic_cnf test leveraging onapsdk""Morgan Richomme14-377/+8
2020-10-13Revert "Create basic_cnf test leveraging onapsdk"Morgan Richomme14-377/+8
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>
2020-10-12Merge "Create basic_cnf test leveraging onapsdk"Morgan Richomme14-8/+377
2020-10-08Create basic_cnf test leveraging onapsdkThierry Hardy14-8/+377
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
2020-10-08Add reporting page creation in pythonsdk-testsmrichomme9-5/+316
Issue-ID: TEST-269 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I4ab0a2f7a1a1e98ae5d05166c6aa06212d24eeae Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-10-07Merge "Collect steps execution result"Morgan Richomme17-0/+128
2020-10-06Collect steps execution resultMichal Jagiello17-0/+128
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>
2020-10-06Remove clearwater_ims configuration filemrichomme1-0/+0
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
2020-10-01Fix artifact path in clearwater_ims use casemrichomme1-1/+1
Issue-ID: TEST-224 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I4e958954939e2068f133a5ee934b69064a21739a