releng/builder.git
23 months agoAdd transportpce models verify jobs 00/102500/1
Cédric Ollivier [Wed, 28 Sep 2022 08:17:56 +0000 (10:17 +0200)]
Add transportpce models verify jobs

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ib2615d6f63da74218d1b4fe54f7abc70d5dc4bf3

23 months agoCI: Add version bump job for Chlorine 74/102474/1
Anil Belur [Sat, 24 Sep 2022 00:29:21 +0000 (10:29 +1000)]
CI: Add version bump job for Chlorine

Version bump job is required for branch cutting
stable/chlorine.

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I06b82a0eb9852cada3bad25d78d11ad0adaf5b33

2 years agoFix: Submit release note to the same branch 47/102447/4
Sangwook Ha [Thu, 22 Sep 2022 22:09:01 +0000 (15:09 -0700)]
Fix: Submit release note to the same branch

The release note created by 'genenrate-release-notes.sh' is pushed to
the master branch. Make sure the change is submitted to the same branch
in Gerrit.

And remove the sed command to append a new release note file in the
'index.rst' file since the file already includes a wildcard match
'release-notes-*'.

Change-Id: Id396d8fec4eae97b627fa490ea20b2c5f437b998
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoFix: Update git-review to 2.3.1 37/102437/4
Anil Belur [Thu, 22 Sep 2022 10:33:00 +0000 (20:33 +1000)]
Fix: Update git-review to 2.3.1

The previous version of git-review is incompatible with the latest
version of git due to renaming flags.

Error:

Errors running git rebase -p -i remotes/gerrit/master
fatal: --preserve-merges was replaced by --rebase-merges

This is fixed in 2.2.0, upgrade to 2.3.1 its more recent.

Address the submodule update issues affecting the autorelease-* jobs:

git-review tries to copy commit-msg hook to submodules with incorrect
source file path (.git/hooks/commit-msg) and fails - the path should
be ../.git/hooks/commit-msg if a relative path is used since the copy
command is run in the submodule directory

lf-activate-venv creates a virtual environment in the current working
directory where lf-activate-venv is run. This clutters the repository
and all the files for the virtual environment are added for update.

To address the bug of git-review set 'core.hooksPath' with the absolute
path of the top-level hooks directory so that the correct source path
can be used regardless of the working directory.

Ref: https://review.opendev.org/c/opendev/git-review/+/818219
Ref: https://gerrit.linuxfoundation.org/infra/c/releng/global-jjb/+/70648
Change-Id: I614ccf4b22343cd234e6a63a79b97252eae4abd6
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoChore: Update global-jjb to the latest v0.81.3 36/102436/1
Anil Belur [Thu, 22 Sep 2022 10:35:40 +0000 (20:35 +1000)]
Chore: Update global-jjb to the latest v0.81.3

Change-Id: I0b78f41590534ecfb0056c96c3ddbbd7a24fbaa8
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoUpdate cloud image list docs 16/102416/3
jenkins-releng [Wed, 21 Sep 2022 11:02:54 +0000 (11:02 +0000)]
Update cloud image list docs

Job: builder-update-image-list/1501
Change-Id: Icdb1b6852eac35247f2a5bdcf055b943119ad1da
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
2 years agoUse lf-update-java-alternatives for distribution templates 18/102418/2
Sangwook Ha [Tue, 20 Sep 2022 21:49:36 +0000 (14:49 -0700)]
Use lf-update-java-alternatives for distribution templates

distribution-check-bootup.sh sets JAVA_HOME based on JDKVERSION defined
with 'integration-jdk-version' parameter set from 'jre'. But it's not
used consistently - some templates do not define the parameter. And
often 'jre' is not updated as required.

Use 'lf-update-java-alternative' to set JAVA_HOME environment in a more
consistent manner and remove duplicate code used to set the Java
environment.

Also, address some shellcheck warnings in distribution-check-bootup.sh.

Change-Id: I78398734628e3ac0a53417b484bee3a9168672d9
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoUse cento8 builder for distribution templates 17/102417/1
Sangwook Ha [Tue, 20 Sep 2022 18:51:36 +0000 (11:51 -0700)]
Use cento8 builder for distribution templates

Distribution jobs for Chlorine requires CentOS 8 builder.
Update the node configuration in distribution-templates.

Change-Id: I190f64573eaf29dab07bedf892197ea18c1a019f
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoChore: Update global-jjb to the latest v0.81.2 13/102413/1
Anil Belur [Mon, 19 Sep 2022 03:53:47 +0000 (13:53 +1000)]
Chore: Update global-jjb to the latest v0.81.2

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Idea7fb23035302f0883e4fc6fb3ae38b97a78b27

