releng.git
6 years agoAdd K8s Yardstick daily job for arm64 07/52007/5
trevortao [Sun, 11 Feb 2018 06:50:47 +0000 (14:50 +0800)]
Add K8s Yardstick daily job for arm64

Add k8s Yardstick daily job for arm64 based on compass4nfv for arm64,
which would be triggered after the k8s deployment on arm64.

Change-Id: Ic928ce4bf0c32060a74a434b6bb3e9d9848f3e32
Signed-off-by: trevortao <trevor.tao@arm.com>
6 years agoMerge "[Dovetail CI] change dovetail CI jobs on Compass"
mei mei [Sun, 11 Feb 2018 03:29:55 +0000 (03:29 +0000)]
Merge "[Dovetail CI] change dovetail CI jobs on Compass"

6 years ago[Dovetail CI] change dovetail CI jobs on Compass 47/51747/2
xudan [Tue, 6 Feb 2018 07:43:07 +0000 (02:43 -0500)]
[Dovetail CI] change dovetail CI jobs on Compass

1. run default test suite on Compass on Monday and Tuesday for scenario
   'os-nosdn-nofeature-ha' and 'os-odl_l3-nofeature-ha'
2. run test suite 'proposed_tests' on Compass on Thursday and Friday for
   scenario 'os-nosdn-nofeature-ha' and 'os-odl_l3-nofeature-ha'

JIRA: DOVETAIL-612

Change-Id: I027ca278eb63bdc6842a9494b676cdab8d2d25bf
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoMerge "Ansible for build server"
Aric Gardner [Thu, 8 Feb 2018 21:32:17 +0000 (21:32 +0000)]
Merge "Ansible for build server"

6 years agoAnsible for build server 31/51931/1
agardner [Thu, 8 Feb 2018 21:08:25 +0000 (16:08 -0500)]
Ansible for build server

Tests are working, switch to running on
lf-build1 and lf-build2 when triggered.

Change-Id: I1d3be9a84452cc3d6cd7097474bcc4dca0f70c6d
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMerge "[Compass4NFV] Add blocking jobs"
Fatih Degirmenci [Thu, 8 Feb 2018 20:36:50 +0000 (20:36 +0000)]
Merge "[Compass4NFV] Add blocking jobs"

6 years agoMerge "vswitchperf: python version change"
Fatih Degirmenci [Thu, 8 Feb 2018 20:36:30 +0000 (20:36 +0000)]
Merge "vswitchperf: python version change"

6 years agoMerge "[arm-build] prune-docker-images on all builders"
Fatih Degirmenci [Thu, 8 Feb 2018 20:35:21 +0000 (20:35 +0000)]
Merge "[arm-build] prune-docker-images on all builders"

6 years agoAdd -y to for non-interactive ansible install 27/51927/1
agardner [Thu, 8 Feb 2018 20:31:35 +0000 (15:31 -0500)]
Add -y to for non-interactive ansible install

Change-Id: I2ab00b3b6aadf9efc5bac72fcdcd9941f12f8bc9
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years ago[arm-build] prune-docker-images on all builders 25/51925/1
Alexandru Avadanii [Thu, 8 Feb 2018 20:13:22 +0000 (21:13 +0100)]
[arm-build] prune-docker-images on all builders

Prune dangling references on all arm-build* hosts.
Remove arm-build2 as it will be retired.

Change-Id: Ib425b3ef8021fa74d5942609093234cad35c0644
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "missing sudo for ansible install"
Aric Gardner [Thu, 8 Feb 2018 19:34:18 +0000 (19:34 +0000)]
Merge "missing sudo for ansible install"

6 years agomissing sudo for ansible install 21/51921/1
agardner [Thu, 8 Feb 2018 19:29:16 +0000 (14:29 -0500)]
missing sudo for ansible install

Change-Id: I6d7ab7746c75a8d33a27de3bf534b02cbc87e8ae
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMerge "Job for ansible to setup build servers."
Aric Gardner [Thu, 8 Feb 2018 19:20:34 +0000 (19:20 +0000)]
Merge "Job for ansible to setup build servers."

6 years agoJob for ansible to setup build servers. 25/51725/4
agardner [Mon, 5 Feb 2018 21:12:11 +0000 (16:12 -0500)]
Job for ansible to setup build servers.

set noop for now.
  -C, --check           don't make any changes; instead, try to predict
some
                        of the changes that may occur
  -D, --diff            when changing (small) files and templates, show
the
                        differences in those files; works great with
--check

