feat(CSIT): Add soak job 40/40740/6
authorPeter Mikus <peter.mikus@protonmail.ch>
Wed, 17 Apr 2024 11:21:52 +0000 (11:21 +0000)
committerPeter Mikus <peter.mikus@protonmail.ch>
Wed, 17 Apr 2024 12:11:29 +0000 (12:11 +0000)
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: I47bb5849cc13065416a3c4521317f9a75e54004b

jjb/csit/csit-perf.yaml

index 76c5090..20630ca 100644 (file)
@@ -1,5 +1,5 @@
-# Copyright (c) 2023 Cisco and/or its affiliates.
-# Copyright (c) 2023 PANTHEON.tech s.r.o. and/or its affiliates.
+# Copyright (c) 2024 Cisco and/or its affiliates.
+# Copyright (c) 2024 PANTHEON.tech s.r.o. and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
                 os: 'ubuntu2204'
                 executor-arch: 'x86_64'
                 periodicity: '30 22 * * 0-4'
-      - 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}':
+      - 'csit-vpp-perf-mrr-weekly-master-{node-arch}':
           node-arch:
             - 2n-icx:
                 os: 'ubuntu2204'
                 os: 'ubuntu2204'
                 executor-arch: 'aarch64'
                 periodicity: '0 0 * * 1'
-          stream:
-            - master:
-                branch: 'master'
-                branch-id: 'oper'
+      - 'csit-vpp-perf-soak-weekly-master-{node-arch}':
+          node-arch:
+            - 2n-icx:
+                os: 'ubuntu2204'
+                executor-arch: 'x86_64'
+            - 2n-clx:
+                os: 'ubuntu2204'
+                executor-arch: 'x86_64'
+            - 2n-spr:
+                os: 'ubuntu2204'
+                executor-arch: 'x86_64'
+            - 3n-icx:
+                os: 'ubuntu2204'
+                executor-arch: 'x86_64'
+            - 3n-icxd:
+                os: 'ubuntu2204'
+                executor-arch: 'x86_64'
+          periodicity: '0 0 * * 6'
       - 'csit-trex-perf-ndrpdr-weekly-master-{node-arch}':
           node-arch:
             - 1n-aws:
       - fdio-infra-publish
 
 - job-template:
-    name: 'csit-vpp-perf-mrr-weekly-{stream}-{node-arch}'
+    name: 'csit-vpp-perf-mrr-weekly-master-{node-arch}'
 
     description: |
       <ul>
     publishers:
       - fdio-infra-publish
 
+- job-template:
+    name: 'csit-vpp-perf-soak-weekly-master-{node-arch}'
+
+    description: |
+      <ul>
+          <li>objective
+              <ul>
+                  <li>check vpp perf soak weekly on {node-arch}
+              </ul>
+          <li>perf test-cases selection
+              <ul>
+                  <li>NF Density CSIT VPP SOAK 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: 'm-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-trex-perf-ndrpdr-weekly-master-{node-arch}'