ci-management.git
4 years ago[validation] Disable jobs for tag 03/2103/1
Cristina Pauna [Mon, 9 Dec 2019 12:08:30 +0000 (14:08 +0200)]
[validation] Disable jobs for tag

The 2.0.1 images have been built so there's no reason to keep running
the jenkins jobs for them.

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I3193e46766a92e71d79a83f5c55a5f20fd3663f6

4 years agoAdd ubuntu1804-helm build image 02/2102/1
Dileep Ranganathan [Sat, 7 Dec 2019 01:03:47 +0000 (17:03 -0800)]
Add ubuntu1804-helm build image

Added ubuntu1804-helm-8c-32g build image config.

Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: Ibe28c8466bc131a2937f09ff015321a1d790a7d3

4 years agoFixed issue in packer provision playbook 01/2101/1
Dileep Ranganathan [Sat, 7 Dec 2019 00:00:06 +0000 (16:00 -0800)]
Fixed issue in packer provision playbook

Added missing golang checksum
Fixed formatting

Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: Id48daf88d412897608b248ad4b8dbcb5063a1555

4 years agoMerge "[validation] Build images for 2.0.1 tag"
Eric Ball [Fri, 6 Dec 2019 22:22:58 +0000 (22:22 +0000)]
Merge "[validation] Build images for 2.0.1 tag"

4 years agoAdd helm build image 97/2097/3
Dileep Ranganathan [Fri, 6 Dec 2019 01:20:25 +0000 (17:20 -0800)]
Add helm build image

Added helm build image

Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: I238b96c4f9af04f08efeec8717b89b3f5dd4e639

4 years ago[validation] Build images for 2.0.1 tag 98/2098/1
Cristina Pauna [Fri, 6 Dec 2019 10:03:22 +0000 (12:03 +0200)]
[validation] Build images for 2.0.1 tag

Created a new tag for the validation project to include bug-fixes to LTP
and OS layer.

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I39aa93e183cddbecc9ca4463067bda2a7475dfa7

4 years agoiec: compass: Bump docker-compose to 1.24.1 93/2093/1
Alexandru Avadanii [Thu, 5 Dec 2019 09:28:34 +0000 (10:28 +0100)]
iec: compass: Bump docker-compose to 1.24.1

Since IEC CI jobs run on the same Jenkins static slaves where TA REC
artifact building occurs, installing `docker-compose` and its
requirements (including python-requests) via `sudo pip install`
creates a conflict that breaks TA ISO upload (see upstream bug
linked below).

Bump docker-compose to a newer version, which will stop forcefully
downgrading the python-requests package, working around the original
issue.

Upstream-bug: https://jira.linuxfoundation.org/browse/RELENG-2558

Change-Id: Ic449f3d43c5df45846b7008db50efcbcd339c3f9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoBump go version to latest ones 70/2070/3
Yolanda Robla [Thu, 28 Nov 2019 11:54:09 +0000 (12:54 +0100)]
Bump go version to latest ones

For latest code to run it is needed to have latest
go version. So bumping that, and also adding a
removal of the previous go versions that can give
conflict.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Iba8b8e5c460d9b917a96d757ba3f7c9827afcec6

4 years agoMerge "Fixed bug related to icn/daaas jjb template"
Eric Ball [Tue, 3 Dec 2019 00:21:25 +0000 (00:21 +0000)]
Merge "Fixed bug related to icn/daaas jjb template"

4 years agoMerge "Fix iec view bug & Remove useless file"
Eric Ball [Mon, 2 Dec 2019 22:05:50 +0000 (22:05 +0000)]
Merge "Fix iec view bug & Remove useless file"

4 years agoiec: Fix multiple predefined params mix up 80/2080/1
Alexandru Avadanii [Mon, 2 Dec 2019 09:31:30 +0000 (10:31 +0100)]
iec: Fix multiple predefined params mix up

When multiple predefined parameters are defined, multiline
markup should be used to prevent them mixing up.

Change-Id: I1c784335ea5bff3b61f10d64c2aae9ec29622379
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoFix iec view bug & Remove useless file 67/2067/5
jingzhao [Thu, 28 Nov 2019 02:02:14 +0000 (10:02 +0800)]
Fix iec view bug & Remove useless file

The deleted file is a softlink which pointed to compass-work folder.
In compass-work folder, there is a log file which can not be
compressed since the priviledge problem. It results pushing log failure.
So, we have to remove this softlink.

Signed-off-by: jingzhao <Jingzhao.Ni@arm.com>
Change-Id: I7c568728fa7aa1da1c1aa982a12c0cfb1e23aca5

4 years agoFixed bug related to icn/daaas jjb template 66/2066/1
Dileep Ranganathan [Thu, 28 Nov 2019 00:16:19 +0000 (16:16 -0800)]
Fixed bug related to icn/daaas jjb template

