Mark jobs that should not tolerate CRC mismatch 55/21955/3
authorVratko Polak <vrpolak@cisco.com>
Wed, 11 Sep 2019 10:51:01 +0000 (12:51 +0200)
committerVratko Polak <vrpolak@cisco.com>
Wed, 11 Sep 2019 10:51:01 +0000 (12:51 +0200)
CRC checking is only needed in a small subset of jobs
that are required for maintaining CRCs.
Other jobs are more useful if they skip CRC checking,
in order to uncover real incompatibility (or confirm compatibility).

Change-Id: I08113b3bec5e38650a6e7331a9513feb17908e48
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jjb/csit/csit-func.yaml
jjb/csit/csit-perf.yaml
jjb/csit/csit-vpp-device.yaml
jjb/global-macros.yaml
jjb/vpp/vpp.yaml

index c9a9863..86c9f1c 100644 (file)
           name: ARCHIVE_ARTIFACTS
           default: '{archive-artifacts}'
           description: Artifacts to archive to the logs server.
+      # This is an automatic 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:
index bff30d8..6626400 100644 (file)
           name: ARCHIVE_ARTIFACTS
           default: '{archive-artifacts}'
           description: Artifacts to archive to the logs server.
+      # 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:
index f16dae5..2d1b3ce 100644 (file)
           name: ARCHIVE_ARTIFACTS
           default: '{archive-artifacts}'
           description: Artifacts to archive to the logs server.
+      # This is an automatic verify job, part of API coverage.
+      # CRC checking is needed to ensure vpp crc job breaks only when intended.
+      # Unlikely to be removed, as this job is primary source of API coverage.
+      - csit-fail-on-crc-mismatch-parameter:
+          fail-on-crc-mismatch: 'True'
 
     scm:
       - gerrit-trigger-scm:
index a179b13..a953421 100644 (file)
       - string:
           name: FDIO_CSIT_FAIL_ON_CRC_MISMATCH
           default: '{fail-on-crc-mismatch}'
-          description: "If false, CRC is not checked, so compatibility is tested."
+          description: "If true, CRC is checked, else compatibility is tested."
 
 - parameter:
     name: gerrit-event-type-parameter
index b7b08fc..dbd3dd7 100644 (file)
           name: ARCHIVE_ARTIFACTS
           default: '{archive-artifacts}'
           description: Artifacts to archive to the logs server.
-      # The API CRC job fails on mismatch, we hunt for real incompatibilities.
-      - csit-fail-on-crc-mismatch-parameter:
-          fail-on-crc-mismatch: 'False'
 
     scm:
       - gerrit-trigger-scm:
           name: ARCHIVE_ARTIFACTS
           default: '{archive-artifacts}'
           description: Artifacts to archive to the logs server.
-      # The API CRC job fails on mismatch, try compare API versions if possible.
-      - csit-fail-on-crc-mismatch-parameter:
-          fail-on-crc-mismatch: 'False'
 
     scm:
       - gerrit-trigger-scm:
           name: ARCHIVE_ARTIFACTS
           default: '{archive-artifacts}'
           description: Artifacts to archive to the logs server.
+      # Not sure whether not failing has any useful usage,
+      # but it does not hurt to have some flexibility for future.
+      - csit-fail-on-crc-mismatch-parameter:
+          fail-on-crc-mismatch: 'True'
 
     scm:
       - gerrit-trigger-scm: