summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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 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-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-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>
2017-07-10dovetail: conditional step bugfixMatthewLi1-0/+9
error log https://build.opnfv.org/ci/job/compass-os-odl_l3-nofeature-ha-virtual-daily-master/366/ Subprojects triggered but not blocked for Change-Id: Idc73361430f91c0f2e8002a950a738054442807f Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-07-11Remove SERVER_URL in reporting deploy jobchenjiankun1-1/+1
Since we improved the reporting deploy way, the SERVER_URL is set to http://testresults.opnfv.org/reporting2 by default. So we don't need to set it. So we have to ways: In CI: docker run -itd -p 8084:8000 opnfv/reporting:tag Personal use: docker run -itd -p 8084:8000 -e SERVER_URL={server_ip}:8084 opnfv/reporting:tag (8084 is the port mapping, you can change it) Change-Id: Ibe8adbb4601378d59d4d1fe6c7dd3266222c47d1 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-07-10Merge "Yamllint Job for Octopus, Pharos, and Anteater"Trevor Bramwell1-2/+2
2017-07-10Merge "Send Build Notifications to Jenkins Admins"Trevor Bramwell2-0/+21
2017-07-10Merge "Ignore create_pod_file failure for Compass latest deployment"Jun Li1-0/+4
2017-07-10[Yardstick]Use volume-binding to provide rc file to yardstick containerJingLu52-6/+10
The 'fetch_os_creds' script is preferred to run on jump server to get OS creds as mand projects do, this patch unify the way to get OS creds by volume-binding. Change-Id: I0da54545ee088458c952f216945c29232d487692 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-07-10Merge "dovetail: fix compass branch issue"Jun Li1-4/+5
2017-07-10Ignore create_pod_file failure for Compass latest deploymentxudan1-0/+4
JIRA: DOVETAIL-460 Change-Id: Ibd89d338e94178fadcdfe533c71e4df74641b97c Signed-off-by: xudan <xudan16@huawei.com>
2017-07-10Merge "patch don't verify in centos In master branch, compass4nfv don't ↵Jun Li1-1/+1
support centos. it is needless to verify in centos."
2017-07-09dovetail: fix compass branch issueMatthewLi1-4/+5
log https://build.opnfv.org/ci/job/compass-os-nosdn-nofeature-ha-virtual-daily-danube/119/ Change-Id: I7ea57268b92e48c3531f412551c9582f440950ee Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-07-10compass verify have problem to git clone functestwutianwei1-2/+2
Change-Id: I390c742040b3f32c705c989cac82ee7cbe7b5748 Signed-off-by: wutianwei <wutianwei1@huawei.com>