From 9860e60edd303ff490bfa1d600e7fd2a002c8a87 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Thu, 7 May 2020 22:36:29 +0200 Subject: 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 --- jjb/csit/csit-perf.yaml | 126 ++++++++++++++++++++++++++++++++++++++++++------ 1 file 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: | + + + 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' -- cgit 1.2.3-korg