chore: remove csit vpp-device jobs and scripts 14/41614/1
authorDave Wallace <[email protected]>
Mon, 30 Sep 2024 14:59:13 +0000 (10:59 -0400)
committerDave Wallace <[email protected]>
Mon, 30 Sep 2024 14:59:13 +0000 (10:59 -0400)
Change-Id: Idcf94d0df6dc7b9d87f4cf8cb9848651c7b922fb
Signed-off-by: Dave Wallace <[email protected]>
jjb/csit/csit-vpp-device.yaml [deleted file]
jjb/global-macros.yaml
jjb/scripts/csit/device-semiweekly.sh [deleted file]
jjb/scripts/csit/device-verify.sh [deleted file]
jjb/scripts/vpp/csit-device.sh [deleted file]

diff --git a/jjb/csit/csit-vpp-device.yaml b/jjb/csit/csit-vpp-device.yaml
deleted file mode 100644 (file)
index 1b2c6a1..0000000
+++ /dev/null
@@ -1,259 +0,0 @@
-# Copyright (c) 2023 Cisco 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:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
----
-- project:
-    name: csit-vpp-device
-    description: 'CSIT jenkins jobs.'
-    jobs:
-      - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
-      - 'csit-vpp-device-semiweekly-{stream}-{os}-{executor-arch}-{node-arch}'
-      - 'csit-vpp-device-weekly-{stream}-{os}-{executor-arch}-{node-arch}'
-      - 'csit-vpp-device-report-coverage-{stream}-{node-arch}':
-          stream:
-            - '2410':
-                branch: 'rls2410'
-                branch-id: 'oper-rls2410'
-    node-arch:
-      - '1n-alt':
-          os: 'ubuntu2204'
-          executor-arch: 'aarch64'
-          make-parallel-jobs: '32'
-          skip-vote: 'false'
-      - '1n-spr':
-          os: 'ubuntu2204'
-          executor-arch: 'x86_64'
-          make-parallel-jobs: '32'
-          skip-vote: 'true'
-    project: 'csit'
-    branch: 'master'
-    branch-id: 'oper'
-    stream:
-      - master:
-          branch: 'master'
-          branch-id: 'oper'
-      - '2410':
-          branch: 'rls2410'
-          branch-id: 'oper-rls2410'
-
-- job-template:
-    name: 'csit-vpp-device-report-coverage-{stream}-{node-arch}'
-
-    project-type: freestyle
-    node: 'csit-builder-{os}-prod-{executor-arch}'
-    concurrent: true
-    latest-only: false
-
-    properties:
-      - lf-infra-properties:
-          build-days-to-keep: "{build-days-to-keep}"
-
-    parameters:
-      - project-parameter:
-          project: '{project}'
-      - gerrit-parameter:
-          branch: '{branch}'
-      - make-parallel-jobs-parameter:
-          make-parallel-jobs: '{make-parallel-jobs}'
-      - os-parameter:
-          os: '{os}'
-      - gerrit-refspec-parameter:
-          refspec: '$GERRIT_REFSPEC'
-      - gerrit-event-type-parameter
-      - gerrit-event-comment-text-parameter
-      - csit-fail-on-crc-mismatch-parameter:
-          fail-on-crc-mismatch: 'True'
-
-    scm:
-      - gerrit-trigger-scm:
-          credentials-id: 'jenkins-gerrit-credentials'
-          refspec: '$GERRIT_REFSPEC'
-          choosing-strategy: 'gerrit'
-
-    wrappers:
-      - fdio-infra-wrappers:
-          build-timeout: '{build-timeout}'
-
-    triggers:
-      - gerrit-trigger-csit-perftest:
-          project: '{project}'
-          branch: '{branch}'
-          trigger-word: 'csit-vpp-report-dev-{node-arch}'
-          skip-vote: false
-
-    builders:
-      - shell:
-          !include-raw-escape:
-          - ../scripts/setup_executor_env.sh
-      - shell:
-          !include-raw-escape:
-          - ../scripts/csit/device-verify.sh
-
-    publishers:
-      - fdio-infra-publish
-
-- job-template:
-    name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
-
-    project-type: freestyle
-    node: 'csit-builder-{os}-prod-{executor-arch}'
-    concurrent: true
-    latest-only: false
-
-    properties:
-      - lf-infra-properties:
-          build-days-to-keep: "{build-days-to-keep}"
-
-    parameters:
-      - project-parameter:
-          project: '{project}'
-      - gerrit-parameter:
-          branch: '{branch}'
-      - make-parallel-jobs-parameter:
-          make-parallel-jobs: '{make-parallel-jobs}'
-      - os-parameter:
-          os: '{os}'
-      - gerrit-refspec-parameter:
-          refspec: '$GERRIT_REFSPEC'
-      - gerrit-event-type-parameter
-      - gerrit-event-comment-text-parameter
-      # 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:
-          credentials-id: 'jenkins-gerrit-credentials'
-          refspec: '$GERRIT_REFSPEC'
-          choosing-strategy: 'gerrit'
-
-    wrappers:
-      - fdio-infra-wrappers:
-          build-timeout: '{build-timeout}'
-
-    triggers:
-      - gerrit-trigger-csit-vpp-devicetest-full:
-          project: '{project}'
-          branch: '{branch}'
-          skip-vote: '{skip-vote}'
-
-    builders:
-      - shell:
-          !include-raw-escape:
-          - ../scripts/setup_executor_env.sh
-      - shell:
-          !include-raw-escape:
-          - ../scripts/csit/device-verify.sh
-
-    publishers:
-      - fdio-infra-publish
-
-- job-template:
-    name: 'csit-vpp-device-semiweekly-{stream}-{os}-{executor-arch}-{node-arch}'
-
-    project-type: freestyle
-    node: 'csit-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}'
-      - make-parallel-jobs-parameter:
-          make-parallel-jobs: '{make-parallel-jobs}'
-      - os-parameter:
-          os: '{os}'
-
-    wrappers:
-      - fdio-infra-wrappers-non-activity-timeout:
-          build-timeout: '{build-timeout}'
-
-    triggers:
-      - timed: '0 4 * * 2,6'
-
-      - gerrit-trigger-manually-triggered:
-          comment-trigger-value: 'csit-verify-vpp'
-          name: '{project}'
-          branch: '{branch}'
-
-    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/device-semiweekly.sh
-
-    publishers:
-      - fdio-infra-publish
-
-- job-template:
-    name: 'csit-vpp-device-weekly-{stream}-{os}-{executor-arch}-{node-arch}'
-
-    project-type: freestyle
-    node: 'csit-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}'
-      - make-parallel-jobs-parameter:
-          make-parallel-jobs: '{make-parallel-jobs}'
-      - os-parameter:
-          os: '{os}'
-
-    scm:
-      - git-scm:
-          credentials-id: 'jenkins-gerrit-credentials'
-          branch: '{branch}'
-
-    wrappers:
-      - fdio-infra-wrappers-non-activity-timeout:
-          build-timeout: '{build-timeout}'
-
-    triggers:
-      - timed: '0 4 * * 0'
-
-      - gerrit-trigger-manually-triggered:
-          comment-trigger-value: 'csit-vpp-ref-verify'
-          name: '{project}'
-          branch: '{branch}'
-
-    builders:
-      - shell:
-          !include-raw-escape:
-          - ../scripts/setup_executor_env.sh
-      - shell:
-          !include-raw-escape:
-          - ../scripts/csit/device-verify.sh
-
-    publishers:
-      - fdio-infra-publish
index 2de57c7..4a1fdf4 100644 (file)
             unstable: '{skip-vote}'
             notbuilt: '{skip-vote}'
 