2 years agoMerge "Use latest Ubuntu 18.04 image for tools system"
Robert Varga [Sat, 17 Sep 2022 11:17:39 +0000 (11:17 +0000)]
Merge "Use latest Ubuntu 18.04 image for tools system"

2 years agoUse latest Ubuntu 18.04 image for tools system 06/102406/1
Sangwook Ha [Sat, 17 Sep 2022 07:30:13 +0000 (00:30 -0700)]
Use latest Ubuntu 18.04 image for tools system

Update of tools_system_image to the latest Ubuntu 18.04 image
(20220915-223016.788) was lost in CR I219ae52e4. Fix that up.

Change-Id: I2a5818f40c90a592b4d84ab8b96e394bc241adc3
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoCI: Update int/dist manged file settings 05/102405/1
Anil Belur [Sat, 17 Sep 2022 02:11:56 +0000 (12:11 +1000)]
CI: Update int/dist manged file settings

Update integration/dist managed file with the Nexus3, docker.io
and helm repo settings.

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Iba8ebb7ffa6fc68a40e578fcce644e53967820c9

2 years agoMerge "Update cloud image list docs"
Robert Varga [Fri, 16 Sep 2022 11:52:38 +0000 (11:52 +0000)]
Merge "Update cloud image list docs"

2 years agoMerge "Update cloud image Ubuntu18.04 helm x86_64"
Robert Varga [Fri, 16 Sep 2022 11:52:04 +0000 (11:52 +0000)]
Merge "Update cloud image Ubuntu18.04 helm x86_64"

2 years agoMerge "Update Java version & build node for Sonar jobs"
Robert Varga [Fri, 16 Sep 2022 11:50:54 +0000 (11:50 +0000)]
Merge "Update Java version & build node for Sonar jobs"

2 years agoUpdate cloud image list docs 97/102397/1
jenkins-releng [Fri, 16 Sep 2022 11:02:21 +0000 (11:02 +0000)]
Update cloud image list docs

Job: builder-update-image-list/1498
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I9eb05931b86fd7fd0a26e37056117f3aa04d10ee

2 years agoUpdate Java version & build node for Sonar jobs 94/102394/1
Sangwook Ha [Thu, 15 Sep 2022 22:51:16 +0000 (15:51 -0700)]
Update Java version & build node for Sonar jobs

Chlorine requires Java 17 & CentOS 8. Update the configuration of
Jenkins Sonar jobs for the following projects:

- bgpcep
- daexim
- jsonrpc
- lispflowmapping
- openflowplugin
- ovsdb
- serviceutils

Also, remove unnecessary 'mvn-goals' from lispflowmapping,
openflowplugin & ovsdb - this causes build failure in the sandbox.

Change-Id: Iae5d02800c85b5a86492af4f3967122fb33752e4
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoUpdate cloud image Ubuntu18.04 helm x86_64 93/102393/1
jenkins-releng [Fri, 16 Sep 2022 00:23:16 +0000 (00:23 +0000)]
Update cloud image Ubuntu18.04 helm x86_64

Job: builder-openstack-update-cloud-image/435
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: Id47244af4c765d1e5ff45c3f49a7b69cd3f60eab

2 years agoUpdate cloud image Ubuntu18.04 mininet ovs 92/102392/2
jenkins-releng [Thu, 15 Sep 2022 23:03:05 +0000 (23:03 +0000)]
Update cloud image Ubuntu18.04 mininet ovs

Job: builder-openstack-update-cloud-image/433
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I219ae52e405bd8f8ce6619af3ad352dc7888b5c7
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoUpdate cloud image CentOS7 devstack rocky 90/102390/2
jenkins-releng [Thu, 15 Sep 2022 22:49:17 +0000 (22:49 +0000)]
Update cloud image CentOS7 devstack rocky

Job: builder-openstack-update-cloud-image/431
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: Ib2d9120a4a0f15618f67ba1c31b81ea09df146db
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2 years agoMerge "Update cloud image CentOS7 docker x86_64"
Andrew Grimberg [Thu, 15 Sep 2022 23:09:27 +0000 (23:09 +0000)]
Merge "Update cloud image CentOS7 docker x86_64"

2 years agoUpdate cloud image CentOS7 devstack stein 91/102391/1
jenkins-releng [Thu, 15 Sep 2022 22:57:18 +0000 (22:57 +0000)]
Update cloud image CentOS7 devstack stein

Job: builder-openstack-update-cloud-image/432
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I404dcfec7cfa89018b0364afe7f96f2458968423

