Age | Commit message (Collapse) | Author | Files | Lines |
|
Unit tests has been moved to functest/tests/unit
Change-Id: I62175f04089eb4d12213e1c48ae1a5abbb540e2e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It has been fixed by calling [1]
[1] find ${FUNCTEST_REPO_DIR} -name "*.py" \
-not -path "*tests/unit*" |xargs grep __main__ \
|cut -d\: -f 1 |xargs chmod -c 755 &&
find ${FUNCTEST_REPO_DIR} -name "*.sh" \
|xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755
Change-Id: I654d9221179e60ea45d1db83157c4a9aa9497b69
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I0a0ee6b492946255922f81043f89e11e7c70792e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
This will install SFC repository locally
so that they can have whatever directory structure
without modifying the PYTHONPATH env var.
See this for more info:
https://gerrit.opnfv.org/gerrit/#/c/25861/
JIRA: SFC-60
Change-Id: If197c250da61d2ae1f4b2f90a52bf007159fd07e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
It switches ODL_TAG to beryllium-sr4 which integrates the following
patches [1] and [2] which were part of OPNFV functest.
[1] https://git.opendaylight.org/gerrit/#/c/46910/
[2] https://git.opendaylight.org/gerrit/#/c/46749/
Change-Id: Ibc7e9eb1dc5dadff024562e6d077242688192ba9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Modify functest container to install releng modules as a python module.
This way we can use the opnfv.utils.* libraries
Change-Id: Ib61f1c9dc2564135fe3ef6ead58b69e24c99d2c6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
|
|
JIRA: FUNCTEST-636
Whenever running RUN command, a new image layer is created. It would be recommended to group commands into groups to decrease layers.
Change-Id: Iae9287b2a7fd11705b5f25807fab652afa0ccb74
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-637
Whenever possible, ease later changes by sorting multi-line arguments alphanumerically. This will help you avoid duplication of packages and make the list much easier to update.
Change-Id: I85eae3a7019f5f2f30abf7a3f44896017acae9b7
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
OpenStack project.
JIRA: FUNCTEST-609
1. Lifted the requirements.pip
2. Renamed it to requirements.txt
3. Updated the areas that are affected
Change-Id: If294f07fb5450f3ae6133fd46dc169b9bab451de
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-533
1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly
2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy
3. Removed unused variables
4. Updated the hardcoded path in Dockerfile by using variable reference
5. Removed "/" ending from all path variables
6. Updated the unit test
Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
After the migration of the SFC code into the SFC repo,
there is a problem with the path when building
the docker image
Step 60 : RUN /bin/bash -c ". /home/opnfv/repos/functest/functest/opnfv_tests/features/sfc/tacker_client_install.sh"
https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/766/console
Change-Id: I4ec53e657f49e63dc477b408b6c47b3be0f9281b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
The SFC testcase code has been moved from Functest to SFC repo.
1) Add SFC repo in the Docker image
2) Change call in exec_tests
3) Remove code from Functest
Change-Id: Ie6705d047b04646942d89215e992f46f8c4e58db
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Promise code and test cases had been maintained in GitHub.
Due to the decision to mirror OPNFV Gerrit to GitHub,
the Promise GitHub (https://github.com/opnfv/promise) was
overwritten by the content in Gerrit (which is outdated).
Change-Id: Id03a24d56fb60c144c93ea3e65caf9718d8d4784
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
|
|
configuration"
|
|
JIRA: FUNCTEST-541
Change-Id: I8a7bc4bee07a0b2fb2c90fab941fb9c1bbc7cd3f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I01b68fb0f64e4672195b8cf19675b734a22c57b9
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
JIRA: FUNCTEST-538
1. PYTHONPATH is removed.
2. Functest will be installed by pip.
3. Dockerfile is updated accordingly.
Change-Id: Ie4eed9df045b121e2688dcb34c25779db775f104
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-537
https://wiki.opnfv.org/display/functest/OpenStack+python+clients
Change-Id: I498aefde33fc60596dd147260bf20c6787746aee
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
JIRA: FUNCTEST-520
This script will be used once the docker slicing decide is made.
Currently, the script has been tested on Ubuntu 14.04 and 16.04
and CentOS 7.2. A document about how to enable TLS is included
when taking security into account.
Change-Id: I4e5e58ed68d75528bf8497aba118f9dbb51dddad
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
|
|
JIRA: FUNCTEST-525
Change-Id: I6b09eaec55e42a3ee1474b21bc7ed87a71118e60
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-525
Change-Id: Icdb2cb2e5b134143f5eddbad7b265d84671fb892
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
This is a quick hack to make docker build work in CI.
Kingbird is used by multisite, but the test case
is empty. The installation of the requirements overlap
with what we already install in requirements.pip
and makes the build fail.
It can be enabled once we resolve the dependencies
across different projects.
JIRA: FUNCTEST-523
Change-Id: I9194a7ae7a5887ee80eb392890dd304837760b66
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
- create functest subdirectory
- rename unit tests
- adapt path in exec and config files
JIRA: FUNCTEST-525
Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
Change-Id: I53c1d5e616380ff360f53ae014dc0f9ff66b2cb6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
When running the os-odl_l2-bgpvpn-ha scenario I encountered the
following issue:
root@0a60c30641e7:~# . $creds
root@0a60c30641e7:~# neutron net-list
An auth plugin is required to fetch a token
root@0a60c30641e7:~# pip show python-keystoneclient
Name: python-keystoneclient
Version: 2.3.1
Summary: Client Library for OpenStack Identity
Home-page: http://www.openstack.org/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
Location: /usr/local/lib/python2.7/dist-packages
Requires: PrettyTable, stevedore, requests, six, oslo.i18n, oslo.utils,
oslo.config, pbr, oslo.serialization, keystoneauth1, iso8601,
debtcollector, positional
Upgrading the python-keystoneclient package resolves it.
Change-Id: I5b2564cc7980ef42df90ec454ea5b6dbc121b3de
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
Even if the unit tests define main, nosetests oblige by default to
remove their executable bit. It also fixes the unix rights of Sfc.py.
Change-Id: Icbbb5b3118b16eff75b13d927e674a9764d6d83f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I9ee40dcfd815997d5ebd126e690c5f2b54af3364
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
It adds the missing whitespace and only lists the packages for which
unit tests have been developped. It also adds python-neutronclient
as requirement.
Change-Id: Id14b0698cb3636333751d61ff954500a665e1551
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It adds TestCasesBase on which test cases can be based.
It also adds the related unit tests.
JIRA: FUNCTEST-353
Change-Id: Ib2aeb24ce9d43e6384e8b38bf57ee78dd726345a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I9d946581becaad54b99ec6baf6fd5d842d60ada7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Fix for one of Kingbird testcase failure is in latest tag.
Modifying docker to pick the latest kingbird tag from github.
Change-Id: I4250322b808a104511e68b9a085717e6141a9eca
Signed-off-by: ashish singh <ashishsingh2k8@gmail.com>
|
|
The patch https://gerrit.opnfv.org/gerrit/#/c/20433/
modified the source of the repository from github
to gerrit.
Since gerrit repo causes the failures, we change
back to the original one where the latest changes
are performed.
Change-Id: Ibbe944a457ce0ec3f184a33696c302448e25e506
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
A bug (https://bugs.launchpad.net/tempest/+bug/1597164) in the
older version caused three tearDownClass failures in smoke suite.
JIRA: FUNCTEST-466
Change-Id: Iaa5cb7082b05aa938f2088dc635a47d1319f340c
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
|
|
JIRA: FUNCTEST-458
Related: https://gerrit.opnfv.org/gerrit/#/c/20431/
Change-Id: I234b1ed9c61411d7f328340612c28dffe12bb605
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Tacker client is installed from Tim Rozet repository, it doesn't
support version 3 of the keystone client.
Change-Id: Ie2005b1590dfccf93442995e96e0c02b4629edea
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Checkout tempest to the latest stable tag
instead of master development branch.
Change-Id: I20c7e83bf6441e84b9441f4cb193681753f81300
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
It adds chmods in Dockerfile to ensure python and bash scripts can be
executed.
Change-Id: I9d75e87fcb1eb2e6fa37039fa5a070ef21cf0efb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
The latest docker build for functest container has failed while installing
Pillow-3.3.1 [1], where the previous build had succeeded [2].
Let's pin the version of Pillow to 3.3.0 .
[1] https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/589
[2] https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/588
Change-Id: I18e46340aa8f43ec56aef5e3d208cac59af10a9c
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
Change-Id: I0b39277118ff26496553f9639a1c219fd5783b8f
Signed-off-by: meimei <meimei@huawei.com>
|
|
Change-Id: Ie8b46620dfa995038c0f40e23133ac301496438a
Signed-off-by: meimei <meimei@huawei.com>
|
|
JIRA: FUNCTEST-415
Change-Id: I5ac2bd9b417ae045f4a1c0fa3f4fd2e7c545dbf3
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
|