Started by upstream project "pipeline-check" build number 832 originally caused by: Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-container-builder/+/1125 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/test-unit-tox [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is disabled by the job configuration... [WS-CLEANUP] Done The recommended git tool is: git No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/opensdn-io/tf-jenkins.git > git init /home/jenkins/workspace/test-unit-tox/src/opensdn-io/tf-jenkins # timeout=10 Fetching upstream changes from https://github.com/opensdn-io/tf-jenkins.git > git --version # timeout=10 > git --version # 'git version 2.25.1' > git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-jenkins.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/opensdn-io/tf-jenkins.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 58ed2bab94d6d69d66ef59d18649f49be087dbc7 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 58ed2bab94d6d69d66ef59d18649f49be087dbc7 # timeout=10 Commit message: "fix link to tpc archive on s3 bucket" > git rev-list --no-walk 58ed2bab94d6d69d66ef59d18649f49be087dbc7 # timeout=10 The recommended git tool is: NONE No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/opensdn-io/tf-dev-env.git > git init /home/jenkins/workspace/test-unit-tox/src/opensdn-io/tf-dev-env # timeout=10 Fetching upstream changes from https://github.com/opensdn-io/tf-dev-env.git > git --version # timeout=10 > git --version # 'git version 2.25.1' > git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-dev-env.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/opensdn-io/tf-dev-env.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision caf07880205551917e1291fc5747819cb94e3f17 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f caf07880205551917e1291fc5747819cb94e3f17 # timeout=10 Commit message: "exclude make python-mimeparse python-extras packages in rocky" > git rev-list --no-walk caf07880205551917e1291fc5747819cb94e3f17 # timeout=10 Copied 4 artifacts from "pipeline-check" build number 832 [test-unit-tox] $ /bin/bash -xe /tmp/jenkins1278185904448790540.sh + export TARGET=tox + TARGET=tox + source /home/jenkins/workspace/test-unit-tox/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ export SLAVE=openstack ++ SLAVE=openstack ++ export SLAVE_REGION=gz1 ++ SLAVE_REGION=gz1 ++ export LOGS_HOST=nexus.gz1.opensdn.io ++ LOGS_HOST=nexus.gz1.opensdn.io ++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export GERRIT_PIPELINE=check ++ GERRIT_PIPELINE=check ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-container-builder ++ GERRIT_PROJECT=opensdn-io/tf-container-builder ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + source /home/jenkins/workspace/test-unit-tox/vars.test-unit-tox.37182.env ++ export TARGET_SET=unit ++ TARGET_SET=unit ++ export LINUX_DISTR=centos ++ LINUX_DISTR=centos + desc='Pipeline: pipeline-check-832 Random: 37182
' + desc+='Target: tox
' + desc+='Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit' + echo 'DESCRIPTION Pipeline: pipeline-check-832 Random: 37182
Target: tox
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit' DESCRIPTION Pipeline: pipeline-check-832 Random: 37182
Target: tox
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit [description-setter] Description set: Pipeline: pipeline-check-832 Random: 37182
Target: tox
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit' [test-unit-tox] $ /bin/bash -xe /tmp/jenkins18105211039680152026.sh + set -eo pipefail + source /home/jenkins/workspace/test-unit-tox/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ export SLAVE=openstack ++ SLAVE=openstack ++ export SLAVE_REGION=gz1 ++ SLAVE_REGION=gz1 ++ export LOGS_HOST=nexus.gz1.opensdn.io ++ LOGS_HOST=nexus.gz1.opensdn.io ++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export GERRIT_PIPELINE=check ++ GERRIT_PIPELINE=check ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-container-builder ++ GERRIT_PROJECT=opensdn-io/tf-container-builder ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + ./src/opensdn-io/tf-jenkins/infra/gerrit/apply_patchsets.sh ./src opensdn-io/tf-jenkins ./patchsets-info.json + ./src/opensdn-io/tf-jenkins/infra/gerrit/apply_patchsets.sh ./src opensdn-io/tf-dev-env ./patchsets-info.json [test-unit-tox] $ /bin/bash -xe /tmp/jenkins9314943887479203275.sh + set -eo pipefail + export TARGET=tox + TARGET=tox + source /home/jenkins/workspace/test-unit-tox/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ export SLAVE=openstack ++ SLAVE=openstack ++ export SLAVE_REGION=gz1 ++ SLAVE_REGION=gz1 ++ export LOGS_HOST=nexus.gz1.opensdn.io ++ LOGS_HOST=nexus.gz1.opensdn.io ++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export GERRIT_PIPELINE=check ++ GERRIT_PIPELINE=check ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-container-builder ++ GERRIT_PROJECT=opensdn-io/tf-container-builder ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + source /home/jenkins/workspace/test-unit-tox/vars.test-unit-tox.37182.env ++ export TARGET_SET=unit ++ TARGET_SET=unit ++ export LINUX_DISTR=centos ++ LINUX_DISTR=centos + source /home/jenkins/workspace/test-unit-tox/deps.test-unit-tox.37182.env ++ export PROVIDER=openstack ++ PROVIDER=openstack ++ export ENVIRONMENT_OS=rocky9 ++ ENVIRONMENT_OS=rocky9 ++ export IMAGE=aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f ++ IMAGE=aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f ++ export IMAGE_SSH_USER=rocky ++ IMAGE_SSH_USER=rocky ++ export INSTANCE_IDS=90d76d9b-f2e1-4371-83f7-0708e4094cc4, ++ INSTANCE_IDS=90d76d9b-f2e1-4371-83f7-0708e4094cc4, ++ export INSTANCE_IPS=10.0.0.12, ++ INSTANCE_IPS=10.0.0.12, ++ export instance_ip=10.0.0.12 ++ instance_ip=10.0.0.12 ++ export UNITTEST_TARGETS=controller/src/config/api-server:test,controller/src/config/common:test,controller/src/config/device-manager:test,controller/src/config/fabric-ansible:test,controller/src/config/ironic-notification-manager:test,controller/src/config/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager:test,controller/src/nodemgr:test,src/contrail-api-client/api-lib:test, ++ UNITTEST_TARGETS=controller/src/config/api-server:test,controller/src/config/common:test,controller/src/config/device-manager:test,controller/src/config/fabric-ansible:test,controller/src/config/ironic-notification-manager:test,controller/src/config/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager:test,controller/src/nodemgr:test,src/contrail-api-client/api-lib:test, + export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit + FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit + ./src/opensdn-io/tf-jenkins/jobs/test/unit/run.sh INFO: UT started. ENVIRONMENT_OS=rocky9 LINUX_DISTR=centos Warning: Permanently added '10.0.0.12' (ECDSA) to the list of known hosts. Warning: Permanently added '10.0.0.12' (ECDSA) to the list of known hosts. Local time: Tue 2024-11-05 06:40:22 UTC Universal time: Tue 2024-11-05 06:40:22 UTC RTC time: Tue 2024-11-05 06:40:22 Time zone: UTC (UTC, +0000) System clock synchronized: yes NTP service: active RTC in local TZ: no Local time: Mon 2024-11-04 22:40:22 PST Universal time: Tue 2024-11-05 06:40:22 UTC RTC time: Tue 2024-11-05 06:40:22 Time zone: America/Los_Angeles (PST, -0800) System clock synchronized: yes NTP service: active RTC in local TZ: no INFO: tf-dev-env startup INFO: ensure python is present Last metadata expiration check: 0:02:40 ago on Mon Nov 4 22:37:43 2024. Package jq-1.6-16.el9.x86_64 is already installed. Package lsof-4.94.0-3.el9.x86_64 is already installed. Package python3-3.9.18-3.el9_4.5.x86_64 is already installed. Package python3-pip-21.2.3-8.el9.noarch is already installed. Dependencies resolved. Nothing to do. Complete! +++ dirname /home/rocky/src/opensdn-io/tf-dev-env/common/setup_docker_root.sh ++ realpath /home/rocky/src/opensdn-io/tf-dev-env/common + scriptdir=/home/rocky/src/opensdn-io/tf-dev-env/common + source /home/rocky/src/opensdn-io/tf-dev-env/common/common.sh ++ '[' -n '' ']' ++ set -o errexit ++ export DEBUGINFO=FALSE ++ DEBUGINFO=FALSE ++ export WORKSPACE=/home/rocky ++ WORKSPACE=/home/rocky ++ export TF_CONFIG_DIR=/home/rocky/.tf ++ TF_CONFIG_DIR=/home/rocky/.tf ++ export TF_DEVENV_PROFILE=/home/rocky/.tf/dev.env ++ TF_DEVENV_PROFILE=/home/rocky/.tf/dev.env ++ export BUILD_MODE=full ++ BUILD_MODE=full ++ '[' -e /home/rocky/.tf/dev.env ']' ++ source /home/rocky/.tf/dev.env +++ CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 +++ FROZEN_TAG= +++ FROZEN_REGISTRY=nexus.opensdn.io:5101 +++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 +++ RPM_REPO_IP=localhost +++ RPM_REPO_PORT=6667 +++ BUILD_MODE=full +++ VENDOR_NAME=OpenSDN-IO +++ VENDOR_DOMAIN=io.opensdn ++ [[ linux-gnu == \l\i\n\u\x\-\g\n\u ]] +++ cat /etc/os-release /etc/redhat-release /etc/rocky-release /etc/system-release +++ egrep '^ID=' +++ awk -F= '{print $2}' +++ tr -d '"' ++ export DISTRO=rocky ++ DISTRO=rocky +++ egrep '^VERSION_ID=' +++ cat /etc/os-release /etc/redhat-release /etc/rocky-release /etc/system-release +++ awk -F= '{print $2}' +++ tr -d '"' ++ export DISTRO_VER=9.2 ++ DISTRO_VER=9.2 ++ export DISTRO_VER_MAJOR=9 ++ DISTRO_VER_MAJOR=9 ++ '[' -z x ']' ++ '[' -z /home/rocky/contrail ']' ++ export CONTRAIL_DIR ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ [[ nexus.gz1.opensdn.io:5101 == *\:* ]] +++ echo nexus.gz1.opensdn.io:5101 +++ cut -f 1 -d : ++ export REGISTRY_IP=nexus.gz1.opensdn.io ++ REGISTRY_IP=nexus.gz1.opensdn.io +++ echo nexus.gz1.opensdn.io:5101 +++ cut -f 2 -d : ++ export REGISTRY_PORT=5101 ++ REGISTRY_PORT=5101 ++ export FROZEN_REGISTRY=nexus.opensdn.io:5101 ++ FROZEN_REGISTRY=nexus.opensdn.io:5101 ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export RPM_REPO_IP=localhost ++ RPM_REPO_IP=localhost ++ export RPM_REPO_PORT=6667 ++ RPM_REPO_PORT=6667 ++ export REGISTRY_CONTAINER_NAME=tf-dev-env-registry ++ REGISTRY_CONTAINER_NAME=tf-dev-env-registry ++ export DEVENV_CONTAINER_NAME=tf-dev-sandbox ++ DEVENV_CONTAINER_NAME=tf-dev-sandbox ++ export CONTRAIL_PARALLEL_BUILD=true ++ CONTRAIL_PARALLEL_BUILD=true ++ export DEVENV_IMAGE_NAME=tf-dev-sandbox ++ DEVENV_IMAGE_NAME=tf-dev-sandbox ++ export DEVENV_TAG=latest ++ DEVENV_TAG=latest ++ export DEVENV_PUSH_TAG=frozen ++ DEVENV_PUSH_TAG=frozen ++ export DEVENV_IMAGE=tf-dev-sandbox:latest ++ DEVENV_IMAGE=tf-dev-sandbox:latest ++ export MULTI_KERNEL_BUILD=false ++ MULTI_KERNEL_BUILD=false ++ export ENABLE_RHSM_REPOS=false ++ ENABLE_RHSM_REPOS=false ++ export CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ export FROZEN_TAG= ++ FROZEN_TAG= ++ export VENDOR_NAME=OpenSDN-IO ++ VENDOR_NAME=OpenSDN-IO ++ export VENDOR_DOMAIN=io.opensdn ++ VENDOR_DOMAIN=io.opensdn ++ export CONTRAIL_BRANCH=master ++ CONTRAIL_BRANCH=master ++ '[' -z z ']' + source /home/rocky/src/opensdn-io/tf-dev-env/common/functions.sh + ensure_root ++ whoami + local me=root + '[' root '!=' root ']' + install_docker_rhel=(['7.8']='install_docker_rhel_7' ['7.9']='install_docker_rhel_7' ['8.2']='install_docker_rhel_8' ['8.4']='install_docker_rhel_8') + declare -A install_docker_rhel + echo '' + echo 'INFO: [docker install]' + echo 'INFO: rocky detected' + which docker ++ docker --version + echo 'INFO: docker installed: Docker version 27.3.1, build ce12230' + '[' xrocky '!=' xrhel ']' ++ docker version --format '{{.Client.Version}}' ++ head -1 ++ cut -d . -f 1 + version=27 + (( version < 16 )) + echo + echo 'INFO: [docker config]' ++ ip route get 1 ++ grep -o 'dev.*' ++ awk '{print $2}' + default_iface=eth0 + CONTRAIL_SKIP_INSECURE_REGISTRY=0 + insecure_registries= + registry_ip=nexus.gz1.opensdn.io + UPDATE_INSECURE_REGISTRY=false + '[' 0 '!=' 0 ']' + '[' -z nexus.gz1.opensdn.io ']' + check_insecure_registry nexus.gz1.opensdn.io:5101 + case ${DISTRO}_${DISTRO_VER} in + check_docker_value insecure-registries nexus.gz1.opensdn.io:5101 + local name=insecure-registries + local value=nexus.gz1.opensdn.io:5101 + python -c 'import json; f=open('\''/etc/docker/daemon.json'\''); data=json.load(f); print(data.get('\''insecure-registries'\''));' + grep -qi nexus.gz1.opensdn.io:5101 + '[' -n '' ']' + insecure_registries+=nexus.gz1.opensdn.io:5101 + '[' -n nexus.gz1.opensdn.io:5101 ']' + UPDATE_INSECURE_REGISTRY=true ++ ip link show eth0 ++ grep -o 'mtu.*' ++ awk '{print $2}' + default_iface_mtu=1500 + docker_reload=0 + true + update_config_docker nexus.gz1.opensdn.io:5101 1500 + local insecure_registries=nexus.gz1.opensdn.io:5101 + local default_iface_mtu=1500 + case ${DISTRO}_${DISTRO_VER} in + '[' '!' -e /etc/docker/daemon.json ']' + python + docker_reload=1 ++ get_docker_mtu ++ case ${DISTRO}_${DISTRO_VER} in ++ docker network inspect '--format={{index .Options "com.docker.network.driver.mtu"}}' bridge + runtime_docker_mtu=1500 + [[ 1500 != \1\5\0\0 ]] + [[ 1 == \1 ]] + set_docker_mtu 1500 + local default_iface_mtu=1500 + echo 'INFO: set docker0 mtu to 1500' + case ${DISTRO}_${DISTRO_VER} in ++ command -v ifconfig + '[' -x /sbin/ifconfig ']' + ifconfig docker0 mtu 1500 + restart_docker + echo 'INFO: restart docker' + [[ xrocky == x\c\e\n\t\o\s ]] + [[ xrocky == x\r\o\c\k\y ]] + systemctl restart docker + echo 'REGISTRY_IP: nexus.gz1.opensdn.io' INFO: [docker install] INFO: rocky detected INFO: docker installed: Docker version 27.3.1, build ce12230 INFO: [docker config] INFO: set docker0 mtu to 1500 INFO: restart docker REGISTRY_IP: nexus.gz1.opensdn.io [update tf devenv configuration] tf setup profile /home/rocky/.tf/dev.env # dev env options CONTRAIL_CONTAINER_TAG=${CONTRAIL_CONTAINER_TAG:-master-1_1_2_5-7} FROZEN_TAG=${FROZEN_TAG:-} FROZEN_REGISTRY=${FROZEN_REGISTRY:-nexus.opensdn.io:5101} CONTAINER_REGISTRY=${CONTAINER_REGISTRY:-nexus.gz1.opensdn.io:5101} RPM_REPO_IP='localhost' RPM_REPO_PORT=${RPM_REPO_PORT:-6667} BUILD_MODE=${BUILD_MODE:-full} # others VENDOR_NAME="${VENDOR_NAME:-OpenSDN-IO}" VENDOR_DOMAIN="${VENDOR_DOMAIN:-io.opensdn}" INFO: Docker registry deployment skipped [load tf devenv configuration] INFO: make common.env INFO: common.env content: LINUX_DISTR= LINUX_DISTR_VER= CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 CONTRAIL_DEPLOYERS_TAG=master-1_1_2_5-7 CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 CONTRAIL_REPOSITORY=http://localhost:6667 DEPLOYERS_BASE_CONTAINER=nexus.gz1.opensdn.io:5101/contrail-general-base:master-1_1_2_5-7 CONTRAIL_PARALLEL_BUILD=true VENDOR_NAME=OpenSDN-IO VENDOR_DOMAIN=io.opensdn YUM_ENABLE_REPOS= INFO: environment setup INFO: tf-dev-sandbox already running. INFO: run stage test with target tox INFO: run stage test with target tox [load tf devenv configuration] INFO: source env from /input/tf-developer-sandbox.env INFO: source env from /root/tf-dev-env/common.env INFO: create symlinks to work directories with artifacts Tue Nov 5 06:40:25 UTC 2024 Loaded plugins: fastestmirror, ovl, product-id, search-disabled-repos, : subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Cleaning repos: contrail-tpc tf-mirrors.ci_repos_dockerrepo : tf-mirrors.ci_repos_epel.repo tf-mirrors.ci_repos_yum7-base : tf-mirrors.ci_repos_yum7-centos-sclo-rh : tf-mirrors.ci_repos_yum7-centosplus : tf-mirrors.ci_repos_yum7-extras tf-mirrors.ci_repos_yum7-updates INFO: Starting unit tests Linux jenkins-build-prepare-sandbox-6321-1.novalocal 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 17:09:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux INFO: source env from /input/tf-developer-sandbox.env INFO: source env from /root/tf-dev-env/common.env INFO: Running tox tests for project: opensdn-io/tf-container-builder, tox target: unit INFO: short project name: tf-container-builder INFO: project path: /root/contrail/contrail-container-builder ~/contrail/contrail-container-builder ~/contrail unit create: /root/contrail/contrail-container-builder/.tox/unit unit run-test-pre: PYTHONHASHSEED='2108417960' unit run-test: commands[0] | bash -c ./run-tests.sh WARNING: test command found but not installed in testenv cmd: /usr/bin/bash env: /root/contrail/contrail-container-builder/.tox/unit Maybe you forgot to specify a dependency? See also the allowlist_externals envconfig setting. DEPRECATION WARNING: this will be an error in tox 4 and above! For kernel 3.10.0-327.el7.x86_64 module 3.10.0-229.el7.x86_64 is proposed For kernel 3.10.0-1062.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-1062.1.1.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-1062.1.2.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-1062.7.1.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-693.el7.x86_64 module 3.10.0-514.el7.x86_64 is proposed For kernel 3.10.0-862.el7.x86_64 module 3.10.0-514.el7.x86_64 is proposed For kernel 3.10.0-957.el7.x86_64 module 3.10.0-514.el7.x86_64 is proposed For kernel 3.10.0-1062.9.1.el7.x86_64 module 3.10.0-1062.9.1.el7.x86_64 is proposed For kernel 3.10.0-1062.12.1.el7.x86_64 module 3.10.0-1062.12.1.el7.x86_64 is proposed For kernel 4.18.0-193.19.1.el8_2.x86_64 module 4.18.0-193.28.1.el8_2.x86_64 is proposed For kernel 4.18.0-305.3.1.el8_4.x86_64 module 4.18.0-305.12.1.el8_4.x86_64 is proposed For kernel 4.18.0-305.12.1.el8_4.x86_64 module 4.18.0-305.12.1.el8_4.x86_64 is proposed INFO: Test for containers/vrouter/kernel-init is success For kernel 3.10.0-327.el7.x86_64 module 3.10.0-229.el7.x86_64 is proposed For kernel 3.10.0-1062.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-1062.1.1.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-1062.1.2.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-1062.7.1.el7.x86_64 module 3.10.0-1062.1.1.el7.x86_64 is proposed For kernel 3.10.0-693.el7.x86_64 module 3.10.0-514.el7.x86_64 is proposed For kernel 3.10.0-862.el7.x86_64 module 3.10.0-514.el7.x86_64 is proposed For kernel 3.10.0-957.el7.x86_64 module 3.10.0-514.el7.x86_64 is proposed For kernel 3.10.0-1062.9.1.el7.x86_64 module 3.10.0-1062.9.1.el7.x86_64 is proposed For kernel 3.10.0-1062.12.1.el7.x86_64 module 3.10.0-1062.12.1.el7.x86_64 is proposed For kernel 4.18.0-193.19.1.el8_2.x86_64 module 4.18.0-193.28.1.el8_2.x86_64 is proposed For kernel 4.18.0-305.3.1.el8_4.x86_64 module 4.18.0-305.12.1.el8_4.x86_64 is proposed For kernel 4.18.0-305.12.1.el8_4.x86_64 module 4.18.0-305.12.1.el8_4.x86_64 is proposed INFO: Test for containers/vrouter/kernel-init is success INFO: All containers tests are successful ___________________________________ summary ____________________________________ unit: commands succeeded congratulations :) ~/contrail /output/logs ~/contrail real 0m0.003s user 0m0.002s sys 0m0.002s ~/contrail INFO: make successful Tue Nov 5 06:40:28 UTC 2024 [DONE] There are stages available to run ./run.sh : build - perform sequence of stages: fetch, configure, compile, package (if stage was run previously it be skipped) fetch - sync TF git repos configure - fetch third party packages and install dependencies compile - build TF binaries package - package TF into docker containers (you can specify target container to build like container-vrouter) test - run unittests freeze - prepare tf-dev-env for pushing to container registry for future reuse by compressing contrail directory upload - push tf-dev-env to container registry none - create the tf-dev-env container empty frozen - fetch frozen tf-dev-env from Ci registry, you still have to use run.sh or fetch/configure to get sources doxygen - builds doxygen documentation for the project For advanced usage You can now connect to the sandbox container by using: sudo docker exec -it tf-dev-sandbox bash INFO: UT finished successfully + exit [PostBuildScript] - [INFO] Executing post build scripts. [test-unit-tox] $ /bin/bash -xe /tmp/jenkins3179676857171829408.sh + set -eo pipefail + export TARGET=tox + TARGET=tox + source /home/jenkins/workspace/test-unit-tox/global.env ++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-832 ++ export SLAVE=openstack ++ SLAVE=openstack ++ export SLAVE_REGION=gz1 ++ SLAVE_REGION=gz1 ++ export LOGS_HOST=nexus.gz1.opensdn.io ++ LOGS_HOST=nexus.gz1.opensdn.io ++ export LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832 ++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/25/1125/7/check_832 ++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository ++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_2_5-7 ++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5101 ++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_2_5-7 ++ export GERRIT_PIPELINE=check ++ GERRIT_PIPELINE=check ++ export GERRIT_URL=https://gerrit.opensdn.io/ ++ GERRIT_URL=https://gerrit.opensdn.io/ ++ export GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ GERRIT_CHANGE_ID=I02436c1284bbb49b7748e00b1b76643d85e16fbe ++ export GERRIT_BRANCH=master ++ GERRIT_BRANCH=master ++ export GERRIT_PROJECT=opensdn-io/tf-container-builder ++ GERRIT_PROJECT=opensdn-io/tf-container-builder ++ export REPOS_CHANNEL=latest ++ REPOS_CHANNEL=latest + source /home/jenkins/workspace/test-unit-tox/vars.test-unit-tox.37182.env ++ export TARGET_SET=unit ++ TARGET_SET=unit ++ export LINUX_DISTR=centos ++ LINUX_DISTR=centos + source /home/jenkins/workspace/test-unit-tox/deps.test-unit-tox.37182.env ++ export PROVIDER=openstack ++ PROVIDER=openstack ++ export ENVIRONMENT_OS=rocky9 ++ ENVIRONMENT_OS=rocky9 ++ export IMAGE=aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f ++ IMAGE=aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f ++ export IMAGE_SSH_USER=rocky ++ IMAGE_SSH_USER=rocky ++ export INSTANCE_IDS=90d76d9b-f2e1-4371-83f7-0708e4094cc4, ++ INSTANCE_IDS=90d76d9b-f2e1-4371-83f7-0708e4094cc4, ++ export INSTANCE_IPS=10.0.0.12, ++ INSTANCE_IPS=10.0.0.12, ++ export instance_ip=10.0.0.12 ++ instance_ip=10.0.0.12 ++ export UNITTEST_TARGETS=controller/src/config/api-server:test,controller/src/config/common:test,controller/src/config/device-manager:test,controller/src/config/fabric-ansible:test,controller/src/config/ironic-notification-manager:test,controller/src/config/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager:test,controller/src/nodemgr:test,src/contrail-api-client/api-lib:test, ++ UNITTEST_TARGETS=controller/src/config/api-server:test,controller/src/config/common:test,controller/src/config/device-manager:test,controller/src/config/fabric-ansible:test,controller/src/config/ironic-notification-manager:test,controller/src/config/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager:test,controller/src/nodemgr:test,src/contrail-api-client/api-lib:test, + export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit + FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit + ./src/opensdn-io/tf-jenkins/jobs/test/unit/collect_logs.sh Warning: Identity file **** not accessible: No such file or directory. Warning: Permanently added '10.0.0.12' (ECDSA) to the list of known hosts. rocky@10.0.0.12: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). Warning: Identity file **** not accessible: No such file or directory. Warning: Permanently added '10.0.0.12' (ECDSA) to the list of known hosts. rocky@10.0.0.12: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.3] tar (child): /home/jenkins/workspace/test-unit-tox/logs.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Warning: Identity file **** not accessible: No such file or directory. Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts. logserver@nexus.gz1.opensdn.io: Permission denied (publickey). Warning: Identity file **** not accessible: No such file or directory. Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts. logserver@nexus.gz1.opensdn.io: Permission denied (publickey). rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3] INFO: Logs collected at /var/www/logs/jenkins_logs/gerrit/25/1125/7/check_832/test-unit-tox-unit Archiving artifacts Finished: SUCCESS