summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-20Merge "Compass4NFV add new scenario nosdn-kvm"Jun Li1-2/+2
2017-07-20Compass4NFV add new scenario nosdn-kvmwutianwei1-2/+2
Compass4NFV has integrated KVM. We add this scenario to CI Change-Id: I9e0625147f5c5f8adb46e4bf0f645a2fb3de3634 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-19Apex: fix missing job for testsuiteTim Rozet2-0/+2
Change-Id: Ica77eb12fccfbb45479bbd75bbd8d3154f16a17b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Apex: Fixes daily result reportingTim Rozet2-2/+120
Breaks testing up into its own mulitjob, which allows us to condtionally set status for the job due to failures, which will be set to unstable if only test suites fail. Change-Id: I5d886b98e437bf100b1d5546aebfcd046b0238cb Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Apex: throttles scenario jobs to only 1 per nodeTim Rozet2-0/+10
Change-Id: Ia155e3c60be35c0cdd31d6ddb0705dc5c3f6ad42 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Merge "prototypes: bifrost: Do not use tmpfs for dib builds"Markos Chandras1-0/+2
2017-07-19Apex: adds slave params to deploy jobTim Rozet2-0/+2
Change-Id: I56002eea4b626fa9616d3a6dac7b230058121d96 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Merge "Apex: updates for post-danube"Tim Rozet3-108/+143
2017-07-19Apex: updates for post-danubeTim Rozet3-108/+143
Changes Include: - Functest in daily only executes on successful deployment - os-odl-bgpvpn-ha added to daily master - daily sub-job renamed to match CI evolution Change-Id: If34d013416b6d6c7fdfb4d0cdff652222e02462e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Merge "[Functest] Add presetup and fetch credentials for Alpine job"Jose Lausuch1-1/+4
2017-07-19Merge "bugfix: pagination raise exception when no records returned"Serena Feng1-13/+14
2017-07-19Merge "bugfix: query doesn't work well with period=1"Serena Feng3-7/+35
2017-07-19Merge "bugfix: mix order of Arno results"Serena Feng2-2/+2
2017-07-19Merge "leverage openstack's requirements rule"Serena Feng2-11/+11
2017-07-19[Functest] Add presetup and fetch credentials for Alpine jobjose.lausuch1-1/+4
Change-Id: I8633353f3ca9bbf854e0d67760e6504524309d74 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19[Functest] Add docker run command to execute the testsjose.lausuch1-1/+2
Change-Id: Ie9a56a7786de841d720b9902e8d3b5aabd79dd7e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19bugfix: pagination raise exception when no records returnedSerenaFeng1-13/+14
if no records returned, it will raise 'Request page > total_pages' error. this patch is submitted to fix this JIRA: RELENG-281 Change-Id: I447247c55c64674d44d21d6f4ac8bb3ef725cfb0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-19Merge "[Functest] Add script for running new Alpine containers"Jose Lausuch3-0/+134
2017-07-19[Functest] Add script for running new Alpine containersjose.lausuch3-0/+134
Change-Id: I96c7144578ee2e1f842e4bd22ffb79b9e1e54e4c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19Fix document review job for QTIPYujun Zhang1-2/+44
- missing '/' in upload path - missing build result report to gerrit - notebook review job should be limited for changes in example/** folder Change-Id: I83d09157077306128a6db66429d8a402f2e7c69e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-19Merge "doctor: workaround for bug of set-functest-env.sh"Serena Feng1-0/+5
2017-07-19Merge "Add support for review jupyter notebook from nbviewer"Serena Feng1-0/+75
2017-07-19bugfix: query doesn't work well with period=1SerenaFeng3-7/+35
when querying by date, if $lt is not provided, the empty/None/null/'' results will also be returned, the patch aims to fix this issue by adding $lt = datetime.now() if not provided JIRA: RELENG-212 Change-Id: Ida1e7d386a88d4ab640441df161c1fe134593f82 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-19bugfix: mix order of Arno resultsSerenaFeng2-2/+2
because start_date is not always in the same format or timezone, sort by start_date will be misordered some times, in this patch leverage '_id' to do the sort, it is generated by mongodb itself, always upscend. JIRA: FUNCTEST-694 JIRA: RELENG-213 Change-Id: Ie0ed5cd09c3f7abb1803d72abe5ecab440c1569c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-18prototypes: bifrost: Do not use tmpfs for dib buildsMarkos Chandras1-0/+2
Using tmpfs seems somewhat unstable. For example the following error is observed on openSUSE hosts ERROR: failed to umount the /tmp/dib_image.RJBbahUd tmpfs As such, we set the dib_notmpfs variable to 'true' which mimics what upstream OpenStack scripts are doing already in project-config:tools/build-image.sh Change-Id: If050ab70303b3556fc1880a956f0ba1505d62050 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-07-18Revert "armband-deploy.sh: Inherit env vars for sudo"Alexandru Avadanii1-1/+1
Using sudo triggers a chain of dependencies in our infrastructure, ranging from issues cleaning up the Jenkins workspace to deploy-time permission issues. As it turns out, cleaning all looses ends after that change is not a trivial task, and the remaining work outweights the benefits of using sudo in the first place. The original motivation for using sudo was a superposition of: - hardcoded check for running as root in Fuel's ci/deploy.sh; - the ability to install packages on the hosts via apt-get/yum; - the ability to spawn VMs using virt-manager; All of the above can be mitigated by imposing a series of restrictions for the Jenkins slave / jump server workstation and the jenkins user: - check for sudo rights instead of running as root user; - explicitly use sudo for package installation and/or system-level changes; - add jenkins user to "kvm" and "libvirtd" groups; So, revert using sudo when calling the deploy script, and limit sudo actions to package installation in Armband's deploy script. To compensate running as a regular user, a series of small changes is required in Armband project itself, together with the appropiate Jenkins slave user configuration on the machines running this script. This reverts commit 67d8bac7b2a97531ad465f275747b3dc455d4fe4. Change-Id: I88df6db1a43b93b7314ceca53d353f9000f15153 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17armband-deploy.sh: Inherit env vars for sudoAlexandru Avadanii1-1/+1
Previous commit adding sudo for ci/deploy.sh call breaks Armband deploys, since ci/deploy.sh relies on $WORKSPACE env var being set. Change-Id: I948c8e3c00b430e0c186c0a727e1b7e027d7a089 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17armband-deploy.sh: sudo ci/deploy.shAlexandru Avadanii1-1/+1
New MCP deploy scripts have a hard requirement on running as root. Bring back sudo for the `ci/deploy.sh` invocation, aligning with Fuel@OPNFV. NOTE: This can be later avoided/reverted if we can guarantee the "jenkins" user has sudo rights, even without a tty present. Change-Id: Ibec7b14e9174a7f482609890e5e68912931a8d05 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17doctor: workaround for bug of set-functest-env.shRyota MIBU1-0/+5
`set-functest-env.sh' is expected to run with functest jobs, so it need one of the files in functest repo placed under WORKSPACE. This patch avoiding this bug by getting functest repo in pre section of functest trigger. Change-Id: Ib266781005bab18f34fa0cdfe50e0facb95d27ef Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-07-17Merge "[Functest] Adapt set-functest-env to download OS images"Jose Lausuch1-2/+2
2017-07-16[Compass] Move cacert docker copy after chown in fetch_os_credswutianwei1-1/+1
sometimes it can't copy os_cacert but copy opnfv_openrc. it cause an issue and didn't execute the command chown. so the opnfv_openrc will belong to root, which will cause errors next time. Change-Id: I2955ba347d399d65c9e5cd566235be06fb7c30af Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-14leverage openstack's requirements ruleSerenaFeng2-11/+11
change requirements.txt and test-requirements.txt to keep consistent with openstack's global-requirements.txt Change-Id: I0e62c88b957136438a23e85e41d775194bdc8757 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-14leverage tox and pytest to execute unit testSerenaFeng2-4/+9
Change-Id: I20856e1b445587f0d8ee23e792793af863743252 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-14Merge "testapi: bugfix of tox"Jose Lausuch9-4/+13
2017-07-14Merge "Compass: add cacert file to enable SSL verification"Jose Lausuch2-3/+10
2017-07-14Compass: add cacert file to enable SSL verificationLinda Wang2-3/+10
Now only Openstack https is supported by OSA repo LXC in compass deployment, so certification file is required to enable SSL verification. After [1] is merged, the cacert file os_cacert will be provided in the container compass-tasks. [1]: https://gerrit.opnfv.org/gerrit/#/c/37451/ Change-Id: Id747cef1955733a1c93feb20a26d503a5de1fb93 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-14testapi: bugfix of not exist xmlMatthewLi1-1/+3
Change-Id: I43bc486e2fc12bea5f7664cc1e5acc5630e5f739 Signed-off-by: MatthewLi <lijun_1203@126.com>
2017-07-14testapi: bugfix of toxMatthewLi10-5/+16
error log https://gerrit.opnfv.org/gerrit/#/c/37053/ https://build.opnfv.org/ci/job/testapi-verify-master/220/console Change-Id: Id278edad06c2852c662392d75fd3cf4041b03451 Signed-off-by: MatthewLi <lijun_1203@126.com>
2017-07-13Merge "Update Path to Anteater for Weekly Security Scan"Trevor Bramwell1-1/+1
2017-07-13Merge "[fuel/mcp] Enable ready scenarios back"Fatih Degirmenci1-3/+3
2017-07-13[Functest] Adapt set-functest-env to download OS imagesjose.lausuch1-2/+2
When [1] is ready and merged, we don't need to download the OS images that are not needed for the deployed scenario. The same filter applies to armband jobs. [1] https://gerrit.opnfv.org/gerrit/#/c/37373/ Change-Id: I5813c738a8d9fa1262299cc50993557757f6d7e8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-13Merge "leverage tox to trigger verify job in reporting/TestAPI"Serena Feng1-18/+2
2017-07-13Merge "leverage testapi's own gitignore"Serena Feng1-0/+4
2017-07-13Add support for review jupyter notebook from nbviewerYujun Zhang1-0/+75
It is done by uploading the notebook under reviewer to artifacts and add the nbviewer link in gerrit comments It is needed because reviewing jupyter notebook[1] directly in gerrit is very difficult. See example in [2]. It will be much easier if we can preview the result in nbviewer. See example in [3] [1]: http://jupyter.org/ [2]: https://gerrit.opnfv.org/gerrit/#/c/37227/ [3]: https://nbviewer.jupyter.org/urls/git.opnfv.org/qtip/plain/examples/storage-qpi-report/storage-qpi.ipynb Change-Id: I3e4c301f362ff6ac97aebc9d09c7103278efb136 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-13Merge "dovetail: dovetail run against ZTE-pod1 od-odl_l2-nofeature-ha scenario"Jun Li1-0/+27
2017-07-13Merge "[Yardstick]Update Apex CI pod info for Yardstick CI jobs"Jun Li1-29/+45
2017-07-13leverage tox to trigger verify job in reporting/TestAPISerenaFeng1-18/+2
Change-Id: Ie374bb151f351764e86d05d7c7b8e254c9d6cd59 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-13[Yardstick]Update Apex CI pod info for Yardstick CI jobsJingLu51-29/+45
Change-Id: I2ec55ccba540979148abdf0ab028e114c36eff76 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-07-13Merge "Making docker deploy script generic"Morgan Richomme2-19/+27
2017-07-12dovetail: dovetail run against ZTE-pod1 od-odl_l2-nofeature-ha scenarioMatthewLi1-0/+27
JIRA: RELENG-277 dovetail run against ZTE-pod1 od-odl_l2-nofeature-ha scenario weekly, every Sunday ZTE-pod1 od-odl_l2-nofeature-ha scenario already exists, see the time trigger "0 2 * * *" dovetail-fuel zte-pod1 job already exists Change-Id: Ic870a78623873ce2f717477dcb09f18794651899 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>