summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-08Apex: fixes overcloudrc v3 filenameTim Rozet1-1/+1
Change-Id: I086adca7f9671c2c5e6fd04a1ec339e8b22f1de4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-08jjb: xci: Run bifrost provisioning as normal userMarkos Chandras2-4/+4
Ansible can request elevated privileges using the 'become' directive. As such there is no need to run ansible using sudo. Furthermore, OpenStack CI runs all jobs as normal user and we need to do the same in order to compare behavior and results properly. Change-Id: Id198efd1d6fdf4619de931fbedc7caba8d68d2a0
2017-05-08prototypes: bifrost: Write clouds.yaml file for regular usersMarkos Chandras1-6/+1
This is similar to commit 6769ae9bcbf6 ("prototypes: bifrost: Add keystone roles"). In preparation for running the bifrost jobs as normal user we need to write a clouds.yaml file to users home directory. This is similar to the bifrost upstream testing playbook. Change-Id: Iae4bc73906649707667925280a19282ec5c93998
2017-05-08prototypes: xci: Make sure Ansible dependencies are installedMarkos Chandras2-1/+137
'pip install ansible' is not enough on newly installed hosts which may lack the necessary build tools to install Ansible's dependencies. As such, we add a script similar to the bifrost/scripts/install-deps.sh one to pull in all the necessary distro-specific packages so Ansible and it's dependencies can be installed from scratch. Change-Id: I4b1e74644db9ace451ad763e4c54f1a3a43214fd
2017-05-08Merge "Fix the parameters of downloading"Serena Feng1-3/+3
2017-05-08Fix the parameters of downloadingAlex Yang1-3/+3
aria2c should use "-d" to indicate the directory to store the downloaded file. Change-Id: I6590403fb0c0b2938ee384cf5b1d5acc42ed94c1 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-08Merge "Improve daisy download speed by multi-thread tool"Serena Feng1-2/+8
2017-05-08add qtip reportingSerenaFeng8-0/+380
Change-Id: Ie573486080fbd36857ff0709d53f6bdcdd43363e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-07Bugfix: Error when create pod.yaml file if one node's role is Nonexudan1-8/+18
DOVETAIL-426 Error message: if node.roles[0].lower() == "controller": IndexError: list index out of range Change-Id: I96d26cc3798b993b5b296f554becfc175e3e87b4 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-05Get ODL distro from the new location on the nexus log serverJamo Luhrsen1-3/+4
Change-Id: Ief68ecad4570f1d6ea0a5142f6071adf3188f50b Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-05-05Change name of pod jinja file to reduce confusionagardner1-1/+1
Change-Id: I353b8d96709fb149aa4574ecd0f0b06439770652 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-05-05Apex: Converts machine type for snapshot deploys to 'pc'Tim Rozet1-0/+1
Change-Id: Ic996d49b161af23184fbbce4812c103a158ebef2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-05Merge "[Functest][Apex] Use v3 credentials"Tim Rozet1-1/+1
2017-05-05Merge "leverage executor to test_testcase.py in TestAPI"Serena Feng1-59/+64
2017-05-05Merge "leverage executor to test_project.py in TestAPI"Serena Feng1-61/+55
2017-05-05Merge "leverage executor to test_result.py in TestAPI"Serena Feng1-103/+105
2017-05-05dovetail: add a suitable job used for vpn test case validation in CIMatthewLi2-2/+125
JIRA: DOVETAIL-424 the principle is 1) not disturb the original work flow 2) after vpn testcases integrated into dovetail, i.e, CVP tool, there is a need to find a POD has bgpvpn feature which is suitable to validate bgp vpn test cases in proposed_tests. 3) only add dovetail proposed_tests into bgpvpn scenario deploy-test loop to reduce unnecessary time consuming. 4) further, should consider to add dovetail job in os-nosdn-nofeature loop Change-Id: Iad6ae1e44470c8e9d49a25980d292ba3871bd6a4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-04fixed syntax errors in zte pods, change labconfig nameagardner1-2/+2
Change-Id: I2d0e6c1199fe3ac2841923abdabd19c239b2b5f8 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-05-03prototypes: bifrost: Add keystone rolesMarkos Chandras4-4/+21
The os_client_config Ansible module used by all the ironic-* roles depends on the keystone roles so we need to make use of them even though they do not affect the end result. This fixes the following OPNFV CI problem due to not having a clouds.yaml file present to be consumed by the os_client_config Ansible module. fatal: [controller00]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"} An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 75, in <module> main() File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 63, in main for cloud in config.get_all_clouds(): File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 798, in get_all_clouds cloud, region_name=region['name'])) File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 1071, in get_one_cloud auth_plugin = loader.load_from_options(**config['auth']) File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 162, in load_from_options raise exceptions.MissingRequiredOptions(missing_required) keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url fatal: [opnfv]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"} Moreover, we cleanup the ~/openstack directory which may contain some bifrost artifacts such as a clouds.yaml file. Finally, we use 'sudo -H' because for the keystone roles we need the HOME variable to be set properly. Change-Id: I45b08bd33dd8ea9505fe10eb4b2b10956b3b683c
2017-05-03[Functest][Apex] Use v3 credentialsjose.lausuch1-1/+1
Soon, Functest will start using only public endpoints and will remove admin connectivity to the deployments. Change-Id: I2089ccd3d6e7f1acda7b46d3104a8a78a47af8ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-03[Functest] Remove Colorado and Brahmaputra supportjose.lausuch2-16/+6
CI no longer runs brahmaputra and colorado jobs. To keep the jobs as simple as possible, remove that support. Change-Id: I29661f414923807dc6c0d22526dc852a45dbe7bb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-03Merge "Support opera test in functest releng"Jun Li2-0/+10
2017-05-03Support opera test in functest relengHarry Huang2-0/+10
Because opera vnf test requires Open-O msb ip and the independency of this test case, set specific docker env vars for compass4nfv os-nosdn-openo-ha scenario. Change-Id: I486e3896dc86d29cf93818b317675c088c1c5198 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-05-03Bugfix: wrong work directoryxudan1-0/+2
JIRA: DOVETAIL-420 CI wrong with: Archiving artifacts WARN: No artifacts found that match the file pattern "results/*/". Configuration error? WARN: ?results/*/? doesn?t match anything, but ?*/? does. Perhaps that?s what you mean? Change-Id: Ia548cb4e3b5e34f43c130c2860892364bffad233 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03Merge "Trigger Functest VNF test case for opera"Jun Li1-77/+28
2017-05-03Merge "dovetail: docker tag support"Jun Li1-7/+7
2017-05-03Trigger Functest VNF test case for operahelenyao1-77/+28
Change-Id: I313dc0661b41556a6b9cb4cc3ba0d79db9c16c88 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-03dovetail: docker tag supportMatthewLi1-7/+7
JIRA: DOVETAIL-419 since dovetal has no A/B/C/D branch, only have master, need docker image name sth like opnfv/dovetail:plugfest_april_2017 rather than opnfv/dovetail:<release>.1.0, etc. then when RELEASE_VERSION is empty, generate opnfv/dovetail:latest ortherwise opnfv/dovetail:<RELEASE_VERSION> Change-Id: I92573bee35da16305074393401e5e5da65aaa22c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-03Bugfix: Permission denied when pip install virtualenvxudan1-2/+2
JIRA: DOVETAIL-420 Collecting virtualenv Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB) Installing collected packages: virtualenv Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 223, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 308, in run strip_file_prefix=options.strip_file_prefix, File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install **kwargs File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 816, in install strip_file_prefix=strip_file_prefix File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 1013, in move_wheel_files strip_file_prefix=strip_file_prefix, File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 339, in move_wheel_files clobber(source, lib_dir, True) File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber shutil.copyfile(srcfile, destfile) File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/virtualenv.py' Change-Id: I7c387013739252402fa3774b1a2df241a09f24c0 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03Merge "dovetail: create file pod.yaml for running HA test cases"Jun Li2-4/+146
2017-05-02Merge "Apex: enable ha for os-odl_l3-fdio"Tim Rozet1-3/+3
2017-05-02Apex: enable ha for os-odl_l3-fdioTim Rozet1-3/+3
Change-Id: If23c52437b45806526c0b38e6176ab040715a70e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-02dovetail: create file pod.yaml for running HA test casesxudan2-4/+146
JIRA: DOVETAIL-407 1. HA test cases need a file pod.yaml giving the info of the pod (node's ip, username, password/key_file). 2. Dovetail client has finished the adaption JIRA: DOVETAIL-405. 3. CI uses create_pod_file.py to generate /home/opnfv/dovetail/userconfig/pod.yaml 4. If INSTALLER_TYPE is fuel, fetch it's jumpserver key to /home/opnfv/dovetail/userconfig/id_rsa Change-Id: Iaf6afbdfb8e4331ae9a10ea3df060c37e9010a0a Signed-off-by: xudan <xudan16@huawei.com>
2017-04-28Merge "Add set -o to daisy4nfv-build.sh"Fatih Degirmenci1-0/+4
2017-04-28Improve daisy download speed by multi-thread toolAlex Yang1-2/+8
Use multi-thread tool such as aria2c to download the daisy image, to reduce the time spent on downloading. Change-Id: Id1b7f9195fe0d499b9b02b0a8410e02871f675f9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-04-27Merge "Rename arm-pod3-2 to arm-pod4"Fatih Degirmenci4-25/+25
2017-04-27need to escape <, so move to include raw and shell scriptagardner2-9/+11
Change-Id: I7b54d303bffcbc2fefce6db135ad9efefa0e9ed3 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Job is not triggering,agardner1-11/+13
did something wrong with builders Change-Id: I55818fa155e33362a47bd9651ea8733e301f9c0b Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Check all jinja templates against all lab filesagardner1-2/+7
Dont use zte files as they are not valid yaml (ill fix that later) Change-Id: I5a21edb774a64ef134dd3f49c552f33b0d13f01e Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27slave reqires this build to be concurrent trueagardner1-0/+4
Also trigger on changes to yaml files Change-Id: Idfc2a45fbf5e6e6e9583912d43af005ae2cf30a0 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Merge "Syntax Check for jinja2 files"Aric Gardner1-0/+76
2017-04-27Syntax Check for jinja2 filesagardner1-0/+76
Just something basic, theres no real logic yet Change-Id: I37efa8ffbe44981100d6849120d0900b8fb9280c Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-04-27Merge "leverage executor to test_token/version.py in TestAPI"Morgan Richomme2-42/+41
2017-04-27Merge changes from topics 'unittest_executor', 'import_absolute'Morgan Richomme10-34/+117
* changes: impl executor and leverage to test_pod.py in TestAPI import from absolute path in TestAPI unit
2017-04-26Rename arm-pod3-2 to arm-pod4Cristina Pauna4-25/+25
Arm-pod3-2 is a second jenkins slave for arm-pod3. This slave is arm while the old jenkins slave is x86. Fatih requested for this slave to be renamed to arm-pod4 instead of arm-pod3-2, even if it's a slave for an existing pod JIRA: ARMBAND-252 Change-Id: I5645edd7d774f763e5e72115851c7061bfafd344 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-04-26Merge "AArch64 Dovetail docker creation job"Jun Li1-0/+8
2017-04-25Sub repo for security gate, add lhinds as commiterlhinds1-0/+1
As discussed during the OPNFV plugtest, this patch seeks to create a releng sub repo [1] to host the anteater code for CI gate checks around security and licence header checks. The patch also seeks to add lhinds (security PTL) as a committer, so they can maintain anteater code. [1] releng-anteater Change-Id: Ice92e3f717f5cb0e231932017975d4568249ab52 Signed-off-by: Luke Hinds <lhinds@redhat.com>
2017-04-25Apex: fixes iso verifyTim Rozet1-1/+3
Change-Id: Id22995b49d12fdb2a5d5d7532d1459f3ac4338f2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-25xci: Ensure ansible is bootstrapped as last stepFatih Degirmenci1-8/+8
Role requirements file is used during ansible bootstrap on opnfv host so we must ensure the right ansible role requirements is there in advance. Change-Id: I2c5a1edd82a51cbbe1469c31f37b5d638d32ec27 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-25Add set -o to daisy4nfv-build.shZhijiang Hu1-0/+4
By using set -o, this can prevent CI from uploading *.properties files without *.bin to artifact.opnfv.org if build was failed. This once happened to [1]. [1] http://artifacts.opnfv.org/daisy/opnfv-2017-04-25_06-57-05.properties Change-Id: I26c3112af1d73a84df05c3852038c99d7070ab59 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>