summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-21opnfv/functest:<none> and its containers are removedhelenyao1-11/+26
JIRA: FUNCTEST-653 opnfv/functest images with <none> tag are generated after functest images are pull many times. These images can be queried with filter "dangling". Logics are added to remove dangling images and their containers. Change-Id: I271f4d95c5fb62fdebe690d82330f6b25ac1e2f8 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-18Bug-Fix: Fix clean_image flag does not take effecthelenyao1-1/+1
JIRA: FUNCTEST-665 In patch https://gerrit.opnfv.org/gerrit/#/c/25775/, it set CLEAN_DOCKER_IMAGES=false to save time. On CI job, the cleaning step is still undertaken. Change-Id: Iaca64d3a347dafa9c87975c756ea8bcb30ae2f93 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-19fix git-scm-gerrit by adding $GERRIT_REFSPECRyota MIBU1-0/+1
Change-Id: I5ead532eb282cea6da683fefe7ad850e3889a263 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19fix ssh-credentials to static paramRyota MIBU1-5/+1
Change-Id: I1f11e5db53f8902ce16cab00452d8d350fd7081e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU61-513/+151
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-16Bugfix: reporting docker image build failedchenjiankun4-12/+13
JIRA: RELENG-181 Since we just decide to use dynamic server, we need to deploy a dynamic server such as tornado . But when I use the Dockerfile to build image, it failed due to some reasons. So I need fix it first and then deploy the dynamic server. Then we can use this command: docker run -it -d -p 8080:80 opnfv/releng:latest And visit reporting page by http://server_ip:8080/display/... Change-Id: Id04575c7b38e4c07625ce217d23ebca1c5bf0191 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-12-16Merge "Add support to dedicated file monitor docker build"Jose Lausuch1-3/+39
2016-12-15netready: Pass gs-pathname to the parameter macroFatih Degirmenci1-1/+2
Change-Id: Ic35af41e8e086176576063b6b2711decc958c8c2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-15Fixing unbound variable in Gluon packaging scriptGeorg Kunz2-3/+2
Change-Id: I04699eb69ef276629d2e230c45f8a70067e7e2cf Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2016-12-15Merge "Basic CI integration for building Gluon packages"Fatih Degirmenci3-4/+130
2016-12-15Basic CI integration for building Gluon packagesGeorg Kunz3-4/+130
This first iteration of CI integration aims at realizing a daily build job which creates installable RPM from upstream Gluon master. Change-Id: I5a722943850e27f4d0345a73b488cbd00244ac90 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2016-12-14bugfix: Correct the GIT_BASE for odl-netvirt slavesFatih Degirmenci1-1/+1
Change-Id: Ie3ebf31fda67ca04cc8f6ebb86a635ecb2e82d51 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-15Add support to dedicated file monitor docker buildJulien1-3/+39
Add a new type of template for projects whose docker image only relevant with Dockerfile or file in the same path and any other code changes will not affect the docker img. Add daisy into new type of template. Change-Id: Ib2c9f0aab74e8b226a1b5c6cb4cf9c6a213b4186 Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
2016-12-14Merge "3rd party ci: Create functest jobs for netvirt"Fatih Degirmenci2-0/+24
2016-12-14Merge "anteaterfw: Switch to sandbox project for development purposes"Fatih Degirmenci1-2/+2
2016-12-14Merge "jjb: remove fastpathmetrics job"Fatih Degirmenci1-163/+0
2016-12-14jjb: remove fastpathmetrics jobMaryam Tahhan1-163/+0
Change-Id: I8418eb70f15f4f6a3c118ddac60daf47d3e5c97a Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-12-14anteaterfw: Switch to sandbox project for development purposesFatih Degirmenci1-2/+2
Change-Id: Idf0516f70f300db4d0b82c48da16e670cfd1eeb1 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-14Merge "jjb: add a jjb for the barometer project"Fatih Degirmenci1-0/+165
2016-12-143rd party ci: Create functest jobs for netvirtFatih Degirmenci2-0/+24
This is probably not the best way to fix this and will hopefully be aligned with the rest. Change-Id: I0a7602c34c3b5941f36ae0073e7abfdf4b4a9cb4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-14Merge "security scan: Add example job for scanning python files"Fatih Degirmenci1-0/+109
2016-12-14Merge "automatic deploy a wholeset of TestAPI ecosystem"Morgan Richomme2-0/+55
2016-12-14jjb: add a jjb for the barometer projectMaryam Tahhan1-0/+165
Change-Id: If499cbc2d0cad7a2840e37136d4873b89e802081 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-12-14Add functest to pipeline and add odl-netvirt-virtual-defaultsNikolas Hermanns3-22/+12
For the functest change we use the new cli which provides us with comma seperation of the test cases. Change-Id: Id6c88bd3e13ecce7bf5a738ead8ad98df4e00b5a Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-14dovetail: debug logs set to trueMatthewLi1-1/+1
Change-Id: I5325e489d3cfc3bee942b52ebfe9f54165d395bb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-14security scan: Add example job for scanning python filesFatih Degirmenci1-0/+109
This is an example job configuration to run security scan against the functest python code. It will not vote on the patches at this phase. The job opnfv-security-scan-verify-{stream} gets triggered whenever a patch containing python code change is sent to Functest. Change-Id: Id05950af70afedb2afbd61062c3f8d41ef1aaacd Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-14automatic deploy a wholeset of TestAPI ecosystemSerenaFeng2-0/+55
deploy.py is used to deploy a wholeset of TestAPI ecosystem, including TestAPI container & mongo container. docker-compose.yml.template will be used in deploy.py to render out docker-compose.yml JIRA: FUNCTEST-655 Change-Id: I9b070783ef23aeadbe5e9be1e655072e18954ff9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-13Merge "Augment gitignore to ignore packaging folders etc"Fatih Degirmenci1-0/+21
2016-12-133rd party ci: Fix bug introduced by wiping out the WORKSPACE itselfFatih Degirmenci4-4/+4
Change-Id: I61de7763412d791bcce20174d6058acf818d0e13 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Wipe the workspace before doing anything elseFatih Degirmenci4-3/+17
Due to not cloning the repos, the workspace is not wiped out. This change makes sure we remove everything in workspace to prevent jenkins from complaining. Change-Id: Ife3c4c752cf37c6ff3bfcdea6ffaebc72c440373 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-13Skip cloning netvirt repo and fail the job if artifact doesn't existFatih Degirmenci2-13/+7
We do not need to clone netvirt repo as we are only interested in the artifact. Netvirt artifacts are removed from ODL Jenkins due to ODL Jenkins artifact retention policy. This change ensures that we do not proceed with the rest of the jobs if the artifact does not exist. Change-Id: I9d8af28f5829fc9688c76f116d0bad737a9ecab6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Pass APEX_ENV_NUMBER to apex-create-vms jobFatih Degirmenci2-2/+3
Change-Id: I073a27045db93fcf3c9906abe1c18ad3d26743b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-13Add scripts to install apex and install netvirtNikolas Hermanns2-12/+12
Change-Id: I022acf23984a8d1a19a5e6e180178ee1d2e18480 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13Augment gitignore to ignore packaging folders etcRomanos Skiadas1-0/+21
Change-Id: I6b502aba11b4c8db1fa9d439569f46fe20696e2c Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-13Merge "SSHUtils: Rename jumphost into proxy"Jose Lausuch2-37/+36
2016-12-13Merge "Add ovs_logger module"Jose Lausuch1-0/+118
2016-12-133rd party ci: Create job to bring up apex vmsFatih Degirmenci4-26/+67
This is a temporary fix in order to continue with the netvirt parts. Once Apex team finishes their work with APEX-360, this job will be aligned with it. The job to bring up apex vms will be run on ericsson-virtual5. The rest of the jobs will run on ericsson-virtual6, which is virtual jumphost for the apex environment. Apart from this, the job can now be (re)triggered by putting keyword opnfv-test on ODL Gerrit. There are still flaws and things to improve with the jobs such as finding out if the downloaded artifact is real or just a file not found response from ODL Jenkins and so on but these will be fixed later. Change-Id: Ie38e513df08c6c76eacee53a112c09171b1f6c7d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-13Merge "[compass] undo colorado CI build since we have release colorado3.0"mei mei1-12/+12
2016-12-12Merge "Functest: don't clean existing Docker images"Morgan Richomme1-1/+1
2016-12-123rd party ci: Override GIT_BASE to use ODL Gerrit for 3rd party ci jobsFatih Degirmenci4-7/+20
Change-Id: Ia105d32133c5b2df3bea363ff8cb94b2984fb172 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-12Merge "3rd party ci: Create jobs for ODL netvirt testing in OPNFV"Fatih Degirmenci6-0/+236
2016-12-12Apex: fixes build directory for build/uploadTim Rozet2-1/+3
Change-Id: Iaa6b60c1de8c80e2a3c582a478131b1d7fc2dc3f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-12SSHUtils: Rename jumphost into proxyGeorge Paraskevopoulos2-37/+36
JIRA: SFC-61 Proxy is more clear than jumphost for most. Refactoring all the appearances. Change-Id: I7247d904046814c6e815c8e266637babf9445da7 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-12Add ovs_logger moduleGeorge Paraskevopoulos1-0/+118
JIRA: SFC-61 In SFC we have created a module to gather "ovs-vsctl show" and "ovs-ofctl dump-flows" information automatically. Releng is a more appropriate place for it, as it can be utilized by other projects to create artifacts with ovs logs when a testcase fails Change-Id: If6cf6a937532f7776f9b300ffdb2ab6c4fde82c8 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-123rd party ci: Create jobs for ODL netvirt testing in OPNFVFatih Degirmenci6-0/+236
This change creates basic job structure for ODL netvirt testing in OPNFV. The job should be triggered once the below job is completed https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon and fetch the artifact that is already built by the job. The build result codes OPNFV is interested in are SUCCESSFUL and UNSTABLE. Once the job gets triggered, the build URL will be fetched from ODL Gerrit using Gerrit REST API and the artifact will be downloaded from ODL Jenkins. The downloaded artifacts will then be installed on the Apex environment. There are 3 points that need to be highlighted. - The Apex environment will be created using the promoted snaphots/qcow2 images and already deployed VMs will be brought up. See below for the details. https://jira.opnfv.org/browse/APEX-360 - The hardcoded values in download-netvirt-artifact.sh are there to get the basics in place. (branch name, job name, etc.) Once things work as expected, they will be made dynamic. - A workaround using Gerrit REST API is put in place to get build number of the job netvirt-patch-test-current-carbon to download the artifact. The reason why we use Gerrit REST API is that the OPNFV Jenkins has an older version of Gerrit Trigger Plugin which lacks feature that injects review comments as environment variables. Upgrading Gerrit Trigger Plugin will not help either since OpenStack JJB does not support the new version of Gerrit Trigger Plugin and does not generate the new job XML. JIRA: RELENG-171 Change-Id: I7ff8c5809dcb2e8ffa5c7c5aeb9cdf70e4e7e2f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-12Functest: don't clean existing Docker imagesjose.lausuch1-1/+1
This will save some time. The "docker pull" command takes care of upgrading the image if it exists. Change-Id: I195e0ddac3673cdafb13ab6d78874367420e37ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-12Merge "Update testcase model for Test DB"Morgan Richomme1-4/+84
2016-12-12Merge "Apex: Fixes build paths"Tim Rozet2-3/+3
2016-12-11Apex: Fixes build pathsTim Rozet2-3/+3
Change-Id: I42eceade9d24a237c2a0f725db9e39de53c5be8a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-12Merge "doctor: adds test result check"Ryota Mibu1-1/+6