-- trigger:
-    name: gerrit-trigger-csit-vpp-devicetest-full
-    # Comes from CSIT, for automatic jobs running device tests with VPP builds.
-    # The job acts as an automatic verify job for CSIT contributions.
-    triggers:
-      - gerrit:
-          server-name: 'Primary'
-          trigger-on:
-            # The main way the job is triggered automatically on patch upload.
-            # Gated by tox job, so we do not spend resources on WiP changes.
-            - comment-added-contains-event:
-                comment-contains-value: 'tox_success'
-            # Manual trigger to allow testing WiP changes with selected tags.
-            - comment-added-contains-event:
-                comment-contains-value: 'csit-devicetest'
-            # A comment with "recheck" restarts tox job, so no condition here.
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{project}'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-          skip-vote:
-            successful: '{skip-vote}'
-            failed: '{skip-vote}'
-            unstable: '{skip-vote}'
-            notbuilt: '{skip-vote}'
-
-- trigger:
-    name: gerrit-trigger-csit-vpp-devicetest-manual
-    # Comes from CSIT, for manual jobs running "device" tests with VPP builds.
-    # The job acts as a manual (optional) verify job for CSIT contributions.
-    triggers:
-      - gerrit:
-          server-name: 'Primary'
-          trigger-on:
-            - comment-added-contains-event:
-                comment-contains-value: 'csit-devicetest'
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{project}'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-          skip-vote:
-            successful: '{skip-vote}'
-            failed: '{skip-vote}'
-            unstable: '{skip-vote}'
-            notbuilt: '{skip-vote}'
-
 - trigger:
     name: gerrit-trigger-manually-triggered
     triggers:
             failed: true
             unstable: true
             notbuilt: true
