summaryrefslogtreecommitdiffstats
path: root/jjb/xci/xci-daily-jobs.yaml
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Ensure jobs don't get queued on offline buildersTrevor Bramwell1-0/+4
A change to the NodeLabelParameter config in JJB caused any jobs using the plugin to possibly have their jobs triggered on builders which weren't online. This in turn caused the queue to backup and newer jobs are blocked waiting for older ones to complete, which never happens as they're never queued on an online builder. The 'all-nodes' parameter ensure jobs that are set to run concurrently don't trigger across all available nodes at once, as this will include offline nodes as well. As this is the default of the plugin, projects which need it can enable it individually. Change-Id: Ia690eef078209b6b056dad85613dda6868b18271 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-12Merge "Update jenkins-job-builder to 2.2.1"Trevor Bramwell1-2/+2
2018-10-12Update jenkins-job-builder to 2.2.1Aric Gardner1-2/+2
jjb/lf-ci-jobs.yaml has jjb-version: 2.2.1 as a minimum change block-level to blocking-level: https://review.openstack.org/#/c/608092/ We will need to change this back once we move past jenkins-job-builder>2.5.0 Change-Id: I12d0f55ee3c2dad20340ebf0fa8428ee1ad8484c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-10Bug fix: Path to inventory wrongManuel Buil1-1/+1
The path to reach the inventory was wrong and thus the error message in CI: Unable to parse /root/releng-xci/.cache/repos/openstack- ansible/inventory/dynamic_inventory.py as an inventory source Change-Id: Ic9e01e0895f3df2f6f27d782b8375dbcceb036e6 Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-10-05[XCI] Add inventory to run prepare-tests.ymlManuel Buil1-1/+3
To pass functest healthcheck test in odl scenarios, some odl variables must be fetched. To do so, we require to know where opendaylight is deployed and that we can know using the dynamic_inventory.py file in OSA This is needed for this patch: https://gerrit.opnfv.org/gerrit/#/c/63175/ Change-Id: I04643ce93078bad53838e4d4e611f7684d4bd314 Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-09-17xci: Switch to Functest HunterFatih Degirmenci1-0/+8
Change-Id: I09978a08d00c561f17ce3a7d5ba75d80aa49a0f6 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-09-10xci: Enable triggers for daily jobsFatih Degirmenci1-14/+3
Please note that these triggers are temporary and they will be adjusted to fit promotion based triggering. This will result in running scenario deployments and testing if any scenario has changes. Otherwise, daily jobs will be skipped. Change-Id: I24e8c4d7f1da4d3203d81a8929ce2bc60d398ece Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-09-06jjb: xci: Make sure all virtualbmc process are goneMarkos Chandras1-0/+2
Daily jobs run on the actual slave so they leave virtualbmc processes running even when the job is finished. As such, we need to make sure that such artifacts are gone as soon as we start a new job. Change-Id: I82f49279cc105e788db466e5040e6a31c537af5c Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-09-04Merge "xci: Log functest results to console for daily jobs"Fatih Degirmenci1-1/+20
2018-09-04Merge "xci: Switch to functest-smoke for daily jobs"Fatih Degirmenci1-2/+2
2018-09-04xci: Log functest results to console for daily jobsFatih Degirmenci1-1/+20
Change-Id: Ic3f31fea8170af8b1e9845856976ef57df496e1e Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-09-04xci: Pass functest tier and suite to downstream jobsFatih Degirmenci1-0/+2
Change-Id: I206b729c09d30eb81432d11638c2654a96c3b9e8 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-09-03xci: Switch to functest-smoke for daily jobsFatih Degirmenci1-2/+2
Change-Id: I958c8f857c28a45c009daba36c4bcef7adda4bbe Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-09-03Merge "xci: Enable yardstick"Fatih Degirmenci1-4/+29
2018-09-03xci: Execute prepare-tests.sh to prepare OPNFV VMFatih Degirmenci1-3/+2
It also fixes the results directory where Functest log is cat from. Change-Id: I3d8ea06d3741c70108cdb1c7f040969dbacf79a5 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-08-31xci: Enable yardstickFatih Degirmenci1-4/+29
Change-Id: Id48d1dcb6c1998f7f6d0f71cb9380ed7fcf7b320 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-08-31xci: Adapt jobs to use common prepare-tests roleFatih Degirmenci1-1/+1
In order to activate more test tiers from functest and also start running yardstick, we need to do the test preparation at one go and then run what's supposed to be run. This change is required for below changes to be verified successfully https://gerrit.opnfv.org/gerrit/#/c/61639/ https://gerrit.opnfv.org/gerrit/#/c/61641/ Change-Id: Ib3ae2241921383b77c23b05443325aa6240cc176 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-08-29xci: Remove leftover VMs before proceeding with the deploymentFatih Degirmenci1-0/+9
Change-Id: I12e1dc7d79ca74df1ba02e16e55e91f4f47a818c Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-08-24xci: Create virtual daily jobs for scenariosFatih Degirmenci1-0/+46
Change-Id: I2cb52d85a86bf70dfaf151606138d671e618e5d0 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-08-24xci: Adjust build blockers and fix functest preparationFatih Degirmenci1-9/+23
Functest preparation is moved into the deployment job to ensure things are prepared before we are done and functest job gets triggered. Making the preparation in functest job will cause us to either reinitialize venv or depend on deployment job directory. Apart from that, the env vars necessary for functest are available within deployment job anyways so reusing that will make running functest simpler. See the comments in xci-daily-jobs.yaml builder macros. Change-Id: I4c5bbe5f4b31bb620986d75ba78de6c0fe442975 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-08-24xci: Fix XCI_DISTRO vars and remove clean_vm cleanup stepsFatih Degirmenci1-16/+10
Change-Id: Ie1d652607f8f56f5e1cf0409dc628b1add615cd9 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-08-24xci: Reconfigure xci-daily-virtual jobsFatih Degirmenci1-88/+90
The execute shell parts need to be switched to existing scripts but since the scripts were mainly written for verify jobs, the adaptations they require has potential to cause issues so it needs to be done in a separate change. Apart from that, the verify and daily jobs can't be run on same slave at the moment due to a bug in opnfv vm creation playbook. If clean vm exists on the node, the playbook fails. Build blocker is enable for verify and daily jobs to ensure the jobs don't end up on same slave for the timebeing. Change-Id: Iefaf5a5c2d4a79bd48a5f9da28d68748bc67f511 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-17Update postbuildscript syntax for JJB 2.0.3Thanh Ha1-4/+10
JJB 2.0.3 changed the postbuildscript syntax a bit and requires changes so that they work properly with version 2.x of PostBuildScript plugin. This patch requires that Jenkins also be updated to install the 2.x release of PostBuildScript. Change-Id: I65e52c8d9b2efa38a3d16193c176c65e87e704c1 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell1-0/+265
global-jjb only supports the .yaml file ending for jjb jobs. Instead of waiting for a release we're going to rename the files. Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>