Add stable/2402 branch and remove stable/2306 branch to docker executor image scripts
[ci-management.git] / jjb / vpp / vpp.yaml
index 3bacf3b..4422988 100644 (file)
       - 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
     project: 'vpp'
     os:
-      - ubuntu2004
       - ubuntu2204
     stream:
       - 'master':
           branch: 'master'
           branch-refspec: ''
-      - '2302':
-          branch: 'stable/2302'
+      - '2310':
+          branch: 'stable/2310'
           branch-refspec: ''
-      - '2306':
-          branch: 'stable/2306'
+      - '2402':
+          branch: 'stable/2402'
           branch-refspec: ''
     executor-arch: 'x86_64'
-    exclude:
-      # os deprecated in 23.06
-      - stream: '2306'
-        os: 'ubuntu2004'
-      # os deprecated in 23.02
-      - stream: '2302'
-        os: 'ubuntu2004'
-      # os deprecated in master
-      - stream: 'master'
-        os: 'ubuntu2004'
 
 # [end] VPP-CHECKSTYLE-X86_64 PROJECT
 
           branch-refspec: ''
           make-test-os: 'ubuntu-20.04 ubuntu-22.04'
           make-test-multiworker-os: 'debian-11'
-      - '2302':
-          branch: 'stable/2302'
+      - '2310':
+          branch: 'stable/2310'
           branch-refspec: ''
           make-test-os: 'ubuntu-20.04 ubuntu-22.04'
           make-test-multiworker-os: 'debian-11'
-      - '2306':
-          branch: 'stable/2306'
+      - '2402':
+          branch: 'stable/2402'
           branch-refspec: ''
           make-test-os: 'ubuntu-20.04 ubuntu-22.04'
           make-test-multiworker-os: 'debian-11'
     project: 'vpp'
     make-parallel-jobs: '4'
     os:
-      - ubuntu2004
       - ubuntu2204
     executor-arch: 'x86_64'
     stream:
       - 'master':
           branch: 'master'
           branch-refspec: ''
-      - '2302':
-          branch: 'stable/2302'
+      - '2310':
+          branch: 'stable/2310'
           branch-refspec: ''
-      - '2306':
-          branch: 'stable/2306'
+      - '2402':
+          branch: 'stable/2402'
           branch-refspec: ''
-    exclude:
-      # os deprecated in 23.06
-      - stream: '2306'
-        os: 'ubuntu2004'
-      # os deprecated in 23.02
-      - stream: '2302'
-        os: 'ubuntu2004'
-      # os deprecated in master
-      - stream: 'master'
-        os: 'ubuntu2004'
 
 # [end] VPP-GCC-X86_64 PROJECT
 
     project: 'vpp'
     make-parallel-jobs: '4'
     make-test-os: 'ubuntu-20.04 ubuntu-22.04'
-    comment-trigger-value: 'cov-verify'
+    comment-trigger-value: 'gcov-report'
     stream:
       - 'master':
           branch: 'master'
           branch-refspec: ''
           make-test-os: 'ubuntu-20.04 ubuntu-22.04'
           make-test-multiworker-os: ''
-      - '2302':
-          branch: 'stable/2302'
+      - '2310':
+          branch: 'stable/2310'
           branch-refspec: ''
           make-test-os: 'ubuntu-20.04 ubuntu-22.04'
           make-test-multiworker-os: ''
-      - '2306':
-          branch: 'stable/2306'
+      - '2402':
+          branch: 'stable/2402'
           branch-refspec: ''
           make-test-os: 'ubuntu-20.04 ubuntu-22.04'
           make-test-multiworker-os: ''
       - 'master':
           branch: 'master'
           branch-refspec: ''
-      - '2302':
-          branch: 'stable/2302'
+      - '2310':
+          branch: 'stable/2310'
           branch-refspec: ''
-      - '2306':
-          branch: 'stable/2306'
+      - '2402':
+          branch: 'stable/2402'
           branch-refspec: ''
     testbed-arch:
-      - 1n-skx:
+      - 1n-spr:
           os: 'ubuntu2204'
           executor-arch: 'x86_64'
-      - 1n-tx2:
+          skip-vote: 'true'
+#      - 1n-tx2:
+#          os: 'ubuntu2204'
+#          executor-arch: 'aarch64'
+#          skip-vote: 'false'
+      - 1n-alt:
           os: 'ubuntu2204'
           executor-arch: 'aarch64'