Change-Id: I723fcf1b068b8ef73a0994be90271cb1cdd51ecb
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMerge "Apex: Cleanup slave/slave-label configuration"
Tim Rozet [Thu, 8 Feb 2018 16:08:27 +0000 (16:08 +0000)]
Merge "Apex: Cleanup slave/slave-label configuration"

6 years agoApex: Cleanup slave/slave-label configuration 99/51899/2
Tim Rozet [Thu, 8 Feb 2018 15:13:11 +0000 (10:13 -0500)]
Apex: Cleanup slave/slave-label configuration

Changes Include:
 - Remove defining 'node:' per job template and use slave-params
   defaults
 - Gate job was using daily/build slave, when it should be using virtual
   slave

Change-Id: Iec2321801daef1b1fa40724a244bf2f6edf36c6e
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "fix sed command in macros"
Aric Gardner [Thu, 8 Feb 2018 15:18:34 +0000 (15:18 +0000)]
Merge "fix sed command in macros"

6 years agojjb: xci: bifrost-verify.sh: Respect bifrost test failures 93/51893/1
Markos Chandras [Thu, 8 Feb 2018 09:29:09 +0000 (09:29 +0000)]
jjb: xci: bifrost-verify.sh: Respect bifrost test failures

Make sure that failures during bifrost deployments are being
reported properly on Jenkins.

Change-Id: I333d27147caf7598665157c703907572e48041c0
Signed-off-by: Markos Chandras <mchandras@suse.de>
6 years agoMerge "Get Daisy IP correctly"
Serena Feng [Thu, 8 Feb 2018 03:24:33 +0000 (03:24 +0000)]
Merge "Get Daisy IP correctly"

6 years agoApex: remove setting node in slave-params 73/51873/1
Tim Rozet [Wed, 7 Feb 2018 23:02:05 +0000 (18:02 -0500)]
Apex: remove setting node in slave-params

We only want to specify slave-label, not sure why we are specifyign node
here and in jjb for Apex.

Change-Id: I184df37836039887f47e7d6141c89f8dd9cd014f
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoApex: Fixes scheduling with apex verify 71/51871/1
Tim Rozet [Wed, 7 Feb 2018 21:33:50 +0000 (16:33 -0500)]
Apex: Fixes scheduling with apex verify

apex-verify job calls apex-virtual to deploy and run functest.  Apex has
2 virtual slaves attached to the apex-virtual-master label.  When 2
verify jobs are triggered at the same time, apex-verify job is scheduled
on each slave correctly.  However, when the mulitjob triggers
apex-virtual jobs, it only schedules both of them to a single slave.

This happens even though apex-virtual job has the same slave label and
node parameters are not passed from verify job.  This patch changes the
node to be passed to apex-virtual from apex-verify.  That way 2 nodes
will be scheduled on, but this is still not ideal scheduling as more
than 1 verify can run per node (but not more than one virtual job).

Change-Id: I155351c9037f70df2c5dba11bb5592423849e760
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agovswitchperf: python version change 47/51847/1
Martin Klozik [Wed, 7 Feb 2018 13:45:45 +0000 (13:45 +0000)]
vswitchperf: python version change

In order to execute VSPERF CI job, the SCL with python3 must
be enabled. Recently SCL command was changed to enable python3.4.

Change-Id: I4cf34ff28db2c789f4bc13116ed2d5d95eb81990
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
6 years agofix sed command in macros 31/51831/2
wutianwei [Wed, 7 Feb 2018 03:48:44 +0000 (11:48 +0800)]
fix sed command in macros

The char "/" was included in $msg.
It will have issue

"sed: -e expression #1, char 7: unknown option to `s'"

We can substitute '/' with '#' in sed command to solve this issue

Signed-off-by: wutianwei <wutianwei1@huawei.com>
Change-Id: I1308e9b1b2111f0033df119e4465df4dda27eac0

6 years agoxci: Disable voting for CentOS jobs 55/51755/1
Fatih Degirmenci [Tue, 6 Feb 2018 09:19:53 +0000 (10:19 +0100)]
xci: Disable voting for CentOS jobs

CentOS jobs started failing which requires troubleshooting.
In order not to block things, the voting is disabled for CentOS jobs.

Change-Id: Idc14b00cf09f0ee75bac17e993dc9f7724a1ad88
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoGet Daisy IP correctly 43/51743/1
Alex Yang [Tue, 6 Feb 2018 03:20:50 +0000 (11:20 +0800)]
Get Daisy IP correctly