Job not being picked up due to wrong path.

Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: I3174e669cf3b69cd4ff3f26e5f91e55d92b5f1a3

4 years agoMerge "Add verify job for icn/daaas"
Eric Ball [Wed, 27 Nov 2019 22:44:20 +0000 (22:44 +0000)]
Merge "Add verify job for icn/daaas"

4 years agoMerge "Change owner of results folder and its files"
Eric Ball [Wed, 27 Nov 2019 22:33:35 +0000 (22:33 +0000)]
Merge "Change owner of results folder and its files"

4 years agoMerge "IEC jobs in Akraino Lab"
Eric Ball [Wed, 27 Nov 2019 22:32:07 +0000 (22:32 +0000)]
Merge "IEC jobs in Akraino Lab"

4 years agoAdd verify job for icn/daaas 64/2064/1
Dileep Ranganathan [Wed, 27 Nov 2019 22:28:20 +0000 (14:28 -0800)]
Add verify job for icn/daaas

Added verify job for icn/daaas

Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: I34e7b46d3b76b28af335503c05a1fd7cd63b84a6

4 years agoChange owner of results folder and its files 55/2055/4
valentin.radulescu [Tue, 26 Nov 2019 15:17:44 +0000 (07:17 -0800)]
Change owner of results folder and its files

JIRA: VAL-88

Remove the trap from the script. Change the owner after the
scripts exists.

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I9284c041c436f7ca173b61e3d5d87fdc85581ebb

4 years agota: aarch64 ISO build: Bump timeout from 2h to 3h 62/2062/1
Alexandru Avadanii [Wed, 27 Nov 2019 17:40:54 +0000 (18:40 +0100)]
ta: aarch64 ISO build: Bump timeout from 2h to 3h

aarch64 ISO build usually takes 1h30-1h45, but depending on upstream
mirrors it might take more than 2h. Bump the job timeout accordingly.

Change-Id: I8ccb4575340ff3718582e24ca6b501734cb63867
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoMerge "iec: Fix current build parameter passing"
Eric Ball [Tue, 26 Nov 2019 16:57:20 +0000 (16:57 +0000)]
Merge "iec: Fix current build parameter passing"

5 years agoIEC jobs in Akraino Lab 46/2046/2
jingzhao [Mon, 25 Nov 2019 10:14:49 +0000 (18:14 +0800)]
IEC jobs in Akraino Lab

In this patch, some modifications are completed based on the R2
requirements.
1. The IEC type is added into name of jenkins jobs.
2. The new IEC-type1 job is added into Akraino CI/CD.
   The IEC-type1 job is designed to verify the IEC task on Edge
   node. In this job, 2 VMs will be started for simulating the
   Low-power remote-edge nodes in the host. After that, the IEC
   basic infrastructure will be deployed on it for verifying the
   user case.

Signed-off-by: jingzhao <Jingzhao.Ni@arm.com>
Change-Id: Ida4a22a1c39a8171f2fd48cde79aa8dd7008b707

5 years agoMerge "ta: iso deploy: Fix artifact name in checksum file"
Eric Ball [Mon, 25 Nov 2019 22:41:51 +0000 (22:41 +0000)]
Merge "ta: iso deploy: Fix artifact name in checksum file"

5 years agoMerge "[validation] Build release images"
Eric Ball [Mon, 25 Nov 2019 22:40:43 +0000 (22:40 +0000)]
Merge "[validation] Build release images"

5 years agoiec: Fix current build parameter passing 50/2050/2
Alexandru Avadanii [Mon, 25 Nov 2019 20:28:11 +0000 (21:28 +0100)]
iec: Fix current build parameter passing

The Parameterized Trigger plugin requires parameters that are
passed down from the parent job to also be defined in the child job,
otherwise they are simply discarded.

Fix this by explicitly defining the same parameters in each child job.

Change-Id: I64ba6987527757bb0bf4e7d5224904424c91f3ec
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agota: iso deploy: Fix artifact name in checksum file 49/2049/1
Alexandru Avadanii [Mon, 25 Nov 2019 18:12:14 +0000 (19:12 +0100)]
ta: iso deploy: Fix artifact name in checksum file

On non-x86_64 platforms, we rename the artifacts (and their
corresponding checksum files) to include the platform architecture
in their names.

However, the contents of the checksum files should also be updated
to reflect the new artifact naming.

Change-Id: I2fb2fc8feb6299f3ee2dc26cc2fe7df929e4509a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[validation] Build release images 98/1998/7
Cristina Pauna [Mon, 18 Nov 2019 13:23:17 +0000 (15:23 +0200)]
[validation] Build release images

