Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch adds the ability to deploy a cperf container and execute ODL
csit against an OPNFV deployment with ODL. The cperf job to execute csit
requires an RC file, SSH key to access OPNFV nodes, and a yaml
descriptor file that contains per node information about each
control/compute node.
This patch also adds triggering the cperf CSIT job inside of the 3rd
party ODL netvirt verification suite. That job uses Apex snapshots to
bring up deployment (no undercloud).
Additionally this patch includes some changes to allow multi version
snapshots to work. Multiple snapshots are now being created for
different OpenStack branches along with noha or HA type topologies. This
patch includes the ability to detect the desired scenario as triggered
by ODL Netvirt gerrit. Now in ODL netvirt gerrit a user may provide:
"check-opnfv <OS version>-<noha|ha>" style syntax to initiate 3rd Party
OPNFV CI on a particular OS version/HA setup.
Change-Id: I51a27545c985ce74c1c72fe0933eb451939a8c05
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
|
|
Change-Id: I2e641434051e615cf04922a7349c7a7f1891caea
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Temporarily pull in specific patch to fix ODL netvirt reinstall.
Change-Id: Id3ba00592e81ee0970075b34afb72f76db02d0b4
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
This is a temporary fix that should be removed when
fixed in sdnvpn repo.
Change-Id: I13f247090e72a625db3af932652e006a57418e1e
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Changes Include:
- Fixes phase jobs to run on the same node
- Removes using WORKSPACE/.tmp dir for unpacking snapshot since other
phase jobs will need access to these files. Now just unpacks to cache
directory
- Fixes download for ODL. The previous way ODL was being downloaded
was only if a manual patch-set job was run on the ODL gerrit. This
patch changes the download to use the zip artifact automatically
produced.
- The zip artifact is converted to tar.gz and stored in /tmp/ for the
install job to consume. Note: the conversion is done because the
odl-pipeline install scripts only currently accept tar.gz.
- Extra checks in install job to make sure required files exist and
have been previously unpacked by deploy job.
Change-Id: I38aad98cac247eb4af2839811388b119079bc7ba
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Workspace wiping was done in builders, which can be removed in favor of
wiping workspace via the 'scm' entry in the job. For now we point at
apex since we require apex repo to clean the host properly. We also
need sdnvpn for the python code to upgrade ODL. Since we can only use a
single scm at a time, we use apex in the jjb, and then manually clone
sdnvpn in the builders that require it.
Change-Id: I52274fc8fdd6b6c052e396c2a63dab5abcbf764e
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Changes Include:
- Adds a daily job to create Apex snapshot tarball if functest passes
- snapshot artifact uploaded to artifacts.opnfv.org
- snapshot artifcat info is stored in snapshot.properties
- 3rd party job updated to deploy from snapshot
- 3rd party install netvirt job updated to use updated sdnvpn tools
JIRA: APEX-364
Depends-On: I792db0fac3f4e81969fe85c05fc298fe5af02537
Change-Id: I8a875c081d756d098173c0baf11c0b4e4956b9fd
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
If scripts are used by hand and
WORKSPACE is not set then rm -rf /*
will remove the filesystem.
Change-Id: I9bb9ee6643d3916fedc7d3848ecf9b03bde10fae
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
Change-Id: I022acf23984a8d1a19a5e6e180178ee1d2e18480
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
This is a temporary fix in order to continue with the netvirt parts.
Once Apex team finishes their work with APEX-360, this job will be
aligned with it.
The job to bring up apex vms will be run on ericsson-virtual5.
The rest of the jobs will run on ericsson-virtual6, which is virtual
jumphost for the apex environment.
Apart from this, the job can now be (re)triggered by putting keyword
opnfv-test on ODL Gerrit.
There are still flaws and things to improve with the jobs such as
finding out if the downloaded artifact is real or just a file not found
response from ODL Jenkins and so on but these will be fixed later.
Change-Id: Ie38e513df08c6c76eacee53a112c09171b1f6c7d
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
This change creates basic job structure for ODL netvirt testing in OPNFV.
The job should be triggered once the below job is completed
https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon
and fetch the artifact that is already built by the job. The build result
codes OPNFV is interested in are SUCCESSFUL and UNSTABLE.
Once the job gets triggered, the build URL will be fetched from ODL Gerrit using
Gerrit REST API and the artifact will be downloaded from ODL Jenkins.
The downloaded artifacts will then be installed on the Apex environment.
There are 3 points that need to be highlighted.
- The Apex environment will be created using the promoted snaphots/qcow2
images and already deployed VMs will be brought up. See below for the details.
https://jira.opnfv.org/browse/APEX-360
- The hardcoded values in download-netvirt-artifact.sh are there to get the
basics in place. (branch name, job name, etc.) Once things work as expected,
they will be made dynamic.
- A workaround using Gerrit REST API is put in place to get build number of the
job netvirt-patch-test-current-carbon to download the artifact.
The reason why we use Gerrit REST API is that the OPNFV Jenkins has an older
version of Gerrit Trigger Plugin which lacks feature that injects review
comments as environment variables. Upgrading Gerrit Trigger Plugin will not
help either since OpenStack JJB does not support the new version of Gerrit
Trigger Plugin and does not generate the new job XML.
JIRA: RELENG-171
Change-Id: I7ff8c5809dcb2e8ffa5c7c5aeb9cdf70e4e7e2f4
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|