Started by upstream project "pipeline-nightly" build number 25
originally caused by:
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/test-unit-bgp
[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-bgp/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/test-unit-bgp/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 3 artifacts from "pipeline-nightly" build number 25
[test-unit-bgp] $ /bin/bash -xe /tmp/jenkins7239321870407971895.sh
+ export TARGET_SET=bgp
+ TARGET_SET=bgp
+ source /home/jenkins/workspace/test-unit-bgp/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ 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/nightly/pipeline_25
++ LOGS_PATH=/var/www/logs/jenkins_logs/nightly/pipeline_25
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG=nightly
++ CONTRAIL_CONTAINER_TAG=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ export GERRIT_PIPELINE=nightly
++ GERRIT_PIPELINE=nightly
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ source /home/jenkins/workspace/test-unit-bgp/vars.test-unit-bgp.9503.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
+ desc='Pipeline: pipeline-nightly-25 Random: 9503
'
+ desc+='Target set: bgp
'
+ desc+='Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25/test-unit'
+ echo 'DESCRIPTION Pipeline: pipeline-nightly-25 Random: 9503
Target set: bgp
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25/test-unit'
DESCRIPTION Pipeline: pipeline-nightly-25 Random: 9503
Target set: bgp
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25/test-unit
[description-setter] Description set: Pipeline: pipeline-nightly-25 Random: 9503
Target set: bgp
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25/test-unit'
[test-unit-bgp] $ /bin/bash -xe /tmp/jenkins16458395664704330163.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-unit-bgp/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ 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/nightly/pipeline_25
++ LOGS_PATH=/var/www/logs/jenkins_logs/nightly/pipeline_25
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG=nightly
++ CONTRAIL_CONTAINER_TAG=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ export GERRIT_PIPELINE=nightly
++ GERRIT_PIPELINE=nightly
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ 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-bgp] $ /bin/bash -xe /tmp/jenkins1108886442267665334.sh
+ set -eo pipefail
+ export TARGET_SET=bgp
+ TARGET_SET=bgp
+ source /home/jenkins/workspace/test-unit-bgp/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ 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/nightly/pipeline_25
++ LOGS_PATH=/var/www/logs/jenkins_logs/nightly/pipeline_25
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG=nightly
++ CONTRAIL_CONTAINER_TAG=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ export GERRIT_PIPELINE=nightly
++ GERRIT_PIPELINE=nightly
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ source /home/jenkins/workspace/test-unit-bgp/vars.test-unit-bgp.9503.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
+ source /home/jenkins/workspace/test-unit-bgp/deps.test-unit-bgp.9503.env
++ export UNITTEST_TARGETS=controller/src/agent:test,controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/cat:test_upgrade,controller/src/config/api-server:test,controller/src/config/common:test,controller/src/config/contrail_issu: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/utils:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager: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/nodemgr:test,controller/src/stats:test,controller/src/xmpp:test,n3k-tests:test,openstack/neutron_plugin:test,sandesh: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/base:test,src/contrail-common/config-client-mgr:test,src/contrail-common/database/cassandra/cql:test,src/contrail-common/database/gendb:test,src/contrail-common/io:test,src/contrail-common/zookeeper:test,vrouter-py-ut:test,
++ UNITTEST_TARGETS=controller/src/agent:test,controller/src/bfd:test,controller/src/bgp:test,controller/src/cat:test,controller/src/cat:test_upgrade,controller/src/config/api-server:test,controller/src/config/common:test,controller/src/config/contrail_issu: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/utils:test,controller/src/config/vnc_openstack:test,controller/src/container/kube-manager: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/nodemgr:test,controller/src/stats:test,controller/src/xmpp:test,n3k-tests:test,openstack/neutron_plugin:test,sandesh: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/base:test,src/contrail-common/config-client-mgr:test,src/contrail-common/database/cassandra/cql:test,src/contrail-common/database/gendb:test,src/contrail-common/io:test,src/contrail-common/zookeeper:test,vrouter-py-ut:test,
++ export DEVENV_TAG=nightly
++ DEVENV_TAG=nightly
+ ./src/opensdn-io/tf-jenkins/jobs/test/unit/filter_targets.sh
INFO: filtered set:
controller/src/bgp:test
controller/src/cat:test_upgrade
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/nightly/pipeline_25/test-unit
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/nightly/pipeline_25/test-unit
+ ./src/opensdn-io/tf-jenkins/jobs/test/unit/create_workers.sh
INFO: VM_TYPE=medium INSTANCE_TYPE=STD3-4-16 VOLUME_SIZE=80
INFO: project_id=****
INFO: wait for enough resources for required_instances=1 and required_cores=4 Thu Oct 31 00:14:10 UTC 2024
INFO: waiting for resources is finished Thu Oct 31 00:14:15 UTC 2024
INFO: openstack volume create --type ceph-ssd --size 80 --availability-zone GZ1 --image aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f --bootable jenkins-test-unit-bgp-1195_1_volume
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| attachments | [] |
| availability_zone | GZ1 |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2024-10-31T00:14:18.460828 |
| description | None |
| encrypted | False |
| id | dde9241d-7ad6-42ec-9a11-92fe9db5fd11 |
| multiattach | False |
| name | jenkins-test-unit-bgp-1195_1 |
| properties | |
| replication_status | None |
| size | 80 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | ceph-ssd |
| updated_at | None |
| user_id | 25d930adb802408885c71e341481886e |
+---------------------+--------------------------------------+
Volume jenkins-test-unit-bgp-1195_1 is available
INFO: openstack server create --volume jenkins-test-unit-bgp-1195_1 --flavor STD3-4-16 --security-group default --availability-zone GZ1 --key-name=worker --network management --wait jenkins-test-unit-bgp-1195_1
+-----------------------------+--------------------------------------------------------------------------+
| Field | Value |
+-----------------------------+--------------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | GZ1 |
| OS-EXT-STS:power_state | Running |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2024-10-31T00:15:04.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | management=10.0.0.41 |
| adminPass | aV3LeUWxJzx4 |
| config_drive | |
| created | 2024-10-31T00:14:39Z |
| flavor | STD3-4-16 (b6760da7-d124-45c7-a0a7-64f40acae087) |
| hostId | 7a16a6d12c623373f5f6a6c19bcb2bad3687fdb52fde8b4d585ec17e |
| id | 4fe2ef6a-d1bd-4879-8679-c96b5d6dea53 |
| image | N/A (booted from volume) |
| key_name | worker |
| name | jenkins-test-unit-bgp-1195_1 |
| progress | 0 |
| project_id | **** |
| properties | |
| security_groups | id='ae6a292d-c48f-4b92-9b1d-4d0a032b0697', name='default', sdn='neutron' |
| status | ACTIVE |
| updated | 2024-10-31T00:15:04Z |
| user_id | 25d930adb802408885c71e341481886e |
| volumes_attached | id='dde9241d-7ad6-42ec-9a11-92fe9db5fd11' |
+-----------------------------+--------------------------------------------------------------------------+
nova CLI is deprecated and will be removed in a future release
Request to add tag PipelineBuildTag=jenkins-pipeline-nightly-25 to specified server has been accepted.
Request to add tag JobTag=jenkins-test-unit-bgp-1195 to specified server has been accepted.
Request to add tag GroupTag=jenkins-test-unit-bgp-1195 to specified server has been accepted.
Request to add tag SLAVE=openstack to specified server has been accepted.
Request to add tag DOWN= to specified server has been accepted.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Linux jenkins-test-unit-bgp-1195-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
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Found interface: eth0
Actual changes:
tx-checksum-ip-generic: off
tx-tcp-segmentation: off [not requested]
tx-tcp-ecn-segmentation: off [not requested]
tx-tcp6-segmentation: off [not requested]
INFO: copy mirror-base-rocky9.repo to host
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
INFO: copy mirror-epel9.repo to host
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
INFO: do not set default gateway for second interface
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
INFO: check dns
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Server: 10.0.0.2
Address: 10.0.0.2#53
Name: tf-jenkins.mcs.local
Address: 10.0.0.25
real 0m0.056s
user 0m0.005s
sys 0m0.012s
INFO: cat /etc/resolv.conf
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
# Generated by NetworkManager
search mcs.local novalocal
nameserver 10.0.0.2
nameserver 10.0.0.4
DEBUG: port_id=068edee3-591f-40ba-af34-c8b8b019d8f7 for 4fe2ef6a-d1bd-4879-8679-c96b5d6dea53 in management
+ source /home/jenkins/workspace/test-unit-bgp/stackrc.test-unit-bgp.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=4fe2ef6a-d1bd-4879-8679-c96b5d6dea53,
++ INSTANCE_IDS=4fe2ef6a-d1bd-4879-8679-c96b5d6dea53,
++ export INSTANCE_IPS=10.0.0.41,
++ INSTANCE_IPS=10.0.0.41,
++ export instance_ip=10.0.0.41
++ instance_ip=10.0.0.41
+ ./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.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Local time: Thu 2024-10-31 00:15:37 UTC
Universal time: Thu 2024-10-31 00:15:37 UTC
RTC time: Thu 2024-10-31 00:15:36
Time zone: UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Local time: Wed 2024-10-30 17:15:37 PDT
Universal time: Thu 2024-10-31 00:15:37 UTC
RTC time: Thu 2024-10-31 00:15:36
Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
INFO: tf-dev-env startup
INFO: ensure python is present
added from: http://tf-mirrors.gz1.opensdn.io/re 34 MB/s | 2.0 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 26 MB/s | 717 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 260 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 73 MB/s | 6.9 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 60 MB/s | 4.0 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 30 MB/s | 942 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 42 MB/s | 2.2 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 405 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 19 MB/s | 442 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 1.2 MB/s | 15 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 4.9 kB/s | 257 B 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 1.0 MB/s | 12 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 105 MB/s | 21 MB 00:00
Package python3-3.9.16-1.el9.x86_64 is already installed.
Dependencies resolved.
=================================================================================================
Package Arch Version Repository Size
=================================================================================================
Installing:
jq x86_64 1.6-16.el9 tf-mirrors.ci_repos_yum9-baseos 186 k
lsof x86_64 4.94.0-3.el9 tf-mirrors.ci_repos_yum9-baseos 238 k
python3-pip noarch 21.2.3-8.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M
Upgrading:
python-unversioned-command noarch 3.9.18-3.el9_4.5 tf-mirrors.ci_repos_yum9-appstream 8.6 k
python3 x86_64 3.9.18-3.el9_4.5 tf-mirrors.ci_repos_yum9-baseos 25 k
python3-libs x86_64 3.9.18-3.el9_4.5 tf-mirrors.ci_repos_yum9-baseos 7.3 M
Installing dependencies:
oniguruma x86_64 6.9.6-1.el9.5.0.1 tf-mirrors.ci_repos_yum9-baseos 217 k
Transaction Summary
=================================================================================================
Install 4 Packages
Upgrade 3 Packages
Total download size: 9.7 M
Downloading Packages:
(1/7): jq-1.6-16.el9.x86_64.rpm 14 MB/s | 186 kB 00:00
(2/7): lsof-4.94.0-3.el9.x86_64.rpm 13 MB/s | 238 kB 00:00
(3/7): oniguruma-6.9.6-1.el9.5.0.1.x86_64.rpm 8.3 MB/s | 217 kB 00:00
(4/7): python3-3.9.18-3.el9_4.5.x86_64.rpm 2.5 MB/s | 25 kB 00:00
(5/7): python3-pip-21.2.3-8.el9.noarch.rpm 40 MB/s | 1.7 MB 00:00
(6/7): python-unversioned-command-3.9.18-3.el9_ 288 kB/s | 8.6 kB 00:00
(7/7): python3-libs-3.9.18-3.el9_4.5.x86_64.rpm 73 MB/s | 7.3 MB 00:00
--------------------------------------------------------------------------------
Total 75 MB/s | 9.7 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : python3-libs-3.9.18-3.el9_4.5.x86_64 1/10
Upgrading : python-unversioned-command-3.9.18-3.el9_4.5.noarch 2/10
Upgrading : python3-3.9.18-3.el9_4.5.x86_64 3/10
Installing : oniguruma-6.9.6-1.el9.5.0.1.x86_64 4/10
Installing : jq-1.6-16.el9.x86_64 5/10
Installing : python3-pip-21.2.3-8.el9.noarch 6/10
Installing : lsof-4.94.0-3.el9.x86_64 7/10
Cleanup : python3-3.9.16-1.el9.x86_64 8/10
Cleanup : python-unversioned-command-3.9.16-1.el9.noarch 9/10
Cleanup : python3-libs-3.9.16-1.el9.x86_64 10/10
Running scriptlet: python3-libs-3.9.16-1.el9.x86_64 10/10
Verifying : jq-1.6-16.el9.x86_64 1/10
Verifying : lsof-4.94.0-3.el9.x86_64 2/10
Verifying : oniguruma-6.9.6-1.el9.5.0.1.x86_64 3/10
Verifying : python3-pip-21.2.3-8.el9.noarch 4/10
Verifying : python3-3.9.18-3.el9_4.5.x86_64 5/10
Verifying : python3-3.9.16-1.el9.x86_64 6/10
Verifying : python3-libs-3.9.18-3.el9_4.5.x86_64 7/10
Verifying : python3-libs-3.9.16-1.el9.x86_64 8/10
Verifying : python-unversioned-command-3.9.18-3.el9_4.5.noarch 9/10
Verifying : python-unversioned-command-3.9.16-1.el9.noarch 10/10
Upgraded:
python-unversioned-command-3.9.18-3.el9_4.5.noarch
python3-3.9.18-3.el9_4.5.x86_64
python3-libs-3.9.18-3.el9_4.5.x86_64
Installed:
jq-1.6-16.el9.x86_64 lsof-4.94.0-3.el9.x86_64
oniguruma-6.9.6-1.el9.5.0.1.x86_64 python3-pip-21.2.3-8.el9.noarch
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 ']'
++ [[ 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:5102
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ [[ nexus.gz1.opensdn.io:5102 == *\:* ]]
+++ echo nexus.gz1.opensdn.io:5102
+++ cut -f 1 -d :
++ export REGISTRY_IP=nexus.gz1.opensdn.io
++ REGISTRY_IP=nexus.gz1.opensdn.io
+++ echo nexus.gz1.opensdn.io:5102
+++ cut -f 2 -d :
++ export REGISTRY_PORT=5102
++ REGISTRY_PORT=5102
++ export FROZEN_REGISTRY=nexus.opensdn.io:5101
++ FROZEN_REGISTRY=nexus.opensdn.io:5101
++ export GERRIT_URL=https://gerrit.opensdn.io/r
++ GERRIT_URL=https://gerrit.opensdn.io/r
++ 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=nightly
++ DEVENV_TAG=nightly
++ export DEVENV_PUSH_TAG=nightly
++ DEVENV_PUSH_TAG=nightly
++ export DEVENV_IMAGE=tf-dev-sandbox:nightly
++ DEVENV_IMAGE=tf-dev-sandbox:nightly
++ export MULTI_KERNEL_BUILD=false
++ MULTI_KERNEL_BUILD=false
++ export ENABLE_RHSM_REPOS=false
++ ENABLE_RHSM_REPOS=false
++ export CONTRAIL_CONTAINER_TAG=nightly
++ CONTRAIL_CONTAINER_TAG=nightly
++ 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
+ '[' xrocky == xcentos ']'
+ '[' xrocky == xrhel ']'
+ '[' xrocky == xubuntu ']'
+ '[' xrocky == xrocky ']'
+ systemctl stop firewalld
Failed to stop firewalld.service: Unit firewalld.service not loaded.
+ true
+ install_docker_rocky
+ which docker
which: no docker in (/sbin:/bin:/usr/sbin:/usr/bin)
+ dnf install -y dnf-utils device-mapper-persistent-data lvm2
+ dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
+ retry dnf install -y docker-ce device-mapper-libs device-mapper-event-libs
+ local i
+ (( i=0 ))
+ (( i<5 ))
+ dnf install -y docker-ce device-mapper-libs device-mapper-event-libs
Importing GPG key 0x621E9F35:
Userid : "Docker Release (CE rpm) "
Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
From : https://download.docker.com/linux/centos/gpg
+ break
+ [[ 0 == 5 ]]
+ dnf remove -y docker-buildx-plugin
+ systemctl start docker
+ 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:5102
+ case ${DISTRO}_${DISTRO_VER} in
+ check_docker_value insecure-registries nexus.gz1.opensdn.io:5102
+ local name=insecure-registries
+ local value=nexus.gz1.opensdn.io:5102
+ 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:5102
+ '[' -n '' ']'
+ insecure_registries+=nexus.gz1.opensdn.io:5102
+ '[' -n nexus.gz1.opensdn.io:5102 ']'
+ 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:5102 1500
+ local insecure_registries=nexus.gz1.opensdn.io:5102
+ 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
Last metadata expiration check: 0:00:11 ago on Wed Oct 30 17:15:43 2024.
Package yum-utils-4.3.0-5.el9_2.noarch is already installed.
Dependencies resolved.
================================================================================================
Package Arch Version Repository Size
================================================================================================
Installing:
device-mapper-persistent-data x86_64 1.0.9-3.el9_4 tf-mirrors.ci_repos_yum9-baseos 1.0 M
lvm2 x86_64 9:2.03.23-2.el9 tf-mirrors.ci_repos_yum9-baseos 1.5 M
Upgrading:
device-mapper x86_64 9:1.02.197-2.el9 tf-mirrors.ci_repos_yum9-baseos 139 k
device-mapper-libs x86_64 9:1.02.197-2.el9 tf-mirrors.ci_repos_yum9-baseos 177 k
dnf-plugins-core noarch 4.3.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 36 k
python3-dnf-plugins-core noarch 4.3.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 246 k
yum-utils noarch 4.3.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 35 k
Installing dependencies:
device-mapper-event x86_64 9:1.02.197-2.el9 tf-mirrors.ci_repos_yum9-baseos 33 k
device-mapper-event-libs x86_64 9:1.02.197-2.el9 tf-mirrors.ci_repos_yum9-baseos 31 k
libaio x86_64 0.3.111-13.el9 tf-mirrors.ci_repos_yum9-baseos 23 k
lvm2-libs x86_64 9:2.03.23-2.el9 tf-mirrors.ci_repos_yum9-baseos 1.0 M
Transaction Summary
================================================================================================
Install 6 Packages
Upgrade 5 Packages
Total download size: 4.2 M
Downloading Packages:
(1/11): device-mapper-event-libs-1.02.197-2.el9 3.4 MB/s | 31 kB 00:00
(2/11): device-mapper-event-1.02.197-2.el9.x86_ 2.4 MB/s | 33 kB 00:00
(3/11): libaio-0.3.111-13.el9.x86_64.rpm 3.9 MB/s | 23 kB 00:00
(4/11): device-mapper-persistent-data-1.0.9-3.e 32 MB/s | 1.0 MB 00:00
(5/11): device-mapper-1.02.197-2.el9.x86_64.rpm 22 MB/s | 139 kB 00:00
(6/11): lvm2-libs-2.03.23-2.el9.x86_64.rpm 28 MB/s | 1.0 MB 00:00
(7/11): device-mapper-libs-1.02.197-2.el9.x86_6 9.6 MB/s | 177 kB 00:00
(8/11): lvm2-2.03.23-2.el9.x86_64.rpm 25 MB/s | 1.5 MB 00:00
(9/11): dnf-plugins-core-4.3.0-13.el9.noarch.rp 1.4 MB/s | 36 kB 00:00
(10/11): python3-dnf-plugins-core-4.3.0-13.el9. 9.7 MB/s | 246 kB 00:00
(11/11): yum-utils-4.3.0-13.el9.noarch.rpm 4.4 MB/s | 35 kB 00:00
--------------------------------------------------------------------------------
Total 48 MB/s | 4.2 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : device-mapper-libs-9:1.02.197-2.el9.x86_64 1/16
Upgrading : device-mapper-9:1.02.197-2.el9.x86_64 2/16
Installing : device-mapper-event-libs-9:1.02.197-2.el9.x86_64 3/16
Installing : libaio-0.3.111-13.el9.x86_64 4/16
Installing : device-mapper-event-9:1.02.197-2.el9.x86_64 5/16
Running scriptlet: device-mapper-event-9:1.02.197-2.el9.x86_64 5/16
Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket → /usr/lib/systemd/system/dm-event.socket.
Installing : lvm2-libs-9:2.03.23-2.el9.x86_64 6/16
Upgrading : python3-dnf-plugins-core-4.3.0-13.el9.noarch 7/16
Upgrading : dnf-plugins-core-4.3.0-13.el9.noarch 8/16
Installing : device-mapper-persistent-data-1.0.9-3.el9_4.x86_64 9/16
Installing : lvm2-9:2.03.23-2.el9.x86_64 10/16
Running scriptlet: lvm2-9:2.03.23-2.el9.x86_64 10/16
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service → /usr/lib/systemd/system/lvm2-monitor.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket → /usr/lib/systemd/system/lvm2-lvmpolld.socket.
Upgrading : yum-utils-4.3.0-13.el9.noarch 11/16
Cleanup : device-mapper-9:1.02.187-7.el9.x86_64 12/16
Cleanup : yum-utils-4.3.0-5.el9_2.noarch 13/16
Cleanup : dnf-plugins-core-4.3.0-5.el9_2.noarch 14/16
Cleanup : python3-dnf-plugins-core-4.3.0-5.el9_2.noarch 15/16
Cleanup : device-mapper-libs-9:1.02.187-7.el9.x86_64 16/16
Running scriptlet: device-mapper-libs-9:1.02.187-7.el9.x86_64 16/16
Verifying : device-mapper-event-9:1.02.197-2.el9.x86_64 1/16
Verifying : device-mapper-event-libs-9:1.02.197-2.el9.x86_64 2/16
Verifying : device-mapper-persistent-data-1.0.9-3.el9_4.x86_64 3/16
Verifying : libaio-0.3.111-13.el9.x86_64 4/16
Verifying : lvm2-9:2.03.23-2.el9.x86_64 5/16
Verifying : lvm2-libs-9:2.03.23-2.el9.x86_64 6/16
Verifying : device-mapper-9:1.02.197-2.el9.x86_64 7/16
Verifying : device-mapper-9:1.02.187-7.el9.x86_64 8/16
Verifying : device-mapper-libs-9:1.02.197-2.el9.x86_64 9/16
Verifying : device-mapper-libs-9:1.02.187-7.el9.x86_64 10/16
Verifying : dnf-plugins-core-4.3.0-13.el9.noarch 11/16
Verifying : dnf-plugins-core-4.3.0-5.el9_2.noarch 12/16
Verifying : python3-dnf-plugins-core-4.3.0-13.el9.noarch 13/16
Verifying : python3-dnf-plugins-core-4.3.0-5.el9_2.noarch 14/16
Verifying : yum-utils-4.3.0-13.el9.noarch 15/16
Verifying : yum-utils-4.3.0-5.el9_2.noarch 16/16
Upgraded:
device-mapper-9:1.02.197-2.el9.x86_64
device-mapper-libs-9:1.02.197-2.el9.x86_64
dnf-plugins-core-4.3.0-13.el9.noarch
python3-dnf-plugins-core-4.3.0-13.el9.noarch
yum-utils-4.3.0-13.el9.noarch
Installed:
device-mapper-event-9:1.02.197-2.el9.x86_64
device-mapper-event-libs-9:1.02.197-2.el9.x86_64
device-mapper-persistent-data-1.0.9-3.el9_4.x86_64
libaio-0.3.111-13.el9.x86_64
lvm2-9:2.03.23-2.el9.x86_64
lvm2-libs-9:2.03.23-2.el9.x86_64
Complete!
Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
Docker CE Stable - x86_64 46 kB/s | 58 kB 00:01
Last metadata expiration check: 0:00:01 ago on Wed Oct 30 17:15:59 2024.
Package device-mapper-libs-9:1.02.197-2.el9.x86_64 is already installed.
Package device-mapper-event-libs-9:1.02.197-2.el9.x86_64 is already installed.
Dependencies resolved.
==============================================================================================
Package Arch Version Repository Size
==============================================================================================
Installing:
docker-ce x86_64 3:27.3.1-1.el9 docker-ce-stable 27 M
Upgrading:
iptables-libs x86_64 1.8.10-4.el9_4 tf-mirrors.ci_repos_yum9-baseos 396 k
Installing dependencies:
container-selinux noarch 3:2.229.0-1.el9 tf-mirrors.ci_repos_yum9-appstream 56 k
containerd.io x86_64 1.7.22-3.1.el9 docker-ce-stable 43 M
docker-ce-cli x86_64 1:27.3.1-1.el9 docker-ce-stable 8.0 M
fuse-common x86_64 3.10.2-8.el9 tf-mirrors.ci_repos_yum9-baseos 7.3 k
fuse-overlayfs x86_64 1.13-1.el9 tf-mirrors.ci_repos_yum9-appstream 66 k
fuse3 x86_64 3.10.2-8.el9 tf-mirrors.ci_repos_yum9-appstream 53 k
fuse3-libs x86_64 3.10.2-8.el9 tf-mirrors.ci_repos_yum9-appstream 90 k
iptables-nft x86_64 1.8.10-4.el9_4 tf-mirrors.ci_repos_yum9-baseos 186 k
libnftnl x86_64 1.2.6-4.el9_4 tf-mirrors.ci_repos_yum9-baseos 87 k
libslirp x86_64 4.4.0-7.el9 tf-mirrors.ci_repos_yum9-appstream 68 k
slirp4netns x86_64 1.2.3-1.el9 tf-mirrors.ci_repos_yum9-appstream 46 k
Installing weak dependencies:
docker-buildx-plugin x86_64 0.17.1-1.el9 docker-ce-stable 14 M
docker-ce-rootless-extras x86_64 27.3.1-1.el9 docker-ce-stable 4.4 M
docker-compose-plugin x86_64 2.29.7-1.el9 docker-ce-stable 13 M
Transaction Summary
==============================================================================================
Install 15 Packages
Upgrade 1 Package
Total download size: 110 M
Downloading Packages:
(1/16): fuse-common-3.10.2-8.el9.x86_64.rpm 772 kB/s | 7.3 kB 00:00
(2/16): iptables-nft-1.8.10-4.el9_4.x86_64.rpm 12 MB/s | 186 kB 00:00
(3/16): libnftnl-1.2.6-4.el9_4.x86_64.rpm 4.5 MB/s | 87 kB 00:00
(4/16): container-selinux-2.229.0-1.el9.noarch. 4.4 MB/s | 56 kB 00:00
(5/16): fuse-overlayfs-1.13-1.el9.x86_64.rpm 6.4 MB/s | 66 kB 00:00
(6/16): fuse3-3.10.2-8.el9.x86_64.rpm 5.4 MB/s | 53 kB 00:00
(7/16): fuse3-libs-3.10.2-8.el9.x86_64.rpm 9.1 MB/s | 90 kB 00:00
(8/16): libslirp-4.4.0-7.el9.x86_64.rpm 7.1 MB/s | 68 kB 00:00
(9/16): slirp4netns-1.2.3-1.el9.x86_64.rpm 4.9 MB/s | 46 kB 00:00
(10/16): docker-buildx-plugin-0.17.1-1.el9.x86_ 5.3 MB/s | 14 MB 00:02
(11/16): docker-ce-27.3.1-1.el9.x86_64.rpm 7.6 MB/s | 27 MB 00:03
(12/16): containerd.io-1.7.22-3.1.el9.x86_64.rp 9.0 MB/s | 43 MB 00:04
(13/16): docker-ce-cli-27.3.1-1.el9.x86_64.rpm 3.5 MB/s | 8.0 MB 00:02
(14/16): docker-ce-rootless-extras-27.3.1-1.el9 3.3 MB/s | 4.4 MB 00:01
(15/16): iptables-libs-1.8.10-4.el9_4.x86_64.rp 8.0 MB/s | 396 kB 00:00
(16/16): docker-compose-plugin-2.29.7-1.el9.x86 13 MB/s | 13 MB 00:00
--------------------------------------------------------------------------------
Total 19 MB/s | 110 MB 00:05
Docker CE Stable - x86_64 3.1 kB/s | 1.6 kB 00:00
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : docker-compose-plugin-2.29.7-1.el9.x86_64 1/17
Running scriptlet: docker-compose-plugin-2.29.7-1.el9.x86_64 1/17
Installing : fuse3-libs-3.10.2-8.el9.x86_64 2/17
Running scriptlet: container-selinux-3:2.229.0-1.el9.noarch 3/17
Installing : container-selinux-3:2.229.0-1.el9.noarch 3/17
Running scriptlet: container-selinux-3:2.229.0-1.el9.noarch 3/17
Installing : containerd.io-1.7.22-3.1.el9.x86_64 4/17
Running scriptlet: containerd.io-1.7.22-3.1.el9.x86_64 4/17
Upgrading : iptables-libs-1.8.10-4.el9_4.x86_64 5/17
Installing : docker-buildx-plugin-0.17.1-1.el9.x86_64 6/17
Running scriptlet: docker-buildx-plugin-0.17.1-1.el9.x86_64 6/17
Installing : docker-ce-cli-1:27.3.1-1.el9.x86_64 7/17
Running scriptlet: docker-ce-cli-1:27.3.1-1.el9.x86_64 7/17
Installing : libslirp-4.4.0-7.el9.x86_64 8/17
Installing : slirp4netns-1.2.3-1.el9.x86_64 9/17
Installing : libnftnl-1.2.6-4.el9_4.x86_64 10/17
Installing : iptables-nft-1.8.10-4.el9_4.x86_64 11/17
Running scriptlet: iptables-nft-1.8.10-4.el9_4.x86_64 11/17
Installing : fuse-common-3.10.2-8.el9.x86_64 12/17
Installing : fuse3-3.10.2-8.el9.x86_64 13/17
Installing : fuse-overlayfs-1.13-1.el9.x86_64 14/17
Running scriptlet: fuse-overlayfs-1.13-1.el9.x86_64 14/17
Installing : docker-ce-3:27.3.1-1.el9.x86_64 15/17
Running scriptlet: docker-ce-3:27.3.1-1.el9.x86_64 15/17
Installing : docker-ce-rootless-extras-27.3.1-1.el9.x86_64 16/17
Running scriptlet: docker-ce-rootless-extras-27.3.1-1.el9.x86_64 16/17
Cleanup : iptables-libs-1.8.8-6.el9_1.x86_64 17/17
Running scriptlet: container-selinux-3:2.229.0-1.el9.noarch 17/17
Running scriptlet: iptables-libs-1.8.8-6.el9_1.x86_64 17/17
Verifying : fuse-common-3.10.2-8.el9.x86_64 1/17
Verifying : iptables-nft-1.8.10-4.el9_4.x86_64 2/17
Verifying : libnftnl-1.2.6-4.el9_4.x86_64 3/17
Verifying : container-selinux-3:2.229.0-1.el9.noarch 4/17
Verifying : fuse-overlayfs-1.13-1.el9.x86_64 5/17
Verifying : fuse3-3.10.2-8.el9.x86_64 6/17
Verifying : fuse3-libs-3.10.2-8.el9.x86_64 7/17
Verifying : libslirp-4.4.0-7.el9.x86_64 8/17
Verifying : slirp4netns-1.2.3-1.el9.x86_64 9/17
Verifying : containerd.io-1.7.22-3.1.el9.x86_64 10/17
Verifying : docker-buildx-plugin-0.17.1-1.el9.x86_64 11/17
Verifying : docker-ce-3:27.3.1-1.el9.x86_64 12/17
Verifying : docker-ce-cli-1:27.3.1-1.el9.x86_64 13/17
Verifying : docker-ce-rootless-extras-27.3.1-1.el9.x86_64 14/17
Verifying : docker-compose-plugin-2.29.7-1.el9.x86_64 15/17
Verifying : iptables-libs-1.8.10-4.el9_4.x86_64 16/17
Verifying : iptables-libs-1.8.8-6.el9_1.x86_64 17/17
Upgraded:
iptables-libs-1.8.10-4.el9_4.x86_64
Installed:
container-selinux-3:2.229.0-1.el9.noarch
containerd.io-1.7.22-3.1.el9.x86_64
docker-buildx-plugin-0.17.1-1.el9.x86_64
docker-ce-3:27.3.1-1.el9.x86_64
docker-ce-cli-1:27.3.1-1.el9.x86_64
docker-ce-rootless-extras-27.3.1-1.el9.x86_64
docker-compose-plugin-2.29.7-1.el9.x86_64
fuse-common-3.10.2-8.el9.x86_64
fuse-overlayfs-1.13-1.el9.x86_64
fuse3-3.10.2-8.el9.x86_64
fuse3-libs-3.10.2-8.el9.x86_64
iptables-nft-1.8.10-4.el9_4.x86_64
libnftnl-1.2.6-4.el9_4.x86_64
libslirp-4.4.0-7.el9.x86_64
slirp4netns-1.2.3-1.el9.x86_64
Complete!
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
docker-buildx-plugin x86_64 0.17.1-1.el9 @docker-ce-stable 62 M
Transaction Summary
================================================================================
Remove 1 Package
Freed space: 62 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: docker-buildx-plugin-0.17.1-1.el9.x86_64 1/1
Erasing : docker-buildx-plugin-0.17.1-1.el9.x86_64 1/1
Running scriptlet: docker-buildx-plugin-0.17.1-1.el9.x86_64 1/1
Verifying : docker-buildx-plugin-0.17.1-1.el9.x86_64 1/1
Removed:
docker-buildx-plugin-0.17.1-1.el9.x86_64
Complete!
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:-nightly}
FROZEN_TAG=${FROZEN_TAG:-}
FROZEN_REGISTRY=${FROZEN_REGISTRY:-nexus.opensdn.io:5101}
CONTAINER_REGISTRY=${CONTAINER_REGISTRY:-nexus.gz1.opensdn.io:5102}
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=nightly
CONTRAIL_DEPLOYERS_TAG=nightly
CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5102
CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
CONTRAIL_REPOSITORY=http://localhost:6667
DEPLOYERS_BASE_CONTAINER=nexus.gz1.opensdn.io:5102/contrail-general-base:nightly
CONTRAIL_PARALLEL_BUILD=true
VENDOR_NAME=OpenSDN-IO
VENDOR_DOMAIN=io.opensdn
YUM_ENABLE_REPOS=
INFO: environment setup
nightly: Pulling from tf-dev-sandbox
2d473b07cdd5: Pulling fs layer
50b182e8537d: Pulling fs layer
bd328a26d91d: Pulling fs layer
c1e40ba9aa15: Pulling fs layer
74b695fb240b: Pulling fs layer
69bf51ca28f2: Pulling fs layer
4cfe632c4b2b: Pulling fs layer
74b695fb240b: Waiting
69bf51ca28f2: Waiting
c1e40ba9aa15: Waiting
4cfe632c4b2b: Waiting
50b182e8537d: Verifying Checksum
50b182e8537d: Download complete
bd328a26d91d: Verifying Checksum
bd328a26d91d: Download complete
c1e40ba9aa15: Verifying Checksum
c1e40ba9aa15: Download complete
69bf51ca28f2: Verifying Checksum
69bf51ca28f2: Download complete
2d473b07cdd5: Verifying Checksum
2d473b07cdd5: Download complete
2d473b07cdd5: Pull complete
50b182e8537d: Pull complete
bd328a26d91d: Pull complete
c1e40ba9aa15: Pull complete
74b695fb240b: Verifying Checksum
74b695fb240b: Download complete
74b695fb240b: Pull complete
69bf51ca28f2: Pull complete
4cfe632c4b2b: Verifying Checksum
4cfe632c4b2b: Download complete
4cfe632c4b2b: Pull complete
Digest: sha256:19e917eebddb1a4e186b6fd935f5ce496e7152c4bae6391f9d9345f17d8691a5
Status: Downloaded newer image for nexus.gz1.opensdn.io:5102/tf-dev-sandbox:nightly
nexus.gz1.opensdn.io:5102/tf-dev-sandbox:nightly
INFO: start cmd 'mysudo docker run --network host --privileged --detach --name tf-dev-sandbox -w /root -e LC_ALL=en_US.UTF-8 -e LANG=en_US.UTF-8 -e LANGUAGE=en_US.UTF-8 -v /etc/localtime:/etc/localtime:z -v /home/rocky/src/opensdn-io/tf-dev-env:/root/tf-dev-env:z -v /home/rocky/output:/output:z -v /home/rocky/src/opensdn-io/tf-dev-env/input:/input:z -v /home/rocky/src/opensdn-io/tf-dev-env/config:/config:z -v /var/run:/var/run:z -it nexus.gz1.opensdn.io:5102/tf-dev-sandbox:nightly'
ce3a0016298d6babadca45eac13cec6c56e3186d733625d8893dbfad1d301cab
tf-dev-sandbox created.
INFO: run stage test with target
INFO: run stage test 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 Wed Oct 30 17:19:15 PDT 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
Cleaning up list of fastest mirrors
INFO: Starting unit tests
Linux jenkins-test-unit-bgp-1195-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 controller tests
INFO: detected kernel version is 3.10.0-1160.25.1.el7.x86_64
total 28
drwxr-xr-x. 7 root root 4096 Oct 30 17:08 3.10.0-1062.12.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Oct 30 17:07 3.10.0-1062.4.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Oct 30 17:08 3.10.0-1062.9.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Oct 30 17:08 3.10.0-1160.25.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Oct 30 17:07 3.10.0-957.12.2.el7.x86_64
drwxr-xr-x. 6 root root 4096 Oct 30 17:08 4.18.0-193.28.1.el8_2.x86_64
drwxr-xr-x. 6 root root 4096 Oct 30 17:08 4.18.0-305.12.1.el8_4.x86_64
INFO: Prepare targets Wed Oct 30 17:19:17 PDT 2024
INFO: enable core dumps
INFO: targets to run:
controller/src/bgp:test
controller/src/cat:test_upgrade
INFO: Wed Oct 30 17:19:17 PDT 2024 Starting unit tests for target controller/src/bgp:test
INFO: Wed Oct 30 17:58:23 PDT 2024 Unit test log is available at /output/logs/bgp.log
INFO: Wed Oct 30 17:58:23 PDT 2024 Starting unit tests for target controller/src/cat:test_upgrade
INFO: Wed Oct 30 18:14:25 PDT 2024 Unit test log is available at /output/logs/cat.log
INFO: cores: total 20232
-rw-------. 1 root root 60547072 Oct 30 17:52 core-38778-38772-!root!work!build!debug!bgp!test!bgp_bgpaas_test
/output/logs ~/contrail
real 0m53.673s
user 0m49.439s
sys 0m2.099s
~/contrail
INFO: make successful Wed Oct 30 18:16:12 PDT 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
+ ./src/opensdn-io/tf-jenkins/jobs/test/unit/collect_logs.sh
Warning: Permanently added '10.0.0.41' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.41' (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/nightly/pipeline_25/test-unit
+ exit
[PostBuildScript] - [INFO] Executing post build scripts.
[test-unit-bgp] $ /bin/bash -xe /tmp/jenkins18115924493291675292.sh
+ source /home/jenkins/workspace/test-unit-bgp/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ PIPELINE_BUILD_TAG=jenkins-pipeline-nightly-25
++ 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/nightly/pipeline_25
++ LOGS_PATH=/var/www/logs/jenkins_logs/nightly/pipeline_25
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/nightly/pipeline_25
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG=nightly
++ CONTRAIL_CONTAINER_TAG=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=nightly
++ export CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ DEPLOYER_CONTAINER_REGISTRY_ORIGINAL=nexus.gz1.opensdn.io:5102
++ export CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=nightly
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=nightly
++ export GERRIT_PIPELINE=nightly
++ GERRIT_PIPELINE=nightly
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
+ '[' -e /home/jenkins/workspace/test-unit-bgp/stackrc.test-unit-bgp.env ']'
+ echo 'INFO: stackrc file found. remove workers.'
INFO: stackrc file found. remove workers.
+ source /home/jenkins/workspace/test-unit-bgp/stackrc.test-unit-bgp.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=4fe2ef6a-d1bd-4879-8679-c96b5d6dea53,
++ INSTANCE_IDS=4fe2ef6a-d1bd-4879-8679-c96b5d6dea53,
++ export INSTANCE_IPS=10.0.0.41,
++ INSTANCE_IPS=10.0.0.41,
++ export instance_ip=10.0.0.41
++ instance_ip=10.0.0.41
+ ./src/opensdn-io/tf-jenkins/infra/openstack/remove_workers.sh
nova CLI is deprecated and will be removed in a future release
| locked | False |
INFO: do down nodes
+-----------------------------+----------------------------------------------------------+
| Field | Value |
+-----------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | GZ1 |
| OS-EXT-STS:power_state | Running |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2024-10-31T00:15:04.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | management=10.0.0.41 |
| config_drive | |
| created | 2024-10-31T00:14:39Z |
| flavor | STD3-4-16 (b6760da7-d124-45c7-a0a7-64f40acae087) |
| hostId | 7a16a6d12c623373f5f6a6c19bcb2bad3687fdb52fde8b4d585ec17e |
| id | 4fe2ef6a-d1bd-4879-8679-c96b5d6dea53 |
| image | N/A (booted from volume) |
| key_name | worker |
| name | jenkins-test-unit-bgp-1195_1 |
| progress | 0 |
| project_id | **** |
| properties | |
| status | ACTIVE |
| updated | 2024-10-31T00:15:04Z |
| user_id | 25d930adb802408885c71e341481886e |
| volumes_attached | id='dde9241d-7ad6-42ec-9a11-92fe9db5fd11' |
+-----------------------------+----------------------------------------------------------+
+ rm -f /home/jenkins/workspace/test-unit-bgp/stackrc.test-unit-bgp.env
Archiving artifacts
Finished: SUCCESS