summaryrefslogtreecommitdiffstats
path: root/jjb/csit/csit.yaml
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-06-13 16:56:28 +0200
committerMiroslav Miklus <mmiklus@cisco.com>2016-06-14 14:39:25 +0200
commit12d0d7dee5a59912677dbf79a280c9099e5fd4e3 (patch)
treea29a884b3a972c0a7fee52ec3339becd6ac1e17b /jjb/csit/csit.yaml
parentc85048096835665dad1f46fc062521f0871afc44 (diff)
CSIT jobs - branching
- introduce per branch jobs: master, stable/1606 - weekly job to create csit-stable branch - archive artifacts for last 10 jobs Change-Id: Ib3eb7320fad365017d82a5a594123f0c68076151 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'jjb/csit/csit.yaml')
-rw-r--r--jjb/csit/csit.yaml362
1 files changed, 362 insertions, 0 deletions
diff --git a/jjb/csit/csit.yaml b/jjb/csit/csit.yaml
new file mode 100644
index 000000000..5e4a943e0
--- /dev/null
+++ b/jjb/csit/csit.yaml
@@ -0,0 +1,362 @@
+- project:
+ name: csit
+ description: 'CSIT jenkins jobs.'
+
+ jobs:
+ - 'csit-vpp-perf-{stream}-{type}'
+ - 'csit-vpp-functional-{stream}-virl'
+ - 'csit-vpp-verify-master-weekly'
+ - 'csit-vpp-master-verify-semiweekly'
+
+ project: 'csit'
+ branch: 'master'
+ branch-id: 'master'
+ build-artifact-num-to-keep: 10
+ type:
+ - all
+ - long
+ stream:
+ - master:
+ branch: 'master'
+ branch-id: 'master'
+ - '1606':
+ branch: 'stable/1606'
+ branch-id: 'stable1606'
+
+- job-template:
+ name: 'csit-vpp-functional-{stream}-virl'
+
+ project-type: freestyle
+ node: verify
+ concurrent: true
+
+ logrotate:
+ 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}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape include-raw-csit-vpp-functional-virl.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'report.html, log.html, output.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: ''
+
+- job-template:
+ name: 'csit-vpp-perf-{stream}-{type}'
+
+ project-type: freestyle
+ node: verify
+ concurrent: false
+
+ logrotate:
+ 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}'
+ - type-parameter:
+ type: '{type}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-manually-triggered:
+ name: '{project}'
+ branch: '{branch}'
+ comment-trigger-value: 'verify-perf-{type}'
+
+ builders:
+ - shell:
+ !include-raw-escape jjb/csit/include-raw-csit-vpp-perf-hw.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'report.html, log.html, output.xml, output_perf_data.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: ''
+
+ - plot:
+ - title: 'RFC2544 binary search with 64B, worker-thread=1, rss=1, NDR'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:NDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="1"]'
+ - title: 'RFC2544 binary search with 78B, worker-thread=1, rss=1, NDR'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:NDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="1"]'
+ - title: 'RFC2544 binary search with 64B, worker-thread=2, rss=1, NDR'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:NDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="2"]'
+ - title: 'RFC2544 binary search with 78B, worker-thread=2, rss=1, NDR'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:NDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="2"]'
+ - title: 'RFC2544 binary search with 64B, worker-thread=4, rss=2, NDR'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:NDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="4"]'
+ - title: 'RFC2544 binary search with 78B, worker-thread=4, rss=2, NDR'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:NDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="4"]'
+ - title: 'RFC2544 binary search with 64B, worker-thread=1, rss=1, PDR=0.5%'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:PDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="1"]'
+ - title: 'RFC2544 binary search with 78B, worker-thread=1, rss=1, PDR=0.5%'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:PDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="1"]'
+ - title: 'RFC2544 binary search with 64B, worker-thread=2, rss=1, PDR=0.5%'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:PDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="2"]'
+ - title: 'RFC2544 binary search with 78B, worker-thread=2, rss=1, PDR=0.5%'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:PDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="2"]'
+ - title: 'RFC2544 binary search with 64B, worker-thread=4, rss=2, PDR=0.5%'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:PDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="4"]'
+ - title: 'RFC2544 binary search with 78B, worker-thread=4, rss=2, PDR=0.5%'
+ yaxis: 'Packets Per Second'
+ group: 'RFC2544:PDR'
+ num-builds: '20'
+ keep-records: True
+ series:
+ - file: 'output_perf_data.xml'
+ format: xml
+ xpath-type: 'nodeset'
+ xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="4"]'
+
+- job-template:
+ name: 'csit-vpp-verify-master-weekly'
+ description: 'Purpose of this job is to validate CSIT code against verified vpp build and create csit-verified branch in case of success.'
+
+ project-type: freestyle
+ node: verify
+ concurrent: false
+
+ logrotate:
+ 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}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: '{branch}'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - timed: '0 4 * * 0'
+
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'csit-vpp-ref-verify'
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape jjb/csit/include-raw-csit-vpp-verify-weekly.sh
+ - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
+ - inject:
+ properties-file: variables.prop
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'report.html, log.html, output.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: ''
+ - git:
+ push-only-if-success: true
+ branches:
+ - branch:
+ remote: origin
+ name: 'csit-verified-{branch-id}-$DATE'
+
+
+- job-template:
+ name: 'csit-vpp-master-verify-semiweekly'
+ description: 'Purpose of this job is to validate latest vpp build stored in nexus against verified CSIT codebase.'
+
+ project-type: freestyle
+ node: verify
+ concurrent: false
+
+ logrotate:
+ 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}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - timed: '0 4 * * 2,6'
+
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'csit-verify-vpp'
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape jjb/csit/include-raw-csit-vpp-master-verify-semiweekly.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'csit/archive/*.*'
+ latest-only: false
+
+ - robot-report:
+ output-path: 'csit/archive'
+
+- parameter:
+ name: test-type-parameter
+
+ parameters:
+ - string:
+ name: TYPE
+ default: '{type}'
+ description: "Test TYPE parameter if not given by trigger"