Disable CRC checking for some vpp-csit jobs 19/21719/3
authorVratko Polak <vrpolak@cisco.com>
Thu, 5 Sep 2019 14:03:53 +0000 (16:03 +0200)
committerVratko Polak <vrpolak@cisco.com>
Thu, 5 Sep 2019 14:03:53 +0000 (16:03 +0200)
+ Except the API CRC job, of course.
+ See comments for reasons.

Change-Id: Ida87cac3cf4a85fdf25d8d579ad48a484eb1d2b8
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jjb/global-macros.yaml
jjb/vpp/vpp.yaml

index c4f081b..a179b13 100644 (file)
           default: '{arch}'
           description: "Architecture parameter"
 
+- parameter:
+    name: csit-fail-on-crc-mismatch-parameter
+    parameters:
+      - string:
+          name: FDIO_CSIT_FAIL_ON_CRC_MISMATCH
+          default: '{fail-on-crc-mismatch}'
+          description: "If false, CRC is not checked, so compatibility is tested."
+
 - parameter:
     name: gerrit-event-type-parameter
     parameters:
index 1fd6700..b7b08fc 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: