summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-05-07 22:36:29 +0200
committerJan Gelety <jgelety@cisco.com>2020-05-15 12:18:37 +0000
commit9860e60edd303ff490bfa1d600e7fd2a002c8a87 (patch)
treeb40e49eed3a783b66ac7e95bcd2a43a2e283a358
parent4264d44962055ba35f9103a75536c57f215bff62 (diff)
Add csit-vpp-perf-report-iterative jobs
- job will be used to collect vpp performance iterative data for csit report Change-Id: I6790730f78e3afeb039a7023a0ea32ea54dac7d5 Signed-off-by: Jan Gelety <jgelety@cisco.com>
-rw-r--r--jjb/csit/csit-perf.yaml126
1 files changed, 110 insertions, 16 deletions
diff --git a/jjb/csit/csit-perf.yaml b/jjb/csit/csit-perf.yaml
index 33938756..f4622dfb 100644
--- a/jjb/csit/csit-perf.yaml
+++ b/jjb/csit/csit-perf.yaml
@@ -98,6 +98,20 @@
- 3n-skx
- 3n-hsw
periodicity: '0 0 * * 6'
+ - 'csit-vpp-perf-report-iterative-{stream}-{node-arch}':
+ node-arch:
+ - 2n-clx
+ - 2n-skx
+ - 2n-dnv
+ - 3n-skx
+ - 3n-hsw
+ - 3n-dnv
+ - 3n-tsh:
+ executor: 'ubuntu1804arm-us'
+ stream:
+ - '2005':
+ branch: 'rls2005'
+ branch-id: 'oper-rls2005'
project: 'csit'
executor: 'ubuntu1804-us'
@@ -530,22 +544,11 @@
build-timeout: '{build-timeout}'
triggers:
- - gerrit:
- server-name: 'Primary'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'csit-dpdk-{node-arch}-perftest'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '{project}'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
- skip-vote:
- successful: false
- failed: false
- unstable: false
- notbuilt: false
+ - gerrit-trigger-csit-perftest:
+ project: '{project}'
+ branch: '{branch}'
+ trigger-word: 'csit-dpdk-{node-arch}-perftest'
+ skip-vote: false
builders:
- shell:
@@ -635,3 +638,94 @@
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
+
+- job-template:
+ name: 'csit-vpp-perf-report-iterative-{stream}-{node-arch}'
+
+ description: |
+ <ul>
+ <li>objective
+ <ul>
+ <li>get vpp performance iterative data for csit report
+ </ul>
+ <li>job
+ <ul>
+ <li>name:
+ <b>csit-vpp-perf-report-iterative-{stream}-{node-arch}</b>
+ <li>trigger: keyword in comment to csit patch:
+ <b>csit-report-iter-{node-arch}-perftest</b>
+ </ul>
+ <li>executor
+ <ul>
+ <li>{executor}
+ </ul>
+ <li>perf test-cases selection
+ <ul>
+ <li>test-cases selected by tags defined in
+ <i>csit/docs/job_specs/report-iter-{node-arch}.md</i>
+ </ul>
+
+ <li>results
+ <ul>
+ <li>jjb verify: PASS/FAIL
+ <li>present: vpp performance
+ <li>analyse: vpp performance
+ </ul>
+ </ul>
+
+ project-type: freestyle
+ node: '{executor}'
+ concurrent: true
+ archive-artifacts: 'archive/*.*'
+ latest-only: false
+
+ build-discarder:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - csit-perf-trial-duration-parameter:
+ csit-perf-trial-duration: "{csit-perf-trial-duration}"
+ - csit-perf-trial-multiplicity-parameter:
+ csit-perf-trial-multiplicity: "{csit-perf-trial-multiplicity}"
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - fdio-infra-wrappers-non-activity-timeout:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-csit-perftest:
+ project: '{project}'
+ branch: '{branch}'
+ trigger-word: 'csit-report-iter-{node-arch}-perftest'
+ skip-vote: false
+
+ builders:
+ - shell:
+ !include-raw-escape:
+ - ../scripts/csit/perf-verify.sh
+
+ publishers:
+ - robot:
+ output-path: archive
+ other-files:
+ - '*.*'
+
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'