summaryrefslogtreecommitdiffstats
path: root/jjb/xci
AgeCommit message (Collapse)AuthorFilesLines
2017-11-30jjb: xci: bifrost-verify.sh: Do not build OS imagesMarkos Chandras1-1/+4
Use the images we provide in artifacts.opnfv.org instead of building new ones on every CI run. Moreover, enter the correct directory before executing the CI script. Change-Id: Iffa0080ab8f746344aa13bca6a26395a8a0953f2 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-11-30jjb: xci: xci-verify-jobs: Fix block on bifrost jobsMarkos Chandras1-2/+2
The bifrost jobs are normally named 'openstack-bifrost-...' so fix the regexp to look for proper bifrost job patterns. Change-Id: Ie1823e942a201485aa5fbad4bde27653823d849b Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-11-30jjb: xci: bifrost-verify: Simplify bifrost jobMarkos Chandras2-8/+5
We no longer test OPNFV commits that affect bifrost since these are being tested as part of the XCI jobs. As such, simplify the job to only test incoming upstream patchsets. Moreover, we need to block when an XCI job is running since both jobs run on the same hosts and create the same VMs. Change-Id: I5c11ae5b6a4d719ec41a6e663ddf6ecbd71ac1a5 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-11-28Revert "jjb: xci: xci-verify-jobs: Enable tempest for XCI"Markos Chandras1-1/+0
This reverts commit 130a166b57d708cadba8a5917eadf0025fc17c6b. It was very optimistic to enable tempest in the CI jobs so disable it until we understand the problems. They are most likely related to limited HW resources but we need to confirm that. Change-Id: Id9ff9a4ca047140341c98411c0c57243d47001a9 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-11-23jjb: xci: xci-verify-jobs: Enable tempest for XCIMarkos Chandras1-0/+1
Set RUN_TEMPEST=true so we can tempest when running XCI CI jobs. Change-Id: I3f7617e20dc4f4c1ba9a1e9016eef125c924e7b7 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-20jjb: xci: bifrost: Enable jobs and use XCI ssh configurationMarkos Chandras2-9/+14
Enable the 'bifrost' jobs and also make use of the XCI specific ssh configuration file. Change-Id: I04d15610b596191622cf028b3408b4d63ee7090b Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-10Merge "jjb: xci: Make use of alternative ssh configuration file"Markos Chandras1-1/+1
2017-10-07jjb: xci: xci-verify-jobs: Fix regexp for GERRIT_TOPICMarkos Chandras1-2/+2
Drop the single quotes to regexp works as expected. Change-Id: I2ea09be14bc83effdd5860fd35dda540b412cf59 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-07Merge "jjb: xci: xci-verify-jobs: Skip complete XCI deployments for ↵Markos Chandras1-2/+2
'skip-deloyment'"
2017-10-06Merge "jjb: xci: bifrost-cleanup-jobs: Disable cleanup bifrost jobs"Markos Chandras1-0/+1
2017-10-06jjb: xci: xci-verify-jobs: Skip complete XCI deployments for 'skip-deloyment'Markos Chandras1-2/+2
When we want to test patches affecting the start-new-vm.sh script, sometimes we only want to test whether VM is operational without having to run the entire XCI deployment on it. As such, skip XCI deployments when the topic matches the 'skip-deployment' regexp. Change-Id: I4242ac09a9e65c939a06ad47eb26a62af39128c8 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-06jjb: xci: bifrost-cleanup-jobs: Disable cleanup bifrost jobsMarkos Chandras1-0/+1
We no longer update logs in artifacts.opnfv.org so there is no point in running this job. We will enable it back when we start uploading logs for XCI. Change-Id: Icee15d346c32dff693b5c474a51fb79763841bb7 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-06Merge "jjb: xci: Refactor bifrost jobs to use the XCI clean VM"Markos Chandras2-150/+17
2017-10-06jjb: xci: Make use of alternative ssh configuration fileMarkos Chandras1-1/+1
The script now creates an XCI specific ssh configuration file so we need to use that when trying to connect to the host. Change-Id: I34cb39636b95de9ab97cb5d2ca250b4218e9a7f7 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-05jjb: xci: xci-verify-jobs: Export clean vm variables properlyMarkos Chandras1-2/+3
The variables are meant to be used by the start-vm-new.sh script instead of the XCI test so they need to be exported properly before we run the script. Change-Id: I224ec7bfced5eb51f01de46bd042274bcf3ec86b Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-04jjb: xci: Refactor bifrost jobs to use the XCI clean VMMarkos Chandras2-150/+17
We no longer run opnfv/bifrost jobs so drop all the references from the configuration file. Moreover, make use of the releng-xci XCI clean VM virtual machine to run the tests on a clean environment. Finally, we drop the support for uploading logs to the artifacts.opnfv.org. This needs to be done for XCI as well so we will bring it back when we develop a universal solution. Change-Id: I9bad17508ab8ee6594aec444ab864b99331b616d Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-10-04jjb: xci: Use pre-built dib images for CI runsMarkos Chandras1-0/+2
We make use of the pre-built dib images hosted on artifacts.opnfv.org instead of building a new one on every CI build. This makes the CI jobs somewhat faster since we start with the XCI deployment straight away This patchset depends on https://gerrit.opnfv.org/gerrit/#/c/44049/ Signed-off-by: Markos Chandras <mchandras@suse.de> Change-Id: Id2ccee8882cd20590a4cd27d4e512dc414d7b40e
2017-10-03Fix Yamllint violations for jjb/xciTrevor Bramwell6-1024/+1044
JIRA: RELENG-254 Change-Id: Iaf58cc822eb616711c0dc081f5b0154fe881646c Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-28jjb: xci: Make SUSE a voting jobMarkos Chandras1-4/+4
XCI CI now works for SUSE distributions so allow job to vote. Change-Id: I2c8bf8394a2fb1c1008f470486280a0e30922e28 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-27xci: Switch to multijob for verify jobsFatih Degirmenci1-36/+40
Change-Id: Ic059a0eff23b203056cdb54cdd1ae2f17f01a09c Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-27xci: Fix skip-vote for distro jobsFatih Degirmenci1-11/+20
Change-Id: I6dd25dca121dd6531bc2f0862da65497582bb407 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-27xci: Skip voting from Centos and OpenSUSE jobsFatih Degirmenci1-7/+7
Change-Id: I263417a7c2ae7a185a75a53e0352112ae5900afe Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-27xci: Pass project parameter to downstream jobs and adjust build blockerFatih Degirmenci1-2/+5
Change-Id: I25a8eb8606134255cc77d0b3d5c387e2cf4ee082 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-27xci: Switch to freestyle for xci-verify jobsFatih Degirmenci1-1/+1
Change-Id: I7a2fa9e3e2bb78ccc2dc6f26be7848019e6de6b8 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-27xci: Switch to freestyle for xci-verify jobsFatih Degirmenci1-28/+36
Change-Id: I0e1d922ec303bf71e0683b624c51a254da0b9c88 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-27xci: Enable multi-distro verifyFatih Degirmenci1-2/+2
Change-Id: I82e5db83092b5f4d6f4ea25464f416ce879d4709 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-27xci: Enable multi-distro verifyFatih Degirmenci1-0/+8
Only ubuntu job votes. The rest is still non-voting. Change-Id: I0fa2398d3a3d3c5e6e9570488f9e2c15db1c371c Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-26jjb: xci: xci-verify-jobs: Fix clean VM jobMarkos Chandras1-6/+7
According to https://docs.openstack.org/infra/jenkins-job-builder/definition.html#macro-notes we only need to use ${{x}} when the macro has parameters. However, none of our macros has so the correct way to use the shell variable is ${x}. Moreover, we set the missing execute bit in the jenkins test script. Additionally, we fix the OPNFV_RELENG_DEV_PATH parameter to point to the directory inside the VM where the releng-xci repo is located. Finally we fix the parent directory in which the test is executed. Change-Id: Ic6157caa5042274a3a3d0de276bdacc15a90a82d Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-26jjb: xci: Create XCI test scriptMarkos Chandras1-3/+25
We need to respect the environment during testing so we need to create a proper test script which exports all the variables that matter for our tests. We do that before we create the VM so the VM creation script can rsync the test for us. We also properly escape the DISTRO variable when destroying the VM. Change-Id: Ic3fff40868155af31762e458c1faee24354c0712 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-25jjb: xci: xci-verify-jobs: Fix XCI VM namesMarkos Chandras1-2/+2
The XCI script now uses more accurate VM names, so replace the VM name in the destroy job as well. Change-Id: Ia4c8ea204ecaa6ae765ce67aff3923dabab6d5f0 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-25jjb: xci: xci-verify-jobs: Use clean vm to verify XCI jobsMarkos Chandras1-16/+33
Per Idec0fc06c82435adc1a4d569b8e578616998de5f it's now possible to use a clean virtual machine to verify XCI so lets make use of it. Moreover this patch updates the distro parameter to use more accurate names and bring it inline with what dib expects. Change-Id: I18c88637819884fef07d0bfa0dc2c1077a26c2f1 Signed-off-by: Markos Chandras <mchandras@suse.de> Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-21[Functest] Support functest-suite with Alpine containersJose Lausuch3-2/+13
Updated all the jobs that use functest-suite. For single test cases, we need to know to which docker image the test belongs to. Change-Id: If7db231ccc891233423f2f2bc3aa5b95d048b30a Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-18jjb: xci: Trigger when changing bifrost filesMarkos Chandras1-2/+2
bifrost is part of XCI so we should run the Jenkins jobs when only submitting bifrost related changes. Change-Id: I215b4ca241fd4ffba90c0201dbe8f4c23b8ec280 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-18Merge "xci: Add parameter to clean the DIB images"Fatih Degirmenci1-0/+8
2017-09-18xci: Add parameter to clean the DIB imagesFatih Degirmenci1-0/+8
Change-Id: I399fa81c61ae3149c0dada688307627ecc1979f6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-15xci: Disable bifrost jobs until Intel slaves are back onlineFatih Degirmenci1-3/+3
Change-Id: I3a40077f14429de7a23ebf733dff5b13b8bc5d9e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-12xci: Make it possible to skip deployment and healthcheckFatih Degirmenci1-0/+12
This change adds possibility for patch submitters to skip the full xci-verify if the change doesn't impact the deployment. Since the patch will be reviewed by others, reviewers can always ask the submitter to run it through full xci-verify by changing the topic and posting reverify or recheck as comment to gerrit change. The keyword to put in topic branch is skip-verify. Change-Id: Ib7be71cadd1e1ddff181936ae77753fbfbf3a1d3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-12xci: Drop parameter ANSIBLE_VERBOSITY from jobsFatih Degirmenci5-15/+0
Instead of setting the verbosity in jobs, they can be set in scripts to move the setting to where it makes most sense and possibly easing the work for ansible version adaptations by fixing it in one place. Change-Id: Ie155b666cf5300a3f57687b3214a65d5d79aeee1 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-11Fix xci job triggering for docs buildagardner1-1/+6
This patch should unblock: https://gerrit.opnfv.org/gerrit/#/c/40533/ Change-Id: I72e827b0feae559e6477d213d0f752ed04cd62b3 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-09-11Disable functest for xci until xci is readyFatih Degirmenci2-8/+33
The external network, docker installation and other parts need to be fixed in OPNFV host before functest can be enabled. Change-Id: I42a3adf2e36f91e6425d49e2578003b52ca4f101 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-11Merge "run Functest daily in xci"Morgan Richomme2-5/+7
2017-09-08run Functest daily in xciMorgan Richomme2-5/+7
Functest daily is based on the functest alpine dockers: - healthcheck - smoke - features - vnf Change-Id: I922f3a5946e8bc06229fb03a959abd2bfead132b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-08Merge "Add functest-healthcheck alpine to xci-verify-healthcheck-macro"Morgan Richomme1-4/+4
2017-09-06Ignore All Changes to non-XCI DirectoriesTrevor Bramwell1-4/+5
We only care to trigger builds based on changes under xci/, not including xci/README.rst Change-Id: I347e0d7ef658c41322b7c3e25740fa4d2f960bdc Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-06Update XCI Forbidden Paths to include all READMEsTrevor Bramwell1-1/+1
There is no 'README.rst' at the root of the repo, but there are README.rst under xci, bifrost, etc. Changes to these READMEs shouldn't trigger builds. Change-Id: I6a09388cf40b35211d58413b45b5ac8c596a2dc7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-05Add functest-healthcheck alpine to xci-verify-healthcheck-macroMorgan Richomme1-4/+4
- add the rc file retrieval in fetch_os.sh - adapt alpine to split healtcheck from daily (healthcheck + smoke + features) - adapt the xci builder Change-Id: I38836814240a1d769d379a10c9ef14def7e6df97 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-05xci: Stop triggering the verify job if there is no code changeFatih Degirmenci1-5/+1
The job doesn't need to be triggered if there is no code change, eg commit message updates. The remnants of previous directory structure is also removed from gerrit trigger/forbidden-file-paths. Change-Id: I68b9e70d0d70253d7fbad95f8dedaaa63fb2b26e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-02Merge "jjb: xci: Update openSUSE release to 42.3"Markos Chandras3-3/+3
2017-09-01xci: Fix the list of blocking jobs for osa-periodic jobsFatih Degirmenci1-2/+4
Change-Id: I2f60bac555571d4fddbde63bf8002aae2df47de3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-01xci: Create daily virtual jobs for sfcFatih Degirmenci1-6/+6
Change-Id: I18105f9289f67f634431013d08b24608380f00e4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>