Age | Commit message (Collapse) | Author | Files | Lines |
|
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
(cherry picked from commit fc0c7c85fc3d45055a274dd24fb134a476725678)
|
|
|
|
Issue-ID: INT-1894
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I59b141fce25581b0fd92fcc3e2857148b7002c2b
(cherry picked from commit acd9704269723602f5832ff1c78e2a86ffacd318)
|
|
honolulu
|
|
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
(cherry picked from commit 060210803b263b681e696bc40bdbe9f254d729db)
|
|
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
(cherry picked from commit 0e02e3c314f6787cfbddee6f32b9776225ddec16)
|
|
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
(cherry picked from commit 227f55ed67caec8e67a037bc3e901caf54617c4c)
|
|
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
(cherry picked from commit 0a9bc9eba1ada15ec1a2934f3baa465804f20e76)
|
|
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
(cherry picked from commit b3c81b4b712eb7a3a70b96fda8b24730bb743a11)
|
|
|
|
|
|
Issue-ID: INT-1894
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Idd977cf3082587746fe27718a284197fda4afe5c
|
|
|
|
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
|
|
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
|
|
Issue-ID: TEST-317
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I21fe3e4a30c9fed14e05b9f14523de46798466b0
|
|
Issue-ID: TEST-316
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Iae4398b36293e78cd8e9a98782ed26eeba4d7d1e
|
|
|
|
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
|
|
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
|
|
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
|
|
|
|
Issue-ID: INT-1822
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: If7b21128eaec65567a94a4d5daad5a3960c0bed6
|
|
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
|
|
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
|
|
|
|
Issue-ID: INT-1822
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Ic247446b82e406ce0a8b4477f833bb9f12847836
|
|
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
|
|
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
|
|
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
|
|
Issue-ID: TEST-303
Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: Ia94f963cc145f154756e2765e7a8a5883ceb3188
|
|
|
|
Use Python SDK exceptions.
Issue-ID: TEST-302
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I76996817c0d7b91c0214ad521c3768682ff07e83
|
|
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
|
|
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
|
|
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
|
|
|
|
Issue-ID: TEST-288
Signed-off-by: Chereau Natacha <natacha.chereau@orange.com>
Change-Id: Ide7267428b5ca694dc3ca44a4c81730233610b78
|
|
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
|
|
|
|
|
|
Issue-ID: TEST-280
Change-Id: I6d18b90c3f4c66ddf8c9a4ebe3de7182481e331f
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
|
|
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>
|
|
|
|
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
|
|
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
|
|
Issue-ID: TEST-245
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I4bb0a1c728ad8b982e6936c8a3bc5572ee08a6b4
|
|
- 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
|
|
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
|
|
|