Started by upstream project "pipeline-gate" build number 623
originally caused by:
Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-build/+/1253
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/test-unit-agent
[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-agent/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 edc0badbf9cfb6ea64da7a4eb15177ead1802e9c (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f edc0badbf9cfb6ea64da7a4eb15177ead1802e9c # timeout=10
Commit message: "Revert "add debug for troubleshooting" Revert "remove strange packages from rocky9 repos""
> git rev-list --no-walk edc0badbf9cfb6ea64da7a4eb15177ead1802e9c # 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-agent/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 623
[test-unit-agent] $ /bin/bash -xe /tmp/jenkins1835724070390337066.sh
+ export TARGET_SET=agent
+ TARGET_SET=agent
+ source /home/jenkins/workspace/test-unit-agent/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ 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/53/1253/1/gate_623
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/53/1253/1/gate_623
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export GERRIT_PIPELINE=gate
++ GERRIT_PIPELINE=gate
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-build
++ GERRIT_PROJECT=opensdn-io/tf-build
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=
++ BASE_BUILD_ID_LIST=
+ source /home/jenkins/workspace/test-unit-agent/vars.test-unit-agent.23168.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
+ desc='Pipeline: pipeline-gate-623 Random: 23168
'
+ desc+='Target set: agent
'
+ desc+='Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623/test-unit'
+ echo 'DESCRIPTION Pipeline: pipeline-gate-623 Random: 23168
Target set: agent
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623/test-unit'
DESCRIPTION Pipeline: pipeline-gate-623 Random: 23168
Target set: agent
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623/test-unit
[description-setter] Description set: Pipeline: pipeline-gate-623 Random: 23168
Target set: agent
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623/test-unit'
[test-unit-agent] $ /bin/bash -xe /tmp/jenkins10718075142911812779.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-unit-agent/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ 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/53/1253/1/gate_623
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/53/1253/1/gate_623
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export GERRIT_PIPELINE=gate
++ GERRIT_PIPELINE=gate
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-build
++ GERRIT_PROJECT=opensdn-io/tf-build
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=
++ BASE_BUILD_ID_LIST=
+ ./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-agent] $ /bin/bash -xe /tmp/jenkins14252754324513860904.sh
+ set -eo pipefail
+ export TARGET_SET=agent
+ TARGET_SET=agent
+ source /home/jenkins/workspace/test-unit-agent/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ 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/53/1253/1/gate_623
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/53/1253/1/gate_623
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export GERRIT_PIPELINE=gate
++ GERRIT_PIPELINE=gate
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-build
++ GERRIT_PROJECT=opensdn-io/tf-build
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=
++ BASE_BUILD_ID_LIST=
+ source /home/jenkins/workspace/test-unit-agent/vars.test-unit-agent.23168.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
+ source /home/jenkins/workspace/test-unit-agent/deps.test-unit-agent.23168.env
++ 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 DEVENV_TAG=master-1_2_5_3-1
++ DEVENV_TAG=master-1_2_5_3-1
+ ./src/opensdn-io/tf-jenkins/jobs/test/unit/filter_targets.sh
INFO: filtered set:
controller/src/agent:test
controller/src/cat:test
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/53/1253/1/gate_623/test-unit
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/53/1253/1/gate_623/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 Mon Dec 30 20:53:34 UTC 2024
INFO: waiting for resources is finished Mon Dec 30 20:53:38 UTC 2024
INFO: openstack volume create --type ceph-ssd --size 80 --availability-zone GZ1 --image aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f --bootable jenkins-test-unit-agent-1442_1_volume
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| attachments | [] |
| availability_zone | GZ1 |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2024-12-30T20:53:41.860581 |
| description | None |
| encrypted | False |
| id | a3ad58d2-19c0-4c9b-8845-4103390ec561 |
| multiattach | False |
| name | jenkins-test-unit-agent-1442_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-agent-1442_1 is available
INFO: openstack server create --volume jenkins-test-unit-agent-1442_1 --flavor STD3-4-16 --security-group default --availability-zone GZ1 --key-name=worker --network management --wait jenkins-test-unit-agent-1442_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-12-30T20:54:25.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | management=10.0.0.45 |
| adminPass | 6pGkXdT8FyWD |
| config_drive | |
| created | 2024-12-30T20:54:00Z |
| flavor | STD3-4-16 (b6760da7-d124-45c7-a0a7-64f40acae087) |
| hostId | 53cf623612bceb5d0582a4ca107e0b771631abdd4b2659c1756a60e7 |
| id | d687a273-3813-4658-b648-1c916e06678f |
| image | N/A (booted from volume) |
| key_name | worker |
| name | jenkins-test-unit-agent-1442_1 |
| progress | 0 |
| project_id | **** |
| properties | |
| security_groups | id='ae6a292d-c48f-4b92-9b1d-4d0a032b0697', name='default', sdn='neutron' |
| status | ACTIVE |
| updated | 2024-12-30T20:54:25Z |
| user_id | 25d930adb802408885c71e341481886e |
| volumes_attached | id='a3ad58d2-19c0-4c9b-8845-4103390ec561' |
+-----------------------------+--------------------------------------------------------------------------+
nova CLI is deprecated and will be removed in a future release
Request to add tag PipelineBuildTag=jenkins-pipeline-gate-623 to specified server has been accepted.
Request to add tag JobTag=jenkins-test-unit-agent-1442 to specified server has been accepted.
Request to add tag GroupTag=jenkins-test-unit-agent-1442 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.45' (ECDSA) to the list of known hosts.
Linux jenkins-test-unit-agent-1442-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.45' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.45' (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.45' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
INFO: copy mirror-epel9.repo to host
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
INFO: do not set default gateway for second interface
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
INFO: check dns
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
Server: 10.0.0.4
Address: 10.0.0.4#53
Name: tf-jenkins.mcs.local
Address: 10.0.0.25
real 0m0.062s
user 0m0.007s
sys 0m0.008s
INFO: cat /etc/resolv.conf
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
# Generated by NetworkManager
search mcs.local novalocal
nameserver 10.0.0.4
nameserver 10.0.0.2
DEBUG: port_id=0b9c9529-ece8-46b9-90bb-72432c1f10ea for d687a273-3813-4658-b648-1c916e06678f in management
+ source /home/jenkins/workspace/test-unit-agent/stackrc.test-unit-agent.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=d687a273-3813-4658-b648-1c916e06678f,
++ INSTANCE_IDS=d687a273-3813-4658-b648-1c916e06678f,
++ export INSTANCE_IPS=10.0.0.45,
++ INSTANCE_IPS=10.0.0.45,
++ export instance_ip=10.0.0.45
++ instance_ip=10.0.0.45
+ ./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.45' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.45' (ECDSA) to the list of known hosts.
Local time: Mon 2024-12-30 20:54:55 UTC
Universal time: Mon 2024-12-30 20:54:55 UTC
RTC time: Mon 2024-12-30 20:54:55
Time zone: UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Local time: Mon 2024-12-30 12:54:55 PST
Universal time: Mon 2024-12-30 20:54:55 UTC
RTC time: Mon 2024-12-30 20:54:55
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
added from: http://tf-mirrors.gz1.opensdn.io/re 56 MB/s | 3.5 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 39 MB/s | 1.0 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 16 MB/s | 322 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 90 MB/s | 8.8 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 86 MB/s | 6.0 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 38 MB/s | 1.0 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 59 MB/s | 2.7 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 25 MB/s | 438 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 24 MB/s | 509 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 1.1 MB/s | 16 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 24 kB/s | 257 B 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 1.0 MB/s | 13 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 118 MB/s | 25 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-17.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.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M
Upgrading:
python-unversioned-command noarch 3.9.19-8.el9_5.1 tf-mirrors.ci_repos_yum9-appstream 9.1 k
python3 x86_64 3.9.19-8.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 26 k
python3-libs x86_64 3.9.19-8.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 7.5 M
Installing dependencies:
oniguruma x86_64 6.9.6-1.el9.6 tf-mirrors.ci_repos_yum9-baseos 217 k
Transaction Summary
================================================================================================
Install 4 Packages
Upgrade 3 Packages
Total download size: 10 M
Downloading Packages:
(1/7): jq-1.6-17.el9.x86_64.rpm 18 MB/s | 186 kB 00:00
(2/7): oniguruma-6.9.6-1.el9.6.x86_64.rpm 13 MB/s | 217 kB 00:00
(3/7): lsof-4.94.0-3.el9.x86_64.rpm 11 MB/s | 238 kB 00:00
(4/7): python3-3.9.19-8.el9_5.1.x86_64.rpm 3.5 MB/s | 26 kB 00:00
(5/7): python-unversioned-command-3.9.19-8.el9_ 2.0 MB/s | 9.1 kB 00:00
(6/7): python3-pip-21.3.1-1.el9.noarch.rpm 45 MB/s | 1.7 MB 00:00
(7/7): python3-libs-3.9.19-8.el9_5.1.x86_64.rpm 82 MB/s | 7.5 MB 00:00
--------------------------------------------------------------------------------
Total 87 MB/s | 10 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.19-8.el9_5.1.x86_64 1/10
Upgrading : python-unversioned-command-3.9.19-8.el9_5.1.noarch 2/10
Upgrading : python3-3.9.19-8.el9_5.1.x86_64 3/10
Installing : oniguruma-6.9.6-1.el9.6.x86_64 4/10
Installing : jq-1.6-17.el9.x86_64 5/10
Installing : python3-pip-21.3.1-1.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-17.el9.x86_64 1/10
Verifying : lsof-4.94.0-3.el9.x86_64 2/10
Verifying : oniguruma-6.9.6-1.el9.6.x86_64 3/10
Verifying : python3-pip-21.3.1-1.el9.noarch 4/10
Verifying : python3-3.9.19-8.el9_5.1.x86_64 5/10
Verifying : python3-3.9.16-1.el9.x86_64 6/10
Verifying : python3-libs-3.9.19-8.el9_5.1.x86_64 7/10
Verifying : python3-libs-3.9.16-1.el9.x86_64 8/10
Verifying : python-unversioned-command-3.9.19-8.el9_5.1.noarch 9/10
Verifying : python-unversioned-command-3.9.16-1.el9.noarch 10/10
Upgraded:
python-unversioned-command-3.9.19-8.el9_5.1.noarch
python3-3.9.19-8.el9_5.1.x86_64
python3-libs-3.9.19-8.el9_5.1.x86_64
Installed:
jq-1.6-17.el9.x86_64 lsof-4.94.0-3.el9.x86_64
oniguruma-6.9.6-1.el9.6.x86_64 python3-pip-21.3.1-1.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: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=master-1_2_5_3-1
++ DEVENV_TAG=master-1_2_5_3-1
++ export DEVENV_PUSH_TAG=master-1_2_5_3-1
++ DEVENV_PUSH_TAG=master-1_2_5_3-1
++ export DEVENV_IMAGE=tf-dev-sandbox:master-1_2_5_3-1
++ DEVENV_IMAGE=tf-dev-sandbox:master-1_2_5_3-1
++ export MULTI_KERNEL_BUILD=false
++ MULTI_KERNEL_BUILD=false
++ export ENABLE_RHSM_REPOS=false
++ ENABLE_RHSM_REPOS=false
++ export CONTRAIL_CONTAINER_TAG=master-1_2_5_3-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_5_3-1
++ 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: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
Last metadata expiration check: 0:00:11 ago on Mon Dec 30 12:55:02 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.24-2.el9 tf-mirrors.ci_repos_yum9-baseos 1.5 M
Upgrading:
device-mapper x86_64 9:1.02.198-2.el9 tf-mirrors.ci_repos_yum9-baseos 137 k
device-mapper-libs x86_64 9:1.02.198-2.el9 tf-mirrors.ci_repos_yum9-baseos 177 k
dnf-plugins-core noarch 4.3.0-16.el9 tf-mirrors.ci_repos_yum9-baseos 36 k
python3-dnf-plugins-core noarch 4.3.0-16.el9 tf-mirrors.ci_repos_yum9-baseos 246 k
yum-utils noarch 4.3.0-16.el9 tf-mirrors.ci_repos_yum9-baseos 35 k
Installing dependencies:
device-mapper-event x86_64 9:1.02.198-2.el9 tf-mirrors.ci_repos_yum9-baseos 34 k
device-mapper-event-libs x86_64 9:1.02.198-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.24-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-1.02.198-2.el9.x86_ 3.7 MB/s | 34 kB 00:00
(2/11): device-mapper-event-libs-1.02.198-2.el9 2.7 MB/s | 31 kB 00:00
(3/11): libaio-0.3.111-13.el9.x86_64.rpm 5.0 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.198-2.el9.x86_64.rpm 27 MB/s | 137 kB 00:00
(6/11): lvm2-libs-2.03.24-2.el9.x86_64.rpm 29 MB/s | 1.0 MB 00:00
(7/11): lvm2-2.03.24-2.el9.x86_64.rpm 30 MB/s | 1.5 MB 00:00
(8/11): dnf-plugins-core-4.3.0-16.el9.noarch.rp 2.2 MB/s | 36 kB 00:00
(9/11): device-mapper-libs-1.02.198-2.el9.x86_6 5.3 MB/s | 177 kB 00:00
(10/11): yum-utils-4.3.0-16.el9.noarch.rpm 5.4 MB/s | 35 kB 00:00
(11/11): python3-dnf-plugins-core-4.3.0-16.el9. 18 MB/s | 246 kB 00:00
--------------------------------------------------------------------------------
Total 54 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.198-2.el9.x86_64 1/16
Upgrading : device-mapper-9:1.02.198-2.el9.x86_64 2/16
Installing : device-mapper-event-libs-9:1.02.198-2.el9.x86_64 3/16
Installing : libaio-0.3.111-13.el9.x86_64 4/16
Installing : device-mapper-event-9:1.02.198-2.el9.x86_64 5/16
Running scriptlet: device-mapper-event-9:1.02.198-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.24-2.el9.x86_64 6/16
Upgrading : python3-dnf-plugins-core-4.3.0-16.el9.noarch 7/16
Upgrading : dnf-plugins-core-4.3.0-16.el9.noarch 8/16
Installing : device-mapper-persistent-data-1.0.9-3.el9_4.x86_64 9/16
Installing : lvm2-9:2.03.24-2.el9.x86_64 10/16
Running scriptlet: lvm2-9:2.03.24-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-16.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.198-2.el9.x86_64 1/16
Verifying : device-mapper-event-libs-9:1.02.198-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.24-2.el9.x86_64 5/16
Verifying : lvm2-libs-9:2.03.24-2.el9.x86_64 6/16
Verifying : device-mapper-9:1.02.198-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.198-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-16.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-16.el9.noarch 13/16
Verifying : python3-dnf-plugins-core-4.3.0-5.el9_2.noarch 14/16
Verifying : yum-utils-4.3.0-16.el9.noarch 15/16
Verifying : yum-utils-4.3.0-5.el9_2.noarch 16/16
Upgraded:
device-mapper-9:1.02.198-2.el9.x86_64
device-mapper-libs-9:1.02.198-2.el9.x86_64
dnf-plugins-core-4.3.0-16.el9.noarch
python3-dnf-plugins-core-4.3.0-16.el9.noarch
yum-utils-4.3.0-16.el9.noarch
Installed:
device-mapper-event-9:1.02.198-2.el9.x86_64
device-mapper-event-libs-9:1.02.198-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.24-2.el9.x86_64
lvm2-libs-9:2.03.24-2.el9.x86_64
Complete!
Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
Docker CE Stable - x86_64 271 kB/s | 61 kB 00:00
Package device-mapper-libs-9:1.02.198-2.el9.x86_64 is already installed.
Package device-mapper-event-libs-9:1.02.198-2.el9.x86_64 is already installed.
Dependencies resolved.
==============================================================================================
Package Arch Version Repository Size
==============================================================================================
Installing:
docker-ce x86_64 3:27.4.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.232.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 55 k
containerd.io x86_64 1.7.24-3.1.el9 docker-ce-stable 43 M
docker-ce-cli x86_64 1:27.4.1-1.el9 docker-ce-stable 8.0 M
fuse-common x86_64 3.10.2-9.el9 tf-mirrors.ci_repos_yum9-baseos 7.3 k
fuse-overlayfs x86_64 1.14-1.el9 tf-mirrors.ci_repos_yum9-appstream 66 k
fuse3 x86_64 3.10.2-9.el9 tf-mirrors.ci_repos_yum9-appstream 53 k
fuse3-libs x86_64 3.10.2-9.el9 tf-mirrors.ci_repos_yum9-appstream 91 k
iptables-legacy x86_64 1.8.10-4.1.el9 tf-mirrors.ci_repos_epel9.repo 49 k
iptables-legacy-libs x86_64 1.8.10-4.1.el9 tf-mirrors.ci_repos_epel9.repo 37 k
libslirp x86_64 4.4.0-8.el9 tf-mirrors.ci_repos_yum9-appstream 67 k
slirp4netns x86_64 1.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 46 k
Installing weak dependencies:
docker-buildx-plugin x86_64 0.19.3-1.el9 docker-ce-stable 14 M
docker-ce-rootless-extras x86_64 27.4.1-1.el9 docker-ce-stable 4.4 M
docker-compose-plugin x86_64 2.32.1-1.el9 docker-ce-stable 14 M
Transaction Summary
==============================================================================================
Install 15 Packages
Upgrade 1 Package
Total download size: 111 M
Downloading Packages:
(1/16): fuse-common-3.10.2-9.el9.x86_64.rpm 1.2 MB/s | 7.3 kB 00:00
(2/16): container-selinux-2.232.1-1.el9.noarch. 5.9 MB/s | 55 kB 00:00
(3/16): fuse-overlayfs-1.14-1.el9.x86_64.rpm 5.2 MB/s | 66 kB 00:00
(4/16): fuse3-3.10.2-9.el9.x86_64.rpm 5.9 MB/s | 53 kB 00:00
(5/16): fuse3-libs-3.10.2-9.el9.x86_64.rpm 10 MB/s | 91 kB 00:00
(6/16): libslirp-4.4.0-8.el9.x86_64.rpm 8.4 MB/s | 67 kB 00:00
(7/16): slirp4netns-1.3.1-1.el9.x86_64.rpm 6.0 MB/s | 46 kB 00:00
(8/16): iptables-legacy-1.8.10-4.1.el9.x86_64.r 6.3 MB/s | 49 kB 00:00
(9/16): iptables-legacy-libs-1.8.10-4.1.el9.x86 4.8 MB/s | 37 kB 00:00
(10/16): docker-buildx-plugin-0.19.3-1.el9.x86_ 34 MB/s | 14 MB 00:00
(11/16): docker-ce-27.4.1-1.el9.x86_64.rpm 43 MB/s | 27 MB 00:00
(12/16): docker-ce-cli-27.4.1-1.el9.x86_64.rpm 18 MB/s | 8.0 MB 00:00
(13/16): docker-ce-rootless-extras-27.4.1-1.el9 16 MB/s | 4.4 MB 00:00
(14/16): containerd.io-1.7.24-3.1.el9.x86_64.rp 37 MB/s | 43 MB 00:01
(15/16): iptables-libs-1.8.10-4.el9_4.x86_64.rp 1.7 MB/s | 396 kB 00:00
(16/16): docker-compose-plugin-2.32.1-1.el9.x86 29 MB/s | 14 MB 00:00
--------------------------------------------------------------------------------
Total 82 MB/s | 111 MB 00:01
Docker CE Stable - x86_64 17 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.32.1-1.el9.x86_64 1/17
Running scriptlet: docker-compose-plugin-2.32.1-1.el9.x86_64 1/17
Installing : fuse3-libs-3.10.2-9.el9.x86_64 2/17
Running scriptlet: container-selinux-3:2.232.1-1.el9.noarch 3/17
Installing : container-selinux-3:2.232.1-1.el9.noarch 3/17
Running scriptlet: container-selinux-3:2.232.1-1.el9.noarch 3/17
Installing : containerd.io-1.7.24-3.1.el9.x86_64 4/17
Running scriptlet: containerd.io-1.7.24-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.19.3-1.el9.x86_64 6/17
Running scriptlet: docker-buildx-plugin-0.19.3-1.el9.x86_64 6/17
Installing : docker-ce-cli-1:27.4.1-1.el9.x86_64 7/17
Running scriptlet: docker-ce-cli-1:27.4.1-1.el9.x86_64 7/17
Installing : iptables-legacy-libs-1.8.10-4.1.el9.x86_64 8/17
Installing : iptables-legacy-1.8.10-4.1.el9.x86_64 9/17
Running scriptlet: iptables-legacy-1.8.10-4.1.el9.x86_64 9/17
Installing : libslirp-4.4.0-8.el9.x86_64 10/17
Installing : slirp4netns-1.3.1-1.el9.x86_64 11/17
Installing : fuse-common-3.10.2-9.el9.x86_64 12/17
Installing : fuse3-3.10.2-9.el9.x86_64 13/17
Installing : fuse-overlayfs-1.14-1.el9.x86_64 14/17
Running scriptlet: fuse-overlayfs-1.14-1.el9.x86_64 14/17
Installing : docker-ce-3:27.4.1-1.el9.x86_64 15/17
Running scriptlet: docker-ce-3:27.4.1-1.el9.x86_64 15/17
Installing : docker-ce-rootless-extras-27.4.1-1.el9.x86_64 16/17
Running scriptlet: docker-ce-rootless-extras-27.4.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.232.1-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-9.el9.x86_64 1/17
Verifying : container-selinux-3:2.232.1-1.el9.noarch 2/17
Verifying : fuse-overlayfs-1.14-1.el9.x86_64 3/17
Verifying : fuse3-3.10.2-9.el9.x86_64 4/17
Verifying : fuse3-libs-3.10.2-9.el9.x86_64 5/17
Verifying : libslirp-4.4.0-8.el9.x86_64 6/17
Verifying : slirp4netns-1.3.1-1.el9.x86_64 7/17
Verifying : iptables-legacy-1.8.10-4.1.el9.x86_64 8/17
Verifying : iptables-legacy-libs-1.8.10-4.1.el9.x86_64 9/17
Verifying : containerd.io-1.7.24-3.1.el9.x86_64 10/17
Verifying : docker-buildx-plugin-0.19.3-1.el9.x86_64 11/17
Verifying : docker-ce-3:27.4.1-1.el9.x86_64 12/17
Verifying : docker-ce-cli-1:27.4.1-1.el9.x86_64 13/17
Verifying : docker-ce-rootless-extras-27.4.1-1.el9.x86_64 14/17
Verifying : docker-compose-plugin-2.32.1-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.232.1-1.el9.noarch
containerd.io-1.7.24-3.1.el9.x86_64
docker-buildx-plugin-0.19.3-1.el9.x86_64
docker-ce-3:27.4.1-1.el9.x86_64
docker-ce-cli-1:27.4.1-1.el9.x86_64
docker-ce-rootless-extras-27.4.1-1.el9.x86_64
docker-compose-plugin-2.32.1-1.el9.x86_64
fuse-common-3.10.2-9.el9.x86_64
fuse-overlayfs-1.14-1.el9.x86_64
fuse3-3.10.2-9.el9.x86_64
fuse3-libs-3.10.2-9.el9.x86_64
iptables-legacy-1.8.10-4.1.el9.x86_64
iptables-legacy-libs-1.8.10-4.1.el9.x86_64
libslirp-4.4.0-8.el9.x86_64
slirp4netns-1.3.1-1.el9.x86_64
Complete!
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
docker-buildx-plugin x86_64 0.19.3-1.el9 @docker-ce-stable 63 M
Transaction Summary
================================================================================
Remove 1 Package
Freed space: 63 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: docker-buildx-plugin-0.19.3-1.el9.x86_64 1/1
Erasing : docker-buildx-plugin-0.19.3-1.el9.x86_64 1/1
Running scriptlet: docker-buildx-plugin-0.19.3-1.el9.x86_64 1/1
Verifying : docker-buildx-plugin-0.19.3-1.el9.x86_64 1/1
Removed:
docker-buildx-plugin-0.19.3-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:-master-1_2_5_3-1}
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_2_5_3-1
CONTRAIL_DEPLOYERS_TAG=master-1_2_5_3-1
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_2_5_3-1
CONTRAIL_PARALLEL_BUILD=true
VENDOR_NAME=OpenSDN-IO
VENDOR_DOMAIN=io.opensdn
YUM_ENABLE_REPOS=
INFO: environment setup
master-1_2_5_3-1: Pulling from tf-dev-sandbox
2d473b07cdd5: Pulling fs layer
3433bb0f014a: Pulling fs layer
9b71e970b050: Pulling fs layer
b3f9beb95002: Pulling fs layer
8a2e67e7aad3: Pulling fs layer
c0e33bd2e26e: Pulling fs layer
3b238fa10577: Pulling fs layer
8a2e67e7aad3: Waiting
c0e33bd2e26e: Waiting
3b238fa10577: Waiting
b3f9beb95002: Waiting
3433bb0f014a: Verifying Checksum
3433bb0f014a: Download complete
9b71e970b050: Verifying Checksum
9b71e970b050: Download complete
b3f9beb95002: Download complete
c0e33bd2e26e: Verifying Checksum
c0e33bd2e26e: Download complete
2d473b07cdd5: Verifying Checksum
2d473b07cdd5: Download complete
2d473b07cdd5: Pull complete
3433bb0f014a: Pull complete
9b71e970b050: Pull complete
b3f9beb95002: Pull complete
8a2e67e7aad3: Verifying Checksum
8a2e67e7aad3: Download complete
3b238fa10577: Verifying Checksum
3b238fa10577: Download complete
8a2e67e7aad3: Pull complete
c0e33bd2e26e: Pull complete
3b238fa10577: Pull complete
Digest: sha256:4ad8d8c5fe5985f5646bed7ca6278d316be79c58085f284770860e9c9702c655
Status: Downloaded newer image for nexus.gz1.opensdn.io:5101/tf-dev-sandbox:master-1_2_5_3-1
nexus.gz1.opensdn.io:5101/tf-dev-sandbox:master-1_2_5_3-1
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:5101/tf-dev-sandbox:master-1_2_5_3-1'
fc5b14fdc077aae6578176469296341be3781eb8bccf6cb1de30df5b53299770
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 Mon Dec 30 12:57:18 PST 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-agent-1442-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 Dec 30 12:47 3.10.0-1062.12.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Dec 30 12:47 3.10.0-1062.4.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Dec 30 12:47 3.10.0-1062.9.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Dec 30 12:48 3.10.0-1160.25.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Dec 30 12:47 3.10.0-957.12.2.el7.x86_64
drwxr-xr-x. 6 root root 4096 Dec 30 12:48 4.18.0-193.28.1.el8_2.x86_64
drwxr-xr-x. 6 root root 4096 Dec 30 12:48 4.18.0-305.12.1.el8_4.x86_64
INFO: Prepare targets Mon Dec 30 12:57:20 PST 2024
INFO: enable core dumps
INFO: targets to run:
controller/src/agent:test
controller/src/cat:test
INFO: Mon Dec 30 12:57:20 PST 2024 Starting unit tests for target controller/src/agent:test
INFO: Mon Dec 30 13:47:32 PST 2024 Unit test log is available at /output/logs/agent.log
INFO: Mon Dec 30 13:47:32 PST 2024 Starting unit tests for target controller/src/cat:test
INFO: Mon Dec 30 13:59:14 PST 2024 Unit test log is available at /output/logs/cat.log
INFO: cores: total 0
ls: cannot access /output/cores/core-*: No such file or directory
/output/logs ~/contrail
~/contrail
real 0m0.078s
user 0m0.064s
sys 0m0.009s
INFO: make successful Mon Dec 30 13:59:42 PST 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.45' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.45' (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/53/1253/1/gate_623/test-unit
+ exit
[PostBuildScript] - [INFO] Executing post build scripts.
[test-unit-agent] $ /bin/bash -xe /tmp/jenkins3734720247713202604.sh
+ source /home/jenkins/workspace/test-unit-agent/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-623
++ 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/53/1253/1/gate_623
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/53/1253/1/gate_623
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/53/1253/1/gate_623
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_2_5_3-1
++ 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_2_5_3-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_2_5_3-1
++ export GERRIT_PIPELINE=gate
++ GERRIT_PIPELINE=gate
++ export GERRIT_URL=https://gerrit.opensdn.io/
++ GERRIT_URL=https://gerrit.opensdn.io/
++ export GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ GERRIT_CHANGE_ID=Ic6dcf118d86f176aa3edbec434773052faaedb04
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-build
++ GERRIT_PROJECT=opensdn-io/tf-build
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=
++ BASE_BUILD_ID_LIST=
+ '[' -e /home/jenkins/workspace/test-unit-agent/stackrc.test-unit-agent.env ']'
+ echo 'INFO: stackrc file found. remove workers.'
INFO: stackrc file found. remove workers.
+ source /home/jenkins/workspace/test-unit-agent/stackrc.test-unit-agent.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=d687a273-3813-4658-b648-1c916e06678f,
++ INSTANCE_IDS=d687a273-3813-4658-b648-1c916e06678f,
++ export INSTANCE_IPS=10.0.0.45,
++ INSTANCE_IPS=10.0.0.45,
++ export instance_ip=10.0.0.45
++ instance_ip=10.0.0.45
+ ./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-12-30T20:54:25.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | management=10.0.0.45 |
| config_drive | |
| created | 2024-12-30T20:54:00Z |
| flavor | STD3-4-16 (b6760da7-d124-45c7-a0a7-64f40acae087) |
| hostId | 53cf623612bceb5d0582a4ca107e0b771631abdd4b2659c1756a60e7 |
| id | d687a273-3813-4658-b648-1c916e06678f |
| image | N/A (booted from volume) |
| key_name | worker |
| name | jenkins-test-unit-agent-1442_1 |
| progress | 0 |
| project_id | **** |
| properties | |
| status | ACTIVE |
| updated | 2024-12-30T20:54:25Z |
| user_id | 25d930adb802408885c71e341481886e |
| volumes_attached | id='a3ad58d2-19c0-4c9b-8845-4103390ec561' |
+-----------------------------+----------------------------------------------------------+
+ rm -f /home/jenkins/workspace/test-unit-agent/stackrc.test-unit-agent.env
Archiving artifacts
Finished: SUCCESS