summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-07-12Comment Pending JJB Changes on PatchsetTrevor Bramwell2-0/+72
After submitting a releng patchset a comment listing the jobs that are added, modified, or deleted by the change will be posted to the review. Change-Id: I53562c9ad5b0185d3dfe354e265e250c7e9f7f72 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-12[fuel/mcp] Enable ready scenarios backMichael Polenchuk1-3/+3
* os-nosdn-ovs-noha (dpdk) * os-odl_l2-nofeature-noha * os-odl_l3-nofeature-noha Change-Id: Ic18f13ea4b23ab5bacb5418a6756bedf9e5fc242 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-12Making docker deploy script genericSakala Venkata Krishna Rohit2-19/+27
Replacing words with variables to make docker deploy generic so that it can be availed by other modules. Change-Id: Iacf4829aa5feede48038b71155a4dab43a8d427d Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-12Merge "move resources unit tests to tests/unit/resources"Morgan Richomme12-13/+13
2017-07-12Merge "Fix missing python packages for password generation"Fatih Degirmenci4-0/+10
2017-07-12leverage testapi's own gitignoreSerenaFeng1-0/+4
some files/dirs should be gitignored in testapi, but they may be needed in releng, this patch aims to manage gitignore by testapi itself Change-Id: I3c57d1199145d7f062d4e48aa8216ae34672f455 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-12move resources unit tests to tests/unit/resourcesSerenaFeng12-13/+13
As webportal is introduced, the project structure is becoming more complex, it is time to make it a a little bit more official Change-Id: Id380d37b07719f053b0bd385a326a2f2944a4b22 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-12Merge "dovetail: conditional step bugfix"Jun Li1-0/+9
2017-07-12Merge "[Yardstick]Use volume-binding to provide rc file to yardstick container"Jun Li2-6/+10
2017-07-11Merge "armband: Disable ISO actions for MCP"Fatih Degirmenci4-8/+27
2017-07-11Update Path to Anteater for Weekly Security ScanTrevor Bramwell1-1/+1
This is a port from the patchset verify job and is needed due to changes in the docker container. Change-Id: I54626e4681ab25f6d947aaa2dcf969e5b2e0bab9 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-11Merge "Weekly Anteater Project Additions"Fatih Degirmenci1-1/+1
2017-07-11Fix missing python packages for password generationJuan Vidal Allende4-0/+10
These packages are needed by pw-token-gen.py tool Change-Id: Ib9d165274449551a469e201da9feeffac5a7a4cf Signed-off-by: Juan Vidal Allende <juan.vidal.allende@ericsson.com>
2017-07-11Merge "[QTIP]Change QTIP danube daily jobs to weekly jobs"Fatih Degirmenci2-32/+107
2017-07-11armband: Disable ISO actions for MCPAlexandru Avadanii4-8/+27
Sync with changes for Fuel@OPNFV targeting master branch (MCP): - disable ISO build for master branch; - turn off upload action & checkout; - add retrieving OS credentials for MCP; - disable ISO download for master branch; Change-Id: I11eacfad7ee1f738119e17c2e63c3d92707f8e1f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-11Weekly Anteater Project Additionslukehinds1-1/+1
https://wiki.opnfv.org/display/INF/Project+Roll+Out+for+Anteater Week begining July the 10th Change-Id: Ifc6e59f2298ae8d83679a3817c82a2cc6ec4acd6 Signed-off-by: lukehinds <lhinds@redhat.com>
2017-07-11[QTIP]Change QTIP danube daily jobs to weekly jobszhihui wu2-32/+107
Change-Id: I5e9ee5bf45f4f349dc178ce7062610469c8de008 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>