csit: Add hoststack daily jobs. 20/38120/1
authorTibor Frank <[email protected]>
Thu, 2 Feb 2023 11:06:00 +0000 (12:06 +0100)
committerTibor Frank <[email protected]>
Thu, 2 Feb 2023 11:06:00 +0000 (12:06 +0100)
Signed-off-by: Tibor Frank <[email protected]>
Change-Id: I5dba19e8627330e66b72014296951411610e2df0

jjb/csit/csit-perf.yaml

index e5223bb..d7f5a60 100644 (file)
                 os: 'ubuntu2204'
                 executor-arch: 'x86_64'
                 periodicity: '30 22 * * 0-4'
+      - 'csit-vpp-perf-hoststack-daily-master-{node-arch}':
+          node-arch:
+            - 2n-icx:
+                os: 'ubuntu2204'
+                executor-arch: 'x86_64'
+                periodicity: '30 22 * * 0-4'
+            - 3n-icx:
+                os: 'ubuntu2204'
+                executor-arch: 'x86_64'
+                periodicity: '30 22 * * 0-4'
       - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
           node-arch:
             - 2n-icx:
     publishers:
       - fdio-infra-publish
 
+- job-template:
+    name: 'csit-vpp-perf-hoststack-daily-master-{node-arch}'
+
+    description: |
+      <ul>
+          <li>objective
+              <ul>
+                  <li>check vpp perf hoststack daily
+              </ul>
+          <li>executor
+              <ul>
+                  <li>builder-{os}-prod-{executor-arch}
+              </ul>
+          <li>perf test-cases selection
+              <ul>
+                  <li>all CSIT VPP HOSTSTACK perf suites
+              </ul>
+          <li>results
+              <ul>
+                  <li>jjb verify: PASS/FAIL
+                  <li>present: no
+                  <li>analyse: csit project (catch malfunctions/degradations)
+              </ul>
+      </ul>
+
+    project-type: freestyle
+    node: 'builder-{os}-prod-{executor-arch}'
+    concurrent: false
+    latest-only: false
+
+    properties:
+      - lf-infra-properties:
+          build-days-to-keep: "{build-days-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}"
+
+    wrappers:
+      - fdio-infra-wrappers-non-activity-timeout:
+          build-timeout: '{build-timeout}'
+
+    triggers:
+      - timed: '{periodicity}'
+
+    builders:
+      - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
+      - inject:
+          properties-file: variables.prop
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/csit/perf-timed.sh
+
+    publishers:
+      - fdio-infra-publish
+
 - job-template:
     name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'