Age | Commit message (Collapse) | Author | Files | Lines |
|
Since armband-deploy.sh is merely a clone of fuel-deploy.sh, which
we recently synced, drop armband-deploy.sh in favor of an universal
fuel-deploy.sh, which will handle deploys for both projects.
Change-Id: I653b4e67d9246951a284671e0cf559394661a1ad
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Run shellcheck on touched files, fix minor warnings.
Prepare for upcoming changes:
- ISO artifact will be obsoleted (later);
- Fuel and Armband should use the same deploy script;
Fuel:
- rename securedlab local copy to lab-config;
Armband:
- drop deploy cache, Danube jobs can work without it, master/next
jobs no longer use it;
- move TMPDIR to $HOME (was in $WORKSPACE), so it's persistent;
Change-Id: I9f8c47f9ca50de3c53c62ca6a08df0cc3a73abd3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: I134feba421d12c4ca428b098aaa2bf52b3dec0ca
|
|
arm-pod3 pod name is changed to arm-pod5
arm-virtual1 pod name is changed to arm-virtual2
Change-Id: I6746fcdd52bbed5b6a61147d0abc5db64876dc97
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
|
|
arm-pod4 and arm-pod3 are now both obsolete, so we no longer need
the ad-hoc translation of the slave name in the deploy script.
Change-Id: Ib81d0574507f8c0e8b513cdc00b35124eaaeeb68
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Re-enable baremetal scenario CI for Fuel scenarios:
- os-nosdn-nofeature-ha-baremetal
- os-odl_l3-nofeature-ha-baremetal (to be renamed to just odl later)
- os-nosdn-ovs-ha-baremetal (Fuel only, no Armband equiv yet)
Change-Id: I9b3b929366a3657c45181632ed46936cb15c3cba
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
While at it, revert BRIDGE default value to "pxebr" after recent
Fuel rework was merged in [1].
This mechanism will be leveraged by [2].
Partially reverts commit: 68195fd
[1] https://gerrit.opnfv.org/gerrit/#/c/38855/
[2] https://gerrit.opnfv.org/gerrit/#/c/39521/
Change-Id: Ic61487384029a7d16547a5035a1f1b34ecbea8d4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Adds the 'email-jenkins-admins-on-build-failures' publishers for jobs
which have overridden the default list of publishers.
This will provide Jenkins administrators a time-series list of build
failures to assist in debugging issues with the master and agents.
JIRA: RELENG-257
Change-Id: I28f12877562113c9197ed6429ee2a7f3cdbaf346
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
|
|
While at it, also rename some leftover "danube" reference for
the armband project.
Change-Id: Icddcf19ca9dfd7880ae2f78ed690988bded25abd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
MCP does not have a self-test healtcheck suite, similar to old
Fuel, so we dropped the "-H" deploy argument (which used to disable
healtcheck autorun).
Adjust deploy command to reflect this installer change.
While at it, fix leftover "pxebr" default installer parameter,
which we missed in the previous commit where we changed the
default only in releng deploy scripts.
Change-Id: I55e1f5cad17687bdf304fbf04d67366dd32ed42a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
|
|
|
|
Fuel and implicitly Armband switched to a newer format for parsing
the "-B" deploy arg, used to pass bridge(s) information.
For now, we will default to ",,,", which is equivalent to not
setting any default value for any of the 4 possible bridges.
NOTE: Armband overrides this on a per-pod basis, since bridge
information is POD specific in our lab.
Change-Id: I3635b0eb6f8233cf99022a97d5642f2e49197e3b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
- rename "danube" to "euphrates";
- disable "euphrates", to be enabled when ready;
Change-Id: Id4932986e19c664b28749d0b6926d825ea632250
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Old Fuel deploy scripts required the virtual POD name to be
virtual_kvm, which needed to be translated at CI level after
source enviroment specific configuration.
New Fuel deploy scripts no longer need this translation, so
drop it.
Change-Id: I18164e77895bbb03a1ca7798e3c0ba78c34d1c65
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Using sudo triggers a chain of dependencies in our infrastructure,
ranging from issues cleaning up the Jenkins workspace to deploy-time
permission issues.
As it turns out, cleaning all looses ends after that change is not a
trivial task, and the remaining work outweights the benefits of using
sudo in the first place.
The original motivation for using sudo was a superposition of:
- hardcoded check for running as root in Fuel's ci/deploy.sh;
- the ability to install packages on the hosts via apt-get/yum;
- the ability to spawn VMs using virt-manager;
All of the above can be mitigated by imposing a series of restrictions
for the Jenkins slave / jump server workstation and the jenkins user:
- check for sudo rights instead of running as root user;
- explicitly use sudo for package installation and/or system-level
changes;
- add jenkins user to "kvm" and "libvirtd" groups;
So, revert using sudo when calling the deploy script, and limit sudo
actions to package installation in Armband's deploy script.
To compensate running as a regular user, a series of small changes is
required in Armband project itself, together with the appropiate
Jenkins slave user configuration on the machines running this script.
This reverts commit 67d8bac7b2a97531ad465f275747b3dc455d4fe4.
Change-Id: I88df6db1a43b93b7314ceca53d353f9000f15153
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Previous commit adding sudo for ci/deploy.sh call breaks Armband
deploys, since ci/deploy.sh relies on $WORKSPACE env var being set.
Change-Id: I948c8e3c00b430e0c186c0a727e1b7e027d7a089
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
New MCP deploy scripts have a hard requirement on running as root.
Bring back sudo for the `ci/deploy.sh` invocation, aligning with
Fuel@OPNFV.
NOTE: This can be later avoided/reverted if we can guarantee the
"jenkins" user has sudo rights, even without a tty present.
Change-Id: Ibec7b14e9174a7f482609890e5e68912931a8d05
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Sync with changes for Fuel@OPNFV targeting master branch (MCP):
- disable ISO build for master branch;
- turn off upload action & checkout;
- add retrieving OS credentials for MCP;
- disable ISO download for master branch;
Change-Id: I11eacfad7ee1f738119e17c2e63c3d92707f8e1f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Removed the master jobs until mcp is functional on arm.
Rescheduled the danube jobs 8 hours apart.
Change-Id: I90037a76a50d61c76c13cd68fa5926e1a73e88e6
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
JIRA: DOVETAIL-432
1, only run against os-(nosdn-odl_l2)-(nofeature-bgpvpn)-ha scenario
this can reduce the CI/pod time resource
dovetail test cases by now (refstack, ha, ipv6, bgpvpn)
2, this has been tested on compass pod, and works well
Change-Id: I1bcf8165d5fcc93c78b47cbd23e0c07f19b01189
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
Arm-pod3-2 is a second jenkins slave for arm-pod3.
This slave is arm while the old jenkins slave is x86.
Fatih requested for this slave to be renamed to arm-pod4
instead of arm-pod3-2, even if it's a slave for an existing pod
JIRA: ARMBAND-252
Change-Id: I5645edd7d774f763e5e72115851c7061bfafd344
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
of "debug""
|
|
JIRA: DOVETAIL-397
now, team decide to use proposed_tests suite instead of debug
Change-Id: Iff8ec0b32a24e51bc2d2536605c9867b94f8921c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
Change-Id: I1ae47f2105744bfea8c8c589f41282d1c4ae2159
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
|
|
A non-ci pod is made ci-pod for danube release, therefore this patch
modifies the cron jobs to be 4 hours apart instead of 8
This commit should be merged after the lable of the pods are changed
Request: OPNFV Helpdesk #39128
Change-Id: Ic88180d01d9ea03d03b79355cd78891ad612c59b
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
arm-pod3-2 is an aarch64 jenkins slave for the same POD as the existing
x86 jenkins slave arm-pod3. This commit adds jobs so we can deploy the
POD and run functest from the aarch64 jenkins slave.
These jobs are non-ci
JIRA: ARMBAND-241
Change-Id: Ie3b808a641e44649c02f3b75c83d79119217fdfe
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
Previously, if an upstream patchset contained a change for a file
listed in 'forbidden-file-paths' the job would not be triggered. This
is not desirable since such a patchset may contain important changes so
we enable the 'disable-strict-forbidden-file-verification' option which
triggers the job unless the patchset only contains changes for the
files listed in 'forbidden-file-paths'.
Note: The diff was generated using the following script:
for i in $(grep -l -r forbidden-file-paths *);do sed -i "s/\(^.*\)forbidden-file-paths/\1disable-strict-forbidden-file-verification: \'true\'\n&/" $i; done
Please double check that the changes look sensible for each team's project.
Change-Id: Ifa86d3a39b36375b2fd52b449e29c8dc757499b4
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
This commit rebalances the nr of runs between master and danube branch
for CI jobs
JIRA: ARMBAND-238
Change-Id: I541ddf3974680096d503829b279cb26ab76577bc
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
Here are the projects that were branched:
I will double check against this list that these changes make sense
and that no one is missing as I go forward.
wiki page of participating projects, and their jobs:
https://wiki.opnfv.org/display/SWREL/Milestone+Compliance+for+Danube
apex - already enabled
armband - done
availability - already enabled
barometer - done
bottlenecks - already enabled
compass4nfv - done
copper - already enabled
daisy - (not participating -- keep jobs disabled?)
doctor - already enabled
domino - already enabled
fds - N/A
fuel - done
functest - already enabled
ipv6 - already enabled
joid - done
kvmfornfv - already enabled
models - already enabled
multisite - done
netready - NOT DONE
opera - NOT DONE
opnfvdocs - done
orchestra - Not participating
onosfw - done
ovsnfv - done
parser - N/A
promise - already enabled
qtip - already enabled
sdnvpn - N/A
snaps - done
securityscanning - N/A
sfc - N/A
storperf - done
ves - already enabled
vswitchperf - already enabled
yardstick - already enabled
Change-Id: I803662faf05c8554cfe7fa5f85da9521f72b03ff
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
The jenkins slave arm-build2 was retagged from opnfv-build-arm
to opnfv-build-enea. This change was made to avoid confusion, as
this slave is an x86 machine building an iso that is used by armband
Change-Id: Iac4e9bf635c128070c32818874626a81a28e6cf7
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
|
|
Fuel and Armband deploy scripts trap internal errors and call exit
in the trap handler, so the releng wrapper exists before collecting
all deploy logs when shell option "errexit" is set.
JIRA: ARMBAND-217
Change-Id: Icb1e3277c3e137abb3225a2b9a0b4269eaf08fc6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
GIT_BRANCH parameter is different; master or stable/danube in daily
jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some
job builders triggered by the both types of jobs. We have GERRIT_BRANCH
parameter for verify jobs to identify stream and expected branch into
the patch will be merged after it got +2 and submitted.
To avoid further confusion and to have common job builders for daily
and verify jobs, this patch introduce BRANCH parameter.
GERRIT_BRANCH is now deprecated.
Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
JIRA: ARMBAND-208
Change-Id: I96cb3479d17fa5d16e02e65c81c65e7fbdf120df
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
This patch defines 'logrotate-default' property and replace 'logrotate'
by it, as 'logrotate' is deprecated on jenkins>=1.637 .
Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
|
|
Danube stream for the projects with daily jobs is disabled.
Danube stream for the projects without daily jobs is left as enabled
as there will be no changes coming to danube branch until branch is created.
Dovetail, Apex and Fuel jobs have not been updated yet.
Change-Id: Ice39826c8f829157fa864370557837290838f634
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
JIRA: ARMBAND-181
With Colorado release out, we need more jobs on master branch than
on colorado branch
Change-Id: Ic068a121567381ecfb527599ec2af530c1a8e93e
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
This patch makes sure we use 2 types of scm, and allows us to specify
them by adding one line in job-templates.
- git-scm # for daily jobs and merge jobs
- git-scm-gerrit # for verify jobs [New]
Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
JIRA: DOVETAIL-153
1.based on https://gerrit.opnfv.org/gerrit/#/c/25681/, however, this has to be
triggered manually, not convinient for debugging, and may affect daily ci loops
2.not used for release criteria or compliance,
only to debug the dovetail tool bugs with arm pods
Change-Id: Ide35f50129f30f4c8d7b7f50d52f9fa1d35cac69
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
With the addition of ODL and OpenStack Gerrit servers, it's important we
don't generate additional noise by accidentally building against these
Gerrit servers when we don't intend to.
JIRA: RELENG-179
Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
This enables the mechanism added in [1].
Armband just added support for caching deploy artifacts, like
bootstraps and target images, which take a lot of time at each deploy
to be built, considering it requires a cross-debootstrap via
qemu-user-static and binfmt.
For easier setup, the deploy cache depends on the local ISO storage
mechanism (/iso_mount/opnfv_ci), and reuses the same storage pool.
To enable deploy caching, just create the deploy-cache directory at:
/iso_mount/opnfv_ci/<branch>/deploy-cache
JIRA: ARMBAND-172
[1] https://gerrit.opnfv.org/gerrit/#/c/25191
Change-Id: I161205a87f13cd78e79b96bfc37a5f68aba093cc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Pod virtual1 was added in the ENEA-ARM lab
This commit adds the jobs for it
JIRA: ARMBAND-162
Change-Id: Icaa798691f5ff60a58ae083eb1c366170c464b92
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
"forbidden-file-paths" prevents verify from running for patches that
alter that dir so it was necessary to remove "upstream" ANT
configuration completely
Change-Id: I6c1f00fe500548695284ad1e947cb35bdce14c3e
Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
|
|
Armband tree has ci, patches and upstream as folders.
Updated the releng armband-verify-jobs.yml with the right
paths.
While replicating Fuel@OPNFV behavior, one default set of parameters
was left pointing to x86 build defaults (opnfv-build-defaults),
instead of opnfv-build-arm-defaults.
JIRA: ARMBAND-99
Change-Id: I4a0ec09b6188ef4c7f06d2f0c0ddcb13ca9ad72f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
|
|
While at it, add missing exec flag to one sh script, and cleanup
some obsolete debug logs.
Change-Id: Ib805e41177571f6413ed744edae405449c86412e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
|
|
This patch is similar to what releng/jjb/fuel does for
verifying build and deploy.
JIRA: ARMBAND-99
Change-Id: Ic6524e921acf458b55fbbb3453638c5fc30db15c
Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
|