In [1], there are two IP addresses of daisy VM in the arp table.
Select the first one.

[1]: https://build.opnfv.org/ci/job/functest-daisy-zte-pod9-daily-master/2/

Change-Id: Ic071d718004bf9ed215b7e53c56568f7f018051a
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years ago[Compass4NFV] Add blocking jobs 39/51739/1
wutianwei [Tue, 6 Feb 2018 02:36:03 +0000 (10:36 +0800)]
[Compass4NFV] Add blocking jobs

Compas4nfv support k8s and openstack.
The blocking jobs need include the k8s.

Change-Id: I517064df660266463050f7d3820bf5c405c8c222
Signed-off-by: wutianwei <wutianwei1@huawei.com>
6 years agoMerge "Revert the unix permission of yaml file"
mei mei [Tue, 6 Feb 2018 02:33:20 +0000 (02:33 +0000)]
Merge "Revert the unix permission of yaml file"

6 years agoMerge "fix the issue of docker command to collect logs"
mei mei [Tue, 6 Feb 2018 02:31:15 +0000 (02:31 +0000)]
Merge "fix the issue of docker command to collect logs"

6 years agoAnsible Playbook to install build server deps 47/49747/8
agardner [Thu, 28 Dec 2017 23:54:04 +0000 (18:54 -0500)]
Ansible Playbook to install build server deps

This playbook has been tested in centos and ubuntu
on Arm and x86_64

first:
install ansible
then:
ansible-playbook -i inventory.ini main.yml

What it does:
installs on centos or ubuntu arm or x86_64

installs system deps with the package manager.
and python libs with pip.

installs docker
https://download.docker.com

installs docker-compose from distribution repo

Change-Id: I3853cd04d0e6c7270ea068b9e1fba1a240a0652e
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoMerge "Set TEST_DB_URL in env"
Fatih Degirmenci [Mon, 5 Feb 2018 10:52:04 +0000 (10:52 +0000)]
Merge "Set TEST_DB_URL in env"

6 years agoRevert the unix permission of yaml file 45/51645/1
Linda Wang [Mon, 5 Feb 2018 03:25:36 +0000 (03:25 +0000)]
Revert the unix permission of yaml file

Change-Id: I99da14477ab785475e425475fedca90a69eed8eb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agofix the issue of docker command to collect logs 11/51611/1
wutianwei [Sat, 3 Feb 2018 09:38:22 +0000 (17:38 +0800)]
fix the issue of docker command to collect logs

Change-Id: If5569d01012b0f94976d26dfb4cd81692a40c83d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
6 years agoFix functest daily job 05/51605/1
Linda Wang [Sat, 3 Feb 2018 08:59:52 +0000 (08:59 +0000)]
Fix functest daily job

Change-Id: Ia9bc336d43fe9ed47368f9aada0c6d9244a71683
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "disable the opera"
mei mei [Sat, 3 Feb 2018 07:56:22 +0000 (07:56 +0000)]
Merge "disable the opera"

6 years agoFix functest daily job 01/51601/1
Linda Wang [Sat, 3 Feb 2018 01:12:21 +0000 (01:12 +0000)]
Fix functest daily job

Change-Id: Icbdbe5a44660f498503ac84b323fd2a140ec3bbe
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoSet TEST_DB_URL in env 33/51533/2
Cédric Ollivier [Fri, 2 Feb 2018 22:23:45 +0000 (23:23 +0100)]
Set TEST_DB_URL in env

It follows the change "Move push_results_to_db to TestCase" [1] which
stopped duplicating TEST_DB_URL in config and in env.

[1] https://gerrit.opnfv.org/gerrit/#/c/49757/

Change-Id: If860492c40b1d0ed4082a4dbe385686020697f37
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet the lint job shell to /bin/bash 19/51519/1
Trevor Bramwell [Fri, 2 Feb 2018 21:52:48 +0000 (13:52 -0800)]
Set the lint job shell to /bin/bash

The default builder in Jenkins is '/bin/sh -ex'. Because of this lint
jobs are failing that we assume won't as everywhere else we've used
/bin/bash and explitily set options when needed.

Explicitly setting these jobs to use /bin/bash should keep Jenkins from
failing builds without reporting the lint results.

Change-Id: Ibe6cad979d6dcf30e7991873c9ac446ae3bf3a8b
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "[daisy] Run functest daily jobs on zte-pod9"
Fatih Degirmenci [Fri, 2 Feb 2018 10:22:23 +0000 (10:22 +0000)]
Merge "[daisy] Run functest daily jobs on zte-pod9"

6 years agoMerge "[Functest] Run k8s tests on Compass"
Fatih Degirmenci [Fri, 2 Feb 2018 10:20:38 +0000 (10:20 +0000)]
Merge "[Functest] Run k8s tests on Compass"

6 years agoMerge "[pharos] Lint all code, including py"
Fatih Degirmenci [Fri, 2 Feb 2018 10:17:47 +0000 (10:17 +0000)]
Merge "[pharos] Lint all code, including py"

6 years agoMerge "Keep creds file name unchanged in Euphrates"
Fatih Degirmenci [Fri, 2 Feb 2018 10:17:22 +0000 (10:17 +0000)]
Merge "Keep creds file name unchanged in Euphrates"

6 years agoMerge "Delete Fuel Euphrates CI job on zte-pod1"
Fatih Degirmenci [Fri, 2 Feb 2018 10:15:33 +0000 (10:15 +0000)]
Merge "Delete Fuel Euphrates CI job on zte-pod1"

6 years agoDelete Fuel Euphrates CI job on zte-pod1 89/51489/2
zhihui wu [Fri, 2 Feb 2018 07:22:31 +0000 (15:22 +0800)]
Delete Fuel Euphrates CI job on zte-pod1

Delete Fuel Euphrates CI job on zte-pod1

Change-Id: I93d5ed7b8aa40715fe8e7541d810ab0ee9a89f28
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
6 years agoKeep creds file name unchanged in Euphrates 83/51483/3
Linda Wang [Fri, 2 Feb 2018 02:18:19 +0000 (02:18 +0000)]
Keep creds file name unchanged in Euphrates

Change-Id: I216d1877cba73272bbb37bf84c74dbf77dc2952d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "[Compass] Set the verify timeout to 360"
mei mei [Fri, 2 Feb 2018 06:39:53 +0000 (06:39 +0000)]
Merge "[Compass] Set the verify timeout to 360"

6 years agoMerge "container4nfv: add arm64 test scenarios"
mei mei [Fri, 2 Feb 2018 06:34:35 +0000 (06:34 +0000)]
Merge "container4nfv: add arm64 test scenarios"

6 years agoTurn on voting for check-jinja2 81/51081/2
agardner [Wed, 24 Jan 2018 22:18:32 +0000 (17:18 -0500)]
Turn on voting for check-jinja2

Check jinja voting will keep bad configs out of our currently
pristine repo.

Also, Alex's schema valiadator is now running.

Change-Id: I12f38127b82583ef9cb2cc47ef4cfc5a8d051b87
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years ago[pharos] Lint all code, including py 65/51465/1
Alexandru Avadanii [Thu, 1 Feb 2018 15:51:02 +0000 (16:51 +0100)]
[pharos] Lint all code, including py

Change-Id: I3be5a3b6a0b7752f2b13df30944fca7645ee664d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years ago[Functest] Run k8s tests on Compass 93/51093/10
Linda Wang [Thu, 25 Jan 2018 04:15:51 +0000 (04:15 +0000)]
[Functest] Run k8s tests on Compass

Change-Id: I8e88ab0598f43be8d0c9c4ad199dba91c1561f13
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoRename a common credential file 03/51103/6
Linda Wang [Wed, 31 Jan 2018 02:10:01 +0000 (02:10 +0000)]
Rename a common credential file

Change-Id: Ib97cee06438d4ac240c55b0b504338f435a68259
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "xci: Enable voting for CentOS jobs"
Fatih Degirmenci [Thu, 1 Feb 2018 10:16:56 +0000 (10:16 +0000)]
Merge "xci: Enable voting for CentOS jobs"

6 years agoMerge "subscribe mongodb_backup job"
Serena Feng [Thu, 1 Feb 2018 10:15:18 +0000 (10:15 +0000)]
Merge "subscribe mongodb_backup job"

6 years agocontainer4nfv: add arm64 test scenarios 63/51163/7
Yibo Cai [Wed, 10 Jan 2018 09:52:27 +0000 (17:52 +0800)]
container4nfv: add arm64 test scenarios

Change-Id: I2a91409fb3a650e9d9cacd3f6ffe4b17bc394950
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
6 years ago[Compass] Set the verify timeout to 360 37/51437/1
wutianwei [Thu, 1 Feb 2018 08:47:02 +0000 (16:47 +0800)]
[Compass] Set the verify timeout to 360

