summaryrefslogtreecommitdiffstats
path: root/jjb
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-14Merge "Compass: add cacert file to enable SSL verification"Jose Lausuch1-1/+5
2017-07-14Compass: add cacert file to enable SSL verificationLinda Wang1-1/+5
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-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 "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 "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-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>
2017-07-07Merge "Push Functest API doc to artifact"Jose Lausuch1-0/+43
2017-07-06bugfix for reporting verify jobSakala Venkata Krishna Rohit1-0/+1
Copying xml files to workspace folder as jenkins searchs for xml files from workspace directory. This solves the configuration error the reporting verify job is facing. Change-Id: I747a6e93995188d645d3fa09cdbd60e7a7fc453b Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-06Bugfix for failure of reporting verify jobSakala Venkata Krishna Rohit1-1/+2
Prefer to run unit tests from the directory in which unit test script is present as errors are being raised if it is being run from other directories. Change-Id: Ifa2000ac333f2e985feeae76c0040a1831f60253 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-06Push Functest API doc to artifactSakala Venkata Krishna Rohit1-0/+43
Note that it is not the final goal The final goal is to integrate api doc into Functest developer guide This will be triggered from opnfvdocs and replace the current developer guide: http://docs.opnfv.org/en/stable-danube/submodules/functest/docs/testing/developer/devguide/index.html This patch allows to have an up-to-date api docs on the artifact after functest merge http://artifacts.opnfv.org/functest/docs/ Change-Id: I91256add29ce9eadd66764c2234da1d60981dd31 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com> Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-07-06patch don't verify in centoswutianwei1-1/+1
In master branch, compass4nfv don't support centos. it is needless to verify in centos. Change-Id: I0d7797ca4c057d2422a9bde5d684577a32854e33 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-06Merge "Functest verify jobs only for master branch"Jose Lausuch1-1/+1
2017-07-06Merge "bugfix: hardcoded testapi urls"Jose Lausuch1-1/+1
2017-07-06Change the installer ip of daisy-baremetalAlex Yang1-1/+1
From 10.20.11.2 to 10.20.7.3 Change-Id: I796e2bcf3065df804eefec28c2ed9ecdcb198d7a Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-07-05Functest verify jobs only for master branchjose.lausuch1-1/+1
The verify job is running tox which is not in stable/danube branch. Therefore, the bugfixes in that branch fail. This enables verify jobs only to master branch. Change-Id: Iff2a7b5e2d6aaff489767e77ebfa9a16bb9326de Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-05bugfix: hardcoded testapi urlsSerenaFeng1-1/+1
testapi webportal's urls are fixed in configure files this patch aims to modify them according to base_url provided when bringing up container Change-Id: I29c461fc3b837e54d4ff5330dcaa520637590ff7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>