Jose Lausuch [Mon, 26 Jun 2017 10:06:41 +0000 (10:06 +0000)]
Merge "Use glance to list images"
Jose Lausuch [Mon, 26 Jun 2017 10:06:30 +0000 (10:06 +0000)]
Merge "Change floating ips management from nova to neutron"
Jose Lausuch [Mon, 26 Jun 2017 09:20:59 +0000 (09:20 +0000)]
Merge "Enable vping offline"
Jose Lausuch [Mon, 26 Jun 2017 09:15:40 +0000 (09:15 +0000)]
Merge "Take OpenStack's constraints into account"
Jose Lausuch [Mon, 26 Jun 2017 09:14:35 +0000 (09:14 +0000)]
Merge "Define logger as Feature instance attribute"
Jose Lausuch [Mon, 26 Jun 2017 09:14:31 +0000 (09:14 +0000)]
Merge "Install opera via python package"
Jose Lausuch [Mon, 26 Jun 2017 09:14:28 +0000 (09:14 +0000)]
Merge "Install OPNFV sdnvpn via python package"
Jose Lausuch [Mon, 26 Jun 2017 09:14:25 +0000 (09:14 +0000)]
Merge "Stop personalizing the common Dockerfile"
jose.lausuch [Fri, 23 Jun 2017 09:32:56 +0000 (11:32 +0200)]
Change floating ips management from nova to neutron
Nova does not longer support floating ip creation/deletion.
This patch moves that logic to neutron client.
Change-Id: I2c4146149fe5be534d9c50d78d831b5af1957ad7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
jose.lausuch [Fri, 23 Jun 2017 08:49:15 +0000 (10:49 +0200)]
Don't display functest report for single test cases
When executing a single test case, it is not neccessary
to show duplicated information about the result of the test
case. The functest report only makes sense when running
multiple tests.
e.g. functest testcase run vping_ssh
The report is still showed when doing:
functest testcase run all
Change-Id: I92d97d6111ecd9484a14c72cf4bb0c2bbe3ae6bf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Cédric Ollivier [Mon, 26 Jun 2017 03:39:23 +0000 (05:39 +0200)]
Take OpenStack's constraints into account
upper-constraints.txt contains a pinned list of the entire set of
transitive requirements for OpenStack [1].
We will add OPNFV's constraints as well for OPNFV projects and
their requirements when they are ready.
[1] https://specs.openstack.org/openstack/openstack-specs/specs/requirements-management.html
Change-Id: I2e23584f957e4de191341800d24c8b2776ef9143
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Sat, 24 Jun 2017 09:15:56 +0000 (09:15 +0000)]
Make rally support https insecure deployment
When running in https environment, rally should support insecure
deployment if no cacert file is provided.
JIRA: FUNCTEST-828
Change-Id: I29b0fc8c2e1b74a1ce08293706cd9f11f975b6d5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Jose Lausuch [Sat, 24 Jun 2017 08:51:55 +0000 (08:51 +0000)]
Merge "Remove calls to deployment handler in prepare env"
Linda Wang [Fri, 23 Jun 2017 05:11:31 +0000 (05:11 +0000)]
Use glance to list images
1. Images list is not supported by novaclient 8.0.0
2. It moves images list out of nova and into glance
Change-Id: I2a2d40a2ca3a0cf1ebfb55697b3c58af8748a805
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Jose Lausuch [Fri, 23 Jun 2017 08:04:44 +0000 (08:04 +0000)]
Merge "Enable https insecure for functest"
Linda Wang [Fri, 23 Jun 2017 07:32:36 +0000 (07:32 +0000)]
Enable vping offline
Images used are changed to leverage local file.
Change-Id: I42a89c8c33054a23e226d22358fe268770986a76
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Serena Feng [Fri, 23 Jun 2017 06:40:12 +0000 (06:40 +0000)]
Merge "Revert rally version to 0.8.1"
jose.lausuch [Thu, 22 Jun 2017 09:50:08 +0000 (11:50 +0200)]
Remove calls to deployment handler in prepare env
The reason is that some installers have changed the mechanism and the adapters
are not valid any more and the method to access the deployment information fails
Fuel -> MCP
Compass -> Containers
This shall be deactivated to avoid errors in CI until the new installer
adapters are implememnted.
Change-Id: I995b914bf55d5da76f27e715d170dd22e84d677c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Thu, 22 Jun 2017 07:49:18 +0000 (07:49 +0000)]
Merge "Clone tempest repository in the Docker image"
Linda Wang [Thu, 22 Jun 2017 07:21:09 +0000 (07:21 +0000)]
Revert rally version to 0.8.1
1. Now rally version 0.9.1 is installed via "bash install_rally.sh
--yes", cause the default RALLY_GIT_BRANCH is master. Then
some rally related tests will fail as rally tests have not been
updated in functest
2. rally version 0.8.1 can be installed via --branch 0.8.1
Change-Id: I04003134f070a1a35db2c02f2209e77365be592f
Signed-off-by: Linda Wang <wangwulin@huawei.com>
jose.lausuch [Wed, 21 Jun 2017 14:20:13 +0000 (16:20 +0200)]
Clone tempest repository in the Docker image
Rally needs to have a copy of the Tempest repository
in order to install the verifier. Otherwise, rally will
clone it automatically anyway.
This also uplifts the tempest version to 15.0.0 which targets
Ocata deployments according to [1]
[1]: https://releases.openstack.org/ocata/
Change-Id: I30e922a261a4ab1875d48c4754df09426b5f67e4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
jose.lausuch [Wed, 21 Jun 2017 12:55:01 +0000 (14:55 +0200)]
Fix command in prepare env to execute check_os.sh
[1] introduced a bug when adding "sh" to the call.
There is no need to use sh or bash in the command string.
[1]: https://gerrit.opnfv.org/gerrit/#/c/36163/
Change-Id: I9ce443721b69945a4a749da0caa6c008cc8ca284
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Mon, 12 Jun 2017 15:10:51 +0000 (23:10 +0800)]
Define logger as Feature instance attribute
It allows any Feature subclass to print warning messages in console
and debug messages in a dedicated file.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ic5b1b1184c16cf50f0baadc3904075d0acdf3c6d
Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 15 Jun 2017 20:12:24 +0000 (22:12 +0200)]
Install opera via python package
It should be noted that the other OPNFV projects cannot currently be
installed via python packages for many reasons (e.g. binaries not
included, no setup.py...).
Change-Id: Iaf1c960471b2dd8916eb1a49cb46f50b7dfb9b88
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jose.lausuch [Tue, 6 Jun 2017 13:10:26 +0000 (15:10 +0200)]
Install OPNFV sdnvpn via python package
Change-Id: Ibcaef4eb8658bfe7d1900a8cd6a7b48740524526
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Cédric Ollivier [Thu, 15 Jun 2017 19:00:04 +0000 (21:00 +0200)]
Stop personalizing the common Dockerfile
Any personal config can be applied to another Dockerfile which
inherits from this one.
Change-Id: Ifb77c0d5821c2b40f2f3e1d6adee6f83d0cd0b29
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Thu, 25 May 2017 08:51:48 +0000 (08:51 +0000)]
Enable https insecure for functest
1. When running in https environment, functest should provide an
option to disable server certificate verification.
2. For check_os.sh, the param "--insecure" is passed to openstack
cli, e.g.. openstack --insecure server list.
JIRA: FUNCTEST-828
Change-Id: Ie2c5b14152c92e87318fcfaf8b234f59275eb6b8
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Jose Lausuch [Wed, 21 Jun 2017 08:38:51 +0000 (08:38 +0000)]
Merge "Use directly OpenStack project packages"
Jose Lausuch [Wed, 21 Jun 2017 08:38:05 +0000 (08:38 +0000)]
Merge "Change barometer module to load"
Jose Lausuch [Wed, 21 Jun 2017 08:33:02 +0000 (08:33 +0000)]
Merge "Remove all references to /home/opnfv/repos/functest"
Cédric Ollivier [Thu, 15 Jun 2017 18:48:21 +0000 (20:48 +0200)]
Use directly OpenStack project packages
It stops cloning via git for the next OpenStack projects:
- networking-bgpvpn
- rally
- tempest
- kingbird
- refstack-client
It should be noted that refstack_client's setup_env is not designed
to run in Alpine.
Change-Id: I00d17912cad39a0c872d317317e98a78ca9ded2c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Tue, 13 Jun 2017 03:26:52 +0000 (11:26 +0800)]
Change barometer module to load
As [1] is merged, the way to call the barometer test case is
different as it is hosted in Barometer repo instead of Functest.
The former files are also simply removed too.
baro-tests is no longer a requirement. It is installed as any
third party project.
[1] https://gerrit.opnfv.org/gerrit/#/c/35927/
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Iea56b48fa781600eb3a6ac74662ea8a29f556f99
Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
spisarski [Thu, 1 Jun 2017 14:04:24 +0000 (08:04 -0600)]
Added unit tests for api_check, health_check, and smoke tests.
In addition to the creation of the unit tests, this patch simplifies
the mocks for connection check as there was an unused annotation.
This patch also refactors the building of the test suite from the
constructor to the run() method.
JIRA: FUNCTEST-813
Change-Id: I7ff5d0389db36141a33ee3a8f76e04b922f8a95f
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Cédric Ollivier [Sun, 18 Jun 2017 21:43:51 +0000 (23:43 +0200)]
Remove all references to /home/opnfv/repos/functest
It also removes relative (and incomplete) references which could be
defined in modules instead of this global configuration.
Change-Id: Ie20dc3547e49b6224aa8100cd380d37b87ece5a9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Tue, 20 Jun 2017 07:57:36 +0000 (07:57 +0000)]
Merge "Promote Linda Wang as a committer"
Cédric Ollivier [Sun, 18 Jun 2017 11:14:46 +0000 (13:14 +0200)]
Stop getting git data from functest dir
Functest is no longer a git clone.
Change-Id: Ieaceacaa820e9a7a3c64e8c1fbd2a8a9321f234d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 18 Jun 2017 07:14:29 +0000 (09:14 +0200)]
Clean requirements.txt
It removes all requirements which are not detected by pipreqs [1]
except:
- robotframework-httplibrary
- robotframework-requests==0.4.7
- robotframework-sshlibrary==2.1.3
They seem indirectly required for the next ODL suites: old_netvirt
and fds.
It also defines pbr as requirement and orders dnspython3 conditions.
[1] https://github.com/bndr/pipreqs
Change-Id: Idcd01296e5a5862ff8528dc083468b5c4905c9f9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 18 Jun 2017 07:10:19 +0000 (09:10 +0200)]
Remove module references __file__
It allows functest to be run directly from a zip file [1].
[1] https://setuptools.readthedocs.io/en/latest/setuptools.html#setting-the-zip-safe-flag
Change-Id: I596a71e8cf2bed6dd79655bd5beeb047876a188c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Morgan Richomme [Thu, 15 Jun 2017 01:49:03 +0000 (01:49 +0000)]
Merge "Update Suite details pushed to DB"
Jose Lausuch [Wed, 14 Jun 2017 10:22:51 +0000 (10:22 +0000)]
Merge "Update (test-)requirements.txt"
Cédric Ollivier [Tue, 13 Jun 2017 22:14:59 +0000 (00:14 +0200)]
Update Suite details pushed to DB
It now reports stats and dumps stream into details.
By the way, it fixes a bug when serializing the former details.
Change-Id: Idd388708071ca3185e5a07bc7e977f2d9837dc95
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Tue, 13 Jun 2017 08:20:56 +0000 (08:20 +0000)]
Merge "Refactor core VNF class"
Cédric Ollivier [Mon, 12 Jun 2017 06:30:23 +0000 (08:30 +0200)]
Update (test-)requirements.txt
It updates requirements.txt and test-requirements.txt according to
OpenStack stable/ocata. It removes useless copyrights.
Change-Id: I603b3030df231f210af47232f20aef85a08e20ba
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Mon, 12 Jun 2017 15:31:14 +0000 (23:31 +0800)]
Promote Linda Wang as a committer
Change-Id: I13528178e97c0b83843888444c5925600cc8c720
Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Thu, 8 Jun 2017 13:18:25 +0000 (13:18 +0000)]
Merge "Leverage on pbr (Python Build Reasonableness)"
Cedric Ollivier [Wed, 7 Jun 2017 13:21:03 +0000 (13:21 +0000)]
Merge "Configure the param auth_version in tempest.conf"
Linda Wang [Wed, 7 Jun 2017 01:55:41 +0000 (01:55 +0000)]
Bugfix: fix the return value
openstack_snapshot and openstack_clean should return 0 when they are run
successfully.
JIRA: FUNCTEST-835
Change-Id: I3fcc24ab985de382e0e59b129cb467d66a9a0de2
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cédric Ollivier [Sun, 4 Jun 2017 18:05:50 +0000 (20:05 +0200)]
Leverage on pbr (Python Build Reasonableness)
pbr can inject requirements into the install_requires, tests_require
and/or dependency_links arguments to setup. They were previously
falsy unset.
It also supports conditional dependencies which can be added to the
requirements (e.g. subprocess32; python_version=='2.7').
Then requirements.py3.txt is removed.
It also removes functest/cli/setup.py which seems false and obsolete.
Dockerfile is updated as well. One temporarily link is created because
of several hardcoded paths in Functest.
Change-Id: I14b3b25e07fbac490dd1d5ce943ec02c5b11f242
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Wed, 7 Jun 2017 02:19:32 +0000 (02:19 +0000)]
Configure the param auth_version in tempest.conf
1. If the auth_url is "https://192.168.31.222:443/identity-admin/v3", the
auth_version in tempest.conf is supposed to be "v3", not "id".
2. For rally 0.8.1. it is a bug when obtaining the auth_version, please see
[1], which has been fixed in rally master.
[1]: https://review.openstack.org/#/c/468599/
Change-Id: Ia7474938a741a0954f17f7c7650544dbc0a28853
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Jose Lausuch [Tue, 6 Jun 2017 13:36:06 +0000 (13:36 +0000)]
Merge "Remove call to fetch_os_creds.sh"
Jose Lausuch [Tue, 6 Jun 2017 13:20:57 +0000 (13:20 +0000)]
Merge "Make tempest user_password more complicated"
Jose Lausuch [Tue, 6 Jun 2017 13:16:50 +0000 (13:16 +0000)]
Merge "Remove a former action listed in framework.md"
Jose Lausuch [Tue, 6 Jun 2017 13:16:21 +0000 (13:16 +0000)]
Merge "Add the copyright header to decorators.py"
Jose Lausuch [Tue, 6 Jun 2017 13:16:07 +0000 (13:16 +0000)]
Merge "Use PrettyTable to show functest env"
Jose Lausuch [Tue, 6 Jun 2017 13:14:51 +0000 (13:14 +0000)]
Merge "Update setuptools version to 30.0.0"
jose.lausuch [Wed, 31 May 2017 15:17:44 +0000 (17:17 +0200)]
Remove call to fetch_os_creds.sh
After [1], the openstack credentials
are provided to Functest as a volume
directly from CI. The same has to be
done manually.
Functest doesn't need the script
fetch_os_creds.sh any longer.
[1] https://gerrit.opnfv.org/gerrit/#/c/35199/
Change-Id: I0883ad7b248526cfe9df3fde984345bd41869e82
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Tue, 6 Jun 2017 10:17:58 +0000 (10:17 +0000)]
Update setuptools version to 30.0.0
Change-Id: I318446a873a7362a1b7e53b00e9e4daf658c3abb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Morgan Richomme [Wed, 24 May 2017 15:00:49 +0000 (17:00 +0200)]
Refactor core VNF class
- Simplify processing
- Implement run method to inherit testcase methods
- Add unit tests
- Fix all pylint issues
It also obliges vnf and its uts to be rated 10/10 by pylint.
JIRA: FUNCTEST-830
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I8dd24eea55089277c9e5b2b51fb14dc377f2fcaf
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Tue, 6 Jun 2017 08:55:55 +0000 (08:55 +0000)]
Merge "Update setuptools version to 35.0.2"
valentin boucher [Tue, 6 Jun 2017 07:28:28 +0000 (07:28 +0000)]
Merge "Enable tempest offline by use_custom_images=True"
Cédric Ollivier [Mon, 5 Jun 2017 16:23:10 +0000 (18:23 +0200)]
Remove a former action listed in framework.md
This documentation was already updated to take criteria into account.
Change-Id: I5d795e6dcbda6dec15b03debb3f3b8bce073d474
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 5 Jun 2017 15:25:56 +0000 (17:25 +0200)]
Add the copyright header to decorators.py
Change-Id: Ie7c60b8ca174c9c95920d0b7ef73b8eff60ae7e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 4 Jun 2017 07:20:14 +0000 (09:20 +0200)]
Use PrettyTable to show functest env
Change-Id: I64800ae7738e0f4215c4c2948967cf60c005032e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Sat, 20 May 2017 04:06:06 +0000 (04:06 +0000)]
Use constants in odl
Change-Id: I134b0efd3dd0faec389087a4dac59de09eae087e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Linda Wang [Fri, 2 Jun 2017 02:36:15 +0000 (02:36 +0000)]
Make tempest user_password more complicated
For some SUTs, the password for creating user is required to contain
at least 8 characters and three types of characters for security.
Change-Id: Iea770397fc6781d24fbfd0798e2da6bd65293866
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Linda Wang [Fri, 2 Jun 2017 07:09:21 +0000 (07:09 +0000)]
Update setuptools version to 35.0.2
Docker build failed in CI due to the low version of setuptools(3.3)
Change-Id: I5e9b15f59e2cc5e78f5ab1b30fd1525b667f09fb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Jose Lausuch [Fri, 2 Jun 2017 08:19:12 +0000 (08:19 +0000)]
Merge "Use CONST to retrieve db_url rather than getter function"
Morgan Richomme [Thu, 1 Jun 2017 12:27:37 +0000 (12:27 +0000)]
Merge "Added unit tests for the connection_check test case."
Linda Wang [Fri, 31 Mar 2017 02:46:48 +0000 (02:46 +0000)]
Use CONST to retrieve db_url rather than getter function
1. Remove get_db_url()
2. If TEST_DB_URL declared in env, update test_db_url in
config_functest.yaml file during env preparation
3. No matter TEST_DB_URL declared in env or not,
Result_DB = CONST.__getattribute__("results_test_db_url")
JIRA: FUNCTEST-763
Change-Id: I20da7ef98bbcc56731e0ff7061b05c1dde6cbfc3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
spisarski [Fri, 26 May 2017 15:05:35 +0000 (09:05 -0600)]
Added unit tests for the connection_check test case.
JIRA: FUNCTEST-813
Change-Id: Ib851a3942e181b1a91cad695504613868a340d15
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Cédric Ollivier [Wed, 31 May 2017 12:21:12 +0000 (14:21 +0200)]
Return pylint status code for modules rated 10/10
It ensures that no pylint errors or warnings can be introduced by a
new change. The first pylint call (to report issues) will be safely
removed when all pylint errors and warnings are fixed in functest.
Change-Id: I9ff7b7d5a7738c3d6d769267a78c28828c3e4523
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Tue, 30 May 2017 10:21:06 +0000 (10:21 +0000)]
Enable tempest offline by use_custom_images=True
1. The image cirros or testvm is required for tempest.conf to run
tempest testcases.
2. If no images are created in openstack, which just match the
img_name_regex (default="^.*(cirros|testvm).*$"), it is needed to
download cirros image online.
Change-Id: Ib5a38a0135b3dd80ad685e33ed35b7b6135b9c87
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cédric Ollivier [Tue, 30 May 2017 17:59:57 +0000 (19:59 +0200)]
Fix a typo in framework.md
It completes [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/35551/
Change-Id: I7b12cf48d9f47665f5d6a005d3cb8d448946409d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 30 May 2017 17:32:26 +0000 (19:32 +0200)]
Fix a typo in docstring
Change-Id: Ie03004474658bd3317a9be8a6b00f5bda1133f2c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Tue, 30 May 2017 15:02:06 +0000 (15:02 +0000)]
Merge "Define create_snapshot() and clean() in TestCase"
Serena Feng [Tue, 30 May 2017 12:18:07 +0000 (12:18 +0000)]
Merge "vping&snaps_xxx support not_hugepage_supported pod"
Cédric Ollivier [Tue, 23 May 2017 18:58:42 +0000 (20:58 +0200)]
Define create_snapshot() and clean() in TestCase
They replace the former calls in run_tests which are not suitable for all
test cases. Now any test case can define how to clean its resources.
If the snapshot cannot be created, the test case is considered as
failed. Only a message is printed if any failure during cleaning.
It also defines a new class called OSGCTestCase useful for test cases
which don't clean their OpenStack resources.
All test cases located in opnfv_tests/openstack inherit from it to
keep the global behavior unchanged.
It also deletes exit instructions in openstack_clean and
openstack_snapshot, removes clean flags in testcases.yaml and updates
the related utils.
All Docs are modified as well.
JIRA: FUNCTEST-438
Change-Id: I8938e6255708012380389763a24059ace4ce45d8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Tue, 30 May 2017 07:11:55 +0000 (07:11 +0000)]
Merge "Chmod 755 functest/ci/download_images.sh"
Cedric Ollivier [Tue, 30 May 2017 07:11:41 +0000 (07:11 +0000)]
Merge "Fix one email address in INFO"
Cedric Ollivier [Tue, 30 May 2017 07:11:32 +0000 (07:11 +0000)]
Merge "Switch shebangs to /usr/bin/env python"
Cedric Ollivier [Tue, 30 May 2017 07:11:22 +0000 (07:11 +0000)]
Merge "Export the Pylint results via pylint.out"
valentin boucher [Tue, 30 May 2017 07:06:29 +0000 (07:06 +0000)]
Merge "Rename framework.html to index.html"
Cédric Ollivier [Mon, 29 May 2017 15:33:12 +0000 (17:33 +0200)]
Chmod 755 functest/ci/download_images.sh
It's designed to be called via Jenkins and was fixed by the next rule:
$ find ${FUNCTEST_REPO_DIR} -name "*.sh" \
|xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755
Change-Id: I186aa9c3227dbac4e80f9a463632efdb2512020e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 29 May 2017 14:39:00 +0000 (16:39 +0200)]
Fix one email address in INFO
Change-Id: I0ae2f2aaca547f47fa30dd2bf67f5e348c202ce7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Mon, 29 May 2017 14:08:33 +0000 (14:08 +0000)]
Merge "Move api out of the docs directory"
Cédric Ollivier [Mon, 29 May 2017 12:18:25 +0000 (14:18 +0200)]
Rename framework.html to index.html
It simplifies the url of the presentation.
Change-Id: I23c449d98d5efcbeb27802a62f607f55ec658ebf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 29 May 2017 12:08:14 +0000 (14:08 +0200)]
Move api out of the docs directory
The docs directory can only contain static documentation.
All generated html files should be pushed as artifacts at the end of
functest-verify-master.
Change-Id: I17aeab5687b9eb0c7aaf21cbc6b41e8f321c2e63
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 23 May 2017 17:20:20 +0000 (19:20 +0200)]
Rename logger to __logger in unit.py
This mangling ensures that all info messages printed from core packages.
Change-Id: I77ac1c80360d45ef19ed7c3fa05a894804c92216
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 23 May 2017 17:07:52 +0000 (19:07 +0200)]
Protect against self.suite = None
Change-Id: Ie3370ebfdd51b9aff707e50b754ca52796e49fbf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Morgan Richomme [Mon, 29 May 2017 09:22:30 +0000 (09:22 +0000)]
Merge "Re-Enable Promise testcases"
Morgan Richomme [Mon, 29 May 2017 08:58:45 +0000 (08:58 +0000)]
Merge "Fix some pylint errors in onos package"
Cédric Ollivier [Sun, 28 May 2017 10:51:22 +0000 (12:51 +0200)]
Switch shebangs to /usr/bin/env python
It modified the shebang to /usr/bin/env which is considered as more
flexible.
Change-Id: I9c8cdb4243d41a83d524499cc91060d3700e008b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 28 May 2017 08:43:02 +0000 (10:43 +0200)]
Export the Pylint results via pylint.out
It allows integrating Pylint with Jenkins (pylint.out can be defined
as the "XML filename pattern" after installing the Violations plugin
[1]).
It's considered as fine to locally disable warnings such as docstrings
in unit tests. No pylint rcfile is defined for only two options.
Tox still prints the partial results in console to be interpreted by
users. The persistent flag is removed to conform with nosetests args.
[1] https://wiki.jenkins-ci.org/display/JENKINS/Violations
Change-Id: I21662b27c8e4b61e65c4c3f5aab968e3e7dd6d90
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
SerenaFeng [Tue, 23 May 2017 07:55:58 +0000 (15:55 +0800)]
vping&snaps_xxx support not_hugepage_supported pod
if flavor_metadata is set to {'hw:mem_page_size': 'any'}, it means
hugepage must be support by pod. but actually hugepage is not supported
by all pods
Change-Id: Ib0b716ecedacf7eeba2c0d0080be2707b1a87e73
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Jose Lausuch [Wed, 24 May 2017 17:35:19 +0000 (17:35 +0000)]
Merge "Stop printing in console when testing functest_utils.py"
valentin boucher [Wed, 24 May 2017 09:21:58 +0000 (09:21 +0000)]
Merge "Add docstrings in unit"
valentin boucher [Wed, 24 May 2017 09:21:12 +0000 (09:21 +0000)]
Merge "Rename the class TestSuiteRunner to Suite"
valentin boucher [Wed, 24 May 2017 09:20:29 +0000 (09:20 +0000)]
Merge "Rename test_pytest_suite_runner.py to test_unit.py"
valentin boucher [Wed, 24 May 2017 09:20:18 +0000 (09:20 +0000)]
Merge "Rename pytest_suite_runner.py to unit.py"
Linda Wang [Sat, 20 May 2017 01:56:57 +0000 (01:56 +0000)]
Fix some pylint errors in onos package
Directories affected:
- functest/opnfv_tests/sdn/onos/
JIRA: FUNCTEST-796
Change-Id: Iffbb0e9a021d31a32d940128435a9f6ed43a504f
Signed-off-by: Linda Wang <wangwulin@huawei.com>