summaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2017-04-04xci: Introduce XCI_LOOP variable to control what to do properlydanube.1.0Fatih Degirmenci5-3/+20
XCI has different jobs/loops to run - patchset verification jobs (currently bifrost and osa in future) - periodic jobs (bifrost and osa) - daily jobs (for OPNFV platform deployment and testing) The same scripts/playbooks used by XCI will also be used by developers. We need to do different things depending on the context the scripts and playbooks are executed. - periodic jobs will use latest of everything to find working versions of the components. (periodic osa will use unpinned role requirements for example) - daily jobs will use pinned versions in order to bring up the platform and run OPNFV testing against it. (daily deployment will use pinned versions and role requirements for example) - developers might choose to use pinned versions or latest Depending on what loop we are running, we need to do things differently in scripts and playbooks. This variable will help us to do this in easy way. We can of course do pattern matching of the job name but it will not work if the scripts are used outside of Jenkins. The default loop for non-Jenkins execution is set to daily as we want developers to use working versions unless they change it to something else intentionally. Change-Id: Iff69c77ae3d9db2c14de1783ce098da9e9f0c83d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-04xci: Fix build blocker so downstream jobs can be startedFatih Degirmenci1-1/+0
Change-Id: Ie33bcbbe1d4c4fd2166c8931bd9f135cf4200263 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-04Merge "xci: Create periodic osa jobs to find working version"Fatih Degirmenci2-0/+188
2017-04-03xci: Adjust and fix jobs and scriptsFatih Degirmenci5-114/+19
This change - fixes GIT_BASE in jobs - adjusts build blockers - fixes where the flavor vars should be sourced from - sources flavor vars for bifrost periodic jobs - renames the xcimaster node to opnfv to be consistent - removes obsolete xci-provision.sh script - enable additional openstack services including tempest to ensure the deployment is sane Change-Id: Ifdce1da52d68a26c2b87e1bd3b1996ec119d8d90 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-03Merge "Removing _l3 from Apex scenario names in master"Tim Rozet1-0/+6
2017-04-03Merge "Updating Apex ENV Var Names"Tim Rozet3-9/+9
2017-04-02xci: Create periodic osa jobs to find working versionFatih Degirmenci2-0/+188
These jobs run periodically against the HEAD of master and stable/ocata branches in order to attempt deployment and help us to find more recent working versions to pin. In perfect world, these jobs should be run post-merge, helping us to move faster but lack of resources prevent us doing that. One thing to note here is that we use the pinned version of bifrost in order to make sure we change one thing at a time to reduce the delta. Change-Id: Ieaff7e80581c7577b253b3646ca386313295a45a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-04-02Merge "xci: Create periodic bifrost jobs to find working version"Fatih Degirmenci2-0/+253
2017-04-02Merge "xci: Configure daily job to use xci scripts"Fatih Degirmenci2-199/+64
2017-04-01Merge "Dial in docker and ssh environment"Tim Rozet1-5/+7
2017-04-01change openrc file path to /etc/yardstick/openstack.credschenjiankun1-1/+1
JIRA: YARDSTICK-623 Now almost yardstick openrc file is in /etc/yardstick/openstack.creds. But only in prepare_env.sh it is /home/opnfv/openrc. So I unified it and change it to /etc/yardstick/openstack.creds in the follow patch: https://gerrit.opnfv.org/gerrit/#/c/32005/ Also there is some adapt work to do in releng. Change-Id: I7764582dec1d9a8f74e53b23e23d98021a20589b Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-04-01add daisy unittest verify jobSerenaFeng1-18/+22
Change-Id: Iab5b7126f72efa942e6e1a25d0a1af67c4c52aa6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-01Update block parametersJulien4-16/+7
Fix issue: 1. father job block child jobs 2. deploy the env in daisy-virtual slaves Change-Id: Idcda4b8ca5fcf9abbfae3c60bf656a0901a20e02 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-31Dial in docker and ssh environmentJamo Luhrsen1-5/+7
- need the key to be in /tmp/.ssh/ because that is what robot is expecting. - need to run docker with -ti Change-Id: I8260e749d6afefec33b447d8fdbb89b3d4d39941 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-04-01Add tox supportJulien1-0/+1
be easier to test jjb locally before submit for review. add unitest in modules dir to tox(tox -emodules) Change-Id: Ief4f10debc567d1d3ba111685c86b812a2058697 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-31xci: Create periodic bifrost jobs to find working versionFatih Degirmenci2-0/+253
These jobs run periodically against the HEAD of master and stable/ocata branches in order to attempt provisioning and help us to find more recent working versions to pin. In perfect world, these jobs should be run post-merge, helping us to move faster but lack of resources prevent us doing that. Change-Id: I6f6b2fcc58eda112b1e811a7b11269e928bbceef Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31xci: Configure daily job to use xci scriptsFatih Degirmenci2-199/+64
Daily jobs are now switched to using xci-deploy.sh script together with the environment variables, playbooks, and so on. These jobs do not set any version for any of the component as the point with these jobs is to test the platform itself, not the tools. DIB related stuff is still left as parameters to deploy job for SUSE and CentOS jobs so we can override what is set by xci depending on the distro. Change-Id: I5a5292e6bae8fdd052858108db409e8d495fbf24 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-31Apex: fixes writing sha info into propertiesTim Rozet1-4/+4
Change-Id: Idc5ca86dbc51d83860f26244a4ed7d88015552d0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-31Apex: Fixes regexp to match label names as wellTim Rozet1-1/+1
Change-Id: I42f8836320e4bce2f890aa4a17d59f53efab7f97 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-31Updating Apex ENV Var NamesDan Radez3-9/+9
- CONFIG and RESOURCES have been replaced by BASE and IMAGES in Danube Change-Id: I1b1d4e73b1f4e8a13d63bd199ec4c91e853d14a6 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-31Merge "Add wait method for Docker builds"Jose Lausuch1-8/+10
2017-03-31Add wait method for Docker buildsjose.lausuch1-8/+10
By default, if a docker build job triggers and there is another one running at the same time, it will abort the job. This adds a wait method with a timeout to avoid that. Change-Id: Ica86885c60ce4137c85474ec4b7441ac5bab600c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-30Merge "Modify interactions with installer VM to set up jenkins-ci for cbench ↵Tim Rozet1-4/+8
test"
2017-03-30Removing _l3 from Apex scenario names in masterDan Radez1-0/+6
Change-Id: I9169434d3dc62c911d351f8238af2c5daf314d99 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-30Merge "dovetail: fix wrapper disable problem"Jun Li2-6/+2
2017-03-30Merge "bugfix: fix the docker_cleanup path"mei mei2-113/+5
2017-03-30dovetail: fix wrapper disable problemxudan2-6/+2
JIRA: DOVETAIL-377 Since there are two wrappers in dovetail-ci-jobs.yml and dovetail-weekly-jobs.yml, respectively, the first wrapper (build-name and timeout) is disable. Combine them into one wrapper with build-name, timeout and fix-workspace-permissions. Change-Id: I4a4f766fc90612be2642bc01708d93392fb163ed Signed-off-by: xudan <xudan16@huawei.com>
2017-03-30disable TestAPI update temporarilySerenaFeng1-1/+2
recently I plan to make some effort on TestAPI, add scenario processing exceptions, perfect swaggr documents, refactor unreasonable coding...etc, all of those will not change the original process or data structure, whilst many patches will be submitted. Because there is latency during TestAPI update, and it will cause test results lost, so I think it is better to disable TestAPI automatic update for now and re-enable it when the work gets done. Change-Id: I5ceab808350a1ece500c8743622d197326aa5419 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-29Modify interactions with installer VM to set up jenkins-ci for cbench testJamo Luhrsen1-4/+8
- was grabbing stackrc for SDN_CONTROLLER_IP, but it actually in overcloudrc - need to skip hostkeychecking for scp operations - change permissions and ownership of /tmp/.ssh/ files so jenkins-ci can take over as the user Change-Id: I2d8f3aadfd6eff35a288a4e49eabb035bb2560ef Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-30bugfix: fix the docker_cleanup pathyuyang2-113/+5
JIRA: RELENG-196 JIRA: BOTTLENECK-148 The path for calling docker_cleanup.sh is incorrect which causing building job fail. This patch is to fix the issue. Change-Id: I2a8ea79383123f541f4e67bc58a3f2f3e3d9beeb Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-29Merge "prototypes: bifrost: Remove /opt/stack from previous deployments"Fatih Degirmenci2-2/+2
2017-03-29Merge "dovetail: fix wipe workspace error"Jun Li3-7/+13
2017-03-29prototypes: bifrost: Remove /opt/stack from previous deploymentsMarkos Chandras2-2/+2
/opt/stack is being created by bifrost so the destroy-env.sh script should be responsible for cleaning up all the remnants. That way we can use the destroy-env.sh script outside of Jenkins as well. Change-Id: I72d9737cf2446ff3ffc02f195337a6873eceb5c0 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-29Set the jobs 4 hours apartCristina Pauna1-9/+9
A non-ci pod is made ci-pod for danube release, therefore this patch modifies the cron jobs to be 4 hours apart instead of 8 This commit should be merged after the lable of the pods are changed Request: OPNFV Helpdesk #39128 Change-Id: Ic88180d01d9ea03d03b79355cd78891ad612c59b Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-29dovetail: fix wipe workspace errorMatthewLi3-7/+13
JIRA: DOVETAIL-377 workspace wipe clean error log https://build.opnfv.org/ci/job/dovetail-compass-virtual-debug-master/365/console this is caused of wrong permissions with files under $WORKSPACE seems the former method in dovetail-run not take effects(log into host, it's still root:root, not $USER:$USER_GROUP) use global fix workspace permission in wrapper to replace former method Change-Id: I6ceaaf630590666f3b3db5f2628334879df2b8fb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-29Merge "Make prescm step workspace permission fix a macro available to all"Fatih Degirmenci2-12/+9
2017-03-29Merge "bugfix: Bottlencks cleanup docker-compose dockers"mei mei2-110/+123
2017-03-29Make prescm step workspace permission fix a macro available to allFatih Degirmenci2-12/+9
bifrost-verify jobs have been using this without issues and it is needed for many other jobs in order to avoid unnecessary failures. This change makes workspace permission fix prescm step a macro. Change-Id: Ib5678dbf21c17ce640a600d2a06ebed9674663fa Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-29Merge "Adjust the testcase name for Bottlenecks stress test job"mei mei2-2/+2
2017-03-28Apex: adds OVN to danube dailyTim Rozet1-0/+31
Change-Id: I1d1b07fa3273a8766e0ec109d89e6c81b2d515d1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-28Apex: disables vfio-pci for baremetal fdioTim Rozet1-6/+8
According to FDS folks, uio_pci_generic (default) should work with UCSB baremetal. We also hit a bug in UCSB where vfio-pci isn't working with VPP. Therefore falling back to uio_pci_generic. Change-Id: Id9a6fe5be91aaf8476292a46c15c6e876616f4a6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-28Merge "jjb: xci: bifrost-cleanup: Retry 'gsutil rm' on failures"Markos Chandras1-3/+10
2017-03-28Change jenkins user:group name according to Node Name.zshi1-2/+4
JIRA: DOVETAIL-377 Change-Id: I55eebdd55c2cf91d74d166b0b31a0601efe0a751 Signed-off-by: zshi <zshi@redhat.com>
2017-03-28KVMFORNFV: Modifying forbidden-file-paths.kalyanreddy1-1/+1
This patch is used to add forbidden-file-paths so that kvmfornfv verify job will not be triggered if the patch includes changes only to docs/ Change-Id: I9de20549507be2eadaba7c99bc6de3b28d3c3ce1 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-28bugfix: Bottlencks cleanup docker-compose dockersyuyang2-110/+123
JIRA: RELENG-196 JIRA: BOTTLENECK-148 The bottlenecks_cleanup script can not clean some dockers and their images that created by docker-compose. This may cause the following test using dockers created in last test. This patch is to fix this issue. Change-Id: I83d294020596ad5d04302793084a432cae789685 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-28Adjust the testcase name for Bottlenecks stress test jobyuyang2-2/+2
JIRA: RELENG-195 JIRA: BOTTLENECK-143 The name of stress test in Bottlenecks has been changed due to the new entrance for it. So CI job for the stress test should be adjusted. Change-Id: I8432ea1c2dacb6cf42f09a5b74c3c6a93970a242 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-28Merge "Use docker image id instead of tag to remove yardstick Docker image ↵Jun Li1-1/+15
with tag:<None>"
2017-03-27Apex: fixes dpdk jobs with ODLTim Rozet1-4/+7
Change-Id: I9c33e6661b2dce1b0e5a77d3ed47bf7eebd3bb2c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-27Merge "Avoid build conflicts in build server"Serena Feng4-5/+9
2017-03-24Apex: adds dpdk scenarios to dailyTim Rozet1-0/+60
Change-Id: I0b0b33cf3021e2c0fb868eca749ab61eed7b3792 Signed-off-by: Tim Rozet <trozet@redhat.com>