-
-- trigger:
-    name: gerrit-trigger-vpp-csit-devicetest-full
-    # Comes from VPP, for automated jobs running "device" tests with CSIT code.
-    # The job acts as an automatic verify job for VPP contributions.
-    triggers:
-      - gerrit:
-          server-name: 'Primary'
-          trigger-on:
-            - comment-added-contains-event:
-                comment-contains-value: 'checkstyle_success'
-            - comment-added-contains-event:
-                comment-contains-value: 'devicetest'
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{name}'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-          skip-vote:
-            successful: '{skip-vote}'
-            failed: '{skip-vote}'
-            unstable: '{skip-vote}'
-            notbuilt: '{skip-vote}'
-
-- trigger:
-    name: gerrit-trigger-vpp-csit-devicetest-manual
-    # Comes from VPP, for manual jobs running "device" tests with CSIT code.
-    # The job acts as a manual (optional) verify job for VPP contributions.
-    triggers:
-      - gerrit:
-          server-name: 'Primary'
-          trigger-on:
-            - comment-added-contains-event:
-                comment-contains-value: 'devicetest'
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: '{name}'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-          skip-vote:
-            successful: '{skip-vote}'
-            failed: '{skip-vote}'
-            unstable: '{skip-vote}'
-            notbuilt: '{skip-vote}'
 # [end] Keep 'trigger' entries ordered alphabetically, please.
 
 #### PUBLISHERS
diff --git a/jjb/scripts/csit/device-semiweekly.sh b/jjb/scripts/csit/device-semiweekly.sh
deleted file mode 100755 (executable)
index 1086b54..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright (c) 2020 Cisco 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:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-echo "---> jjb/scripts/csit/device-semiweekly.sh"
-
-set -exuo pipefail
-
-# Clone CSIT git repository and proceed with entry script located there.
-#
-# Variables read:
-# - WORKSPACE - Jenkins workspace to create csit subdirectory in.
-# - GIT_URL - Git clone URL
-# - BRANCH_ID - CSIT operational branch to be used for test.
-# Directories updated:
-# - ${WORKSPACE}/csit - Created, holding a checked out CSIT repository.
-# - Multiple other side effects by entry script(s), see CSIT repository.
-
-cd "${WORKSPACE}"
-git clone "${GIT_URL}/csit" --depth=1 --no-single-branch --no-checkout
-# Check BRANCH_ID value.
-if [[ -z "${BRANCH_ID-}" ]]; then
-    echo "BRANCH_ID not provided => 'oper' belonging to master will be used."
-    BRANCH_ID="oper"
-fi
-pushd "${WORKSPACE}/csit"
-# Get the latest verified version of the required branch.
-BRANCH_NAME=$(echo $(git branch -r | grep -E "${BRANCH_ID}-[0-9]+" | tail -n 1))
-if [[ -z "${BRANCH_NAME-}" ]]; then
-    echo "No verified CSIT branch found - exiting!"
-    exit 1
-fi
-# Remove 'origin/' from the branch name.
-BRANCH_NAME=$(echo ${BRANCH_NAME#origin/})
-# Checkout the required csit branch.
-git checkout "${BRANCH_NAME}"
-popd
-csit_entry_dir="${WORKSPACE}/csit/resources/libraries/bash/entry"
-source "${csit_entry_dir}/bootstrap_vpp_device.sh"
-cp -R "${WORKSPACE}/csit/archives" "${WORKSPACE}/archives" || true
diff --git a/jjb/scripts/csit/device-verify.sh b/jjb/scripts/csit/device-verify.sh
deleted file mode 100644 (file)
index 5ccd2a5..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright (c) 2020 Cisco 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:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-echo "---> jjb/scripts/csit/device-verify.sh"
-
-set -exuo pipefail
-
-csit_entry_dir="${WORKSPACE}/resources/libraries/bash/entry"
-source "${csit_entry_dir}/bootstrap_vpp_device.sh"
diff --git a/jjb/scripts/vpp/csit-device.sh b/jjb/scripts/vpp/csit-device.sh
deleted file mode 100755 (executable)
index 9891930..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright (c) 2020 Cisco 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:
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-echo "---> jjb/scripts/vpp/csit-device.sh"
-
-set -exuo pipefail
-
-# Clone CSIT git repository and proceed with entry script located there.
-#
-# Variables read:
-# - WORKSPACE - Jenkins workspace to create csit subdirectory in.
-# - GIT_URL - Git clone URL
-# - CSIT_REF - Override ref of CSIT git repository to checkout.
-# Directories updated:
-# - ${WORKSPACE}/csit - Created, holding a checked out CSIT repository.
-# - Multiple other side effects by entry script(s), see CSIT repository.
-
-cd "${WORKSPACE}"
-git clone "${GIT_URL}/csit" --depth=1 --no-single-branch --no-checkout
-pushd "${WORKSPACE}/csit"
-if [[ -n "${CSIT_REF-}" ]]; then
-    git fetch --depth=1 "${GIT_URL}/csit" "${CSIT_REF}"
-    git checkout FETCH_HEAD
-else
-    git checkout HEAD
-fi
-popd
-csit_entry_dir="${WORKSPACE}/csit/resources/libraries/bash/entry"
-source "${csit_entry_dir}/with_oper_for_vpp.sh" "per_patch_device.sh"