Change-Id: I39ed2ff1baedf5521f2fe1448350c0c91b1c4f61
Signed-off-by: wutianwei <wutianwei1@huawei.com>
6 years agoxci: Enable voting for CentOS jobs 35/51435/1
Fatih Degirmenci [Thu, 1 Feb 2018 08:23:04 +0000 (09:23 +0100)]
xci: Enable voting for CentOS jobs

CentOS is now supported by os-nosdn-nofeature scenario and it is
time to enable voting for it. For scenarios that do not support
CentOS yet, the jobs will skip running real stuff by exit 0 in
order not to fail the patch.

Change-Id: I86c9e1bb4d66ea84ccfc864186a7ca7c696f8663
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoMerge "[Compass4nfv] collect the logs and upload to artifact"
mei mei [Thu, 1 Feb 2018 01:41:57 +0000 (01:41 +0000)]
Merge "[Compass4nfv] collect the logs and upload to artifact"

6 years agoMerge "adding pike support during installation."
Fatih Degirmenci [Wed, 31 Jan 2018 23:26:24 +0000 (23:26 +0000)]
Merge "adding pike support during installation."

6 years agosubscribe mongodb_backup job 83/51383/1
SerenaFeng [Wed, 31 Jan 2018 03:50:31 +0000 (11:50 +0800)]
subscribe mongodb_backup job

Change-Id: I41aef4c9df47a076f8245cc1b466ff4297de0ae8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years ago[Compass4nfv] collect the logs and upload to artifact 43/51343/5
wutianwei [Tue, 30 Jan 2018 08:11:29 +0000 (16:11 +0800)]
[Compass4nfv] collect the logs and upload to artifact

JIRA: COMPASS-579
Add a job to collect log and upload. what the job do
1. run collect-log.sh to get log from rsyslog container
2. copy log.tar.gz from compass-tasks to jumphost
3. upload the log.tar.gz to artifact

Change-Id: Ic2244e33e7ae4b7aa71e15af741191c850982053
Signed-off-by: wutianwei <wutianwei1@huawei.com>
6 years agoMerge "Pull the image before running functest container"
mei mei [Tue, 30 Jan 2018 02:05:01 +0000 (02:05 +0000)]
Merge "Pull the image before running functest container"

6 years agoMerge "[fuel] Retire 'BRIDGE' slave param"
Aric Gardner [Mon, 29 Jan 2018 14:27:18 +0000 (14:27 +0000)]
Merge "[fuel] Retire 'BRIDGE' slave param"

6 years agoPull the image before running functest container 93/51293/1
Linda Wang [Mon, 29 Jan 2018 09:59:04 +0000 (09:59 +0000)]
Pull the image before running functest container

Change-Id: Iebd8a9b558486927c25735d266d3557f91e26a15
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years ago[fuel] Retire 'virtual_kvm' override 71/51271/1
Alexandru Avadanii [Sun, 28 Jan 2018 20:07:12 +0000 (21:07 +0100)]
[fuel] Retire 'virtual_kvm' override

Now that vPDF support landed in Pharos and Fuel repos, disable the
'virtual_kvm' generic override, so we can load POD-specific PDF/IDF.

JIRA: FUEL-322

Change-Id: I0964220a25d6fe30afcbeb3ad1f020ae76d38e5a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoSet lint jobs to run concurrent 11/51211/2
agardner [Fri, 26 Jan 2018 15:54:31 +0000 (10:54 -0500)]
Set lint jobs to run concurrent

Liniting is broken, last fix forgot to run linting concurrent

FATAL: The project is configured to NOT run builds concurrent, but the
node parameter [SLAVE_NAME] is configured to trigger new builds
concurrent!

Change-Id: I1eb4bf7279c7af4e01950b89c515e183fbc57b2d
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoLinting should be done on a build server, not on master 07/51207/3
agardner [Fri, 26 Jan 2018 15:32:04 +0000 (10:32 -0500)]
Linting should be done on a build server, not on master

Linting was broken by this patch
https://gerrit.opnfv.org/gerrit/#/c/50737/

Also added sudo to pip installs, as they are not in a venv

Patch forgot to put linting on build server
so it defaulted to master.

Change-Id: Iba8c1f633fad6d5f3d097f4911f45100c3b43e30
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years ago[daisy] Run functest daily jobs on zte-pod9 65/51165/3
Alex Yang [Fri, 26 Jan 2018 07:20:54 +0000 (15:20 +0800)]
[daisy] Run functest daily jobs on zte-pod9

