summaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2018-11-28[fuel] docker: Improve build blockingAlexandru Avadanii1-0/+6
We previously blocked the parent job from running on the same node, but we need to also block the sub-jobs to prevent races. Fixes: 2e8907a0 Change-Id: I8243407f4f3db3c07a8dba66ba02575bede70fbc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-11-28Apex: Fix CSIT snapshot files pathTim Rozet2-6/+6
With the refactor of snapshot pipeline to include other snapshots, the path had changed to be generic for where temporary snapshot files are stored (from /tmp/csit to /tmp/snap). See this commit: https://gerrit.opnfv.org/gerrit/#/c/65157/4/jjb/apex/apex-fetch-snap-info.sh This patch fixes the path for triggering CSIT job. Change-Id: I63308d73c13e8c714078a38bc6cf9bb75cbeec5c Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-28Merge "xci: Enable daily baremetal jobs"Fatih Degirmenci1-44/+16
2018-11-28Merge "Run tox in functest-virtual"Morgan Richomme1-0/+46
2018-11-27xci: Enable daily baremetal jobsFatih Degirmenci1-44/+16
Only the 2 generic noha scenarios are enabled in order to verify the sanity of the jobs. The rest will be enabled once this is done. Change-Id: Id53f9e694d548ff0858b3c8ebfb3b4e27d37966d Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-11-27CPERF: Fixes issue with known hostsTim Rozet1-2/+2
Exporting the global var to disable ansible host key checking doesn't ignore known hosts in the file. To fix this, this patch sets the known hosts file to /dev/null. Reference: https://github.com/ansible/ansible/issues/9442 Jobs currently failing due to known hosts: https://build.opnfv.org/ci/job/cperf-apex-csit-master/320/console Change-Id: Ic3470b368a056b3a3981f9555160a44018f97ebd Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-27Merge "Switch from block-level to blocking-level (former)"Tim Rozet1-3/+3
2018-11-27Switch from block-level to blocking-level (former)Cédric Ollivier1-3/+3
[1] https://docs.openstack.org/infra/jenkins-job-builder/properties.html Change-Id: Ic9e20f28ab3093ff29c1cc1681e75812db7ed949 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-27Merge "Revert "Fix typos in Apex jjbs""Tim Rozet2-20/+20
2018-11-27Revert "Fix typos in Apex jjbs"Tim Rozet2-20/+20
This reverts commit fca796f895e8c3e00fb4f7b7f0bfa2e366627db0. Change-Id: I5e96ae38519865dfb42c4134c09f5eb4be275225 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-27Merge "Revert "Apex: Fix incorrect block syntax in other jobs""Tim Rozet2-3/+3
2018-11-27Revert "Apex: Fix incorrect block syntax in other jobs"Tim Rozet2-3/+3
This reverts commit ceb545e311cc9f8adcc8e617346b9cb63af16f5c. Change-Id: I01e782c280d62b59cd85f97ddcee1a86fbd93d7d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-27Run tox in functest-virtualCédric Ollivier1-0/+46
It will replace the former jjb and avoids running functional tests if the patchset is wrong. Change-Id: I4264780180d953b0dac0febf1f1c2dc2d08f93c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-27Clean all containers as first stepCédric Ollivier1-90/+82
It overprotects vs aborted jobs or failures in CI. It fixes few urls printed in console. Change-Id: Ibbaacfd9d51c5424c5632fcdeaedf619fd946006 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-26Apex: Fix incorrect block syntax in other jobsTim Rozet2-3/+3
block-level was incorrectly worded as blocking-level Change-Id: Iccfc45841c042746e86bb9cebb0f28012d79d589 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-26Merge "Fix typos in Apex jjbs"Tim Rozet2-20/+20
2018-11-26Clean Functest containers even if failureCédric Ollivier1-40/+160
It creates an additional multijob to ensure all containers are removed. It also publishes logs via gsutil. Change-Id: I45bd8aec3569e3257b94ea978c5bf2fd703649be Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-26Disable vnf testing in daily gatesCédric Ollivier1-3/+3
heat_ims sometimes fails. It mainly eases saving time when developping the workflow. Change-Id: I230461a3bae508bf60771df3f01a8271a2735065 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-26Fix latest tag in functest-virtual.yamlCédric Ollivier1-1/+1
Change-Id: If3df5a002db5157dea423f3acac6c47b78d9b4ad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-26Fix typos in Apex jjbsCédric Ollivier2-20/+20
It replaces blocking-level by block-level [1]. https://docs.openstack.org/infra/jenkins-job-builder/properties.html Change-Id: I304ab122de3699401d2be92955e151e774206c07 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-26Avoid possible deadblocks in Functest jjbsCédric Ollivier1-1/+24
From the time being, only 2 executors are allowed and then it may lead to deadblocks if two multijobs are executed. Normally we should only forbid gate and daily jobs at the time (tags are hardcoded). It reverts to new patchset triggers as on core approval is buggy. Daily jobs are now triggered once a day. Change-Id: Iaa1ae73f8baeed037dd2f20f05ec3b15d1643b3b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-24Gate Functest tests when +2Cédric Ollivier2-1/+27
It will update to Workflow as soon as possible. Change-Id: Id12afa6836b4cc0129666480eb92c36132c32823 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-24Add check mode in Functest jjbsCédric Ollivier1-28/+114
It allows checking one specific change on LF resources. It completes the two modes already defined: daily and gate. Change-Id: I7ccadf1ef07533bb549ee365b4f3deedd3d457fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-23Rework creating tags & branches from release filesAric Gardner4-26/+84
Old method could not properly handle both branching and tagging on changes to the release file. Proposed method: jjb calls: jjb/releng/branch-or-tag.sh for both verify and merge jobs. branch-or-tag determins nature of the change to "releases/branch/project.yaml" and calls releng-release-tagging.sh or releng-release-create-branch.sh The scripts above handle both verify and merge operations based on if [[ $TAG_EXISTS = false && "$JOB_NAME" =~ "merge" ]]; and if [[ $REF_EXISTS = true && "$JOB_NAME" =~ "merge" ]]; then both scripts check that the ref exits in verfiy and merge stages. if releng-release-create-branch.sh creates a branch it then also calls releases/scripts/create_jobs.py Change-Id: Ieb99de5e4df100af59ecc818f52b0831383b2b62 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-11-23Merge "Add triggers to verify Functest"Morgan Richomme1-25/+30
2018-11-22Add triggers to verify FunctestCédric Ollivier1-25/+30
It runs testcases for all new patchset. Change-Id: Ida99e2f40cf3a7a6bc002e81cee27eb67ea62ff0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-21Merge "[fuel] docker build: Add blocking jobs"Aric Gardner1-0/+5
2018-11-21[fuel] docker build: Add blocking jobsAlexandru Avadanii1-0/+5
Prevent master & stable streams to trigger concurrent builds on the same node, which usually leads to one of the jobs failing to acquire the DPDK lock on the build server. Change-Id: I1f61f1a2eb10eb9373a75b31c74f5d6de60f5334 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-11-21[fuel] docker build: Add CACHE_INVALIDATEAlexandru Avadanii1-0/+5
JIRA: FUEL-398 Change-Id: Ie490ec0841dae9748b35fa716e8b9fc0cd0aff63 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-11-20Merge "Bug: Doctor all does not work"Aric Gardner1-12/+9
2018-11-20Merge "Remove '|' from ovn4nfv plugin unit test builder"Aric Gardner1-1/+1
2018-11-20Merge "Adding a new verification job for testapi UI."Serena Feng1-2/+61
2018-11-20Bug: Doctor all does not workTomi Juvonen1-12/+9
Change-Id: I3654c125192686348c59cd14e0de562e1043011e Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-11-19Apex: Fixes unset var checksTim Rozet1-2/+2
Var checks for unset required proper parameter expansion to avoid nounset. Change-Id: Ide5db47e2243c8aee0f97369bf3cd0673e7f4bd3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-19Remove '|' from ovn4nfv plugin unit test builderTrevor Bramwell1-1/+1
Because of the '|' character JJB thinks '!include-raw:...' should be executed literally, instead of including the file as the shell script. Change-Id: I753dec4b496bd7d9a43c7c5aced17dfb9005f251 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-11-19Merge "Apex: Fix OS_VERSION detection"Tim Rozet1-0/+19
2018-11-19Merge "Fix a nit in functest-virtual.yaml"Trevor Bramwell1-1/+1
2018-11-19Apex: Fix OS_VERSION detectionTim Rozet1-0/+19
When we run deployments for snapshot creation we typically pass in the OS_VERSION var so we know what openstack version we are deploying with. However when we run a verify/gate job to ensure that the snapshot deploys work we do not have this variable, and need to detect it based on the OPNFV branch, or if the branch is master, the deploy scenario naming scheme. Change-Id: If1445dc564d2af59b9740391de56b821b78de0b5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-19Fix a nit in functest-virtual.yamlCédric Ollivier1-1/+1
Change-Id: I993bac8545d896d1ead25c5f33c9645c52c5d208 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-19Merge "Apex: Refactor snapshot pipeline for other types"Tim Rozet7-72/+300
2018-11-19Fix functest-virtual (sudo + current dirs)Cédric Ollivier1-3/+3
It completes the previous commit [1] pulling all images. [1] https://gerrit.opnfv.org/gerrit/#/c/65203/ Change-Id: Id32aabf107064689a38d5ffb719ba5023c40296d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-19Pull all containers before running testsCédric Ollivier1-1/+34
Else we might test previous containers. Change-Id: I53b98f99f7fe5db8ea2087c93cfc58a03103db9e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-19Enable vnf testing when gating FunctestCédric Ollivier1-3/+21
It adds rally_sanity and vnfs. From the time being, only rally_full is excluded (all-in-one). Change-Id: I451d1503a0a1633f4e3e68ed272742981f04eb36 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-16Apex: Refactor snapshot pipeline for other typesTim Rozet7-72/+300
This patch changes snapshot related scripts to allow for more than just the current snapshot type of "csit". This allows us to add other snapshot types, including the functest type. The same snapshot.properties file will be used to store information for all types of snapshots. The snap cache folder structure will remain the same, but hold different types of snapshots in the same folders. These changes include renaming the URLs for the snapshot artifacts to reflect the snapshot type, but remains backwards compatible until enough promotions have occurred and other apex snapshot deployment scripts have been migrated to the new format. Change-Id: If3e47e700b5ad9c95418179042b85814fe389233 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-15Add Promise gambia rtd jobBertrand Souville1-0/+8
Change-Id: I122523925a022efe04040a021deebb257109132c Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
2018-11-14Merge "Add Clover gambia rtd job"Trevor Bramwell1-0/+8
2018-11-14Replace ovn4nfv-k8s-plugins for ovn4nfv-k8s-pluginVictor Morales1-9/+9
The ovn4nfv-k8s-plugin was named differently in github.com/opnfv as consequence its jenkins job was created using that wrong name. This change fix the name of the project. Change-Id: I5e17e65613578fb3011f0e7a121933e4e1c4ce8c Signed-off-by: Victor Morales <victor.morales@intel.com>
2018-11-14Create docker jobs for gambiaTsaLaGi1-6/+11
Change-Id: Ifdba9b1964010f4c1e7ca0355a1ad35a217b3518 Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-11-14Merge "Enable ovn4nfv-k8s-plugins project jobs"Aric Gardner2-0/+134
2018-11-14Protect vs build-args not consumedCédric Ollivier1-4/+8
BRANCH is useless in case of components which only inherits from tempest. The build could simply fail depending on the docker version [1]. [1] https://build.opnfv.org/ci/job/opnfv-functest-components-latest-build/1/console Change-Id: I8ced7282c77463de9684904d141b2f18ae45d3c9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>