Started by upstream project "pipeline-check" build number 911
originally caused by:
Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-container-builder/+/1159
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 911
[test-unit-tox] $ /bin/bash -xe /tmp/jenkins14915075787187083465.sh
+ export TARGET=tox
+ TARGET=tox
+ source /home/jenkins/workspace/test-unit-tox/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-911
++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-911
++ 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/59/1159/2/check_911
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export GERRIT_PIPELINE=check
++ GERRIT_PIPELINE=check
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ 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.53402.env
++ export TARGET_SET=unit
++ TARGET_SET=unit
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
+ desc='Pipeline: pipeline-check-911 Random: 53402
'
+ desc+='Target: tox
'
+ desc+='Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911/test-unit-tox-unit'
+ echo 'DESCRIPTION Pipeline: pipeline-check-911 Random: 53402
Target: tox
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911/test-unit-tox-unit'
DESCRIPTION Pipeline: pipeline-check-911 Random: 53402
Target: tox
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911/test-unit-tox-unit
[description-setter] Description set: Pipeline: pipeline-check-911 Random: 53402
Target: tox
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911/test-unit-tox-unit'
[test-unit-tox] $ /bin/bash -xe /tmp/jenkins10191990737867023911.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-unit-tox/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-check-911
++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-911
++ 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/59/1159/2/check_911
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export GERRIT_PIPELINE=check
++ GERRIT_PIPELINE=check
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ 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/jenkins17154275221381872347.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-911
++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-911
++ 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/59/1159/2/check_911
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export GERRIT_PIPELINE=check
++ GERRIT_PIPELINE=check
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ 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.53402.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.53402.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=fac9b4bb-1366-4345-a90a-d0817f6f2339,
++ INSTANCE_IDS=fac9b4bb-1366-4345-a90a-d0817f6f2339,
++ export INSTANCE_IPS=10.0.0.47,
++ INSTANCE_IPS=10.0.0.47,
++ export instance_ip=10.0.0.47
++ instance_ip=10.0.0.47
++ export UNITTEST_TARGETS=controller/src/agent:test,controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/config/api-server:test,controller/src/config/fabric-ansible:test,controller/src/config/schema-transformer:test,controller/src/control-node:test,controller/src/db:test,controller/src/dns:test,controller/src/ifmap:test,controller/src/ksync:test,controller/src/net:test,controller/src/xmpp:test,src/contrail-analytics/contrail-collector:test,src/contrail-analytics/contrail-opserver:test,src/contrail-analytics/contrail-query-engine:test,src/contrail-api-client/api-lib:test,src/contrail-api-client/schema:test,src/contrail-common/database/gendb:test,
++ UNITTEST_TARGETS=controller/src/agent:test,controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/config/api-server:test,controller/src/config/fabric-ansible:test,controller/src/config/schema-transformer:test,controller/src/control-node:test,controller/src/db:test,controller/src/dns:test,controller/src/ifmap:test,controller/src/ksync:test,controller/src/net:test,controller/src/xmpp:test,src/contrail-analytics/contrail-collector:test,src/contrail-analytics/contrail-opserver:test,src/contrail-analytics/contrail-query-engine:test,src/contrail-api-client/api-lib:test,src/contrail-api-client/schema:test,src/contrail-common/database/gendb:test,
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911/test-unit-tox-unit
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911/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.47' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.47' (ECDSA) to the list of known hosts.
Local time: Sun 2024-11-10 15:16:46 UTC
Universal time: Sun 2024-11-10 15:16:46 UTC
RTC time: Sun 2024-11-10 15:16:46
Time zone: UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Local time: Sun 2024-11-10 07:16:46 PST
Universal time: Sun 2024-11-10 15:16:46 UTC
RTC time: Sun 2024-11-10 15:16:46
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:03:01 ago on Sun Nov 10 07:13:46 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_5_9-2
+++ 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
+++ cat /etc/os-release /etc/redhat-release /etc/rocky-release /etc/system-release
+++ egrep '^VERSION_ID='
+++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG=master-1_1_5_9-2
++ 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
++ awk '{print $2}'
++ grep -o 'dev.*'
+ 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_5_9-2}
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_5_9-2
CONTRAIL_DEPLOYERS_TAG=master-1_1_5_9-2
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_5_9-2
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 Sun Nov 10 15:16:48 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-6489-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='754671560'
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 Sun Nov 10 15:16:51 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/jenkins8955281862980828993.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-911
++ PIPELINE_BUILD_TAG=jenkins-pipeline-check-911
++ 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/59/1159/2/check_911
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/59/1159/2/check_911
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_5_9-2
++ 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_5_9-2
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_5_9-2
++ export GERRIT_PIPELINE=check
++ GERRIT_PIPELINE=check
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ GERRIT_CHANGE_ID=I309c490c98a406bdc359c84998da5d000f77e891
++ 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.53402.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.53402.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=fac9b4bb-1366-4345-a90a-d0817f6f2339,
++ INSTANCE_IDS=fac9b4bb-1366-4345-a90a-d0817f6f2339,
++ export INSTANCE_IPS=10.0.0.47,
++ INSTANCE_IPS=10.0.0.47,
++ export instance_ip=10.0.0.47
++ instance_ip=10.0.0.47
++ export UNITTEST_TARGETS=controller/src/agent:test,controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/config/api-server:test,controller/src/config/fabric-ansible:test,controller/src/config/schema-transformer:test,controller/src/control-node:test,controller/src/db:test,controller/src/dns:test,controller/src/ifmap:test,controller/src/ksync:test,controller/src/net:test,controller/src/xmpp:test,src/contrail-analytics/contrail-collector:test,src/contrail-analytics/contrail-opserver:test,src/contrail-analytics/contrail-query-engine:test,src/contrail-api-client/api-lib:test,src/contrail-api-client/schema:test,src/contrail-common/database/gendb:test,
++ UNITTEST_TARGETS=controller/src/agent:test,controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/config/api-server:test,controller/src/config/fabric-ansible:test,controller/src/config/schema-transformer:test,controller/src/control-node:test,controller/src/db:test,controller/src/dns:test,controller/src/ifmap:test,controller/src/ksync:test,controller/src/net:test,controller/src/xmpp:test,src/contrail-analytics/contrail-collector:test,src/contrail-analytics/contrail-opserver:test,src/contrail-analytics/contrail-query-engine:test,src/contrail-api-client/api-lib:test,src/contrail-api-client/schema:test,src/contrail-common/database/gendb:test,
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911/test-unit-tox-unit
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/59/1159/2/check_911/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.47' (ECDSA) to the list of known hosts.
rocky@10.0.0.47: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Warning: Identity file **** not accessible: No such file or directory.
Warning: Permanently added '10.0.0.47' (ECDSA) to the list of known hosts.
rocky@10.0.0.47: 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/59/1159/2/check_911/test-unit-tox-unit
Archiving artifacts
Finished: SUCCESS