Change-Id: Ib61cb40b04eed23ad276f261645d83ce7cf00629
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoFix typo in lint-init 67/51167/1
Alex Yang [Fri, 26 Jan 2018 07:47:54 +0000 (15:47 +0800)]
Fix typo in lint-init

Change-Id: I310c4f2e46a26b35eeafef2dfc8670d70ace0575
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoMerge "add 'lint-all-code' as wrapper of lint builders"
Ryota Mibu [Fri, 26 Jan 2018 05:01:14 +0000 (05:01 +0000)]
Merge "add 'lint-all-code' as wrapper of lint builders"

6 years agoMerge "fix yamllint config file"
Ryota Mibu [Fri, 26 Jan 2018 05:00:54 +0000 (05:00 +0000)]
Merge "fix yamllint config file"

6 years ago[fuel] Retire 'BRIDGE' slave param 57/51157/2
Alexandru Avadanii [Fri, 26 Jan 2018 01:19:42 +0000 (02:19 +0100)]
[fuel] Retire 'BRIDGE' slave param

Only Danube still uses this param, newer branches rely on IDF.
Going forward, the `-B` deploy arg will be deprecated in Fuel.

Do not yet remove BRIDGE slave params from non-CI PODs, as
other installers (or custom Danube jobs?) might still use them.

Change-Id: I6d259299d1e13e8a5da732aca60b1f56b8472af6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "[fuel] deploy: Stop using securedlab for master"
Aric Gardner [Thu, 25 Jan 2018 19:09:09 +0000 (19:09 +0000)]
Merge "[fuel] deploy: Stop using securedlab for master"

6 years agoMerge "Pharos Dashboard: Deploy once config is in place"
Trevor Bramwell [Thu, 25 Jan 2018 18:32:04 +0000 (18:32 +0000)]
Merge "Pharos Dashboard: Deploy once config is in place"

6 years agoMerge "[doctor] fix node-label setting"
Ryota Mibu [Thu, 25 Jan 2018 11:05:40 +0000 (11:05 +0000)]
Merge "[doctor] fix node-label setting"

6 years agoxci: Run functest as part of xci-merge jobs 21/51121/2
Fatih Degirmenci [Thu, 25 Jan 2018 10:46:07 +0000 (11:46 +0100)]
xci: Run functest as part of xci-merge jobs

This is yet another messy work to get functest run for xci
as part of merge jobs.

The script is removed from xci-verify jobs in order not to
block patches by -1ing them.

Change-Id: I57254bcfbada7a51da89aba0e7a88f907eb9a525
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoAdd schema valiadator to jinja checker 67/51067/1
agardner [Wed, 24 Jan 2018 17:12:15 +0000 (12:12 -0500)]
Add schema valiadator to jinja checker

Alex has extended the jinja checker to valiate the schema
uses jsonschema

Next step is to enable voting on this job.

Change-Id: I3c61eb3addbb3d41093ada486bf9d8b191fb2028
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years ago[fuel] deploy: Stop using securedlab for master 65/51065/2
Alexandru Avadanii [Wed, 24 Jan 2018 16:53:21 +0000 (17:53 +0100)]
[fuel] deploy: Stop using securedlab for master

Instead of cloning securedlab locally and passing it to Fuel deploy
script, rely on Pharos git repo, embedded as a git submodule in Fuel.

Keep old behavior (using securedlab) for stable/{danube,euphrates}.

Depends-on: Ib04e4fb384568a6efd9e78a080857b663521ae88

Change-Id: Ie30879292ae04b641257760de69c900a9eb4ef84
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoadd 'lint-all-code' as wrapper of lint builders 37/50737/5
Ryota MIBU [Tue, 16 Jan 2018 17:24:08 +0000 (02:24 +0900)]
add 'lint-all-code' as wrapper of lint builders

OPNFV has common coding style [1]. So, all repos shall be checked by
one generic checker builder/job, eventually.

This patch adds lint wrapper builder 'lint-all-code', and also
refactors all exisiting lint and syntax check builders, following
'lint-yaml-code' builder approach, which only checks modified files.
This approach is nice as it won't require immediate fixes of violations
in whole repo code right after the lint checker job is enabled.

Note that lint jobs are still configured to run against some project
repo, in order to seperate discussion; wheter we should apply this
lint job to all OPNFV repo or not immediately.

[1] https://wiki.opnfv.org/display/DEV/Contribution+Guidelines

