From: Andrew Grimberg Date: Thu, 15 Sep 2022 22:28:17 +0000 (+0000) Subject: Merge "Update cloud image CentOS7 builder x86_64" X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=ca9dc2f5f92ed0e9f55949636cf32beddf87afd9;hp=f886acd7ac395ae50365d22023a3b1ce96120820;p=releng%2Fbuilder.git Merge "Update cloud image CentOS7 builder x86_64" --- diff --git a/global-jjb b/global-jjb index d233be84b..74a4defcf 160000 --- a/global-jjb +++ b/global-jjb @@ -1 +1 @@ -Subproject commit d233be84b81a56b80356ac0f20a1658c9a93a5dd +Subproject commit 74a4defcfba1d8d39bf1db6889909afcc1ab1a83 diff --git a/jjb/integration/csit-jobs-chlorine.lst b/jjb/integration/csit-jobs-chlorine.lst index df9892a30..4e99cb409 100644 --- a/jjb/integration/csit-jobs-chlorine.lst +++ b/jjb/integration/csit-jobs-chlorine.lst @@ -6,7 +6,6 @@ daexim-csit-1node-basic-only-chlorine, daexim-csit-3node-clustering-basic-only-chlorine, distribution-csit-managed-chlorine, jsonrpc-csit-1node-basic-only-chlorine, -odltools-csit-1node-upstream-all-chlorine, openflowplugin-csit-1node-cbench-only-chlorine, openflowplugin-csit-1node-flow-services-all-chlorine, openflowplugin-csit-1node-perf-bulkomatic-only-chlorine, diff --git a/jjb/integration/csit-jobs-phosphorus.lst b/jjb/integration/csit-jobs-phosphorus.lst index b5c7fd3e7..07f041b9d 100644 --- a/jjb/integration/csit-jobs-phosphorus.lst +++ b/jjb/integration/csit-jobs-phosphorus.lst @@ -6,7 +6,6 @@ daexim-csit-1node-basic-only-phosphorus, daexim-csit-3node-clustering-basic-only-phosphorus, distribution-csit-managed-phosphorus, jsonrpc-csit-1node-basic-only-phosphorus, -odltools-csit-1node-upstream-all-phosphorus, openflowplugin-csit-1node-cbench-only-phosphorus, openflowplugin-csit-1node-flow-services-all-phosphorus, openflowplugin-csit-1node-perf-bulkomatic-only-phosphorus, diff --git a/jjb/integration/csit-jobs-sulfur.lst b/jjb/integration/csit-jobs-sulfur.lst index 1bbb9d8ac..edc97c78f 100644 --- a/jjb/integration/csit-jobs-sulfur.lst +++ b/jjb/integration/csit-jobs-sulfur.lst @@ -6,7 +6,6 @@ daexim-csit-1node-basic-only-sulfur, daexim-csit-3node-clustering-basic-only-sulfur, distribution-csit-managed-sulfur, jsonrpc-csit-1node-basic-only-sulfur, -odltools-csit-1node-upstream-all-sulfur, openflowplugin-csit-1node-cbench-only-sulfur, openflowplugin-csit-1node-flow-services-all-sulfur, openflowplugin-csit-1node-perf-bulkomatic-only-sulfur, diff --git a/jjb/integration/integration-install-robotframework.sh b/jjb/integration/integration-install-robotframework.sh index 5f909177a..215a16422 100644 --- a/jjb/integration/integration-install-robotframework.sh +++ b/jjb/integration/integration-install-robotframework.sh @@ -1,4 +1,4 @@ -#!/bin/sh -l +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2015 The Linux Foundation and others. @@ -10,20 +10,20 @@ ############################################################################## # vim: sw=4 ts=4 sts=4 et ft=sh : -ROBOT_VENV="/tmp/v/robot" -echo ROBOT_VENV="${ROBOT_VENV}" >> "${WORKSPACE}/env.properties" - -# The --system-site-packages parameter allows us to pick up system level -# installed packages. This allows us to bake matplotlib which takes very long -# to install into the image. -python3 -m venv "${ROBOT_VENV}" # shellcheck disable=SC1090 -. "${ROBOT_VENV}/bin/activate" +. ~/lf-env.sh -set -exu +# Create a virtual environment for robot tests and make sure setuptools & wheel +# are up-to-date in addition to pip +lf-activate-venv --python python3 --venv-file "${WORKSPACE}/.robot_venv" \ + setuptools \ + wheel + +# Save the virtual environment in ROBOT_VENV +ROBOT_VENV="$(cat "${WORKSPACE}/.robot_venv")" +echo ROBOT_VENV="${ROBOT_VENV}" >> "${WORKSPACE}/env.properties" -# Make sure pip itself us up-to-date. -python -m pip install --upgrade pip +set -exu echo "Installing Python Requirements" cat << 'EOF' > "requirements.txt" @@ -33,6 +33,7 @@ netaddr netifaces pyhocon requests +robotframework robotframework-httplibrary robotframework-requests==0.7.2 robotframework-selenium2library @@ -57,14 +58,7 @@ jmespath # Module for backup-restore support library jsonpatch - -# odltools for extra debugging -odltools EOF + python -m pip install -r requirements.txt -# Todo: Workaround needs pinned version of odltool to the latest because of the -# update in the dependency resolver in pip 21.3. -# Ref: https://github.com/pypa/pip/issues/9215 -pip install odltools==0.1.34 -odltools -V pip freeze diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml index 0e99a159b..228757c52 100644 --- a/jjb/integration/integration-templates.yaml +++ b/jjb/integration/integration-templates.yaml @@ -412,57 +412,6 @@ # yamllint disable-line rule:key-duplicates <<: *inttest_csit_1node -- job-template: - name: "{prefix}{project}-csit-1node-{functionality}-{install}-{stream}" - id: inttest-csit-1node-custom - <<: *inttest_csit_common - # yamllint disable-line rule:key-duplicates - <<: *inttest_csit_1node - - parameters: - - integration-csit-parameters: - archive-artifacts: "{archive-artifacts}" - branch: "{branch}" - os-cloud: "{os-cloud}" - # CSIT - bundle-url: "{bundle-url}" - repo-url: "{repo-url}" - robot-options: "{robot-options}" - # Controller - controller-scope: "{install}" - controller-max-mem: "{controller-max-mem}" - debug-map: "{debug-map}" - install-features: "{install-features}" - use-features-boot: "True" - elasticsearch-attribute: "{elasticsearch-attribute}" - karaf-based-controller: "{karaf-based-controller}" - karaf-version: "{karaf-version}" - - integration-stack-2-type: - vm_0_count: "1" - vm_0_flavor: "{odl_system_flavor}" - vm_0_image: "{odl_system_image}" - vm_1_count: "{tools_system_count}" - vm_1_flavor: "{tools_system_flavor}" - vm_1_image: "{tools_system_image}" - - integration-distribution-branch: - branch: "{branch}" - - integration-distribution-stream: - stream: "{stream}" - - integration-script-plan: - script-plan: "{project}.txt" - - integration-config-plan: - config-plan: "{project}.txt" - - integration-stream-test-plan: - stream-test-plan: "{project}-{functionality}-{stream}.txt" - - integration-test-plan: - test-plan: "{testplan}" - - integration-test-suites: - test-suites: "{test-suites}" - - integration-patch-refspec: - branch: "master" - - integration-jdk-version: - jdkversion: "{jre}" - - job-template: name: "{prefix}{project}-csit-verify-3node-{functionality}" id: inttest-csit-verify-3node diff --git a/jjb/odltools/odltools-csit.yaml b/jjb/odltools/odltools-csit.yaml deleted file mode 100644 index dfb50e6dc..000000000 --- a/jjb/odltools/odltools-csit.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- project: - name: odltools-csit - jobs: - - inttest-csit-1node-custom - - inttest-csit-verify-1node - - project: odltools - tools_system_count: 0 - testplan: "{project}-basic.txt" - - stream: - - chlorine: - branch: "master" - jre: "openjdk17" - - sulfur: - branch: "stable/sulfur" - jre: "openjdk11" - - phosphorus: - branch: "stable/phosphorus" - jre: "openjdk11" - - functionality: - - "upstream" - - "gate" - - install: - - all: - scope: "all"