The tag for the release has been made for the validation project at [1]
Added the jobs that will build the container images from this tag
Also moved the project templates in the akraino-templates folder

[1] https://gerrit.akraino.org/r/admin/repos/validation,tags

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: Ia6a1750a37ff8deabfe87667a0d8d91efe4ca8ce

5 years agoUpdate icn unit test job 11/2011/1
chengli3 [Wed, 20 Nov 2019 02:04:52 +0000 (10:04 +0800)]
Update icn unit test job

1. Remove individual feature test plan. Because Jenkins can't vote
for multiple jobs. For example, we have two jobs for two different
features. If one job passes but another fails, Jenkins can't vote
both +1 and -1. So this patch merges all tests into a single one,
which follows the Akraino comminuty template.

2. Add icn view

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: Ide8aa3fd9edd19bd3886bce622d9172c469768b7

5 years agoChange owner of results folder and its files. 79/1979/2
valentin.radulescu [Thu, 14 Nov 2019 11:58:53 +0000 (03:58 -0800)]
Change owner of results folder and its files.

JIRA: VAL-88

The files in results folder are created by root in container.

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I9d7b9450c6ae379a8f41492d84f037e3557ef032

5 years agoAdd triggers to ci-build job. 30/1930/1
Tamas Lendvay [Thu, 7 Nov 2019 09:55:15 +0000 (11:55 +0200)]
Add triggers to ci-build job.

Triggers if manifest and build-tools repo changed.

Signed-off-by: Tamas Lendvay <tamas.lendvay@nokia.com>
Issue: REC-30
Change-Id: I8ba22ddc541c9c8d03fb95dd8ddbcdbf223b9e6b
Signed-off-by: Tamas Lendvay <tamas.lendvay@nokia.com>
5 years agoMerge "Update parameters for validation-enea-daily."
Eric Ball [Thu, 31 Oct 2019 18:19:38 +0000 (18:19 +0000)]
Merge "Update parameters for validation-enea-daily."

5 years agoUpdate parameters for validation-enea-daily. 77/1877/2
valentin.radulescu [Wed, 30 Oct 2019 11:56:05 +0000 (04:56 -0700)]
Update parameters for validation-enea-daily.

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I323ca0a51baa5f1c1e7882de6e6cc3667bc328f8

5 years agota: Avoid dpkg/apt race conditions on static slave 82/1882/2
Alexandru Avadanii [Wed, 30 Oct 2019 19:00:06 +0000 (20:00 +0100)]
ta: Avoid dpkg/apt race conditions on static slave

AArch64 slaves running the TA RPM/ISO build jobs are static and
have two executors, allowing TA build jobs to run into DPKG/APT
race conditions.

Avoid this by skipping all DEB installations if the required
packages are already installed.

Change-Id: I0bb21c6e99dd43e0fbbf9abb5f1a2599255079f9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "Add ci validation script"
Eric Ball [Mon, 28 Oct 2019 21:16:22 +0000 (21:16 +0000)]
Merge "Add ci validation script"

5 years agoAdd ci validation script 57/1657/10
valentin.radulescu [Thu, 26 Sep 2019 15:59:57 +0000 (08:59 -0700)]
Add ci validation script

Add run_bluval.sh which triggers validation script.
Add jobs for iec.

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I26338e7b6038149d4f122f7e5a4df978ca73d678

5 years agoAdd verify and merge jobs for ta/caas-storage. 50/1850/1
Tamas Lendvay [Fri, 25 Oct 2019 13:17:53 +0000 (16:17 +0300)]
Add verify and merge jobs for ta/caas-storage.

Signed-off-by: Tamas Lendvay <tamas.lendvay@nokia.com>
Change-Id: I8e71f3f65e7ac426129f252e0d30762c26c776f3
Signed-off-by: Tamas Lendvay <tamas.lendvay@nokia.com>
5 years agoMerge "Add new job to verify blueprint-basic-3-masters"
Eric Ball [Wed, 23 Oct 2019 16:37:33 +0000 (16:37 +0000)]
Merge "Add new job to verify blueprint-basic-3-masters"

5 years agoMerge "Clean the docker images after CI build."
Eric Ball [Tue, 22 Oct 2019 17:52:36 +0000 (17:52 +0000)]
Merge "Clean the docker images after CI build."

5 years agoClean the docker images after CI build. 13/1813/2
Daniel Stoica [Mon, 21 Oct 2019 12:50:39 +0000 (15:50 +0300)]
Clean the docker images after CI build.

JIRA: VAL-52

Signed-off-by: Daniel Stoica <daniel.stoica@enea.com>
Change-Id: Idc11e7b59567d892c8bc8fb7cc3d9822a5d208d0