2 years agoMerge "Update cloud image CentOS7 robot x86_64"
Andrew Grimberg [Thu, 15 Sep 2022 22:45:19 +0000 (22:45 +0000)]
Merge "Update cloud image CentOS7 robot x86_64"

2 years agoMerge "Update cloud image CentOS7 devstack x86_64"
Andrew Grimberg [Thu, 15 Sep 2022 22:44:01 +0000 (22:44 +0000)]
Merge "Update cloud image CentOS7 devstack x86_64"

2 years agoUpdate cloud image CentOS7 docker x86_64 89/102389/1
jenkins-releng [Thu, 15 Sep 2022 22:43:20 +0000 (22:43 +0000)]
Update cloud image CentOS7 docker x86_64

Job: builder-openstack-update-cloud-image/430
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I3b344ecb0297c93d9667ecc9e669f6f7a5987402

2 years agoUpdate cloud image CentOS7 robot x86_64 88/102388/1
jenkins-releng [Thu, 15 Sep 2022 22:36:21 +0000 (22:36 +0000)]
Update cloud image CentOS7 robot x86_64

Job: builder-openstack-update-cloud-image/429
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I354ba5844a1b5b9d8474c8b727c504370dd0c584

2 years agoUpdate cloud image CentOS7 helm x86_64 87/102387/1
jenkins-releng [Thu, 15 Sep 2022 22:34:03 +0000 (22:34 +0000)]
Update cloud image CentOS7 helm x86_64

Job: builder-openstack-update-cloud-image/428
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I0dfec56f0e62bd09abdcd4df0d73b63ee5fb004c

2 years agoUpdate cloud image CentOS7 devstack x86_64 86/102386/1
jenkins-releng [Thu, 15 Sep 2022 22:31:45 +0000 (22:31 +0000)]
Update cloud image CentOS7 devstack x86_64

Job: builder-openstack-update-cloud-image/427
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I7b306d70f8aae5795d1dcb945d0006129dfdce90

2 years agoMerge "Update cloud image CentOS7 builder x86_64"
Andrew Grimberg [Thu, 15 Sep 2022 22:28:17 +0000 (22:28 +0000)]
Merge "Update cloud image CentOS7 builder x86_64"

2 years agoUpdate cloud image CentOS7 builder x86_64 85/102385/1
jenkins-releng [Thu, 15 Sep 2022 21:31:46 +0000 (21:31 +0000)]
Update cloud image CentOS7 builder x86_64

Job: builder-openstack-update-cloud-image/426
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I3b247a6a55ab7bdca07636062b016ee7c85709f3

2 years agoUse lf-activate-venv for Robot virtual environment 84/102384/1
Sangwook Ha [Thu, 15 Sep 2022 17:58:09 +0000 (10:58 -0700)]
Use lf-activate-venv for Robot virtual environment

The virtual environment for Robot Framework is created with the system
default Python 3.6 which is not supported any more.

Use lf-activate-venv instead to leverage more recent version of Python
and change the shell back to bash since 'lf-env.sh' is not POSIX
compliant.

Remove odltools from the requirements since odltools CSIT jobs have been
removed.

Change-Id: I62f9d580b77a877572a78730d43b99e6c419d215
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoRemove odltools CSIT jobs 83/102383/1
Sangwook Ha [Sun, 11 Sep 2022 04:17:15 +0000 (21:17 -0700)]
Remove odltools CSIT jobs

odltools is not actively used or developed any more and its installation
requirements (requests~=2.19.1) causes pip dependency resolution failure
with the latest pip.

Remove the CSIT jobs for odltools and also inttest-csit-1node-custom.
The custom template is not used any more.

Change-Id: Ie7130c7a760a0a61b344b16d4a8b6b6bd6424aed
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoChore: Update global-jjb to the latest v0.81.1 81/102381/1
Anil Belur [Thu, 15 Sep 2022 07:02:34 +0000 (17:02 +1000)]
Chore: Update global-jjb to the latest v0.81.1

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I22661114df85550f5d1d0ea24588a6877a22eeb4

2 years agoFix: Update lf-activate-venv 98/102298/8
Anil Belur [Tue, 6 Sep 2022 21:42:45 +0000 (07:42 +1000)]
Fix: Update lf-activate-venv

Add lf-activate-venv to install lftools, OS deps before
using the CLI. This sets the required environment.

The change requires the releng/global-jjb CR: 70597
and a updated release of global-jjb.