Change-Id: Ib4ab3ba5dc08845f3016b8be772f4ed119f11b2d
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
6 years ago[doctor] fix node-label setting 25/51025/6
Ryota MIBU [Wed, 24 Jan 2018 02:29:28 +0000 (11:29 +0900)]
[doctor] fix node-label setting

Current doctor verify jobs need to be run on relevant pods which are
specified by slave-label. But, after multijob introduced, the parameter
is not passed to children jobs. Also, 'phase' of project is misleading,
as it isn't multijob's phase.

This patch makes sure each doctor job run on correct pod by updating
node label rule for doctor pod to 'doctor-{installer}-{arch}'.

This patch also merges doctor slave parameter definitions into one,
and deletes unnecessary setting where default are set.

Change-Id: Ic9bf218ae7fb4f9866b510efd1e0ccd19277b78e
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
6 years agofix yamllint config file 29/51029/2
Ryota MIBU [Wed, 24 Jan 2018 06:55:35 +0000 (15:55 +0900)]
fix yamllint config file

pick from https://gerrit.opnfv.org/gerrit/#/c/50737

Change-Id: If5b83c656f33af1740df194ba826b6a31ac10355
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
6 years agoMerge "Add GERRIT_REFSPEC to 'project-parameter' Macro"
Ryota Mibu [Wed, 24 Jan 2018 09:51:48 +0000 (09:51 +0000)]
Merge "Add GERRIT_REFSPEC to 'project-parameter' Macro"

6 years agoMerge "[daisy] Skip signing kolla images"
Serena Feng [Wed, 24 Jan 2018 06:22:12 +0000 (06:22 +0000)]
Merge "[daisy] Skip signing kolla images"

6 years agoMerge "Add lf-pod4 and lf-pod5 to slave params"
Ryota Mibu [Wed, 24 Jan 2018 02:15:58 +0000 (02:15 +0000)]
Merge "Add lf-pod4 and lf-pod5 to slave params"

6 years agoOutput version before Docker builds 17/51017/1
Trevor Bramwell [Tue, 23 Jan 2018 21:57:03 +0000 (13:57 -0800)]
Output version before Docker builds

Its helpful to know which version of docker is being used to build a
project when debugging build failures.

Change-Id: I2bb9c5386d1d69e61c4477913f5f0162acd0c47d
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "Disable Interactivity for and enable Pharos Backup"
Trevor Bramwell [Tue, 23 Jan 2018 18:23:13 +0000 (18:23 +0000)]
Merge "Disable Interactivity for and enable Pharos Backup"

6 years agoAdd GERRIT_REFSPEC to 'project-parameter' Macro 91/50791/2
Trevor Bramwell [Thu, 18 Jan 2018 20:11:00 +0000 (12:11 -0800)]
Add GERRIT_REFSPEC to 'project-parameter' Macro

GERRIT_REFSPEC is always passed by the gerrit-trigger plugin when a job
is triggered by Gerrit. Because it is not explicily defined, there is no
way to manually trigger jobs, as the git clone looks up the list of refs
by GERRIT_REFSPEC.

Being able to manually trigger jobs (with node parameters so they can be
restricted) is very helpful in debugging CI issues.

Change-Id: I8a1d9ea380902fc95f30482e5acb616347709ab1
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "docker: update name and dockerfile location for barometer collectd image....
Fatih Degirmenci [Tue, 23 Jan 2018 10:21:41 +0000 (10:21 +0000)]
Merge "docker: update name and dockerfile location for barometer collectd image.         change build directory to fix build's copy errors "

6 years agoxci: Skip jobs if the scenario is not supported on a distro 77/50977/2
Fatih Degirmenci [Tue, 23 Jan 2018 09:10:52 +0000 (10:10 +0100)]
xci: Skip jobs if the scenario is not supported on a distro

Change-Id: I22d2327558ee1d19d04775da6abf1b3eed5b357a
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoxci: Do not clone and checkout scenario repo if it is releng-xci 41/50941/1
Fatih Degirmenci [Mon, 22 Jan 2018 14:15:55 +0000 (15:15 +0100)]
xci: Do not clone and checkout scenario repo if it is releng-xci

Change-Id: I48cdbfbd5b7746e75565d318616e9c580b5ba156
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoxci: Clone releng-xci repo for phase jobs as well 39/50939/1
Fatih Degirmenci [Mon, 22 Jan 2018 14:00:25 +0000 (15:00 +0100)]
xci: Clone releng-xci repo for phase jobs as well

Forgotten to fix phase jobs.