5 years agoMerge "Merge job scm pull origin/master/HEAD"
Eric Ball [Fri, 18 Oct 2019 18:48:43 +0000 (18:48 +0000)]
Merge "Merge job scm pull origin/master/HEAD"

5 years agoMerge job scm pull origin/master/HEAD 98/1798/2
Tamas Lendvay [Thu, 17 Oct 2019 13:54:26 +0000 (16:54 +0300)]
Merge job scm pull origin/master/HEAD

Issue: REC-453
Change-Id: I1eb1368952868f5caa3e33e06003ab35e852b901
Signed-off-by: Tamas Lendvay <tamas.lendvay@nokia.com>
5 years agoMerge "Create icn project jenkins job"
Eric Ball [Thu, 17 Oct 2019 17:31:05 +0000 (17:31 +0000)]
Merge "Create icn project jenkins job"

5 years agoAdd new job to verify blueprint-basic-3-masters 80/1780/3
Yolanda Robla [Mon, 14 Oct 2019 12:14:22 +0000 (14:14 +0200)]
Add new job to verify blueprint-basic-3-masters

Create a set of jobs to verify the 3 masters
blueprint, in a similar way as blueprint-pae

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I9bd8e21b9f8aa04664a10ad7428fdc222bf10439

5 years agoCreate icn project jenkins job 94/1794/10
chengli3 [Wed, 16 Oct 2019 13:50:40 +0000 (21:50 +0800)]
Create icn project jenkins job

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I92855e58c7197881425f6d3dfb805a5bac8adb34

5 years agoMerge "Migrate current Sonar jobs to Sonarcloud"
Eric Ball [Wed, 16 Oct 2019 23:09:48 +0000 (23:09 +0000)]
Merge "Migrate current Sonar jobs to Sonarcloud"

5 years agoUpgrade global-jjb to v0.45.0 75/1775/1
Eric Ball [Sat, 12 Oct 2019 00:41:36 +0000 (17:41 -0700)]
Upgrade global-jjb to v0.45.0

This will add the latest Sonar jobs, which will enable adding
Sonarcloud scans to Akraino projects.

Change-Id: Ie1ffd77cb83aae0d60e5e516559e05de32278eb8
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoUpdate centos7-builder image 38/1738/1
Eric Ball [Fri, 4 Oct 2019 19:55:44 +0000 (12:55 -0700)]
Update centos7-builder image

Change-Id: Ia8a1644c575c403ea1f6f260643ef0d6c83c098b
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoUpdate common-packer to latest master 30/1730/1
Eric Ball [Thu, 3 Oct 2019 18:52:14 +0000 (11:52 -0700)]
Update common-packer to latest master

The current version is out of date, and the latest changes are needed
for a successful build.

Change-Id: Id92fbe47bcac81bd3751decf0abc1022c1bee9b7
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agota: Bump builders RAM for problematic RPMs 84/1684/1
Alexandru Avadanii [Tue, 1 Oct 2019 00:04:08 +0000 (02:04 +0200)]
ta: Bump builders RAM for problematic RPMs

Some RPM packages run into OOM issues while building bigger artifacts
so bump their RAM accordingly:
- caas-cpupooler;
- caas-etcd;
- caas-kubedns;
- caas-metrics;

Change-Id: Id3b74044e183963615245e8e23fee9f10811a29f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agota-builder-rpm: Update CentOS mirror/vault repo 52/1652/1
Alexandru Avadanii [Wed, 25 Sep 2019 21:36:16 +0000 (23:36 +0200)]
ta-builder-rpm: Update CentOS mirror/vault repo

CentOS just moved certain repositories to the Vault, so update
our hardcoded RPM URL accordingly.

Change-Id: Iceb0ba15bfc9299b45c26cfb07bad644770160f6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoAdd "https://" to RPM_REPO_URL 16/1616/1
Eric Ball [Wed, 18 Sep 2019 23:31:55 +0000 (16:31 -0700)]
Add "https://" to RPM_REPO_URL

Change-Id: I684687a2f242e8bd85c1686bb954f83e0e97691c
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoMerge "ta: Make arm64 RPM verify jobs non-voting"
Eric Ball [Wed, 18 Sep 2019 16:49:46 +0000 (16:49 +0000)]
Merge "ta: Make arm64 RPM verify jobs non-voting"

5 years agoMerge "shell: ta-rpm-deploy: curl should follow redirects"
Eric Ball [Wed, 18 Sep 2019 16:44:46 +0000 (16:44 +0000)]
Merge "shell: ta-rpm-deploy: curl should follow redirects"

5 years agota: Make arm64 RPM verify jobs non-voting 09/1609/1
Alexandru Avadanii [Wed, 18 Sep 2019 12:25:42 +0000 (14:25 +0200)]
ta: Make arm64 RPM verify jobs non-voting