-          skip-vote: 'false'
+          skip-vote: 'true'
+    exclude:
+      # 1n-alt testbed not supported
+      # in CSIT prior to 2402
+      - testbed-arch: 1n-alt
+        stream: '2310'
 # [end] VPP-CSIT-VERIFY-DEVICE PROJECT
 
 # VPP-CSIT-VERIFY-PERF PROJECT
     name: vpp-csit-verify-perf
     jobs:
       - 'vpp-csit-verify-perf-{stream}-{os}-{executor-arch}-{testbed-arch}'
+      - 'vpp-csit-bisect-{stream}-{os}-{executor-arch}-{testbed-arch}'
     project: 'vpp'
     skip-vote: 'false'
     stream:
       - 3n-snr:
           os: 'ubuntu2204'
           executor-arch: 'x86_64'
+      - 3n-icxd:
+          os: 'ubuntu2204'
+          executor-arch: 'x86_64'
+      - 3na-spr:
+          os: 'ubuntu2204'
+          executor-arch: 'x86_64'
+      - 3nb-spr:
+          os: 'ubuntu2204'
+          executor-arch: 'x86_64'
 # [end] VPP-CSIT-VERIFY-PERF PROJECT
 
 # VPP-CSIT-API-CRC PROJECT
       - 'master':
           branch: 'master'
           branch-refspec: ''
-      - '2302':
-          branch: 'stable/2302'
+      - '2310':
+          branch: 'stable/2310'
           branch-refspec: ''
-      - '2306':
-          branch: 'stable/2306'
+      - '2402':
+          branch: 'stable/2402'
           branch-refspec: ''
     os:
       - 'ubuntu2204'
       - fdio-infra-publish
 # [end] VPP-CSIT-VERIFY-PERF JOB TEMPLATE
 
+# VPP-CSIT-BISECT JOB TEMPLATE
+- job-template:
+    name: 'vpp-csit-bisect-{stream}-{os}-{executor-arch}-{testbed-arch}'
+    description: |
+      <ul>
+          <li>executor
+              <ul>
+                  <li>builder-{os}-prod-{executor-arch}
+              </ul>
+          <li>testbed architecture
+              <ul>
+                  <li>{testbed-arch}
+              </ul>
+          <li>Objective
+              <ul>
+                  <li>Find a cause of VPP performance jump among VPP commits.
+              </ul>
+      </ul>
+
+    project-type: freestyle
+    node: 'builder-{os}-prod-{executor-arch}'
+    concurrent: true
+    latest-only: false
+
+    properties:
+      - lf-infra-properties:
+          build-days-to-keep: "{build-days-to-keep}"
+
+    # Please keep parameters in alphabetical order
+    parameters:
+      - csit-perf-trial-duration-parameter:
+          csit-perf-trial-duration: "1.0"
+      - csit-perf-trial-multiplicity-parameter:
+          csit-perf-trial-multiplicity: "60"
+      - gerrit-csit-refspec-parameter
+      - gerrit-event-comment-text-parameter
+      - gerrit-event-type-parameter
+      - gerrit-refspec-parameter:
+          refspec: '{branch-refspec}'
+      - gerrit-parameter:
+          branch: '{branch}'
+      - make-parallel-jobs-parameter:
+          make-parallel-jobs: '{make-parallel-jobs}'
+      - os-parameter:
+          os: '{os}'
+      - project-parameter:
+          project: '{project}'
+      - stream-parameter:
+          stream: '{stream}'
+
+    scm:
+      - gerrit-trigger-scm:
+          credentials-id: 'jenkins-gerrit-credentials'
+          refspec: '$GERRIT_REFSPEC'
+          choosing-strategy: 'gerrit'
+
+    wrappers:
+      - fdio-infra-wrappers-non-activity-timeout:
+          build-timeout: 300
+
+    triggers:
+      - gerrit-trigger-csit-perftest:
+          project: '{project}'
+          branch: '{branch}'
+          trigger-word: 'bisecttest-{testbed-arch}'
+          skip-vote: true
+
+    builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_vpp_ubuntu_docker_test.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_vpp_ext_deps.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/vpp/csit-bisect.sh
+
+    publishers:
+      - postbuildscript:
+          # Can be removed when all CSIT branches use correct archive directory.
+          builders:
+            - build-on:
+                - ABORTED
+                - FAILURE
+                - NOT_BUILT
+                - SUCCESS
+                - UNSTABLE
+              build-steps:
+                - shell:
+                    !include-raw-escape:
+                    - ../scripts/vpp/copy_archives.sh
+      - fdio-infra-publish
+# [end] VPP-CSIT-BISECT JOB TEMPLATE
+
 # VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
 - job-template:
     name: 'vpp-csit-verify-api-crc-{stream}-{os}-{executor-arch}'