From 876a58f9a343cfbd1a8c184b2ae56a0ced299cc2 Mon Sep 17 00:00:00 2001 From: pmikus Date: Thu, 26 Aug 2021 08:45:13 +0000 Subject: CSIT: Add Trex jobs + For testing Trex only (required for bypassing VPP download and DPDK download) while still having ability to extend for trex artifact downloading. Signed-off-by: pmikus Change-Id: Idbc1abc62fa53ad66a5d534b8c708e4912a22398 --- jjb/csit/csit-perf.yaml | 107 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 105 insertions(+), 2 deletions(-) diff --git a/jjb/csit/csit-perf.yaml b/jjb/csit/csit-perf.yaml index 52df7c21e..2d1008a46 100644 --- a/jjb/csit/csit-perf.yaml +++ b/jjb/csit/csit-perf.yaml @@ -65,6 +65,14 @@ os: 'ubuntu2004' executor-arch: 'aarch64' periodicity: '0 0 * * 6' + - 'csit-trex-perf-verify-{stream}-{node-arch}': + node-arch: + - 2n-skx: + os: 'ubuntu2004' + executor-arch: 'x86_64' + - 3n-skx: + os: 'ubuntu2004' + executor-arch: 'x86_64' - 'csit-vpp-perf-verify-{stream}-{node-arch}': node-arch: - 2n-clx: @@ -307,8 +315,8 @@ project: 'csit' branch: 'master' branch-id: 'oper' - csit-perf-trial-duration: "1.0" - csit-perf-trial-multiplicity: "10" + csit-perf-trial-duration: '1.0' + csit-perf-trial-multiplicity: '10' stream: - master: branch: 'master' @@ -629,6 +637,101 @@ publishers: - fdio-infra-publish +- job-template: + name: 'csit-trex-perf-verify-{stream}-{node-arch}' + + description: | + + + project-type: freestyle + node: 'builder-{os}-prod-{executor-arch}' + concurrent: true + 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}' + - gerrit-refspec-parameter + - gerrit-event-type-parameter + - gerrit-event-comment-text-parameter + - 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}" + # This is a manually-triggered verify job, part of API coverage. + # CRC checking is needed to ensure vpp crc job breaks only when intended. + # Can be removed when this job is no longer needed for full API coverage. + - csit-fail-on-crc-mismatch-parameter: + fail-on-crc-mismatch: 'True' + + 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-trex-{node-arch}-perftest' + skip-vote: false + + builders: + - shell: + !include-raw-escape: + - ../scripts/setup_executor_env.sh + - shell: + !include-raw-escape: + - ../scripts/csit/perf-verify.sh + + publishers: + - fdio-infra-publish + - job-template: name: 'csit-dpdk-perf-verify-{stream}-{node-arch}' -- cgit 1.2.3-korg