Alexandru Avadanii [Fri, 10 Apr 2020 12:47:06 +0000 (14:47 +0200)]
iec: exclude seba_on_arm from virtual PODs
Virtual PODs are slow and often cause issues with the SEBA on arm
deployments, raising misleading errors in our testing.
Since now we have a baremetal POD that will cover SEBA testing,
exclude the flaky virtual installations for SEBA.
Change-Id: I147bdd13d5d213837fefb25e8d299bb91e60ebf5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Eric Ball [Tue, 14 Apr 2020 06:05:54 +0000 (06:05 +0000)]
Merge "iec: aarch64 baremetal POD: map name, cron trigger"
Alexandru Avadanii [Tue, 7 Apr 2020 10:34:34 +0000 (12:34 +0200)]
iec: aarch64 baremetal POD: map name, cron trigger
IEC Fuel deploy scripts need a mapping between the Jenkins node (slave)
name and its lab/pod naming scheme, i.e. for the new baremetal POD
`ubuntu1804-dev-96c-256g-1` we will use `arm-baremetal1` for PDF/IDF
filenames.
While at it, update related jobs:
- extend ci-management static slave init jobs to also generate jobs
for the new AArch64 baremetal POD label (aarch64_baremetal_dev).
- exclude Ubuntu 16.04 / CentOS from Fuel baremetal job matrix since
baremetal provisioning in Fuel only supports Ubuntu 18.04 currently;
- schedule IEC Type 2 Fuel baremetal deployment every day @ 01:00;
- fix GERRIT_REFSPEC job paramater being ignored for IEC jobs;
JIRA: IT-19425
JIRA: IT-19445
Change-Id: I1e1debb7ad61e6aac7a6304ecc2bd5fd6e9fe3ce
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Thu, 9 Apr 2020 11:23:12 +0000 (13:23 +0200)]
validation: Move docker build job to aarch64_build
Previously, validation docker build jobs used to run on 'aarch64_dev'
labeled slaves, which are also used by IEC installers (compass, fuel)
that interfere with the machine's Docker service (usually by restarting
the Docker service when the install/deploy is started; which
unfortunately overlaps quite frequently with the validation docker build
job). Of course, this is also possible due to the 'aarch64_dev' nodes
having more than 2 executors (currently 3).
To avoid this, we could add build-blockers to both IEC install jobs and
validation docker build jobs, but that would create unnecessary cross
dependencies between IEC and validation projects.
Instead, move the validation Docker build to nodes servicing the label
'aarch64_build', which only have 2 executors and currently only run TA
RPM/ISO build jobs that do not interfere in a destructive way with the
Docker service on the machine.
JIRA: VAL-101
Change-Id: Iebc57a6a710b96ee6dcb04ea5e98243af3b44fa8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Yolanda Robla [Wed, 8 Apr 2020 09:28:13 +0000 (11:28 +0200)]
Change tests to run in virtual baremetal
For daily tests, change the job to run in
virtual baremetal, in order to speed up and
preserve hardware.
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I780544fab4e2144a1d7b3f4d1ae72f632b4e3132
DANIEL STOICA [Fri, 3 Apr 2020 13:25:06 +0000 (16:25 +0300)]
Run test for multiple layers on IEC blueprint
Initially only the k8s layer was tested for IEC.
With the introduction of more mandatory tests, allow testing
for multiple layers, by not specifying any particular layer.
Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com>
Depends-On: I5c19b527ec86be0a60b7c31fcd579f0802e9874d
Change-Id: I4d36305d9ffd6fb7688002b6cb72a18baed77803
DANIEL STOICA [Tue, 24 Mar 2020 13:30:23 +0000 (15:30 +0200)]
Enable vuls and lynis tests in CI
- created the ssh_key_dir and put the ssh_key
- set host and username variable in validation/tests/variables.yaml
- set ssh_key_dir and custom_variables_file path in validatin/bluval/volumes.yaml
Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com>
Depends-On: Ibb16f76405f5b43797e0d859db0681759adf5e18
Change-Id: I9e5349a0e3e3a1e7331a5f5b4b4a8d5a1b01aa51
Eric Ball [Wed, 18 Mar 2020 17:06:16 +0000 (17:06 +0000)]
Merge "Enable installation of TA in CI"
Eric Ball [Tue, 17 Mar 2020 16:29:48 +0000 (16:29 +0000)]
Merge "Fix installation bug on Ubuntu 18.04"
Cristina Pauna [Wed, 4 Mar 2020 10:00:59 +0000 (12:00 +0200)]
Enable installation of TA in CI
For each REC POD, the CD job is tied to a specific jenkins slave
that has access to the POD's lab.
For now, only UNH Ampere1 POD is added and user_config.yaml is stored
on the slave at:
file:///data/rec_pod/user_config.yaml
Also for CD deployments, admin_user_password in user_config.yaml is
required to be the hash for "admin" to be able to pull post deployment
logs from the first controller.
Jenkins slave package requirements:
- docker
- jq
Co-authored-by: Cristina Pauna <cristina.pauna@enea.com>
Co-authored-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>>
Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com>
Change-Id: Iece4330c3242385c33d8a1daa092f78ce5d46cc8
Jingzhao.Ni [Thu, 5 Mar 2020 10:03:22 +0000 (18:03 +0800)]
Fix installation bug on Ubuntu 18.04
When deploying VMs on Ubuntu 18.04, the compass can not resolve the
host ip address correctly. It will cause the compass4nfv deploying
failed.
In this patch, it gets compass4nfv code from iecedge repository.
Some modification has been done for fixing those issues on specific
branch.
Signed-off-by: Jingzhao.Ni <Jingzhao.Ni@arm.com>
Change-Id: I86faffee4473ed2f6f36594a2b14be44f7b77191
Eric Ball [Thu, 5 Mar 2020 15:31:01 +0000 (15:31 +0000)]
Merge "Increase timeout of libvirt build to 120"
Yolanda Robla [Thu, 5 Mar 2020 09:00:38 +0000 (10:00 +0100)]
Increase timeout of libvirt build to 120
Currently it had a 60 min timeout, that is not enough
for completing the whole job.
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I4664a3ab2b9c3a9b68b844b593e8a0b735eb3a70
Eric Ball [Tue, 3 Mar 2020 19:34:53 +0000 (19:34 +0000)]
Merge "iec: fuel: Account for Jenkins slave rename"
Alexandru Avadanii [Thu, 27 Feb 2020 17:12:27 +0000 (18:12 +0100)]
ta: ISO upload path: drop "release-1", add arch
Previously, TA ISO build used to push artifacts to Nexus repository in
a subdirectory that included in its path the BUILD_ID (Jenkins job ID,
e.g. [1]), but no further specifics like the artifact architecture.
Since amd64 and arm64 build jobs are completely separate, the
BUILD_ID for the two jobs are not correlated in any way, so the arm64
job (since it's newer) pushes artifacts to directories that were
previously created by the amd64 job some time ago (e.g. #109 has amd64
artifacts from August 2019 and arm64 artifacts from February 2020).
This change splits the output artifacts into arch-specific directories,
while dropping the "release-1" subdir from the path, so:
TA/images/release-1/images/{<BUILD_ID>, latest}
becomes:
TA/images/<arch>/{<BUILD_ID>,latest}
e.g. instead of [1] we will have [2] and [3].
[1] https://nexus.akraino.org/content/repositories/ \
images-snapshots/TA/release-1/images/123/
[2] https://nexus.akraino.org/content/repositories/ \
images-snapshots/TA/images/amd64/56/
[3] https://nexus.akraino.org/content/repositories/ \
images-snapshots/TA/images/arm64/45/
Change-Id: Ie3e189c1ab61bb9e395663c9882ee869929e0b76
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 3 Mar 2020 12:36:43 +0000 (13:36 +0100)]
iec: fuel: Account for Jenkins slave rename
AArch64 static Jenkins slaves have been upgraded from Ubuntu 16.04 to
Ubuntu 18.04 and renamed accordingly [1].
[1] https://jira.linuxfoundation.org/servicedesk/customer/portal/2/ \
IT-19055
Change-Id: I6c30f2794be4f54d627f76a746bd90a682839313
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Jingzhao [Mon, 2 Mar 2020 14:39:48 +0000 (22:39 +0800)]
Fix build failure issue in community CI
In compass building script, the curl command gets file as
an incorrectly format from URL which finally results in
the compass building failure.
In this patch, the script file will be download by wget.
Then it will be run as a scripts by bash.
Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
Change-Id: I8bd49cb818a3c67a7e752a6a1e5521dc570e57b9
Eric Ball [Sat, 29 Feb 2020 00:31:28 +0000 (00:31 +0000)]
Merge "Add job for KNI blueprint on Google Cloud"
Ricardo Noriega [Thu, 27 Feb 2020 09:53:00 +0000 (10:53 +0100)]
Add job for KNI blueprint on Google Cloud
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: Id5b37f86f73c27a8d25cdc0d879ad842075e2e04
Alexandru Avadanii [Tue, 25 Feb 2020 17:48:15 +0000 (18:48 +0100)]
ta: iso: Workaround kernel missing read rights
libguestfs requires read access to the current running kernel,
as described in [1].
While at it, install missing rename dependency.
[1] https://bugs.launchpad.net/fuel/+bug/
1467579
Change-Id: Ic0c9095e35dd740d48ddf83add530456a5cae92d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Eric Ball [Tue, 25 Feb 2020 15:25:37 +0000 (15:25 +0000)]
Merge "Move iec jenkins job in jjb/akraino-templates"
Eric Ball [Tue, 25 Feb 2020 15:23:38 +0000 (15:23 +0000)]
Merge "iec: compass: Fix log permissions, curl redirect"
Daniel Stoica [Mon, 24 Feb 2020 12:49:09 +0000 (14:49 +0200)]
Move iec jenkins job in jjb/akraino-templates
Signed-off-by: Daniel Stoica <daniel.stoica@enea.com>
Change-Id: I86539d875ccb91536f79894438bc45dca474b32b
Alexandru Avadanii [Tue, 25 Feb 2020 09:01:27 +0000 (10:01 +0100)]
iec: compass: Fix log permissions, curl redirect
- follow HTTP redirect (`curl -L`) where appropiate;
- fix workspace permissions so logs uploading can archive log files
before pushing them to Nexus (by changing the file owner to the
current user/group);
- destroy: do not break on error, in case some resources are missing,
keep trying to cleanup the rest anyway;
Change-Id: I7696b3ce7172b74f5b8977353ad27b70b264933b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 21 Feb 2020 12:31:15 +0000 (13:31 +0100)]
static slaves: Perform global-jjb init
global-jjb was recently bumped to 0.51, which assumes
jenkins-init-scripts were already executed on the build slave
(e.g. by sourcing ~jenkins/lf-env.sh), which is always true for
Openstack instances dynamically spawned by Jenkins, but not yet
for static slaves like AArch64 dev/build/baremetal PODs.
Add a new job, triggered on ci-management gerrit merge (only if
global-jjb reference is changed) that executes the jenkins-init-scripts
similar to dynamic slaves initialization.
NOTE: Since jenkins-init-scripts are not fully idempotent, some
actions (e.g. id_rsa keypair generation) are executed even though
they are not mandatory (for the id_rsa keypair this means the
private/public keys will be forcefully regenerated each time this new
job runs).
Change-Id: I62433a45c7966aed1d1184fa60e87ee4211996e4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Sun, 23 Feb 2020 15:26:18 +0000 (16:26 +0100)]
ta: login shell, filename expansion enabled
Recent global-jjb bumps introduced changes to python-tools-install.sh
which now disables filename expansion (globbing).
Since TA RPM merge / ISO build jobs combine python-tools-install.sh and
other sh script files into a single build step (i.e. resulting a single
sh script), this breaks globbing for the TA RPM/ISO upload handling.
Also, since python-tools-install.sh does not run as a login shell (`bash
-l`), ~/.profile is not sourced and PATH might be missing certain paths
like ~/.local/bin, where `lftools` is located, resulting in build
failures due to missing/not found `lftools`.
To mitigate the above issues:
1. split the offending build step into 2 separate steps
to allow spawning the second step under a login shell (without modifying
python-tools-install.sh);
2. Run the second step under a login shell, so PATH contains `lftools`
installed by pip;
3. Add `set +f` to enable globbing (this is not critical after splitting
the build step above, since python-tools-install.sh disabling globbing
will no longer affect the second step; but it should make it more
obvious that the script *requires* globbing);
Change-Id: I4a5e6a4a88a296cb21d68338f8e5a5b219076308
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Eric Ball [Thu, 20 Feb 2020 20:17:51 +0000 (12:17 -0800)]
Update global-jjb to v0.51.1
This will ensure compatibility will all of the latest Jenkins
plugins.
Change-Id: Ibee61d798ad14841a8e4d929557c877fd869b854
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Eric Ball [Thu, 20 Feb 2020 18:45:56 +0000 (18:45 +0000)]
Merge "[validation] Improve relationship between jobs"
Cristina Pauna [Tue, 18 Feb 2020 14:21:31 +0000 (16:21 +0200)]
[validation] Improve relationship between jobs
- Added a fix so that when bluval-run-daily-tests job fails, the upstream
akraino-validation-lab-daily job also fails.
- Made the validation parameters more generic (the tests can be ran on
openstack too, not just on k8s clusters)
- Moved the templates from the project folder to the templates folder
JIRA: VAL-98
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I915ff9a0347e20390b297483b39a051f39fdf205
Alexandru Avadanii [Tue, 11 Feb 2020 13:29:15 +0000 (14:29 +0100)]
TA: aarch64 RPM/ISO build jobs: voting, email
1. Enable gerrit voting for TA patches verify jobs (RPM builds);
2. E-mail armband@enea.com on arm64 (aarch64) job failures for:
- TA RPM merge jobs (not verify);
- TA ISO build;
Change-Id: I6a3f668001698e42bb6b87f31e03191fcb6559bc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 11 Feb 2020 12:27:58 +0000 (13:27 +0100)]
TA: aarch64 dedicated build server
Move TA RPM/ISO build jobs from `aarch64_dev`-labeled nodes to a new
dedicated build machine labeled `aarch64_build`.
Change-Id: I011ed992a43240b1ae644d788c47c0aaf8713aaf
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Ioakeim Samaras [Wed, 29 Jan 2020 02:49:24 +0000 (18:49 -0800)]
CI/CD for ARC portal
The following jenkins jobs are supported
- Common maven jobs
- Building and uploading the docker images
Signed-off-by: Ioakeim Samaras <is661a@att.com>
Change-Id: Icf140349432a5aa6f293acbfeec7c5f9f426ec29
valentin.radulescu [Tue, 21 Jan 2020 20:23:51 +0000 (12:23 -0800)]
Fix issue related to substring search
JIRA:VAL-78
Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I17dee3c41a2046927b085205c096507452560506
Eric Ball [Mon, 20 Jan 2020 20:16:14 +0000 (20:16 +0000)]
Merge "[validation] Disable jobs for tag"
valentin.radulescu [Wed, 20 Nov 2019 15:23:53 +0000 (07:23 -0800)]
Store blu-val results in nexus.
After the tests are run, the results are put in an archive
and pushed in nexus.
JIRA:VAL-78
Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I1021f30f560ec67433e83f22b14877b340f489c7
Eric Ball [Thu, 16 Jan 2020 18:57:12 +0000 (18:57 +0000)]
Merge "Add log parser support"
valentin.radulescu [Fri, 6 Dec 2019 13:32:22 +0000 (05:32 -0800)]
Add log parser support
JIRA: VAL-90
Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I111f5aab331156c201cb5f855492aee1dcb45236
Trevor Tao [Fri, 10 Jan 2020 02:46:23 +0000 (10:46 +0800)]
Restore the sonar config to just use the default
Remove the unneccesary sonar config as those files are not available
now, and we can just use the default
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I248f4f2762d3ebaae9493df000f7ed3b4d010f2d
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Alexandru Avadanii [Tue, 17 Dec 2019 19:27:36 +0000 (20:27 +0100)]
Fix build-blocker level param typos
s/blocking-level/block-level/g as per [1].
[1] https://docs.openstack.org/infra/jenkins-job-builder/properties.html
Change-Id: Iea628d0a7c8b3285ece13280abdda1aa85dbea2b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Eric Ball [Tue, 17 Dec 2019 16:43:32 +0000 (16:43 +0000)]
Merge "Add new job to deploy kni on baremetal"
Yolanda Robla [Wed, 20 Nov 2019 16:16:55 +0000 (17:16 +0100)]
Add new job to deploy kni on baremetal
This commit add jobs for the kni blueprints to
be ran using the baremetal profile
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I8449bbad86f6297717b508a2b608359e56f2aac5
LF Jenkins CI [Mon, 16 Dec 2019 18:49:43 +0000 (18:49 +0000)]
Automation adds INFO jobs
Automation adds INFO.yaml management jobs for all
top level projects.
This is the first step before adding INFO.yaml
files for all these top level projects
to allow committers to self manage their
committers
Change-Id: Ife7ac9815fb85c3bfde9f3c7960d605f7668c653
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
Eric Ball [Thu, 12 Dec 2019 17:41:21 +0000 (17:41 +0000)]
Merge "Add Sonarcloud scans for IEC"
Jianlin Lv [Tue, 3 Dec 2019 02:52:06 +0000 (10:52 +0800)]
Add Sonarcloud scans for IEC
Setup gerrit-sonar job in JJB that scan golang file of IEC
Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: I7742e0146a342620dfb38e4fd20d3739a889c227
Eric Ball [Thu, 12 Dec 2019 00:38:23 +0000 (16:38 -0800)]
Fix icn-daaas trigger paths
This also renames the templates file to the blueprint level, and
moves the project file into the correct directory.
Issue: LF-Jira IT-18489
Change-Id: I40f480eebd2a5511fc7442a67b8e49d09ea9ad40
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Dileep Ranganathan [Tue, 10 Dec 2019 00:27:37 +0000 (16:27 -0800)]
Add CI job templates for icn/daaas
Added verify, merge jobs for helm charts and microservices.
Issue-ID: ICN-201
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: I0a9e201a2d13aca1bcbf997108ff00abd480a413
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
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
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
Eric Ball [Fri, 6 Dec 2019 22:22:58 +0000 (22:22 +0000)]
Merge "[validation] Build images for 2.0.1 tag"
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
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
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>
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
Eric Ball [Tue, 3 Dec 2019 00:21:25 +0000 (00:21 +0000)]
Merge "Fixed bug related to icn/daaas jjb template"
Eric Ball [Mon, 2 Dec 2019 22:05:50 +0000 (22:05 +0000)]
Merge "Fix iec view bug & Remove useless file"
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>
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
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
Eric Ball [Wed, 27 Nov 2019 22:44:20 +0000 (22:44 +0000)]
Merge "Add verify job for icn/daaas"
Eric Ball [Wed, 27 Nov 2019 22:33:35 +0000 (22:33 +0000)]
Merge "Change owner of results folder and its files"
Eric Ball [Wed, 27 Nov 2019 22:32:07 +0000 (22:32 +0000)]
Merge "IEC jobs in Akraino Lab"
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
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
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>
Eric Ball [Tue, 26 Nov 2019 16:57:20 +0000 (16:57 +0000)]
Merge "iec: Fix current build parameter passing"
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
Eric Ball [Mon, 25 Nov 2019 22:41:51 +0000 (22:41 +0000)]
Merge "ta: iso deploy: Fix artifact name in checksum file"
Eric Ball [Mon, 25 Nov 2019 22:40:43 +0000 (22:40 +0000)]
Merge "[validation] Build release images"
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>
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>
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
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
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
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>
Eric Ball [Thu, 31 Oct 2019 18:19:38 +0000 (18:19 +0000)]
Merge "Update parameters for validation-enea-daily."
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
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>
Eric Ball [Mon, 28 Oct 2019 21:16:22 +0000 (21:16 +0000)]
Merge "Add ci validation script"
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
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>
Eric Ball [Wed, 23 Oct 2019 16:37:33 +0000 (16:37 +0000)]
Merge "Add new job to verify blueprint-basic-3-masters"
Eric Ball [Tue, 22 Oct 2019 17:52:36 +0000 (17:52 +0000)]
Merge "Clean the docker images after CI build."
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
Eric Ball [Fri, 18 Oct 2019 18:48:43 +0000 (18:48 +0000)]
Merge "Merge job scm pull origin/master/HEAD"
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>
Eric Ball [Thu, 17 Oct 2019 17:31:05 +0000 (17:31 +0000)]
Merge "Create icn project jenkins job"
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
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
Eric Ball [Wed, 16 Oct 2019 23:09:48 +0000 (23:09 +0000)]
Merge "Migrate current Sonar jobs to Sonarcloud"
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>
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>
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>
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>
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>
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>
Eric Ball [Wed, 18 Sep 2019 16:49:46 +0000 (16:49 +0000)]
Merge "ta: Make arm64 RPM verify jobs non-voting"
Eric Ball [Wed, 18 Sep 2019 16:44:46 +0000 (16:44 +0000)]
Merge "shell: ta-rpm-deploy: curl should follow redirects"
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>
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>