arm64 RPM builds are not yet ready for all projects, yielding false
verify job failures, so make them non-voting, at least until we
finish upstreaming all the required changes for TA RPMs to build
on aarch64.

build-tools/manifest/rpmbuilder verify jobs will remain as voting
jobs, since they should already work fine on aarch64.

Change-Id: I6549edbc409017d031dcc46020034033a9e58a20
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agolf-display-node-uuid: Do not fail on static slaves 08/1608/1
Alexandru Avadanii [Wed, 18 Sep 2019 10:46:28 +0000 (12:46 +0200)]
lf-display-node-uuid: Do not fail on static slaves

Not all Jenkins slaves are Openstack instances, which will obviously
break the jobs trying to print the node's UUID.
So make the UUID querying non-critical.

Fixes: a919490352dbd01f08d0b78e935ef90778c77dff

Change-Id: I1bb7f3414c18e2477a2b7bb55bd242c06431f614
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoshell: ta-rpm-deploy: curl should follow redirects 07/1607/1
Alexandru Avadanii [Wed, 18 Sep 2019 10:35:05 +0000 (12:35 +0200)]
shell: ta-rpm-deploy: curl should follow redirects

Currently, `curl` exits with a 0 status code for HTTP/301, which is
the case for both existent and non-existent artifacts in nexus3,
breaking the logic behind duplicate artifact checking.

This should fix uploading aarch64 artifacts, which are currently
wrongly detected as duplicates due to the above quirk.

Change-Id: I6b3164476b4fcb95115934eda72d53edf102858b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoAdd RPM_REPO_URL global variable 04/1604/1
Eric Ball [Tue, 17 Sep 2019 23:03:44 +0000 (16:03 -0700)]
Add RPM_REPO_URL global variable

The ta-rpm-deploy.sh script is using ALT_NEXUS_URL to point to this
URL, which is causing issues elsewhere in some jobs. What we really
want is to set this globally, and have scripts use this global var
rather than setting their own.

Change-Id: I9b0017b42421610e4537063140b3d6d37421c21b
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoMerge "Clear ALT_NEXUS_URL and SERVER_ID after netrc"
Eric Ball [Tue, 17 Sep 2019 21:37:21 +0000 (21:37 +0000)]
Merge "Clear ALT_NEXUS_URL and SERVER_ID after netrc"

5 years agoClear ALT_NEXUS_URL and SERVER_ID after netrc 03/1603/1
Eric Ball [Tue, 17 Sep 2019 21:05:36 +0000 (14:05 -0700)]
Clear ALT_NEXUS_URL and SERVER_ID after netrc

After the netrc has been created, these need to be cleared so that
future calls to create-netrc aren't stuck using them. This has been
causing problems with pushing logs.

Change-Id: Ib351e38950ca0a382a006b473d8e2a703d0d6a66
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoMerge "shell: ta-rpm-deploy: Cleanup stale duplicates dir"
Eric Ball [Tue, 17 Sep 2019 18:35:05 +0000 (18:35 +0000)]
Merge "shell: ta-rpm-deploy: Cleanup stale duplicates dir"

5 years agoshell: ta-rpm-deploy: Cleanup stale duplicates dir 94/1594/1
Alexandru Avadanii [Mon, 16 Sep 2019 22:06:32 +0000 (00:06 +0200)]
shell: ta-rpm-deploy: Cleanup stale duplicates dir

Cleanup duplicates directories if present from previous runs, e.g.
on static Jenkins slaves.

Change-Id: I18512b7e9152de37f3e73cc66bcc06c2657a3138
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agota: Multiarch (amd64, arm64) for all packages 34/1534/5
Alexandru Avadanii [Wed, 4 Sep 2019 16:18:29 +0000 (18:18 +0200)]
ta: Multiarch (amd64, arm64) for all packages

Although most packages are arch-independent, since we push to
an arch-specific repository (.../aarch64/Packages or
.../x86_64/Packages), we need to run all verify/merge build jobs on
aarch64 too.

Change-Id: Idb6d36ee5e60df87224a1c23826bef3cf64efdde
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agota: multiarch build: ISO, python-peewee RPM 41/1441/9
Alexandru Avadanii [Wed, 21 Aug 2019 13:24:09 +0000 (15:24 +0200)]
ta: multiarch build: ISO, python-peewee RPM

Enable both amd64 and arm64 builds for python-peewee, which will
later be extended to all arch-dependent packages in TA.

To accomodate non-x86 ISO builds (triggered on RPM changes merge):
- rename artifacts to include the machine architecture in their
  names (e.g. bootcd.aarch64.iso, bootcd.aarch64.iso.md5 etc.),
  only applicable if $(uname -m) is not 'x86_64' so x86 artifact
  names remain unchanged (e.g. bootcd.iso);
