Started by upstream project "pipeline-gate" build number 479
originally caused by:
Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-analytics/+/1188
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on slave-openstack-gz1_1 (openstack) in workspace /home/jenkins/workspace/test-unit-opserver
[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-opserver/src/opensdn-io/tf-jenkins # timeout=10
Fetching upstream changes from https://github.com/opensdn-io/tf-jenkins.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-jenkins.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/opensdn-io/tf-jenkins.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 58ed2bab94d6d69d66ef59d18649f49be087dbc7 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 58ed2bab94d6d69d66ef59d18649f49be087dbc7 # timeout=10
Commit message: "fix link to tpc archive on s3 bucket"
> git rev-list --no-walk 58ed2bab94d6d69d66ef59d18649f49be087dbc7 # timeout=10
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/opensdn-io/tf-dev-env.git
> git init /home/jenkins/workspace/test-unit-opserver/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 479
[test-unit-opserver] $ /bin/bash -xe /tmp/jenkins5592362098303254245.sh
+ export TARGET_SET=opserver
+ TARGET_SET=opserver
+ source /home/jenkins/workspace/test-unit-opserver/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ 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/88/1188/1/gate_479
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1188/1/gate_479
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-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_1_8_8-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-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=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ GERRIT_CHANGE_ID=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-analytics
++ GERRIT_PROJECT=opensdn-io/tf-analytics
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=
++ BASE_BUILD_ID_LIST=
+ source /home/jenkins/workspace/test-unit-opserver/vars.test-unit-opserver.20671.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
+ desc='Pipeline: pipeline-gate-479 Random: 20671
'
+ desc+='Target set: opserver
'
+ desc+='Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479/test-unit'
+ echo 'DESCRIPTION Pipeline: pipeline-gate-479 Random: 20671
Target set: opserver
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479/test-unit'
DESCRIPTION Pipeline: pipeline-gate-479 Random: 20671
Target set: opserver
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479/test-unit
[description-setter] Description set: Pipeline: pipeline-gate-479 Random: 20671
Target set: opserver
Job logs: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479/test-unit'
[test-unit-opserver] $ /bin/bash -xe /tmp/jenkins16753435089661941861.sh
+ set -eo pipefail
+ source /home/jenkins/workspace/test-unit-opserver/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ 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/88/1188/1/gate_479
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1188/1/gate_479
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-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_1_8_8-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-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=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ GERRIT_CHANGE_ID=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-analytics
++ GERRIT_PROJECT=opensdn-io/tf-analytics
++ 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-opserver] $ /bin/bash -xe /tmp/jenkins8773128870223701168.sh
+ set -eo pipefail
+ export TARGET_SET=opserver
+ TARGET_SET=opserver
+ source /home/jenkins/workspace/test-unit-opserver/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ 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/88/1188/1/gate_479
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1188/1/gate_479
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-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_1_8_8-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-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=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ GERRIT_CHANGE_ID=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-analytics
++ GERRIT_PROJECT=opensdn-io/tf-analytics
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=
++ BASE_BUILD_ID_LIST=
+ source /home/jenkins/workspace/test-unit-opserver/vars.test-unit-opserver.20671.env
++ export LINUX_DISTR=centos
++ LINUX_DISTR=centos
+ source /home/jenkins/workspace/test-unit-opserver/deps.test-unit-opserver.20671.env
++ export UNITTEST_TARGETS=src/contrail-analytics/contrail-collector:test,src/contrail-analytics/contrail-opserver:test,src/contrail-analytics/contrail-query-engine:test,
++ UNITTEST_TARGETS=src/contrail-analytics/contrail-collector:test,src/contrail-analytics/contrail-opserver:test,src/contrail-analytics/contrail-query-engine:test,
++ export DEVENV_TAG=master-1_1_8_8-1
++ DEVENV_TAG=master-1_1_8_8-1
+ ./src/opensdn-io/tf-jenkins/jobs/test/unit/filter_targets.sh
INFO: filtered set:
src/contrail-analytics/contrail-opserver:test
+ export FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1188/1/gate_479/test-unit
+ FULL_LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1188/1/gate_479/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 Wed Nov 13 13:24:08 UTC 2024
INFO: waiting for resources is finished Wed Nov 13 13:24:11 UTC 2024
INFO: openstack volume create --type ceph-ssd --size 80 --availability-zone GZ1 --image aa1bd152-a8d4-49ef-85ea-82a4dab8cf7f --bootable jenkins-test-unit-opserver-1291_1_volume
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| attachments | [] |
| availability_zone | GZ1 |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2024-11-13T13:24:18.417007 |
| description | None |
| encrypted | False |
| id | b8df3433-34c3-437c-8dc6-c044a9e22ee0 |
| multiattach | False |
| name | jenkins-test-unit-opserver-1291_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-opserver-1291_1 is available
INFO: openstack server create --volume jenkins-test-unit-opserver-1291_1 --flavor STD3-4-16 --security-group default --availability-zone GZ1 --key-name=worker --network management --wait jenkins-test-unit-opserver-1291_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-11-13T13:25:21.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | management=10.0.0.38 |
| adminPass | 2kBoemgLWVhv |
| config_drive | |
| created | 2024-11-13T13:24:38Z |
| flavor | STD3-4-16 (b6760da7-d124-45c7-a0a7-64f40acae087) |
| hostId | 11d4cd31906e2d6fcd4a7c1036f00d8b3e591f58e1bd24fced14b8aa |
| id | 5067ad0f-072d-43fe-b99b-8db6a9646c92 |
| image | N/A (booted from volume) |
| key_name | worker |
| name | jenkins-test-unit-opserver-1291_1 |
| progress | 0 |
| project_id | **** |
| properties | |
| security_groups | id='ae6a292d-c48f-4b92-9b1d-4d0a032b0697', name='default', sdn='neutron' |
| status | ACTIVE |
| updated | 2024-11-13T13:25:21Z |
| user_id | 25d930adb802408885c71e341481886e |
| volumes_attached | id='b8df3433-34c3-437c-8dc6-c044a9e22ee0' |
+-----------------------------+--------------------------------------------------------------------------+
nova CLI is deprecated and will be removed in a future release
Request to add tag PipelineBuildTag=jenkins-pipeline-gate-479 to specified server has been accepted.
Request to add tag JobTag=jenkins-test-unit-opserver-1291 to specified server has been accepted.
Request to add tag GroupTag=jenkins-test-unit-opserver-1291 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.38' (ECDSA) to the list of known hosts.
Linux jenkins-test-unit-opserver-1291-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.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (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.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
INFO: copy mirror-epel9.repo to host
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
INFO: do not set default gateway for second interface
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
INFO: check dns
Warning: Permanently added '10.0.0.38' (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.061s
user 0m0.014s
sys 0m0.006s
INFO: cat /etc/resolv.conf
Warning: Permanently added '10.0.0.38' (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=01f78abc-4f52-4688-bed2-cd2c840ef0e3 for 5067ad0f-072d-43fe-b99b-8db6a9646c92 in management
+ source /home/jenkins/workspace/test-unit-opserver/stackrc.test-unit-opserver.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=5067ad0f-072d-43fe-b99b-8db6a9646c92,
++ INSTANCE_IDS=5067ad0f-072d-43fe-b99b-8db6a9646c92,
++ export INSTANCE_IPS=10.0.0.38,
++ INSTANCE_IPS=10.0.0.38,
++ export instance_ip=10.0.0.38
++ instance_ip=10.0.0.38
+ ./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.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (ECDSA) to the list of known hosts.
Local time: Wed 2024-11-13 13:25:54 UTC
Universal time: Wed 2024-11-13 13:25:54 UTC
RTC time: Wed 2024-11-13 13:25:54
Time zone: UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Local time: Wed 2024-11-13 05:25:54 PST
Universal time: Wed 2024-11-13 13:25:54 UTC
RTC time: Wed 2024-11-13 13:25:54
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 44 MB/s | 2.0 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 33 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 78 MB/s | 6.9 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 62 MB/s | 4.0 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 35 MB/s | 942 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 49 MB/s | 2.2 MB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 22 MB/s | 405 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 23 MB/s | 442 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 1.3 MB/s | 15 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 23 kB/s | 257 B 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 984 kB/s | 12 kB 00:00
added from: http://tf-mirrors.gz1.opensdn.io/re 108 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): oniguruma-6.9.6-1.el9.5.0.1.x86_64.rpm 22 MB/s | 217 kB 00:00
(2/7): lsof-4.94.0-3.el9.x86_64.rpm 14 MB/s | 238 kB 00:00
(3/7): jq-1.6-16.el9.x86_64.rpm 8.4 MB/s | 186 kB 00:00
(4/7): python3-3.9.18-3.el9_4.5.x86_64.rpm 3.4 MB/s | 25 kB 00:00
(5/7): python-unversioned-command-3.9.18-3.el9_ 1.9 MB/s | 8.6 kB 00:00
(6/7): python3-pip-21.2.3-8.el9.noarch.rpm 42 MB/s | 1.7 MB 00:00
(7/7): python3-libs-3.9.18-3.el9_4.5.x86_64.rpm 69 MB/s | 7.3 MB 00:00
--------------------------------------------------------------------------------
Total 74 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 ]]
+++ cat /etc/os-release /etc/redhat-release /etc/rocky-release /etc/system-release
+++ egrep '^ID='
+++ awk -F= '{print $2}'
+++ tr -d '"'
++ export DISTRO=rocky
++ DISTRO=rocky
+++ cat /etc/os-release /etc/redhat-release /etc/rocky-release /etc/system-release
+++ egrep '^VERSION_ID='
+++ awk -F= '{print $2}'
+++ tr -d '"'
++ export DISTRO_VER=9.2
++ DISTRO_VER=9.2
++ export DISTRO_VER_MAJOR=9
++ DISTRO_VER_MAJOR=9
++ '[' -z x ']'
++ '[' -z /home/rocky/contrail ']'
++ export CONTRAIL_DIR
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ [[ nexus.gz1.opensdn.io:5101 == *\:* ]]
+++ echo nexus.gz1.opensdn.io:5101
+++ cut -f 1 -d :
++ export REGISTRY_IP=nexus.gz1.opensdn.io
++ REGISTRY_IP=nexus.gz1.opensdn.io
+++ cut -f 2 -d :
+++ echo nexus.gz1.opensdn.io:5101
++ 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_1_8_8-1
++ DEVENV_TAG=master-1_1_8_8-1
++ export DEVENV_PUSH_TAG=master-1_1_8_8-1
++ DEVENV_PUSH_TAG=master-1_1_8_8-1
++ export DEVENV_IMAGE=tf-dev-sandbox:master-1_1_8_8-1
++ DEVENV_IMAGE=tf-dev-sandbox:master-1_1_8_8-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_1_8_8-1
++ CONTRAIL_CONTAINER_TAG=master-1_1_8_8-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 Wed Nov 13 05:25:59 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-1.02.197-2.el9.x86_ 2.8 MB/s | 33 kB 00:00
(2/11): device-mapper-event-libs-1.02.197-2.el9 2.1 MB/s | 31 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 27 MB/s | 1.0 MB 00:00
(5/11): lvm2-libs-2.03.23-2.el9.x86_64.rpm 31 MB/s | 1.0 MB 00:00
(6/11): lvm2-2.03.23-2.el9.x86_64.rpm 29 MB/s | 1.5 MB 00:00
(7/11): device-mapper-1.02.197-2.el9.x86_64.rpm 3.9 MB/s | 139 kB 00:00
(8/11): dnf-plugins-core-4.3.0-13.el9.noarch.rp 5.0 MB/s | 36 kB 00:00
(9/11): device-mapper-libs-1.02.197-2.el9.x86_6 6.3 MB/s | 177 kB 00:00
(10/11): yum-utils-4.3.0-13.el9.noarch.rpm 5.7 MB/s | 35 kB 00:00
(11/11): python3-dnf-plugins-core-4.3.0-13.el9. 17 MB/s | 246 kB 00:00
--------------------------------------------------------------------------------
Total 47 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 255 kB/s | 59 kB 00:00
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.23-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 1.0 MB/s | 7.3 kB 00:00
(2/16): libnftnl-1.2.6-4.el9_4.x86_64.rpm 8.1 MB/s | 87 kB 00:00
(3/16): iptables-nft-1.8.10-4.el9_4.x86_64.rpm 12 MB/s | 186 kB 00:00
(4/16): fuse-overlayfs-1.13-1.el9.x86_64.rpm 8.5 MB/s | 66 kB 00:00
(5/16): fuse3-3.10.2-8.el9.x86_64.rpm 8.2 MB/s | 53 kB 00:00
(6/16): container-selinux-2.229.0-1.el9.noarch. 3.1 MB/s | 56 kB 00:00
(7/16): fuse3-libs-3.10.2-8.el9.x86_64.rpm 9.5 MB/s | 90 kB 00:00
(8/16): libslirp-4.4.0-7.el9.x86_64.rpm 7.4 MB/s | 68 kB 00:00
(9/16): slirp4netns-1.2.3-1.el9.x86_64.rpm 5.2 MB/s | 46 kB 00:00
(10/16): docker-buildx-plugin-0.17.1-1.el9.x86_ 34 MB/s | 14 MB 00:00
(11/16): docker-ce-27.3.1-1.el9.x86_64.rpm 44 MB/s | 27 MB 00:00
(12/16): docker-ce-cli-27.3.1-1.el9.x86_64.rpm 19 MB/s | 8.0 MB 00:00
(13/16): docker-ce-rootless-extras-27.3.1-1.el9 16 MB/s | 4.4 MB 00:00
(14/16): iptables-libs-1.8.10-4.el9_4.x86_64.rp 23 MB/s | 396 kB 00:00
(15/16): containerd.io-1.7.23-3.1.el9.x86_64.rp 38 MB/s | 43 MB 00:01
(16/16): docker-compose-plugin-2.29.7-1.el9.x86 29 MB/s | 13 MB 00:00
--------------------------------------------------------------------------------
Total 83 MB/s | 110 MB 00:01
Docker CE Stable - x86_64 18 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.23-3.1.el9.x86_64 4/17
Running scriptlet: containerd.io-1.7.23-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.23-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.23-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:-master-1_1_8_8-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_1_8_8-1
CONTRAIL_DEPLOYERS_TAG=master-1_1_8_8-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_1_8_8-1
CONTRAIL_PARALLEL_BUILD=true
VENDOR_NAME=OpenSDN-IO
VENDOR_DOMAIN=io.opensdn
YUM_ENABLE_REPOS=
INFO: environment setup
master-1_1_8_8-1: Pulling from tf-dev-sandbox
2d473b07cdd5: Pulling fs layer
d8ad738497ff: Pulling fs layer
0ce74dcdeca6: Pulling fs layer
bca174da1c9d: Pulling fs layer
2522866a7e42: Pulling fs layer
d22be3ec67a2: Pulling fs layer
f0245df402e1: Pulling fs layer
bca174da1c9d: Waiting
2522866a7e42: Waiting
d22be3ec67a2: Waiting
f0245df402e1: Waiting
d8ad738497ff: Verifying Checksum
d8ad738497ff: Download complete
0ce74dcdeca6: Download complete
bca174da1c9d: Download complete
d22be3ec67a2: Verifying Checksum
d22be3ec67a2: Download complete
2d473b07cdd5: Verifying Checksum
2d473b07cdd5: Download complete
2d473b07cdd5: Pull complete
d8ad738497ff: Pull complete
0ce74dcdeca6: Pull complete
bca174da1c9d: Pull complete
2522866a7e42: Verifying Checksum
2522866a7e42: Download complete
f0245df402e1: Verifying Checksum
f0245df402e1: Download complete
2522866a7e42: Pull complete
d22be3ec67a2: Pull complete
f0245df402e1: Pull complete
Digest: sha256:8404b531e9d778c9b5ac287f4cdcda4d15f5de59cc52aeac74fa73d00095b743
Status: Downloaded newer image for nexus.gz1.opensdn.io:5101/tf-dev-sandbox:master-1_1_8_8-1
nexus.gz1.opensdn.io:5101/tf-dev-sandbox:master-1_1_8_8-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_1_8_8-1'
e956d7a298292faecc18bff1093045107536816deb29e2f04f088a72a7189492
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 Nov 13 05:28:27 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-opserver-1291-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 Nov 13 05:17 3.10.0-1062.12.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Nov 13 05:17 3.10.0-1062.4.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Nov 13 05:17 3.10.0-1062.9.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Nov 13 05:18 3.10.0-1160.25.1.el7.x86_64
drwxr-xr-x. 7 root root 4096 Nov 13 05:17 3.10.0-957.12.2.el7.x86_64
drwxr-xr-x. 6 root root 4096 Nov 13 05:18 4.18.0-193.28.1.el8_2.x86_64
drwxr-xr-x. 6 root root 4096 Nov 13 05:18 4.18.0-305.12.1.el8_4.x86_64
INFO: Prepare targets Wed Nov 13 05:28:29 PST 2024
INFO: enable core dumps
INFO: targets to run:
src/contrail-analytics/contrail-opserver:test
INFO: Wed Nov 13 05:28:29 PST 2024 Starting unit tests for target src/contrail-analytics/contrail-opserver:test
INFO: Wed Nov 13 06:07:42 PST 2024 Unit test log is available at /output/logs/contrail-opserver.log
INFO: cores: total 23608
-rw-------. 1 root root 87363584 Nov 13 06:05 core-27141-27141-!root!work!build!debug!analytics!vizd
Missing separate debuginfo for /root/contrail/build/lib/libboost_python36.so.1.69.0
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/c7/0f636f89ffc19ee2e5e60f15af0e248cfedb52.debug
/output/logs ~/contrail
~/contrail
real 0m0.284s
user 0m0.272s
sys 0m0.011s
INFO: make successful Wed Nov 13 06:08:00 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.38' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.0.0.38' (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/88/1188/1/gate_479/test-unit
+ exit
[PostBuildScript] - [INFO] Executing post build scripts.
[test-unit-opserver] $ /bin/bash -xe /tmp/jenkins2984637526261104061.sh
+ source /home/jenkins/workspace/test-unit-opserver/global.env
++ export PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ PIPELINE_BUILD_TAG=jenkins-pipeline-gate-479
++ 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/88/1188/1/gate_479
++ LOGS_PATH=/var/www/logs/jenkins_logs/gerrit/88/1188/1/gate_479
++ export LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ LOGS_URL=http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/88/1188/1/gate_479
++ export SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ SITE_MIRROR=http://nexus.gz1.opensdn.io/repository
++ export CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ DEPLOYER_CONTAINER_REGISTRY=nexus.gz1.opensdn.io:5101
++ export CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_CONTAINER_TAG=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG=master-1_1_8_8-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_1_8_8-1
++ CONTRAIL_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ export CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-1
++ CONTRAIL_DEPLOYER_CONTAINER_TAG_ORIGINAL=master-1_1_8_8-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=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ GERRIT_CHANGE_ID=I08222e4ecd16d74150c3dcafbe021ee54d43cf27
++ export GERRIT_BRANCH=master
++ GERRIT_BRANCH=master
++ export GERRIT_PROJECT=opensdn-io/tf-analytics
++ GERRIT_PROJECT=opensdn-io/tf-analytics
++ export REPOS_CHANNEL=latest
++ REPOS_CHANNEL=latest
++ export BASE_BUILD_ID_LIST=
++ BASE_BUILD_ID_LIST=
+ '[' -e /home/jenkins/workspace/test-unit-opserver/stackrc.test-unit-opserver.env ']'
+ echo 'INFO: stackrc file found. remove workers.'
INFO: stackrc file found. remove workers.
+ source /home/jenkins/workspace/test-unit-opserver/stackrc.test-unit-opserver.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=5067ad0f-072d-43fe-b99b-8db6a9646c92,
++ INSTANCE_IDS=5067ad0f-072d-43fe-b99b-8db6a9646c92,
++ export INSTANCE_IPS=10.0.0.38,
++ INSTANCE_IPS=10.0.0.38,
++ export instance_ip=10.0.0.38
++ instance_ip=10.0.0.38
+ ./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-11-13T13:25:21.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | management=10.0.0.38 |
| config_drive | |
| created | 2024-11-13T13:24:38Z |
| flavor | STD3-4-16 (b6760da7-d124-45c7-a0a7-64f40acae087) |
| hostId | 11d4cd31906e2d6fcd4a7c1036f00d8b3e591f58e1bd24fced14b8aa |
| id | 5067ad0f-072d-43fe-b99b-8db6a9646c92 |
| image | N/A (booted from volume) |
| key_name | worker |
| name | jenkins-test-unit-opserver-1291_1 |
| progress | 0 |
| project_id | **** |
| properties | |
| status | ACTIVE |
| updated | 2024-11-13T13:25:21Z |
| user_id | 25d930adb802408885c71e341481886e |
| volumes_attached | id='b8df3433-34c3-437c-8dc6-c044a9e22ee0' |
+-----------------------------+----------------------------------------------------------+
+ rm -f /home/jenkins/workspace/test-unit-opserver/stackrc.test-unit-opserver.env
Archiving artifacts
Finished: SUCCESS