From a4077697a22eef65925637b423ddabff41a3941b Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Sat, 1 Oct 2022 17:58:37 +1000 Subject: [PATCH] CI: Remove netvirt jobs and config netvirt project is inactive for last two release cycles and has been voted to be archived by the TSC. Change-Id: Ibff246a8267f7f4dce52229d8a4d8a904e6eb6f9 Signed-off-by: Anil Belur Ref: https://lists.opendaylight.org/g/TSC/message/14309 --- .../netvirt-settings/config-params.yaml | 3 - .../mavenSettings/netvirt-settings/content | 1 - .../serverCredentialMappings.sandbox.yaml | 1 - .../serverCredentialMappings.yaml | 10 -- jjb/netvirt/netvirt-dependencies.yaml | 93 ------------------- jjb/netvirt/netvirt.yaml | 76 --------------- jjb/netvirt/quagga-build.sh | 45 --------- jjb/netvirt/run-reports.sh | 25 ----- jjb/neutron/neutron-patch-test.yaml | 8 -- .../openflowplugin-patch-test.yaml | 8 -- jjb/ovsdb/ovsdb-patch-test.yaml | 9 -- jjb/serviceutils/serviceutils-patch-test.yaml | 8 -- 12 files changed, 287 deletions(-) delete mode 100644 jenkins-config/managed-config-files/mavenSettings/netvirt-settings/config-params.yaml delete mode 120000 jenkins-config/managed-config-files/mavenSettings/netvirt-settings/content delete mode 120000 jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.sandbox.yaml delete mode 100644 jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.yaml delete mode 100644 jjb/netvirt/netvirt-dependencies.yaml delete mode 100644 jjb/netvirt/netvirt.yaml delete mode 100644 jjb/netvirt/quagga-build.sh delete mode 100644 jjb/netvirt/run-reports.sh diff --git a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/config-params.yaml deleted file mode 100644 index 2164ebe25..000000000 --- a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/config-params.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -name: "netvirt-settings" -comment: "netvirt-settings" diff --git a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/content b/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/content deleted file mode 120000 index e830ebdd5..000000000 --- a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/content +++ /dev/null @@ -1 +0,0 @@ -../../../managed-config-templates/mavenSettings-content \ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.sandbox.yaml deleted file mode 120000 index 8f9205792..000000000 --- a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.sandbox.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml \ No newline at end of file diff --git a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.yaml deleted file mode 100644 index 277471d9d..000000000 --- a/jenkins-config/managed-config-files/mavenSettings/netvirt-settings/serverCredentialMappings.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -serverCredentialMappings: - - serverId: "opendaylight-staging" - credentialsId: &cred "deployment-netvirt" - - serverId: "opendaylight-snapshot" - credentialsId: *cred - - serverId: "opendaylight-site" - credentialsId: *cred - - serverId: "ossrh" - credentialsId: "ossrh" diff --git a/jjb/netvirt/netvirt-dependencies.yaml b/jjb/netvirt/netvirt-dependencies.yaml deleted file mode 100644 index 545b62ea5..000000000 --- a/jjb/netvirt/netvirt-dependencies.yaml +++ /dev/null @@ -1,93 +0,0 @@ ---- -- project: - name: netvirt-thirdparty-quagga-dependencies - project: "netvirt" - project-name: "netvirt" - jobs: - - "netvirt-thirdparty-quagga-{platform}" - - quagga-version: "5" - mvn-opts: "" - mvn-params: "" - mvn-version: mvn35 - - # common parameters required for 'lf-infra-deploy-maven-file' builder - repo-id: "thirdparty" - upload-files-dir: "$WORKSPACE/upload_files" - group-id: "quagga$QUAGGA_VERSION" - - # Used by the release job - staging-profile-id: a67da0ffbb1ba - - platform: - - centos7: - build-node: centos7-builder-2c-8g - - ubuntu1804: - build-node: ubuntu1804-mininet-ovs-28-1c-4g - -- job-template: - name: "netvirt-thirdparty-quagga-{platform}" - project-type: freestyle - node: "{build-node}" - concurrent: true - - properties: - - opendaylight-infra-properties: - build-days-to-keep: "{build-days-to-keep}" - - parameters: - - opendaylight-infra-parameters: - os-cloud: "{os-cloud}" - project: "{project}" - branch: "{branch}" - refspec: "refs/heads/{branch}" - artifacts: "{archive-artifacts}" - - lf-infra-maven-parameters: - mvn-opts: "{mvn-opts}" - mvn-params: "{mvn-params}" - mvn-version: "{mvn-version}" - staging-profile-id: "{staging-profile-id}" - - string: - name: QUAGGA_VERSION - default: "{quagga-version}" - description: "quagga version" - - scm: - - git-netvirt-quagga - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: "{build-timeout}" - - builders: - - lf-infra-pre-build - - netvirt-build-quagga - - lf-infra-deploy-maven-file: - global-settings-file: "global-settings" - settings-file: "netvirt-settings" - mvn-version: "{mvn-version}" - repo-id: "{repo-id}" - group-id: "{group-id}" - upload-files-dir: "{upload-files-dir}" - maven-repo-url: "$NEXUS_URL/content/repositories/thirdparty" - - publishers: - - email-notification: - email-recipients: "{email-recipients}" - email-prefix: "[netvirt]" - - lf-infra-publish - -- builder: - name: "netvirt-build-quagga" - builders: - - shell: !include-raw-escape: quagga-build.sh - -- scm: - name: "git-netvirt-quagga" - scm: - - git: - url: https://github.com/6WIND/zrpcd.git - basedir: "zrpcd" - branches: - - "issue_32_bis" - wipe-workspace: true diff --git a/jjb/netvirt/netvirt.yaml b/jjb/netvirt/netvirt.yaml deleted file mode 100644 index 562b3e069..000000000 --- a/jjb/netvirt/netvirt.yaml +++ /dev/null @@ -1,76 +0,0 @@ ---- -- project: - name: netvirt-master - jobs: - - "{project-name}-maven-javadoc-jobs" - - "{project-name}-rtd-jobs": - build-node: centos7-builder-2c-2g - doc-dir: .tox/docs/tmp/html - project-pattern: netvirt - rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-netvirt/32929/ - rtd-token: 7b6a1dcfc729957ace511e016274e253e07a8d6c - - gerrit-tox-verify - - odl-maven-jobs-jdk11 - - odl-maven-verify-jobs - - stream: master - branch: "master" - - project: "netvirt" - project-name: "netvirt" - - java-version: "openjdk11" - mvn-settings: "netvirt-settings" - mvn-opts: "-Xmx2048m" - build-timeout: 90 - build-node: centos7-builder-4c-4g - dependencies: > - genius-merge-{stream}, - neutron-merge-{stream}, - openflowjava-merge-{stream}, - openflowplugin-merge-{stream}, - ovsdb-merge-{stream} - email-upstream: - "[genius] [netvirt] [neutron] [openflowjava] [openflowplugin]\ - \ [ovsdb]" - - # Used by the release job - staging-profile-id: a67da0ffbb1ba - -- project: - name: netvirt-sonar - jobs: - - gerrit-maven-sonar - - project: "netvirt" - project-name: "netvirt" - branch: "master" - java-version: "openjdk11" - mvn-settings: "netvirt-settings" - mvn-opts: "-Xmx1024m" - sonarcloud: true - sonarcloud-project-organization: "{sonarcloud_project_organization}" - sonarcloud-api-token: "{sonarcloud_api_token}" - sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}" - -- project: - name: netvirt-csit-view - views: - - csit-view - view-name: netvirt-csit - view-description: "List of netvirt-csit jobs" - view-regex: "netvirt-csit(?!(.*gate)|(.*hwvtep)).*" - -- project: - name: netvirt - jobs: - - gerrit-info-yaml-verify - project: netvirt - project-name: netvirt-info - build-node: centos7-builder-2c-1g - -- project: - name: netvirt-view - views: - - project-view - project-name: netvirt diff --git a/jjb/netvirt/quagga-build.sh b/jjb/netvirt/quagga-build.sh deleted file mode 100644 index 294601ebd..000000000 --- a/jjb/netvirt/quagga-build.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# SPDX-License-Identifier: EPL-1.0 -############################################################################## -# Copyright (c) 2018 The Linux Foundation and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the term s of the Eclipse Public License -# v1.0 accompanies testing this distribution with Netvirt jobs, and is available at -# http://www.eclipse.org/legal/epl-v10.html -############################################################################## -echo "---> quagga-build.sh" - -set -e -x - -# The script builds 6wind/quagga source and binary packages from zrpcd -# repository for testing router functionalities with Netvirt jobs, . - -pushd "$(pwd)/zrpcd" - -chmod a+x "$(pwd)/pkgsrc/dev_compile_script.sh" -cd "$(pwd)/pkgsrc" && sudo "./dev_compile_script.sh" -p -d -b -v "$QUAGGA_VERSION" - -# Move packages into a that will be uploaded to Nexus -UPLOAD_FILES_PATH="$WORKSPACE/upload_files" -mkdir -p "$UPLOAD_FILES_PATH" - -OS=$(facter operatingsystem) - -case "$OS" in - Ubuntu) - mv "$WORKSPACE/zrpcd/pkgsrc/"*.deb "$UPLOAD_FILES_PATH" || true - ;; - CentOS|RedHat) - mv "$WORKSPACE/zrpcd/pkgsrc/"*.rpm "$UPLOAD_FILES_PATH" || true - ;; - *) - # nothing to do - ;; -esac - -popd - -# todo: remove below lines once the scripts in zrpcd repos build the src packages. -# Ref: https://lists.opendaylight.org/pipermail/integration-dev/2018-July/012330.html -tar cvzf "$WORKSPACE/upload_files/zrpcd.$(date +%F).tar.gz" "$(pwd)/zrpcd" diff --git a/jjb/netvirt/run-reports.sh b/jjb/netvirt/run-reports.sh deleted file mode 100644 index 1b004e0c5..000000000 --- a/jjb/netvirt/run-reports.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: EPL-1.0 -############################################################################## -# Copyright (c) 2018 Red Hat, Inc. and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -############################################################################## - -echo "Executing run-reports.sh" -set -e -o pipefail # Fail on errors, give stacktrace -set -x # Enable trace - -virtualenv --quiet "/tmp/v/odltools" -# shellcheck disable=SC1091 -. /tmp/v/odltools/bin/activate -pip install odltools -mkdir "$REPORT_PATH" -python -m odltools csit reports --numjobs "$NUM_JOBS" --path "$REPORT_PATH" --url "$LOG_URL" --jobnames "$JOB_NAMES" || true -python -m odltools csit exceptions --numjobs "$NUM_JOBS" --path "$REPORT_PATH" --url "$LOG_URL" --jobnames "$JOB_NAMES" || true -mkdir -p "$WORKSPACE/archives" -cp "$REPORT_PATH"/*.txt "$WORKSPACE/archives" || true -exit 0 diff --git a/jjb/neutron/neutron-patch-test.yaml b/jjb/neutron/neutron-patch-test.yaml index 3420347be..cb7332c16 100644 --- a/jjb/neutron/neutron-patch-test.yaml +++ b/jjb/neutron/neutron-patch-test.yaml @@ -22,14 +22,6 @@ jdk: "openjdk8" feature: - - netvirt: - csit-list: > - netvirt-csit-1node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - - cluster-netvirt: - csit-list: > - netvirt-csit-3node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - genius: csit-list: > genius-csit-1node-gate-only-{stream} diff --git a/jjb/openflowplugin/openflowplugin-patch-test.yaml b/jjb/openflowplugin/openflowplugin-patch-test.yaml index fb0ac281d..731d65467 100644 --- a/jjb/openflowplugin/openflowplugin-patch-test.yaml +++ b/jjb/openflowplugin/openflowplugin-patch-test.yaml @@ -41,14 +41,6 @@ openflowplugin-csit-3node-gate-clustering-bulkomatic-only-{stream}, openflowplugin-csit-3node-gate-clustering-perf-bulkomatic-only-{stream} - - netvirt: - csit-list: > - netvirt-csit-1node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - - cluster-netvirt: - csit-list: > - netvirt-csit-3node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - genius: csit-list: > genius-csit-1node-gate-only-{stream} diff --git a/jjb/ovsdb/ovsdb-patch-test.yaml b/jjb/ovsdb/ovsdb-patch-test.yaml index 780a1cf50..a592224df 100644 --- a/jjb/ovsdb/ovsdb-patch-test.yaml +++ b/jjb/ovsdb/ovsdb-patch-test.yaml @@ -29,15 +29,6 @@ - genius: csit-list: > genius-csit-1node-gate-only-{stream} - - netvirt: - csit-list: > - netvirt-csit-1node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - cluster-netvirt: - csit-list: > - netvirt-csit-3node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - l2gw: - csit-list: > - netvirt-csit-hwvtep-1node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - core: csit-list: > ovsdb-csit-1node-gate-southbound-all-{stream}, diff --git a/jjb/serviceutils/serviceutils-patch-test.yaml b/jjb/serviceutils/serviceutils-patch-test.yaml index 4e840d8cd..6467534e5 100644 --- a/jjb/serviceutils/serviceutils-patch-test.yaml +++ b/jjb/serviceutils/serviceutils-patch-test.yaml @@ -25,14 +25,6 @@ jdk: "openjdk8" feature: - - netvirt: - csit-list: > - netvirt-csit-1node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - - cluster-netvirt: - csit-list: > - netvirt-csit-3node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream} - - genius: csit-list: > genius-csit-1node-gate-only-{stream} -- 2.36.6