- akraino-project-stream-type-ta: new 'arch' job parameter,
  defaulting to 'amd64', which will allow selecting the proper
  ISO build job (for arm64 TA RPM merge jobs, 'arch' should be
  set to 'arm64', while for amd64 no action is required);
- create arch-specific ISO build jobs (ta-ci-build-{amd64,arm64})
  and let the TA RPM merge jobs trigger the appropiate one;

While at it, fix some related issues:
- adjust ta-rpm-deploy.sh to publish artifacts for the
  current machine architecture (x86_64 or aarch64);
- explicitly set shell to bash where needed, e.g. where `pushd`
  bash builtin is used (otherwise it will fail on systems using
  sh as default shell);
- cleanup git repository destination before clone to allow
  re-running the jobs on non-volatile slaves;
- extend dependency package installation for Debian systems,
  not only RHEL;

Depends-on: I32cfdc2adc43fb703843383a1e94a807919f4e8c
Depends-on: I3a940e2e0ece6febc9fc90d6bbbc6ff8ef212e14

Change-Id: If3adcae723aa4932fc095cc71debdef2d28840ff
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "Add node UUI display macro"
Jessica Wagantall [Wed, 11 Sep 2019 20:12:57 +0000 (20:12 +0000)]
Merge "Add node UUI display macro"

5 years agoAdd node UUI display macro 69/1569/1
Jessica Wagantall [Wed, 11 Sep 2019 18:13:06 +0000 (11:13 -0700)]
Add node UUI display macro

Add macro to display node's UUID
Add macro to ta-ci-build

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I7d6b43c771718c2458ed2405d90998403e8fdf5e

5 years agotox-verify for portal-onapsdk 27/1527/3
Ioakeim Samaras [Wed, 4 Sep 2019 07:54:27 +0000 (10:54 +0300)]
tox-verify for portal-onapsdk

Added project for using gerrit-tox-verify job template
for portal_user_interface/portal-onapsdk.

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I62112d947522d0226ed9ce45d7e280f662b24f5e

5 years agoCaaS registry machine update 25/1525/1
Balazs Szekeres [Tue, 3 Sep 2019 18:29:35 +0000 (20:29 +0200)]
CaaS registry machine update

CaaS registry needed a bigger machine for build. (out of memory)

Signed-off-by: Balazs Szekeres <balazs.szekeres@nokia.com>
Change-Id: Ifa9207312572501547bfc8e2ff199dc1cf1d4776

5 years agoUpgrade global-jjb v0.42.0 73/1473/1
Anil Belur [Tue, 27 Aug 2019 05:51:00 +0000 (11:21 +0530)]
Upgrade global-jjb v0.42.0

- Pull in lftools v0.26.1 to fix the issue with
  processing the patterns passed to deploy archives.

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

5 years agoCreating cloudtaf.yaml 27/1327/4
amin m [Tue, 6 Aug 2019 09:48:30 +0000 (11:48 +0200)]
Creating cloudtaf.yaml

Change-Id: I64e0bfe812d96b4dbe780f74084efc4600fe357a
Signed-off-by: amin m <amin.m@nokia.com>
5 years agoMerge "Add Ubuntu 18.04 docker nodes, including arm64"
Eric Ball [Thu, 22 Aug 2019 21:47:03 +0000 (21:47 +0000)]
Merge "Add Ubuntu 18.04 docker nodes, including arm64"

5 years agoAdd Ubuntu 18.04 docker nodes, including arm64 51/1451/1
Eric Ball [Thu, 22 Aug 2019 21:14:01 +0000 (14:14 -0700)]
Add Ubuntu 18.04 docker nodes, including arm64

Not replacing ubuntu1604 docker node for now. Once these have been
heavily tested and vetted, it will be much safer to move the other
docker node to Ubuntu 18.04 & v2 hardware.

Issue: RELENG-2071
Change-Id: Id3d5d06256371948f52e2454de39d87304908bb2
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoUpdate ta-ci-build node 49/1449/2
Jessica Wagantall [Thu, 22 Aug 2019 18:06:43 +0000 (11:06 -0700)]
Update ta-ci-build node

Add V2-32G node to the cloud.
Use 32G node to build ta-ci-build which fails to
complete the virt-copy of guest-image.img into /boot
V2-32G Helps processing this faster.

Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ie679b231f5be07f53b41ece5515a2a570dcf325f

5 years agoMerge "Once nexus3 push is complete, unset alt_nexus_url"
Eric Ball [Mon, 19 Aug 2019 17:46:49 +0000 (17:46 +0000)]
Merge "Once nexus3 push is complete, unset alt_nexus_url"

5 years agoOnce nexus3 push is complete, unset alt_nexus_url 26/1426/1
Eric Ball [Sat, 17 Aug 2019 02:09:58 +0000 (19:09 -0700)]
Once nexus3 push is complete, unset alt_nexus_url

