Started by upstream project "pipeline-gate" build number 420
originally caused by:
Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-packages/+/1082
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/build-freeze
[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/build-freeze/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 a254c0f0da78c12e0a8ee66ae1dc5418a1d1c014 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f a254c0f0da78c12e0a8ee66ae1dc5418a1d1c014 # timeout=10
Commit message: "Merge "add tf- images""
> git rev-list --no-walk a254c0f0da78c12e0a8ee66ae1dc5418a1d1c014 # 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/build-freeze/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-gate" build number 420
[build-freeze] $ /bin/bash -xe /tmp/jenkins13401816742985321168.sh
+ source /home/jenkins/workspace/build-freeze/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-420
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-420
++ 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/82/1082/14/gate_420
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/82/1082/14/gate_420
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420
++ 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_0_8_2-1_4
++ CONTRAIL_CONTAINER_TAG=master-1_0_8_2-1_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_2-1_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_2-1_4
++ 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_0_8_2-1_4
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ export GERRIT_PIPELINE=gate
++ GERRIT_PIPELINE=gate
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=I579a53fc29588f36657a693dd59674f2790e9bb4
++ GERRIT_CHANGE_ID=I579a53fc29588f36657a693dd59674f2790e9bb4
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-packages
++ GERRIT_PROJECT=opensdn-io/tf-packages
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=419
++ BASE_BUILD_ID_LIST=419
+ source /home/jenkins/workspace/build-freeze/deps.build-freeze.47135.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=12682c31-048e-411e-a275-d1838903a09c,
++ INSTANCE_IDS=12682c31-048e-411e-a275-d1838903a09c,
++ export INSTANCE_IPS=10.0.0.40,
++ INSTANCE_IPS=10.0.0.40,
++ export instance_ip=10.0.0.40
++ instance_ip=10.0.0.40
++ 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/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager: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/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager:test,src/contrail-api-client/api-lib:test,
+ source /home/jenkins/workspace/build-freeze/vars.build-freeze.47135.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
++ export PUBLISH_TYPE=frozen
++ PUBLISH_TYPE=frozen
+ export STAGE=freeze
+ STAGE=freeze
+ export TARGET=
+ TARGET=
+ desc='Pipeline: pipeline-gate-420 Random: 47135
'
+ desc+='Stage: freeze Target:
'
+ desc+='Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420/build-centos'
+ echo 'DESCRIPTION Pipeline: pipeline-gate-420 Random: 47135
Stage: freeze Target:
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420/build-centos'
DESCRIPTION Pipeline: pipeline-gate-420 Random: 47135
Stage: freeze Target:
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420/build-centos
[description-setter] Description set: Pipeline: pipeline-gate-420 Random: 47135
Stage: freeze Target:
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420/build-centos'
[build-freeze] $ /bin/bash -xe /tmp/jenkins4635597271838821764.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/build-freeze/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-420
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-420
++ 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/82/1082/14/gate_420
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/82/1082/14/gate_420
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420
++ 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_0_8_2-1_4
++ CONTRAIL_CONTAINER_TAG=master-1_0_8_2-1_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_2-1_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_2-1_4
++ 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_0_8_2-1_4
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ export GERRIT_PIPELINE=gate
++ GERRIT_PIPELINE=gate
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=I579a53fc29588f36657a693dd59674f2790e9bb4
++ GERRIT_CHANGE_ID=I579a53fc29588f36657a693dd59674f2790e9bb4
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-packages
++ GERRIT_PROJECT=opensdn-io/tf-packages
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=419
++ BASE_BUILD_ID_LIST=419
+ ./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
[build-freeze] $ /bin/bash -xe /tmp/jenkins16492928180068076686.sh
+ set -eo pipefail
+ export STAGE=freeze
+ STAGE=freeze
+ export TARGET=
+ TARGET=
+ source /home/jenkins/workspace/build-freeze/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-420
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-420
++ 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/82/1082/14/gate_420
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/82/1082/14/gate_420
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/82/1082/14/gate_420
++ 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_0_8_2-1_4
++ CONTRAIL_CONTAINER_TAG=master-1_0_8_2-1_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_2-1_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_0_8_2-1_4
++ 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_0_8_2-1_4
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_0_8_2-1_4
++ export GERRIT_PIPELINE=gate
++ GERRIT_PIPELINE=gate
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=I579a53fc29588f36657a693dd59674f2790e9bb4
++ GERRIT_CHANGE_ID=I579a53fc29588f36657a693dd59674f2790e9bb4
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-packages
++ GERRIT_PROJECT=opensdn-io/tf-packages
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=419
++ BASE_BUILD_ID_LIST=419
+ source /home/jenkins/workspace/build-freeze/deps.build-freeze.47135.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=12682c31-048e-411e-a275-d1838903a09c,
++ INSTANCE_IDS=12682c31-048e-411e-a275-d1838903a09c,
++ export INSTANCE_IPS=10.0.0.40,
++ INSTANCE_IPS=10.0.0.40,
++ export instance_ip=10.0.0.40
++ instance_ip=10.0.0.40
++ 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/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager: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/schema-transformer:test,controller/src/config/svc_monitor:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager:test,src/contrail-api-client/api-lib:test,
+ source /home/jenkins/workspace/build-freeze/vars.build-freeze.47135.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
++ export PUBLISH_TYPE=frozen
++ PUBLISH_TYPE=frozen
+ [[ freeze == \n\o\n\e ]]
+ [[ freeze == \c\l\e\a\n\u\p ]]
+ source ./src/opensdn-io/tf-jenkins/infra/openstack/definitions
++ export PROVIDER=openstack
++ PROVIDER=openstack
++ export OS_NETWORK=management
++ OS_NETWORK=management
++ export OS_DATA_NETWORK=data
++ OS_DATA_NETWORK=data
++ export OS_SG=default
++ OS_SG=default
++ export RESERVED_INSTANCES_COUNT=3
++ RESERVED_INSTANCES_COUNT=3
++ export RESERVED_CORES_COUNT=16
++ RESERVED_CORES_COUNT=16
++ export VM_BOOT_RETRIES=120
++ VM_BOOT_RETRIES=120
++ export VM_BOOT_DELAY=60
++ VM_BOOT_DELAY=60
++ export VOLUME_TYPE=ceph-ssd
++ VOLUME_TYPE=ceph-ssd
++ ENVIRONMENT_OS=rocky9
++ VM_TYPES=(['xsmall']='STD3-1-4' ['small']='STD3-2-8' ['medium']='STD3-4-16' ['large']='STD3-8-32')
++ declare -A VM_TYPES
++ VOLUME_SIZE=(['xsmall']='50' ['small']='50' ['medium']='80' ['large']='80')
++ declare -A VOLUME_SIZE
++ OS_IMAGES=(['CENTOS7']='prepared-centos7' ['CENTOS8']='prepared-centos8' ['UBUNTU20']='prepared-ubuntu20' ['UBUNTU22']='prepared-ubuntu22' ['ROCKY9']='prepared-rocky92')
++ declare -A OS_IMAGES
++ OS_IMAGE_USERS=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky')
++ declare -A OS_IMAGE_USERS
++ OS_IMAGES_UP=(['CENTOS7']='centos' ['CENTOS8']='centos' ['UBUNTU20']='ubuntu' ['UBUNTU22']='ubuntu' ['ROCKY9']='rocky' ['ROCKY92']='rocky')
++ declare -A OS_IMAGES_UP
++ OS_IMAGES_DOWN=(['CENTOS7']='' ['CENTOS8']='' ['UBUNTU20']='' ['UBUNTU22']='' ['ROCKY9']='' ['ROCKY92']='')
++ declare -A OS_IMAGES_DOWN
++ SSH_OPTIONS='-T -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no'
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/82/1082/14/gate_420/build-centos
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/82/1082/14/gate_420/build-centos
+ ./src/opensdn-io/tf-jenkins/jobs/build/run.sh
INFO: Build started: ENVIRONMENT_OS=rocky9 LINUX_DISTR=centos
Warning: Permanently added '10.0.0.40' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.40' (ECDSA) to the list of known hosts.
INFO: df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 7.7G 0 7.7G 0% /dev/shm
tmpfs 3.1G 17M 3.1G 1% /run
/dev/vda5 79G 37G 43G 47% /
/dev/vda2 994M 173M 822M 18% /boot
/dev/vda1 99M 7.0M 92M 8% /boot/efi
tmpfs 1.6G 0 1.6G 0% /run/user/1000
INFO: free -h
total used free shared buff/cache available
Mem: 15Gi 1.4Gi 1.7Gi 18Mi 12Gi 13Gi
Swap: 0B 0B 0B
INFO: tf-dev-env startup
INFO: ensure python is present
Last metadata expiration check: 1:39:21 ago on Mon Nov 4 05:49:12 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=fast
++ BUILD_MODE=fast
++ '[' -e /home/rocky/.tf/dev.env ']'
++ source /home/rocky/.tf/dev.env
+++ CONTRAIL_CONTAINER_TAG=master-1_0_8_2-1_4
+++ 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=fast
+++ VENDOR_NAME=OpenSDN-IO
+++ VENDOR_DOMAIN=io.opensdn
++ [[ linux-gnu == \l\i\n\u\x\-\g\n\u ]]
+++ egrep '^ID='
+++ cat /etc/os-release /etc/redhat-release /etc/rocky-release /etc/system-release
+++ 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=stable
++ DEVENV_TAG=stable
++ export DEVENV_PUSH_TAG=frozen
++ DEVENV_PUSH_TAG=frozen
++ export DEVENV_IMAGE=tf-dev-sandbox:stable
++ DEVENV_IMAGE=tf-dev-sandbox:stable
++ export MULTI_KERNEL_BUILD=true
++ MULTI_KERNEL_BUILD=true
++ export ENABLE_RHSM_REPOS=false
++ ENABLE_RHSM_REPOS=false
++ export CONTRAIL_CONTAINER_TAG=master-1_0_8_2-1_4
++ CONTRAIL_CONTAINER_TAG=master-1_0_8_2-1_4
++ 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_0_8_2-1_4}
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:-fast}
# 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=centos
LINUX_DISTR_VER=
CONTRAIL_CONTAINER_TAG=master-1_0_8_2-1_4
CONTRAIL_DEPLOYERS_TAG=master-1_0_8_2-1_4
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_0_8_2-1_4
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 freeze with target
INFO: run stage freeze with target
[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 Mon Nov 4 07:28:38 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: make successful Mon Nov 4 07:28:54 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
Warning: Permanently added '10.0.0.40' (ECDSA) to the list of known hosts.
INFO: pushing devenv to container registry
tf-dev-sandbox
INFO: commit container: docker commit tf-dev-sandbox nexus.gz1.opensdn.io:5101/tf-dev-sandbox:frozen
sha256:7bb8f53db04c81a736f1a3f537b55f82230c5c7b0a29d4a5dd7ea5942f86a424
INFO: push container: docker push nexus.gz1.opensdn.io:5101/tf-dev-sandbox:frozen
The push refers to repository [nexus.gz1.opensdn.io:5101/tf-dev-sandbox]
89e33dbef090: Preparing
5e025cec46a3: Preparing
2dd7037373ef: Preparing
b620aed06bec: Preparing
25ff5a03e554: Preparing
3ec755125e20: Preparing
174f56854903: Preparing
3ec755125e20: Waiting
174f56854903: Waiting
5e025cec46a3: Layer already exists
b620aed06bec: Layer already exists
25ff5a03e554: Layer already exists
174f56854903: Layer already exists
3ec755125e20: Layer already exists
2dd7037373ef: Layer already exists
89e33dbef090: Pushed
frozen: digest: sha256:6df5d9280bb9928c2fefbee7fc777f3b1f5259f7c8142c53a9ea39eaeb9075d6 size: 1785
INFO: Build finished successfully
+ ./src/opensdn-io/tf-jenkins/jobs/build/collect_logs.sh
Warning: Permanently added '10.0.0.40' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.40' (ECDSA) to the list of known hosts.
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
INFO: Logs collected at /var/www/logs/jenkins_logs/gerrit/82/1082/14/gate_420/build-centos
+ exit
[PostBuildScript] - [INFO] Executing post build scripts.
[PostBuildScript] - [INFO] Build does not have any of the results [NOT_BUILT, ABORTED, FAILURE, UNSTABLE]. Did not execute build step #0.
Archiving artifacts
Finished: SUCCESS