Cedric Ollivier [Wed, 12 Jul 2017 08:04:29 +0000 (08:04 +0000)]
Merge "Add odl configurations for odl testcase in daisy environment"
valentin boucher [Wed, 12 Jul 2017 07:52:38 +0000 (07:52 +0000)]
Merge "New python script to check openstack deployment"
Alex Yang [Tue, 11 Jul 2017 09:03:52 +0000 (17:03 +0800)]
Add odl configurations for odl testcase in daisy environment
To support odl testcase in the environment deployed by daisy installer.
Change-Id: I70bc668520cf28385fcff8489c773b880e7b4080
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Cedric Ollivier [Tue, 11 Jul 2017 15:18:10 +0000 (15:18 +0000)]
Merge "Add openssh-client in core"
Cédric Ollivier [Tue, 11 Jul 2017 14:48:43 +0000 (16:48 +0200)]
Add openssh-client in core
It's required by snaps ansible tests.
Change-Id: Iebd4c7b8de8637a18dd40040749b9a1a0781fff2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Benoit HERARD [Fri, 7 Jul 2017 07:44:48 +0000 (09:44 +0200)]
Add decorators in testcases for energy recording.
Test cases are:
- rally (sanity and full)
- refstack
- cloudify_ims
- vping_ssh
It also fix a bug on "energy_recording" decorator of energy module.
Change-Id: I625c214552ad1b89eaf7e196e706d7c69b37da33
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
jose.lausuch [Fri, 7 Jul 2017 10:44:36 +0000 (12:44 +0200)]
New python script to check openstack deployment
This is a crucial part of functest env prepare.
The former check_os.sh is missing some error
control and is sometimes trying to connect to an
empty endpoint if the sed/awk commands were wrong.
This python script is more robust in that sense.
You can see an example of execution in [1].
[1] http://paste.openstack.org/raw/614852/
Change-Id: I622befa13b58d2d31a08d307befb12a2be28fe4d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Tue, 11 Jul 2017 08:10:17 +0000 (08:10 +0000)]
Merge "Define CMD in smoke and healthcheck containers"
Jose Lausuch [Tue, 11 Jul 2017 08:10:07 +0000 (08:10 +0000)]
Merge "Download Functest's upper-constraints.txt"
Jose Lausuch [Tue, 11 Jul 2017 08:09:11 +0000 (08:09 +0000)]
Merge "Add upper-constraints.txt for Functest"
Jose Lausuch [Tue, 11 Jul 2017 08:08:46 +0000 (08:08 +0000)]
Merge "Add lesser containers based on Alpine"
Cedric Ollivier [Tue, 11 Jul 2017 08:04:32 +0000 (08:04 +0000)]
Merge "Allow regex for blacklist scenarios/installers"
Morgan Richomme [Mon, 10 Jul 2017 14:38:10 +0000 (14:38 +0000)]
Merge "Stop redefining $HOME"
Jose Lausuch [Mon, 10 Jul 2017 14:37:36 +0000 (14:37 +0000)]
Merge "Get rid of install_rally.sh"
Martin Kulhavy [Fri, 7 Jul 2017 14:39:33 +0000 (17:39 +0300)]
Allow regex for blacklist scenarios/installers
Reasoning: Some blacklisted test cases apply to a range of scenarios,
e.g. both 'ha' and 'noha' and possibly even to all scenarios for
a specific installer -- therefore the list of excluded scenarios can
get long and unclear. For consistency with rally test case scenarios
also allow regex for installers specification.
Additionally, log the excluded test cases (if any) to debug log.
Change-Id: Ie0bec35d1a6443203d4719ea5428c437c12e5e12
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
Cédric Ollivier [Mon, 10 Jul 2017 00:04:24 +0000 (02:04 +0200)]
Define CMD in smoke and healthcheck containers
Change-Id: I083f8e96fc30bc1793f8c43ff2c155f1c889ae19
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 7 Jul 2017 20:21:37 +0000 (22:21 +0200)]
Download Functest's upper-constraints.txt
It also removes all temporarily files [1] and reuses OPENSTACK_TAG
and BRANCH args.
[1] https://gerrit.opnfv.org/gerrit/37077
Change-Id: Id87ffdf14ccb1a34f117241c882423adf79f44c5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 7 Jul 2017 18:09:41 +0000 (20:09 +0200)]
Add upper-constraints.txt for Functest
It completes OpenStack's upper-constraints.txt by adding Functest's
requirements.
This file is temporarily duplicated to allow building the containers.
It will be removed via a next patch when this patch is merged.
openbaton-cli could be updated (e.g. 3.2.8).
Change-Id: I26de2d22f9e8973c5a58c3cc5129142fa628e57a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Jul 2017 09:44:01 +0000 (11:44 +0200)]
Add lesser containers based on Alpine
It splits the full container into:
- functest-core
- functest-healthcheck
- functest-smoke
Smoke suite is currently partial and will be completed later (it may
require updates in third party projects).
Features, components and vnf suites will be integrated in other
patchsets.
Change-Id: I635a7fd84cac583c28bb1c82bc6cc9107a39f7ea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 8 Jul 2017 10:54:12 +0000 (12:54 +0200)]
Stop redefining $HOME
Then .rally is located in the real home directory.
Change-Id: I3e261d34a41a4105aef8fc0a996df501d638c030
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 8 Jul 2017 00:44:10 +0000 (02:44 +0200)]
Get rid of install_rally.sh
It simply creates the required db.
Change-Id: I48fb017f3ebfcdbd5de898b185c1933228bfef16
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Fri, 7 Jul 2017 07:38:13 +0000 (07:38 +0000)]
Merge "Fix get_endpoint"
Cédric Ollivier [Thu, 6 Jul 2017 22:21:29 +0000 (00:21 +0200)]
Inherit packages when creating /src/tempest/.venv
It simply calls the --system-site-packages option as all
requirements are already installed and then saves space.
Change-Id: Ibb37e54bcbbb8bd9b84e6d43a694ab685b561db1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 6 Jul 2017 19:38:38 +0000 (21:38 +0200)]
Stop using tempest version in Dockerfile
The sed instruction is enhanced to automatically copy the version
written in the OpenStack's upper-constraints.txt.
Change-Id: Icbfde6fb097b1eaf880184c4f63de11854bfdb47
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Thu, 6 Jul 2017 16:13:55 +0000 (16:13 +0000)]
Fix get_endpoint
Different endpoint urls can be searched with 'admin', 'internal' and
'public' interface.
Change-Id: I57207826d0dc2c18ce0e6a0abf09140f639f64ba
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Linda Wang [Sat, 1 Jul 2017 05:02:56 +0000 (05:02 +0000)]
Remove setup_env for refstack in Dockerfile
It creates a symlink for .tempest required by refstack, and then
install the requirements of tempest into a virtualenv which
should be located in the dir .tempest/.venv.
Now refstack_client is located in /src like tempest to avoid a link
in /usr/local/lib/python2.7/dist-packages.
JIRA: FUNCTEST-846
Change-Id: I99cedd00daaac57f85532ef41b91da20dec3dcb8
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cédric Ollivier [Wed, 5 Jul 2017 21:47:18 +0000 (23:47 +0200)]
Move rally and tempest to requirements.txt
As rally and tempest are called when preparing env, they are
considered as dependencies. It also modifies on-the-fly
upper-contraints.txt to allow cloning the git repository.
Change-Id: I72e809d4cf15f9f2539a74fce1c6eb444d8c3b47
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Jul 2017 18:44:37 +0000 (20:44 +0200)]
Fix logger name in vping_base.py
It conforms with logging.ini which requires qualnames.
Change-Id: Ic2f849009c31a3a7bc406fc44c4917d19ccf2424
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Jul 2017 18:39:35 +0000 (20:39 +0200)]
Add a default value to protect add_images.sh
It sets a default value to the optional env var: FUNCTEST_IMAGES_DIR
Change-Id: Ib78af2aaee27470ad10b0979a68c09963091cbb6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Jul 2017 20:37:02 +0000 (22:37 +0200)]
Set repo_tempest to /src/tempest
It also calls pip install via the right src value to prevent from
changing the working dir when building Ubuntu or Alpine containers.
Change-Id: I236524ca270f4173e0636bee60a0f136d77ac07a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Wed, 5 Jul 2017 15:45:49 +0000 (15:45 +0000)]
Merge "bugfix: vping support not_hugepage_configured pod"
valentin boucher [Wed, 5 Jul 2017 15:45:14 +0000 (15:45 +0000)]
Merge "Enable refstack work on https without SSL checks"
valentin boucher [Wed, 5 Jul 2017 15:44:38 +0000 (15:44 +0000)]
Merge "Enable cloudify_ims"
Morgan Richomme [Mon, 3 Jul 2017 16:01:39 +0000 (18:01 +0200)]
Enable cloudify_ims
- set VNF test cases as daily cases
- remove enabled: False only for cloudify_ims
- precise default generic scenrio (run only on basic scenario first)
Vnf and cloudify_ims leveraging vnf are ready for merge [1]
[1]: https://gerrit.opnfv.org/gerrit/#/c/36315/
Change-Id: I95ae89358e940ef5e9b8ceabc37588bbcfccfc6c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Jose Lausuch [Wed, 5 Jul 2017 15:01:40 +0000 (15:01 +0000)]
Merge "Clone tempest before installing the package"
Linda Wang [Thu, 29 Jun 2017 10:06:19 +0000 (10:06 +0000)]
Enable refstack work on https without SSL checks
When refstack is run in https environment, SSL checks
will be skipped if no cacert file is provided.
JIRA: FUNCTEST-828
Change-Id: Ib44582b4f2f508c7a255a1510dbdc33110fe0f14
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cédric Ollivier [Wed, 5 Jul 2017 13:36:00 +0000 (15:36 +0200)]
Convert files to Unix format
It fixes "[cloudify_ims] Support Cloudify 4.0" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/36315/
Change-Id: I70d04e781d7034f37783764ae5e8b399d62bb793
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Wed, 5 Jul 2017 11:03:23 +0000 (11:03 +0000)]
Merge "[cloudify_ims] Support Cloudify 4.0"
Cédric Ollivier [Tue, 4 Jul 2017 12:29:53 +0000 (14:29 +0200)]
Clone tempest before installing the package
Rally and refstack require a tempest working dir.
It now clones the offical repository before running setup.py develop.
14.0 is selected to conform with OpenStack upper-constraints.txt.
Dockerfile downloads the official OpenStack upper-constraints.txt to
remove the condition about tempest which forbids cloning it.
Change-Id: I8410570d660b07a1ecfc48fab93022f72acdaac7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
SerenaFeng [Wed, 5 Jul 2017 02:50:09 +0000 (10:50 +0800)]
bugfix: vping support not_hugepage_configured pod
this bug was fixed in https://gerrit.opnfv.org/gerrit/#/c/35181/
but was reverted in https://gerrit.opnfv.org/gerrit/#/c/35671/
Change-Id: I5cbbd61ac196dc39c073ffc69254d987e4807130
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Wed, 5 Jul 2017 01:02:14 +0000 (01:02 +0000)]
Merge "Update the link to firewall_block_image.img"
jose.lausuch [Tue, 4 Jul 2017 14:28:13 +0000 (16:28 +0200)]
Fix environment variables in Dockerfile
After merging [1], there were some hardcoded values
pointint to ~/repos/functest.
[1] https://gerrit.opnfv.org/gerrit/#/c/36827/
Change-Id: Icd912ca8ab6226cbdb0cc4f8b6f77572ea43ae06
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
jose.lausuch [Tue, 4 Jul 2017 10:32:13 +0000 (12:32 +0200)]
Cleanup Tempest blacklist for Euphrates
This list hasn't been updated in Danube. The idea is
to clean it up and allow all the test cases to be run.
If bugs are detected in Euphrates and there is an upstream
bug report, the affected tests can be added again here.
Change-Id: I44c8b4e8ae78dee7f13f761b6f7f6d8c09b2d0b0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Cédric Ollivier [Tue, 4 Jul 2017 09:26:25 +0000 (11:26 +0200)]
Sync thirdparty-requirements.txt
It fixes the condition about the tempest version [1].
[1] https://git.openstack.org/cgit/openstack/requirements/plain/global-requirements.txt?h=stable/ocata
Change-Id: Iaa1f58aec1f58b372ff6280b1f1e4a5422986a55
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 4 Jul 2017 09:17:20 +0000 (11:17 +0200)]
Fix upper-constraints.txt url
Change-Id: I44f7b476d56bcd7cdac4ba0e5c85717bd41f7e45
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Mon, 3 Jul 2017 08:03:28 +0000 (08:03 +0000)]
Update the link to firewall_block_image.img
As the link http://205.177.226.237:9999/onosfw/firewall_block_image.img
has been deprecated, now the valid link is updated, aiming at running the
testcase onos_sfc.
JIRA: FUNCTEST-820
Change-Id: Id848e3ab92c3b0fb47e3c755d203844dd94d8408
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cedric Ollivier [Tue, 4 Jul 2017 07:46:55 +0000 (07:46 +0000)]
Merge "Remove the former link /home/opnfv/repos/functest"
Cedric Ollivier [Tue, 4 Jul 2017 07:46:50 +0000 (07:46 +0000)]
Merge "Update cli commands to call console scripts"
Cedric Ollivier [Tue, 4 Jul 2017 07:46:34 +0000 (07:46 +0000)]
Merge "Apply restrictive file permissions"
boucherv [Wed, 21 Jun 2017 14:37:56 +0000 (16:37 +0200)]
[cloudify_ims] Support Cloudify 4.0
- Delete all shell commands to use cloudify python lib
- Cloudify Manager installation with a packaged image
- SNAPS integration
- Adapt test_vnf unit tests
- Initiate test cloudify_ims unit tests (to be completed)
JIRA: FUNCTEST-838
Change-Id: Ia4b499d4155e6af5d37d6d5cf4310a5a9693c7ce
Signed-off-by: boucherv <valentin.boucher@orange.com>
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Jose Lausuch [Mon, 3 Jul 2017 14:13:24 +0000 (14:13 +0000)]
Merge "Energy monitoring SDK update."
Jose Lausuch [Mon, 3 Jul 2017 08:14:46 +0000 (08:14 +0000)]
Merge "Stop modifying unix perm in cloudify_ims"
Jose Lausuch [Mon, 3 Jul 2017 07:41:26 +0000 (07:41 +0000)]
Merge "Fix unix permissions in docs/com"
Jose Lausuch [Mon, 3 Jul 2017 07:40:43 +0000 (07:40 +0000)]
Merge "Remove useless files in docs/com"
Morgan Richomme [Sun, 2 Jul 2017 21:10:10 +0000 (21:10 +0000)]
Merge "Fix typos in docs"
Cédric Ollivier [Sun, 2 Jul 2017 10:10:29 +0000 (12:10 +0200)]
Remove the former link /home/opnfv/repos/functest
All operations required have been applied [1].
All documentations are updated as well to close the topic.
It should be noted that runfunctest.rst must be hugely updated
because all $PS1 are wrong.
[1] https://gerrit.opnfv.org/gerrit/#/q/project:functest+branch:master+topic:dockerfile
JIRA: FUNCTEST-836
Change-Id: I26658be109fd785d068389816be4260cff823705
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 2 Jul 2017 10:56:09 +0000 (12:56 +0200)]
Update cli commands to call console scripts
Change-Id: I401879d7ec713b5307817da8b001838c35d9d731
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 2 Jul 2017 08:16:05 +0000 (10:16 +0200)]
Apply restrictive file permissions
It conforms with [1] by creating a new venv which checks the unix
permissions. As jjobs call Functest console scripts [2], all perms
can be 644.
Dockerfiles are updated as well.
[1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html
[2] https://gerrit.opnfv.org/gerrit/#/c/36805/
Depends-On: I9209e6efa1b493e24135402a46df72aaa14115d1
Change-Id: I31bc7f12b775928845e23b6b40288b0a50b87219
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 2 Jul 2017 09:45:18 +0000 (11:45 +0200)]
Stop modifying unix perm in cloudify_ims
It should be noted that several mockey patches should have been added
in the related unit tests.
Change-Id: I04bf003bc6beed1580c5d052c588f6f4ac23f768
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 2 Jul 2017 08:13:08 +0000 (10:13 +0200)]
Fix unix permissions in docs/com
It applies restrictive file permissions [1].
[1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html
Change-Id: I2b86eaeb44afca999e485308b250004181e103b2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 2 Jul 2017 08:12:09 +0000 (10:12 +0200)]
Remove useless files in docs/com
Change-Id: Id4aa3080d2be75bc8fa188136b191034724c357e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Martin Kulhavy [Fri, 30 Jun 2017 12:21:29 +0000 (15:21 +0300)]
Fix typos in docs
Fixed multiple typos and minor spelling errors found in the
documentation.
Change-Id: I102e3b7d3d421042dbef66f261e2183b0dfe24a8
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
Benoit HERARD [Fri, 30 Jun 2017 11:30:19 +0000 (13:30 +0200)]
Energy monitoring SDK update.
add get_current scenario in EnergyRecorder class
enable_recording decorator change:
If a recording session was existing at startup, restart it at the end,
else stop recording
Change-Id: I91524824acb60275e0329452b7d7df2346d7884f
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
Cédric Ollivier [Fri, 30 Jun 2017 07:13:17 +0000 (09:13 +0200)]
Define download_images.sh and check_os.sh as scripts
It also updates all python scripts which call check_os.sh.
The former healthcheck.sh is removed.
No shell script must be executable in git.
Change-Id: If4e8deb50ebd635a9091e3bb79ef61c07b9660dc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 30 Jun 2017 04:24:11 +0000 (06:24 +0200)]
Define console_scripts
Only prepare_env.py and run_tests.py remain executable to avoid
breaking the gate.
As soon as the jenkins jobs are updated to run them from $PATH, tox
will be updated to protect against chmod a+x py files. Dockerfile
will be simplified as well.
Change-Id: Iac1a7ceb6b344e800177226ea39919826f6d3735
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 30 Jun 2017 04:12:17 +0000 (06:12 +0200)]
Fix unix permissions
Tox will be updated to forbid chmod +ax py files.
Change-Id: I85d4b4a64ec7f3151ab2f24ad09bd7c1144ebe18
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 30 Jun 2017 03:31:37 +0000 (05:31 +0200)]
Update securityscanning section in testcases.yaml
It follows the next updates of the securityscanning package:
- Define config.ini as data_file [1]
- Define security_scan console script [2]
[1] https://gerrit.opnfv.org/gerrit/36635
[2] https://gerrit.opnfv.org/gerrit/36771
Depends-On: I54ffa61f4bcd366c185596056b49e492c88cc78b
Change-Id: I342c00392bb68aad704a89060841eac665e91bdb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Fri, 30 Jun 2017 09:32:12 +0000 (09:32 +0000)]
Merge "Added unit tests for vping."
Cédric Ollivier [Fri, 30 Jun 2017 03:04:20 +0000 (05:04 +0200)]
Define ODL console_script
main() is excluded from coverage as it usually parses argv.
It also renames ODLTests main() to run_suites() not to exclude this
method.
Change-Id: I3109a65166b21d93e3e376912a32d364931a7ba5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Thu, 29 Jun 2017 17:17:33 +0000 (17:17 +0000)]
Merge "SNAPS tests now support offline testing."
jose.lausuch [Mon, 26 Jun 2017 14:23:37 +0000 (16:23 +0200)]
Remove networking-bgpvpn from Functest requirements
SDNVPN team will take care of installing the module themselves
See https://gerrit.opnfv.org/gerrit/#/c/36505/
Change-Id: Ida38c8324e155906bcd18b12a418e7a62e55e3f0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
jose.lausuch [Thu, 29 Jun 2017 09:07:47 +0000 (11:07 +0200)]
Remove BGPVPN utils in Functest
These util functions should be under control of the SDNVPN
project. After [1] and [2] it is safe to remove them in Functest
[1] https://gerrit.opnfv.org/gerrit/#/c/36655/
[2] https://gerrit.opnfv.org/gerrit/#/c/36505/
Change-Id: I2f6596cd60678bb0c50adb9b4bc0d59545c3fb0a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Thu, 29 Jun 2017 07:35:17 +0000 (07:35 +0000)]
Merge "Fix refstack_defcore"
Cédric Ollivier [Wed, 28 Jun 2017 16:52:13 +0000 (18:52 +0200)]
Get install_rally.sh from git.openstack.org
Change-Id: I99a87e2399c1be79dabc9109e10665fc9ef8bee2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Jun 2017 20:23:50 +0000 (22:23 +0200)]
Switch to official tosca-parser and heat-translator
They replace the python packages located in parser which don't
meet OpenStack's upper constraints [1].
It completes [2] which simply keeps the wrong logic of
parser/tests/parser_install.sh.
[1] https://build.opnfv.org/ci/job/functest-docker-build-push-master/1170/console
[2] https://gerrit.opnfv.org/gerrit/#/c/36653/
Change-Id: If108b8d1fad08237b8a57d82bf5601f4d6ecf64e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Jun 2017 12:36:56 +0000 (14:36 +0200)]
Leverage on parser python packages in Dockerfile
It also stops calling parser_install.sh.
This file is replaced by the 2 new requirements in
docker/thirdparty-requirements.txt:
- tosca-parser
- heat-translator
Change-Id: Ic9dcdd81df9800fc8e559a07f9c100a20bea2290
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 28 Jun 2017 09:46:46 +0000 (11:46 +0200)]
Update paths in functest/ci/testcases.yaml
It follows the changes switching to python packages.
It shall be noted that several cmds could be enhanced.
Change-Id: I8cf3595d1e8044b650deb4ec733bf973c0bf1b3f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Mon, 26 Jun 2017 03:23:40 +0000 (03:23 +0000)]
Fix refstack_defcore
As refstack-client is reinstalled only by the shell setup_env, the path of
.venv and .tempest have been changed.
Change-Id: Id50d0c6384295c2448705961942104abbd799b9b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Jose Lausuch [Wed, 28 Jun 2017 07:58:57 +0000 (07:58 +0000)]
Merge "Remove Rally requests scenario"
spisarski [Thu, 1 Jun 2017 14:38:22 +0000 (08:38 -0600)]
Added unit tests for vping.
Also removed some instance variables and unnecessary methods.
JIRA: FUNCTEST-813
Change-Id: I13895674a9fd3de16c6a19410661440c5380c2f8
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
spisarski [Wed, 31 May 2017 18:46:36 +0000 (12:46 -0600)]
SNAPS tests now support offline testing.
Images by type (cirros, centos, ubuntu) can now have the download URL be
overridden, told to leverage a local file, or have custom configuration
when using the snaps.openstack.tests.openstack_tests.py image settings
helper functions.
JIRA: FUNCTEST-809
Change-Id: I790094a7a26eb5a55f53d6e875c658dc5e7ac2f9
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Juha Kosonen [Tue, 27 Jun 2017 15:14:55 +0000 (18:14 +0300)]
Remove Rally requests scenario
HttpRequests scenario is not directly related to OpenStack and not
supported by Rally in https environment.
Change-Id: I2e91d129d82dfaba62eca25e3e4890ff54f52ac6
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
juraj.linkes [Tue, 27 Jun 2017 14:54:08 +0000 (16:54 +0200)]
Updated fds testcase criteria
Initially, we only executed fds testcase on odl_l2 fdio scenarios.
Now we're extending this to all odl fdio scenarios.
Change-Id: Ieb2454f02847361fdf3274b11f20a996a916ad90
Signed-off-by: juraj.linkes <jlinkes@cisco.com>
Jose Lausuch [Tue, 27 Jun 2017 13:37:47 +0000 (13:37 +0000)]
Merge "Increase timeout of Open Baton installation"
Jose Lausuch [Tue, 27 Jun 2017 13:34:01 +0000 (13:34 +0000)]
Merge "Add sfc in thirdparty-requirements.txt"
Jose Lausuch [Tue, 27 Jun 2017 13:31:22 +0000 (13:31 +0000)]
Merge "Add securityscanning in thirdparty-requirements.txt"
Jose Lausuch [Tue, 27 Jun 2017 13:31:15 +0000 (13:31 +0000)]
Merge "Remove obsolete repos in functest/ci/config_functest.yaml"
Cédric Ollivier [Tue, 27 Jun 2017 12:04:43 +0000 (14:04 +0200)]
Add sfc in thirdparty-requirements.txt
Now it can be installed via python package [1] and then be listed in
thirdparty-requirements.txt.
[1] https://gerrit.opnfv.org/gerrit/#/c/36445/
Change-Id: Iae7482865917e51a96a180b0a987ab0ff26a0190
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Michael Pauls [Tue, 27 Jun 2017 11:50:02 +0000 (13:50 +0200)]
Increase timeout of Open Baton installation
Change-Id: Ifdc24a3fc9e2c315b41f9e68bccb88df36252b0c
JIRA: ORCHESTRA-14
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
jose.lausuch [Tue, 27 Jun 2017 09:54:41 +0000 (11:54 +0200)]
Remove Tempest repo and use the one created by Refstack
Refstack clones the repo in /home/opnfv/.tempest. Rally can use
that repo which is checked out to the REFSTACK_TAG=15.0.0
This way, we avoid having twice the same files.
Change-Id: I9b05d29b1c9bdf3d10539b771d0d20abb2b7cc37
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Morgan Richomme [Tue, 27 Jun 2017 09:34:50 +0000 (09:34 +0000)]
Merge "enable doctor-notification test case"
Jose Lausuch [Tue, 27 Jun 2017 09:31:17 +0000 (09:31 +0000)]
Merge "Added unit tests for api_check, health_check, and smoke tests."
Jose Lausuch [Tue, 27 Jun 2017 09:28:06 +0000 (09:28 +0000)]
Merge "Don't display functest report for single test cases"
Ryota MIBU [Tue, 27 Jun 2017 08:47:48 +0000 (08:47 +0000)]
enable doctor-notification test case
Change-Id: If2b6b46f3f192f58636c55f3ddc9e80b9e22be3c
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
jose.lausuch [Mon, 26 Jun 2017 15:44:47 +0000 (17:44 +0200)]
Fix floating ips issue in openstack_clean
floatingips is a list of dictionaries where the attributes
are a bit different than in the previous implementation.
Change-Id: I8e8429b1819bba35a4a829f274c60b77ab2eea7e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Mon, 26 Jun 2017 14:41:07 +0000 (14:41 +0000)]
Merge "Make rally support https insecure deployment"
spisarski [Mon, 26 Jun 2017 14:10:49 +0000 (08:10 -0600)]
Fixed problem to vping userdata introducted by SNAPS-OO patch.
Changed get_vm_inst() to return a domain object forgot to change the call
in vping_userdata.py.
JIRA: SNAPS-92
Change-Id: I7585dcde483c39fa850e5184686f42bbf2e8f3c5
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Cédric Ollivier [Mon, 26 Jun 2017 06:59:53 +0000 (08:59 +0200)]
Add securityscanning in thirdparty-requirements.txt
Now it can be installed via python package [1] and then be listed in
thirdparty-requirements.txt.
[1] https://gerrit.opnfv.org/gerrit/#/c/36437/
Change-Id: Ib9489de1f46993fa9fe35485fa95baf003d44974
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 26 Jun 2017 04:27:49 +0000 (06:27 +0200)]
Remove obsolete repos in functest/ci/config_functest.yaml
It completes "Use directly OpenStack project packages" [1].
kingbird becomes a dependency.
[1] https://gerrit.opnfv.org/gerrit/#/c/36125/
Change-Id: I2cb9e3a2146a2b2bbae89dde9917c5ace70048a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Mon, 26 Jun 2017 10:06:41 +0000 (10:06 +0000)]
Merge "Use glance to list images"