From 465e4f2d955e7d84baf69c9236fcec2fcd969c8c Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 5 Sep 2019 16:03:53 +0200 Subject: [PATCH] Disable CRC checking for some vpp-csit jobs + Except the API CRC job, of course. + See comments for reasons. Change-Id: Ida87cac3cf4a85fdf25d8d579ad48a484eb1d2b8 Signed-off-by: Vratko Polak --- jjb/global-macros.yaml | 8 ++++++++ jjb/vpp/vpp.yaml | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index c4f081b1a..a179b1329 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -108,6 +108,14 @@ 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: diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 1fd670052..b7b08fca5 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -832,6 +832,9 @@ 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: @@ -910,6 +913,9 @@ 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: -- 2.16.6