Age | Commit message (Collapse) | Author | Files | Lines |
|
It follows OPNFV Contribution Guidelines [1].
[1] https://wiki.opnfv.org/display/DEV/Contribution+Guidelines
Change-Id: I0f603468510e5bb500e2be0f7815eefde3581b03
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It also renames files and removes exec rights to be conformed with
nose.
Change-Id: Ib93973a7d4b543360372fb1092a58896f687ec84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It adds unit tests checking OpenDaylightTesting.
Several minor issues have also been fixed in this module when writing
these unit tests:
- the exceptions raised by main are caught when the testcases are
launched from cmdline,
- a warning message indicates that the temporarily files cannot be
removed.
JIRA: FUNCTEST-512
Change-Id: I873f0bbf4c3b7f416ca5515580e8aeab90773fdc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It prevents openstack_utils from exiting when the mandatory env vars
are unset. Every testcase is now in charge of handling the exception
MissingEnvVar.
JIRA: FUNCTEST-438
Change-Id: I0e321b544a470c1f2f2fa62b3e061fe5f938e112
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Now ODLTestCases inherits from TestCasesBase what induces several
modifications of function definitions.
It also renames functest_run to run and run to main and they now
return the code status defined in TestCasesBase instead of True and
False (run_tests.py has been adapted as well).
It checks if errno is equal to EEXIST when makedir raises an OSError
exception.
JIRA: FUNCTEST-353
Change-Id: I88240a9ce8e491dab4c7e6c604f3ecc62cf9edce
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It completes the previous review [1] which removes several robot files.
[1] https://gerrit.opnfv.org/gerrit/#/c/23069/
Change-Id: I64c43e6833af1ac468933e09d48fecef812da697
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
The robot files which delete neutron resources are now hosted by ODL
test [1]. They can now be safely removed.
https://git.opendaylight.org/gerrit/#/c/46749/
Change-Id: I2fb730ec3f5fbc380b5699e5fbfbb45a6524d2fe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
As it modifies method params, it could break the testcases.
JIRA: FUNCTEST-428
Change-Id: I4263d9bd812f1803e513464e3c321cc4a7281958
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Now run_tests.py calls directly OpenDaylightTesting.functest_run().
It mainly reads env vars as exec_test.sh does.
Change-Id: Ibb44a7ca67e9218d34d13b8dd539e772902fe5b8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It conforms to the current implementation of functest_utils
Change-Id: I50fa05fbf81a7c76cf4a6e3ef906fffe8aec15bf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Ia70c1db358b727a910a38b679de0e3c6febdb0cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It avoids opening stdout.txt twice and removes it at the end.
Change-Id: I7e006b52f49dd32543676259e0a1be2473670487
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It adds logs (info) when status is ok and fixes an exception printing
too. It removes one useless log (debug).
Change-Id: Ia59c3985ae749b80d0e0c07f331220bd33cd8007
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Run returns the number of errors which is irrelevant to catch as
they are published to DB. Useless generated files are desactivated too.
Change-Id: I2baf6d5242c5f4095302a47ff90272fb95103457
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It protects against a direct call to push_to_db without a previous run
even if it can not happen in the current implementation.
Change-Id: Ifa00aed60912fa8b96b80d581067548ac6727fb5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It now relies on Robotframework API instead of parsing output.xml.
The type of critical and elapsedime fields are now bool and int
respectively. start_date and stop_date has been fixed too.
JIRA: FUNCTEST-367
Change-Id: I59f3ad2109345395ccf01a714301a14f9323f088
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It mainly removes prefixes, '#' and '@' and changes details to tests.
It deletes useless comments too.
Change-Id: I7807a7429a90e7c7c15f8662008a5a768f96be98
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It removes useless odlreport2db args as functest_utils parses env vars
too and erases this previous values.
All mandatory env vars are still checked in exec_test.sh.
Change-Id: I3dd299dcad1758b994cf9d53ef65a5b83dc46b97
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It conforms to OpenStack Style Guidelines [1]
[1] http://docs.openstack.org/developer/hacking/
Change-Id: I995ff7fa3be995ca59e59c070b93394cd7200066
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-370
Change-Id: I48c8927f3490b86fcf1c95656324429b70201653
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: FUNCTEST-367
Change-Id: I3a752ca78d274ca8c16f6179534d36f12facc202
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
It triggers a lot of errors. See log in the JIRA ticket:
JIRA: FUNCTEST-371
Change-Id: Ia039d36773158850f7746ae6d3a2a65fb350e382
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
OpenDaylightTesting.py safely replaces start_tests.sh.
It also adds the report of the basic test of RESTConf which was
previously ignored.
JIRA: FUNCTEST-367
Change-Id: I8ba288271455fd9f31cf87aa65bf45cfb53cd8d6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It follows the next ODL patch [1] which splits Keystone and Neutron
IPs in Robotframework files. It also adds ODL creds, ODL ports and
tenant name as inputs.
Classical default values are also used now.
[1] https://git.opendaylight.org/gerrit/#/c/41554/
Change-Id: I867f1d4c003c4b96a5d4c3e2f982b5a0e3139217
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
* changes:
Chmod 755 all py files which can be executed
Stop creating the useless ODL results dir
|
|
All files where shebang is defined can now be executed by everyone.
It results from [1].
[1] find . -name "*.sh" |xargs grep \#\! |cut -d\: -f 1 |xargs chmod 755
Change-Id: I8bf1f52e55532d5e82f8188121028e9dd5074294
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
All files where __main__ is checked can now be executed by everyone.
It results from [1].
[1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755
Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It mainly removes all hacks vs __init__.robot which can be deleted
since the patches [1] and [2] has been merged.
[1] https://git.opendaylight.org/gerrit/#/c/41461/
[2] https://git.opendaylight.org/gerrit/#/c/41463/
Change-Id: I0692681794737c06609e06f88af64edc6fe98efe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
All the modifications done on 010__networks.robot, 020__subnets.robot
and 030__ports.robot have been backported to ODL [1]. These files can
be safely removed as both repos are now synchronized.
[1] https://git.opendaylight.org/gerrit/#/c/40948/
Change-Id: I3e027e41042a25924b9edd0034eddbd895a248fb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It follows the last updates of ODL's robotframework files [1].
Useless Set Suite Variable calls are also removed.
[1] https://git.opendaylight.org/gerrit/#/c/36569/
Change-Id: I98ec20ded7978cd56e6de6b62bce04b8c6ba1e9a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It checks if network, subnet or port exists before calling the delete
operation. It also replaces NetID by NETID to conform robotframework
best practices.
Change-Id: Ie13f41e2b29c0a0cbfba3115dd8189a805fcf056
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-304
Change-Id: I98d3155beb1c5e49eda84b443df603c2630b4823
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
It completes "Add reachability testcase for ODL" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/15509/
Change-Id: I9273f1c636ccfc1b192a69f7af04e6a5c1731bec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I7919c69655ce43831d5269afc1d86bf2c929bb8f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
It replaces get by get request, post by post request and delete by
delete request.
Change-Id: I6bfa6d8d53a1ec54416e3b8b2678e01f54bf7811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Ifade280e02354b20869d54b15ba89838d2857640
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It simply gets the complete lists of networks, subnets and ports.
Change-Id: I529c381996ee45f0b11f5fa24844f25c2f8f4a93
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-303
Change-Id: Ia276d9ca6e8d62b496c3b5f81561b14b02c43fd7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
ODL Integration used to contain system testing, Karaf distribution
building and packaging/delivery logic. It was split into three
projects in August 2015: Int/Test, Int/Distribution and Int/Packaging.
https://wiki.opendaylight.org/view/Archive_Proposals/Integration
The integration.git repo Functest was cloning is the old one,
containing all three projects. It hasn't been updated since the split.
The new integration-test.git repo is the current version of ODL's system
test code.
This change also clones ODL from its official Gerrit, instead of its
GitHub mirror.
Change-Id: I6b38b1fedada504411ca0e0639355339f373084c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
|
|
It also fixes several upper case letters and formats *delete*.robot
Change-Id: I071be39860dd33296a067e4f3d0188d36e9b9660
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It avoids mixing robot and txt suffixes in the same directory.
Change-Id: Ia2288cc9ad7dc86fc9a4cea2c6ca7a08a7dd3e3c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It fixes argument parsing and verifies all mandatory arguments are
provided. It also prevents UnboundLocalError exceptions.
Change-Id: Iec3403533b312c95dd453236ccadb1fe495d61cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-226
- Remove all 'CI' subdirs
- Remove VIM dir and have OpenStack dir within /testcases/
- Split rally and tempest in 2 different dirs
Change-Id: Icfc76d18a84f7a18d93ae1a5ec7dc7a560bb7ce9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: FUNCTEST-190
- Deleted unnecessary old scripts
- Fixed healtcheck logging
- Moved config_functest.yaml to /ci/
- Created env var CONFIG_FUNCTEST_YAML pointing to that new location
- Modified all scripts which open config_functest.yaml using the new env var
Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: FUNCTEST-226
Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Previously version was scenario
JIRA: FUNCTEST-225
Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-224
Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: FUNCTEST-151
Change-Id: Iac36f28db5f2203d7b2977a2bb973534fe167bac
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|