create-netrc uses the value of alt_nexus_url if it's set. We need to
remove this value so that the correct credentials are used for
pushing logs at the end of the job.

Change-Id: Ie3704f3e83226088e6b2d700c0e3ee2c5318e257
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoFix cron setting for StarlingX 14/1414/2
Alex Kozyrev [Thu, 15 Aug 2019 19:48:34 +0000 (15:48 -0400)]
Fix cron setting for StarlingX

Change-Id: Id4c23d533a5ae957b6b5eb91e860393dca85d460
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
5 years agoincrease timeout to ci build job 11/1411/1
amin m [Thu, 15 Aug 2019 09:07:00 +0000 (11:07 +0200)]
increase timeout to ci build job

Change-Id: Ibdc37421b94a3b13457b72bd23719d82745cb1dd

5 years agoFixing bash expansion 88/1388/3
amin m [Mon, 12 Aug 2019 12:38:59 +0000 (14:38 +0200)]
Fixing bash expansion

Change-Id: Id1bb352a98cac52aab5eb9ac7621bbeadfd1b373
Signed-off-by: amin m <amin.m@nokia.com>
5 years agoUpload changed RPMs/SRPMs to Nexus 35/1335/5
amin m [Wed, 7 Aug 2019 13:16:16 +0000 (15:16 +0200)]
Upload changed RPMs/SRPMs to Nexus

Change-Id: Id71de6e22b51b843a2f05f4113f0657496cb7c06
Signed-off-by: amin m <amin.m@nokia.com>
5 years agoMerge "Modify KNI jobs to use ci in our internal repo"
Eric Ball [Tue, 6 Aug 2019 16:53:16 +0000 (16:53 +0000)]
Merge "Modify KNI jobs to use ci in our internal repo"

5 years agoMerge "Add default params for use in Sonarcloud jobs"
Eric Ball [Thu, 1 Aug 2019 21:20:12 +0000 (21:20 +0000)]
Merge "Add default params for use in Sonarcloud jobs"

5 years agoMigrate current Sonar jobs to Sonarcloud 11/1311/1
Eric Ball [Thu, 1 Aug 2019 20:33:34 +0000 (13:33 -0700)]
Migrate current Sonar jobs to Sonarcloud

Change-Id: I8b4ec06c284b6dbe9bf690327b964307d4af0551
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoAdd default params for use in Sonarcloud jobs 10/1310/1
Eric Ball [Thu, 1 Aug 2019 20:31:55 +0000 (13:31 -0700)]
Add default params for use in Sonarcloud jobs

Change-Id: Ibcab9a106d116e450947e667bcaf282e790ffc1c
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoAdd custom Ubuntu 18.04 arm64 packer file 97/1297/8
Eric Ball [Wed, 31 Jul 2019 20:50:06 +0000 (13:50 -0700)]
Add custom Ubuntu 18.04 arm64 packer file

The default file in common-packer calls for the flavor
"lf-standard-1", which Akraino does not have in its cloud. By
switching to an available flavor, this should fix our broken packer
build.

Change-Id: I213167072395b0985b914776068ad502aa3c8209
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoModify KNI jobs to use ci in our internal repo 94/1294/2
Yolanda Robla [Wed, 31 Jul 2019 08:38:48 +0000 (10:38 +0200)]
Modify KNI jobs to use ci in our internal repo

The deploy scripts need to be moved to the internal repo,
in order to be reused. Also, as deploy is part of the logic
of the process and not part of the CI itself, moving them to
the internal project seems more reasonable.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Iab289664dfc48186805a168575076c74c9dd8b7d

5 years agoMerge "Update to common-packer v0.3.1, packer 1.4.2"
Eric Ball [Tue, 30 Jul 2019 22:02:45 +0000 (22:02 +0000)]
Merge "Update to common-packer v0.3.1, packer 1.4.2"

5 years agoChange compare type from REG_EXP to ANT 72/1272/1
Yolanda Robla [Fri, 26 Jul 2019 13:16:14 +0000 (15:16 +0200)]
Change compare type from REG_EXP to ANT

In order to trigger the job on file changes properly,
change the compare type from REG_EXP to ANT.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I275a9ebf08b49bb0d3672d0e321f371936c01346

5 years agoMerge "Fix typo in trigger"
Eric Ball [Wed, 24 Jul 2019 18:17:35 +0000 (18:17 +0000)]
Merge "Fix typo in trigger"

5 years agoMerge "Increase node size to fix out of memory errors"
Andrew Grimberg [Wed, 24 Jul 2019 17:03:35 +0000 (17:03 +0000)]
Merge "Increase node size to fix out of memory errors"