Change-Id: Ic3efbdec3574bec17add3910785af1e503298965
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoMerge "Chore: Update global-jjb to the latest v0.81.0"
Anil Belur [Tue, 13 Sep 2022 23:26:44 +0000 (23:26 +0000)]
Merge "Chore: Update global-jjb to the latest v0.81.0"

2 years agoChore: Update global-jjb to the latest v0.81.0 59/102359/1
Anil Belur [Tue, 13 Sep 2022 23:23:47 +0000 (09:23 +1000)]
Chore: Update global-jjb to the latest v0.81.0

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I59d3eb3b7adb9ac25ec7a9435668ee93ffb55cf9

2 years agoFix: Disable recursive submodule updates 12/102312/1
Anil Belur [Fri, 9 Sep 2022 03:22:32 +0000 (13:22 +1000)]
Fix: Disable recursive submodule updates

The auto update images tries to update git-hooks for the submodules
and fails in this process. Disable the recursive submodules fixes the
issue since we are not maintain image config in the submodules.

This also require a  more recent version of git-review > 2.2
due to changes in flags, fixed in global-jjb CR: 70599.

Error:
The following command failed with exit code 128
"git submodule foreach cp -p .git/hooks/commit-msg "$(git rev-parse --git-dir)/hooks/""
-----------------------
Entering 'global-jjb'
cp: cannot stat '.git/hooks/commit-msg': Not a directory
fatal: run_command returned non-zero status for global-jjb
-----------------------

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ic129a7f01f632864af2d4f2ae17ce2c96475a83e
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoClean netvirt csit jobs 09/102309/6
Luis Gomez [Thu, 8 Sep 2022 01:37:57 +0000 (18:37 -0700)]
Clean netvirt csit jobs

Change-Id: Ib3f491775f958b96bb685cce93cc9d489adabaf7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
2 years agoMerge "Revert "Fix: bashisms - step 2""
Andrew Grimberg [Tue, 6 Sep 2022 13:17:05 +0000 (13:17 +0000)]
Merge "Revert "Fix: bashisms - step 2""

2 years agoRevert "Fix: bashisms - step 2" 95/102295/1
Anil Belur [Tue, 6 Sep 2022 07:23:12 +0000 (17:23 +1000)]
Revert "Fix: bashisms - step 2"

This reverts commit 71ab2645c80c9c6c8c7f9eec9ca6e350dc1ee272.

The original commits fails the openstack jobs with the following error:

[builder-update-image-list] $ /bin/sh -l /tmp/jenkins9084563766671196003.sh
/home/jenkins/lf-env.sh: line 44: `lf-echo-stderr': not a valid identifier

Change-Id: I4d4d3ba08fe36f2b2e385bdfdd5918fa24b09e36
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoUpdate cloud image list docs 94/102294/1
jenkins-sandbox [Tue, 6 Sep 2022 07:27:24 +0000 (07:27 +0000)]
Update cloud image list docs

Job: builder-update-image-list/8
Signed-off-by: jenkins-sandbox <jenkins-sandbox@opendaylight.org>
Change-Id: I3d6ff02614e6b976a2650acf6c0d85fb32715e27

2 years agoMerge "Fix: Use lf-activate-venv to install openstack dep"
Robert Varga [Mon, 5 Sep 2022 13:44:04 +0000 (13:44 +0000)]
Merge "Fix: Use lf-activate-venv to install openstack dep"

2 years agoFix: Use lf-activate-venv to install openstack dep 50/102250/4
Anil Belur [Thu, 1 Sep 2022 04:19:30 +0000 (14:19 +1000)]
Fix: Use lf-activate-venv to install openstack dep

Some of the platform/flavors does not include most reecnt python update
as system packages, so use pyenv (through lf-activate-venv) for
most recent version of python 3.x.

Use of python-tools-install.sh for the pre/post build is not recommended
approach for installing python dependencies since this installs the
dependencies with `--user` option (removed in I821a86ac3b54f284e8)
and ends up with pinning depenendencies with older packages.

Instead use lf-activate-venv to setup an venv and pull in the required
dependencies and save the path of the virtualenv in a temp file that
can be checked before attempting to create a venv.

Change-Id: I00bbf08921a3ddc6349e74e9cd9d6316b0876749
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoCI: Update ci-workshop job node to centos8 67/102267/1
Andrew Grimberg [Sun, 4 Sep 2022 20:45:58 +0000 (13:45 -0700)]
CI: Update ci-workshop job node to centos8

Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Change-Id: Idf72bccedc3b7e8dc85101099c55142c69590d29

2 years agoChore: Update global-jjb to the latest v0.80.2 66/102266/1
Anil Belur [Fri, 2 Sep 2022 22:56:26 +0000 (08:56 +1000)]
Chore: Update global-jjb to the latest v0.80.2

Change-Id: Icdcdbf8a8241d9402d25d269f83e18ac38485cc9
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoMerge "Update netconf/master jjb configuration"
Robert Varga [Fri, 2 Sep 2022 17:17:17 +0000 (17:17 +0000)]
Merge "Update netconf/master jjb configuration"

2 years agoCI: Update build node to CentOS8 61/102261/1
Anil Belur [Fri, 2 Sep 2022 05:53:56 +0000 (15:53 +1000)]
CI: Update build node to CentOS8

Change-Id: I9544e3ee8589cd8a45bfa2a2c83b3af97608354f
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoCI: Remove references to devstack queens images 49/102249/1
Anil Belur [Thu, 1 Sep 2022 02:14:43 +0000 (12:14 +1000)]
CI: Remove references to devstack queens images

Devstack queens images are no longer being built or used and is
failing cron jobs to fail since the older images no longer exsit.

"Error: No Image found for ZZCI - CentOS 7 - devstack-queens - x86_64 -
20210120-225008.045"

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I02c1493aa38240d87d6cc34b7503d3c8ca560e62

2 years agoMerge "Update transportpce/master jjb configuration"
Anil Belur [Tue, 30 Aug 2022 21:43:47 +0000 (21:43 +0000)]
Merge "Update transportpce/master jjb configuration"

2 years agoMerge "Chore: Update global-jjb to latest v0.80.1"
Anil Belur [Tue, 30 Aug 2022 21:41:47 +0000 (21:41 +0000)]
Merge "Chore: Update global-jjb to latest v0.80.1"

2 years agoMerge "Chore: Clean up mininet-ovs-2.5"
Anil Belur [Tue, 30 Aug 2022 21:41:26 +0000 (21:41 +0000)]
Merge "Chore: Clean up mininet-ovs-2.5"

2 years agoMerge "Chore: Clean up mininet ovs 2.6"
Anil Belur [Tue, 30 Aug 2022 21:41:20 +0000 (21:41 +0000)]
Merge "Chore: Clean up mininet ovs 2.6"

2 years agoChore: Update global-jjb to latest v0.80.1 44/102244/1
Anil Belur [Tue, 30 Aug 2022 13:58:51 +0000 (23:58 +1000)]
Chore: Update global-jjb to latest v0.80.1

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I5e2af2b41f95af4d76ba58fead887fd533c242c1

2 years agoChore: Update cloud image CentOS7 builder x86_64 43/102243/1
Anil Belur [Tue, 30 Aug 2022 08:23:44 +0000 (18:23 +1000)]
Chore: Update cloud image CentOS7 builder x86_64

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I7245502094a86e0b94cfff41eba876890d58c704

2 years agoUpdate transportpce/master jjb configuration 24/102224/2
guillaume.lambert [Thu, 25 Aug 2022 16:45:09 +0000 (18:45 +0200)]
Update transportpce/master jjb configuration

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ie8421eccb3d4f25997332d697349a9a91b9a79c0

2 years agoChore: Clean up mininet-ovs-2.5 12/102212/1
Anil Belur [Wed, 24 Aug 2022 22:34:55 +0000 (08:34 +1000)]
Chore: Clean up mininet-ovs-2.5

mininet and ovs 25 was only used with 16.04 and
no longer being packaged with any of the Ubuntu
builders or CSIT jobs.

Change-Id: I055df5856c705b7d6816935d8b5f9b6b838eb4fe
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoChore: Clean up mininet ovs 2.6 11/102211/1
Anil Belur [Wed, 24 Aug 2022 22:33:20 +0000 (08:33 +1000)]
Chore: Clean up mininet ovs 2.6

mininet and ovs 2.6 was only used with 16.04 and
no longer being packaged with any of the Ubuntu
builders.

Change-Id: I88f451b4d578423d31c9e5eb17839006caf7d021
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoUpdate netconf/master jjb configuration 10/102210/1
guillaume.lambert [Tue, 23 Aug 2022 13:30:15 +0000 (15:30 +0200)]
Update netconf/master jjb configuration

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I956a5aa412438bee3746e261e4c7dee2f39d11d0

2 years agoCI: Build Ubuntu 20.04 helm image 04/102204/1
Anil Belur [Mon, 22 Aug 2022 12:18:37 +0000 (22:18 +1000)]
CI: Build Ubuntu 20.04 helm image

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I2c4b3726404382f43959ed2910579abb608483cf

2 years agoMerge "Fixup sulfur/jdk17 verify jobs"
Robert Varga [Sun, 21 Aug 2022 17:28:23 +0000 (17:28 +0000)]
Merge "Fixup sulfur/jdk17 verify jobs"

2 years agoSwitch distribution-csit-managed to CentOS8 90/102190/1
Robert Varga [Sat, 20 Aug 2022 21:04:38 +0000 (23:04 +0200)]
Switch distribution-csit-managed to CentOS8

distribution-csit-managed-chlorine is failing rather completely due to
use of CentOS7 images, which do not have Java 17. Switch to CentOS8
instead.

Change-Id: I94736960edec77d4e68283e5ee027bc886d737c7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoMerge "Fix: bashisms - step 2"
Robert Varga [Sat, 20 Aug 2022 14:35:57 +0000 (14:35 +0000)]
Merge "Fix: bashisms - step 2"

2 years agoMerge changes from topic "bashisms"
Robert Varga [Sat, 20 Aug 2022 14:06:43 +0000 (14:06 +0000)]
Merge changes from topic "bashisms"

* changes:
  Chore: migrate some scripts shebang to sh
  Fix: sourced files w/o arg bashisms

2 years agoMerge "Fix: bashisms - step 1"
Robert Varga [Sat, 20 Aug 2022 14:00:33 +0000 (14:00 +0000)]
Merge "Fix: bashisms - step 1"

2 years agoFixup sulfur/jdk17 verify jobs 82/102182/1
Robert Varga [Sat, 20 Aug 2022 13:41:26 +0000 (15:41 +0200)]
Fixup sulfur/jdk17 verify jobs

We have whitespace errors in build-node override, fix those up.

Change-Id: I0751e90842c7884d9f265b812469c0e30602284d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUpdate xpath commands 45/102145/3
Sangwook Ha [Thu, 18 Aug 2022 06:07:56 +0000 (23:07 -0700)]
Update xpath commands

'xpath' command in CentOS 8 uses the following format:

  xpath [options] -e query [-e query...] [filename...]

instead of this in CentOS 7:

  xpath [filename] query

Update the commands in the shell scripts to follow the new format with
the old one as a fallback to support both versions.

Change-Id: I4a99a7f18e69d2d1c4c67aca16a4a6ab57618cb2
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoFix: incorrect indent for job param 29/102129/1
Anil Belur [Wed, 17 Aug 2022 10:17:53 +0000 (20:17 +1000)]
Fix: incorrect indent for job param

JJB sometimes siliently ignore the param with
incorrect indent.

Change-Id: I37e39fc1737f9978249c0040e5f4b96b22aae1ac
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoFix: bashisms - step 2 86/102086/1
guillaume.lambert [Fri, 12 Aug 2022 12:03:31 +0000 (14:03 +0200)]
Fix: bashisms - step 2

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Icd012c1231524a7143893281f041b090d70e4069

2 years agoChore: migrate some scripts shebang to sh 83/102083/1
guillaume.lambert [Tue, 16 Aug 2022 09:34:59 +0000 (11:34 +0200)]
Chore: migrate some scripts shebang to sh

There is no reason to force the use of bash in scripts w/o any bashism.
Shell scripts w/o shebangs may behave unpredictably during migrations.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Idc765b4e95b300ccefc86b8649dcb291dc1cafeb

2 years agoFix: sourced files w/o arg bashisms 82/102082/1
guillaume.lambert [Tue, 16 Aug 2022 09:16:51 +0000 (11:16 +0200)]
Fix: sourced files w/o arg bashisms

The "source" command is only supported by a limited number of shells.
It is normally equivalent to the POSIX "." (pronounced "dot") command.
Contrary to sourced files, dotted files in bash does not allow any
extra argument since it is normally not supported in POSIX.
If no argument is specified, "source" and "." are strictly equivalent.
And sourced files can be straightforward migrated to the dot syntax.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Id902674c3eef31ce9633c2fc4fc2678da428f832

2 years agoMerge "Use openjdk17 for Chlorine CSIT tests"
Robert Varga [Tue, 16 Aug 2022 07:34:28 +0000 (07:34 +0000)]
Merge "Use openjdk17 for Chlorine CSIT tests"

2 years agoMerge "Chore: Move odl_system_image to CentOS 8 builder"
Robert Varga [Tue, 16 Aug 2022 07:34:01 +0000 (07:34 +0000)]
Merge "Chore: Move odl_system_image to CentOS 8 builder"

2 years agoMerge "Update cloud image list docs"
Anil Belur [Tue, 16 Aug 2022 01:31:44 +0000 (01:31 +0000)]
Merge "Update cloud image list docs"

2 years agoChore: Move odl_system_image to CentOS 8 builder 80/102080/1
Anil Belur [Tue, 16 Aug 2022 01:26:04 +0000 (11:26 +1000)]
Chore: Move odl_system_image to CentOS 8 builder

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ib4b64c12c9574be84531bea52d999104d5dc7ad7

2 years agoUse openjdk17 for Chlorine CSIT tests 79/102079/2
Sangwook Ha [Mon, 15 Aug 2022 18:35:15 +0000 (11:35 -0700)]
Use openjdk17 for Chlorine CSIT tests

Chlorine requires Java 17. Set the Java runtime for the CSIT & patch
tests to openjdk17.

Change-Id: I5bc6bc20d284a4910d9952852ac4aa484de5efb0
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
2 years agoSwitch robot nodes to CentOS8 76/102076/2
Robert Varga [Mon, 15 Aug 2022 09:35:24 +0000 (11:35 +0200)]
Switch robot nodes to CentOS8

We cannot run CSIT with Java 11, and Java 17 is not supported on
CentOS7 images. Furthermore, as per RELENG-75, there can only be one
type of robot VM.

Switch to using CentOS8 robot nodes.

Change-Id: Iab9ba8b55584063abe340da989f16123386767ac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUpdate cloud image list docs 77/102077/1
jenkins-releng [Mon, 15 Aug 2022 11:05:11 +0000 (11:05 +0000)]
Update cloud image list docs

Job: builder-update-image-list/1468
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I3256688b6b1652525ee0eb1213347018fd01621b

2 years agoFix: bashisms - step 1 66/102066/2
guillaume.lambert [Fri, 12 Aug 2022 10:32:37 +0000 (12:32 +0200)]
Fix: bashisms - step 1

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I8656682794a3fe65f5644f027471c382ced73826

2 years agoMerge changes from topic "bashisms"
Robert Varga [Fri, 12 Aug 2022 21:49:14 +0000 (21:49 +0000)]
Merge changes from topic "bashisms"

* changes:
  Chore: add a checkbashism tox profile
  Clean bashisms in jjb distribution-check-bootup.sh

2 years agoMerge "Update cloud image list docs"
Robert Varga [Fri, 12 Aug 2022 21:43:50 +0000 (21:43 +0000)]
Merge "Update cloud image list docs"

2 years agoMerge "Chore: Add CentOS8 robot image"
Robert Varga [Fri, 12 Aug 2022 21:43:21 +0000 (21:43 +0000)]
Merge "Chore: Add CentOS8 robot image"

2 years agoMerge "Update cloud image CentOS7 devstack stein"
Anil Belur [Fri, 12 Aug 2022 14:12:21 +0000 (14:12 +0000)]
Merge "Update cloud image CentOS7 devstack stein"

2 years agoUpdate cloud image list docs 67/102067/1
jenkins-releng [Fri, 12 Aug 2022 11:05:29 +0000 (11:05 +0000)]
Update cloud image list docs

Job: builder-update-image-list/1467
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: If24729acf1dd69ae4f20e7012114d1f0b8b21266

2 years agoChore: add a checkbashism tox profile 65/102065/1
guillaume.lambert [Fri, 12 Aug 2022 10:01:12 +0000 (12:01 +0200)]
Chore: add a checkbashism tox profile

Add a checkbashism tox profile with -f option to ease potential
bashisms detection and fixes.
Until the repository is completely cleaned, this profile does not appear
in envlist and cannot be enforced in the CI.

Though bash is a good interactive user shell, many GNU+Linux
distributions now prefer Almquist or Kornshell variants as their default
underlying system shell. They improve the system performance and the
maintenability of their scripts.

https://wiki.ubuntu.com/DashAsBinSh
https://mywiki.wooledge.org/Bashism
https://en.wikipedia.org/wiki/Almquist_shell

Removing bashisms ensures compatibility with them and also other POSIX
shells often found in MAC OS and BSD and other UN*X systems.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I81b2f0f0eeb679728aeaab5c2c2a75b2250b1056

2 years agoClean bashisms in jjb distribution-check-bootup.sh 40/102040/3
guillaume.lambert [Wed, 10 Aug 2022 15:05:08 +0000 (17:05 +0200)]
Clean bashisms in jjb distribution-check-bootup.sh

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I007ad913877a8fa55fb8a0feb3b84a7d1d5b3f2c

2 years agoCI: Fix robot images to build with CentOS7/8 64/102064/1
Anil Belur [Fri, 12 Aug 2022 09:27:03 +0000 (19:27 +1000)]
CI: Fix robot images to build with CentOS7/8

Issue-ID: LF-JIRA RELENG-4365
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ib40b61526591303f3c0f0b2b19e513f22817c1f0

2 years agoChore: Add CentOS8 robot image 63/102063/1
Anil Belur [Fri, 12 Aug 2022 00:53:21 +0000 (10:53 +1000)]
Chore: Add CentOS8 robot image

Issue-ID: LF-JIRA RELENG-4365
Change-Id: I5b444d67aa06199683a822025fa792f6e5f3216c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoUpdate cloud image CentOS7 devstack stein 58/102058/2
jenkins-releng [Thu, 11 Aug 2022 11:53:19 +0000 (11:53 +0000)]
Update cloud image CentOS7 devstack stein

Job: builder-openstack-update-cloud-image/377
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I38b635bbb9cbb855c997e37b8f1dc1ab474e69bd

2 years agoMerge "Clean bashisms in jjb integration-set-variables.sh"
Robert Varga [Thu, 11 Aug 2022 16:01:30 +0000 (16:01 +0000)]
Merge "Clean bashisms in jjb integration-set-variables.sh"

2 years agoMerge "Update cloud image Ubuntu18.04 helm x86_64"
Anil Belur [Thu, 11 Aug 2022 13:33:22 +0000 (13:33 +0000)]
Merge "Update cloud image Ubuntu18.04 helm x86_64"

2 years agoUpdate cloud image Ubuntu18.04 helm x86_64 62/102062/1
jenkins-releng [Thu, 11 Aug 2022 12:07:06 +0000 (12:07 +0000)]
Update cloud image Ubuntu18.04 helm x86_64

Job: builder-openstack-update-cloud-image/381
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: Ib6c9234eeac9f2750d138688743798754da89482

2 years agoMerge "Update cloud image CentOS7 builder x86_64"
Anil Belur [Thu, 11 Aug 2022 12:06:48 +0000 (12:06 +0000)]
Merge "Update cloud image CentOS7 builder x86_64"

2 years agoMerge "Update cloud image CentOSStream8 builder x86_64"
Anil Belur [Thu, 11 Aug 2022 12:06:11 +0000 (12:06 +0000)]
Merge "Update cloud image CentOSStream8 builder x86_64"

2 years agoMerge "Update cloud image CentOS7 docker x86_64"
Anil Belur [Thu, 11 Aug 2022 12:05:48 +0000 (12:05 +0000)]
Merge "Update cloud image CentOS7 docker x86_64"

2 years agoMerge "Update cloud image CentOS7 helm x86_64"
Anil Belur [Thu, 11 Aug 2022 12:05:40 +0000 (12:05 +0000)]
Merge "Update cloud image CentOS7 helm x86_64"

2 years agoUpdate cloud image CentOS7 devstack rocky 61/102061/1
jenkins-releng [Thu, 11 Aug 2022 12:03:30 +0000 (12:03 +0000)]
Update cloud image CentOS7 devstack rocky

Job: builder-openstack-update-cloud-image/380
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I51a247bde91ea2b693d183d942beb0697acb9d9f

2 years agoUpdate cloud image CentOS7 helm x86_64 60/102060/1
jenkins-releng [Thu, 11 Aug 2022 11:59:50 +0000 (11:59 +0000)]
Update cloud image CentOS7 helm x86_64

Job: builder-openstack-update-cloud-image/379
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I2719608b496abf58f3bb93d7795559c7332c6b29

2 years agoUpdate cloud image CentOS7 docker x86_64 59/102059/1
jenkins-releng [Thu, 11 Aug 2022 11:56:12 +0000 (11:56 +0000)]
Update cloud image CentOS7 docker x86_64

Job: builder-openstack-update-cloud-image/378
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I6e4ad122804f164c82d95ab1c532d239e9b32299

2 years agoUpdate cloud image CentOS7 builder x86_64 57/102057/2
jenkins-releng [Thu, 11 Aug 2022 11:47:58 +0000 (11:47 +0000)]
Update cloud image CentOS7 builder x86_64

Job: builder-openstack-update-cloud-image/376
Change-Id: I86bca386c365ba03e377f012aeede599dd0ad118
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
2 years agoChore: Update common-packer to the latest v0.11.0 55/102055/1
Anil Belur [Thu, 11 Aug 2022 08:16:07 +0000 (18:16 +1000)]
Chore: Update common-packer to the latest v0.11.0

- Pull in fixes for CentOS7 images from common-packer

Issue-ID: LF-JIRA IT-24376
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I58eb5cf680c12fdeecb88a783f5a1cebf6a392bb