Change-Id: I50c525089d6d3b4f28650ad78b8810817aaf150e
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoxci: Clone the repo and checkout the patch for testing 35/50935/1
Fatih Degirmenci [Mon, 22 Jan 2018 13:36:47 +0000 (14:36 +0100)]
xci: Clone the repo and checkout the patch for testing

Change-Id: Ie1c2f76b6043133c3821272040b1a2a38de29035
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoxci: Always clone releng-xci into WORKSPACE for merge jobs 33/50933/1
Fatih Degirmenci [Mon, 22 Jan 2018 12:04:18 +0000 (13:04 +0100)]
xci: Always clone releng-xci into WORKSPACE for merge jobs

The cloning of the correct version of the repo which the scenario
resides in will be handled by get-opnfv-scenario-requirements.yml
for all the scenarios.

The change proposed for merge jobs will be reflected to verify jobs
as well once it is verified with this.

Change-Id: Icaa99a8b9e981c839969ce556e5af6a9ef6d9da8
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoxci sfc: Enable post merge deployment 17/50917/2
Fatih Degirmenci [Mon, 22 Jan 2018 09:27:40 +0000 (10:27 +0100)]
xci sfc: Enable post merge deployment

This change enables the deployment upon merge of a change.
Followup patches will incorporate functest smoke and promotion
which the promotion will most likely be the first one as functest
parts are a bit tricky due to failures while running testing
in VMs.

Apart from the enablement of the deployments, job concurrency is
disabled as well since we should only test one change at a time
and attempt promotion for any scenario in order to ensure we keep
the promotion consistent.

Change-Id: Ib4b5754b6b88f42eab83c656e03773c83068016f
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoxci: Convert execute shell scripts to external scripts 13/50913/4
Fatih Degirmenci [Mon, 22 Jan 2018 08:51:44 +0000 (09:51 +0100)]
xci: Convert execute shell scripts to external scripts

The scripts used by verify jobs to create VMs, start deployments,
run functest, and do cleanup for CI can be reused by other jobs as
well so they are moved out of the yaml file.

Apart from that, if we decide to change the way we run CI (not
using VMs for performance reasons), we don't have to make big changes
to yaml either.

Change-Id: I2df1f2d60f999bcd7d53a5cd879112a5b2b0ca05
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoMerge "RFC: Set the basic structure for post merge jobs"
Fatih Degirmenci [Fri, 19 Jan 2018 08:26:52 +0000 (08:26 +0000)]
Merge "RFC: Set the basic structure for post merge jobs"

6 years agoMerge "Disable the triggers for euphrates in armband"
Aric Gardner [Thu, 18 Jan 2018 16:39:26 +0000 (16:39 +0000)]
Merge "Disable the triggers for euphrates in armband"

6 years agoDisable the triggers for euphrates in armband 83/50783/1
Cristina Pauna [Thu, 18 Jan 2018 16:26:17 +0000 (18:26 +0200)]
Disable the triggers for euphrates in armband

Change-Id: I738b4eb712bc85ee3327a9be55f4990000ff28c8
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 years ago[daisy] delete tmp dir with sudo 53/50753/1
Alex Yang [Thu, 18 Jan 2018 06:13:00 +0000 (14:13 +0800)]
[daisy] delete tmp dir with sudo

Permission denied occured in [1].

[1]: https://build.opnfv.org/ci/job/daisy-deploy-zte-pod9-daily-master/7/console

Change-Id: Ic7e67eed8a121cae0ea2c05ab4cc9005358fcda5
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoPharos Dashboard: Deploy once config is in place 45/50745/1
Trevor Bramwell [Wed, 17 Jan 2018 22:03:04 +0000 (14:03 -0800)]
Pharos Dashboard: Deploy once config is in place

Since configuration has shifted out of the docker-compose.yml file and
the workspace gets recreated ever job, the config.env file needs to be
copied into place before each deployment.

JIRA: PHAROS-316

Change-Id: I8c80f1148ad268428defa2f7eb1877d821a11491
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "Create job to deploy Pharos Dashboard"
Trevor Bramwell [Wed, 17 Jan 2018 22:00:49 +0000 (22:00 +0000)]
Merge "Create job to deploy Pharos Dashboard"

6 years agoAdd lf-pod4 and lf-pod5 to slave params 43/50743/1
Trevor Bramwell [Wed, 17 Jan 2018 18:11:42 +0000 (10:11 -0800)]
Add lf-pod4 and lf-pod5 to slave params

Change-Id: I3ca61f015c07cbf3bd67acd7972d9a1e0011f21d
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>