5 years agoFix typo in trigger 50/1250/1
Yolanda Robla [Wed, 24 Jul 2019 09:09:10 +0000 (11:09 +0200)]
Fix typo in trigger

The gerrit regex to include all files modified
in a subdir is dir/**, not dir/*

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Ic81718ebab5f41fa6c02eba6bf8272f3d9d8dfba

5 years agoIncrease node size to fix out of memory errors 20/1220/2
Eric Ball [Thu, 18 Jul 2019 22:10:37 +0000 (15:10 -0700)]
Increase node size to fix out of memory errors

Both of these jobs were having issues during rpmbuild due to low
memory. Based on sandbox testing, increasing the node mem fixes
the problem.

Issue: IT-16836
Change-Id: I9751c39cd197d3ee621917f95e6dd205ec81d503
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoAdd CentOS 7 2c-8g builder for high-RAM TA builds 49/1249/1
Eric Ball [Tue, 23 Jul 2019 21:14:59 +0000 (14:14 -0700)]
Add CentOS 7 2c-8g builder for high-RAM TA builds

Change-Id: I0fa820f552db86fd6b832f3f1c98a5fc7d721162
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoMerge "Add missing base path on deploy jobs"
Eric Ball [Tue, 23 Jul 2019 17:07:43 +0000 (17:07 +0000)]
Merge "Add missing base path on deploy jobs"

5 years agoMerge "[iec] view: Hide downstream projects"
Eric Ball [Tue, 23 Jul 2019 17:03:19 +0000 (17:03 +0000)]
Merge "[iec] view: Hide downstream projects"

5 years agoAdd missing base path on deploy jobs 26/1226/1
Yolanda Robla [Fri, 19 Jul 2019 13:03:26 +0000 (15:03 +0200)]
Add missing base path on deploy jobs

Base is called by all the profiles and sites,
so we need to have a job triggered on it, when
this changes.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I63ec32aa13e6da0adfecd15b5b54efd7f69b29cf

5 years agoUpdate to common-packer v0.3.1, packer 1.4.2 22/1222/3
Eric Ball [Fri, 19 Jul 2019 00:19:22 +0000 (17:19 -0700)]
Update to common-packer v0.3.1, packer 1.4.2

Updating to the latest common-packer. As part of the upgrade
requirements, this includes an update to the packer version.

Change-Id: I6a2eeaacbe6ba16f58171c5f9b25500f702759b3
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoAdd ubuntu-18.04-arm64 to docker builders list 21/1221/1
Eric Ball [Thu, 18 Jul 2019 22:59:47 +0000 (15:59 -0700)]
Add ubuntu-18.04-arm64 to docker builders list

There are several projects in need of arm64 docker builds.

Change-Id: Ie93822e06b50f7e7b3a85921770003f80b092040
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years ago[iec] view: Hide downstream projects 14/1214/3
Alexandru Avadanii [Wed, 17 Jul 2019 17:22:05 +0000 (19:22 +0200)]
[iec] view: Hide downstream projects

IEC Jenkins project view is getting cluttered with all the downstream
static project jobs (e.g. deploy, destroy, install-<usecase>).

Filter only parent jobs (e.g. iec-compass-virtual-ubuntu1604-master),
which offer the best high-level visibility of the overall job status.

Change-Id: I26490baaf0e6c2dc294432804a1f7ba033e9ab6b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoMerge "Enable merge jobs to trigger downstream job"
Eric Ball [Thu, 18 Jul 2019 00:57:23 +0000 (00:57 +0000)]
Merge "Enable merge jobs to trigger downstream job"

5 years agoMerge "[iec] seba-on-arm: Installer/OS specific params"
Eric Ball [Wed, 17 Jul 2019 23:41:17 +0000 (23:41 +0000)]
Merge "[iec] seba-on-arm: Installer/OS specific params"

5 years agoEnable merge jobs to trigger downstream job 92/1192/2
Eric Ball [Mon, 15 Jul 2019 21:20:58 +0000 (14:20 -0700)]
Enable merge jobs to trigger downstream job

Enable all merge jobs in ta project to trigger
a downstream ta-ci-build job, so that ta-ci-build
is triggered on every successful merge.

Issue: IT-16719
Change-Id: Ib0debc513f697e0ad77d49a89329cc66bb27f46b
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoAdd new jobs for blueprint-pae repo 10/1210/4
Yolanda Robla [Tue, 16 Jul 2019 15:01:26 +0000 (17:01 +0200)]
Add new jobs for blueprint-pae repo

The content from kni/templates has been moved to
kni/blueprint-pae. So we are creating new jobs for it
and disable the older ones. We are also updating
the shell for those jobs, to match with the current
workflow.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I597bb960b40d2f33ee78cf4129c7aed7479f4d54