2025-01-02 20:17:55,829: INFO: Building contrail-controller-config-devicemgr 2025-01-02 20:17:55,859: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_2_4_3-6 --build-arg SITE_MIRROR=http://nexus.gz1.opensdn.io/repository/external-web-cache --build-arg LINUX_DISTR_VER=7 --build-arg LINUX_DISTR=centos --build-arg GENERAL_EXTRA_RPMS="" --build-arg BASE_EXTRA_RPMS="" --build-arg YUM_ENABLE_REPOS="" --build-arg CONTAINER_NAME=contrail-controller-config-devicemgr --build-arg UBUNTU_DISTR_VERSION=22.04 --build-arg UBUNTU_DISTR=ubuntu --build-arg VENDOR_NAME=OpenSDN-IO --build-arg VENDOR_DOMAIN=io.opensdn Sending build context to Docker daemon 13.31 kB Step 1/11 : ARG CONTRAIL_REGISTRY Step 2/11 : ARG CONTRAIL_CONTAINER_TAG Step 3/11 : FROM ${CONTRAIL_REGISTRY}/contrail-controller-config-base:${CONTRAIL_CONTAINER_TAG} ---> 235d9100cf5d Step 4/11 : ARG SITE_MIRROR ---> Running in 2c4768ab1de9 ---> Removed intermediate container 2c4768ab1de9 ---> 100194fe2f26 Step 5/11 : ARG CONTAINER_NAME ---> Running in 607fa71cb0d1 ---> Removed intermediate container 607fa71cb0d1 ---> 02c695f1e10b Step 6/11 : ENV SERVICE_NAME=device-manager CONTAINER_NAME=$CONTAINER_NAME LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 ---> Running in 4452fb3c8b54 ---> Removed intermediate container 4452fb3c8b54 ---> a4aaafa6c83e Step 7/11 : LABEL name=$CONTAINER_NAME summary="Contrail Device Manager" description="Contrail Device Manager is used to manage network devices in the Contrail system." $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in 86a78f7c5076 ---> Removed intermediate container 86a78f7c5076 ---> 6c4b7cc9a842 Step 8/11 : RUN yum install -y libffi-devel && python3 -m pip install --no-compile --no-binary :all: ansible ansible-core && yum install -y git iputils && yum clean all -y && rm -rf /var/cache/yum && source /functions.sh && download_package https://github.com Juniper/ansible-junos-stdlib/archive/2.4.2.tar.gz Juniper.junos && ansible-galaxy install Juniper.junos && rm -f Juniper.junos ---> Running in fc86e5a2668f Loaded plugins: fastestmirror, ovl Determining fastest mirrors Resolving Dependencies --> Running transaction check ---> Package libffi-devel.x86_64 0:3.0.13-19.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libffi-devel x86_64 3.0.13-19.el7 tf-mirrors.ci_repos_yum7-base 23 k Transaction Summary ================================================================================ Install 1 Package Total download size: 23 k Installed size: 27 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libffi-devel-3.0.13-19.el7.x86_64 1/1 Verifying : libffi-devel-3.0.13-19.el7.x86_64 1/1 Installed: libffi-devel.x86_64 0:3.0.13-19.el7 Complete! Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ Collecting ansible Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/88a/f9479e81a3931/ansible-4.10.0.tar.gz (36.8 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting ansible-core Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/915/9cc3b85e2d115/ansible-core-2.11.12.tar.gz (7.1 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: jinja2 in /usr/local/lib/python3.6/site-packages (from ansible-core) (3.0.3) Requirement already satisfied: PyYAML in /usr/local/lib64/python3.6/site-packages (from ansible-core) (6.0.1) Requirement already satisfied: cryptography in /usr/local/lib64/python3.6/site-packages (from ansible-core) (40.0.2) Requirement already satisfied: packaging in /usr/local/lib/python3.6/site-packages (from ansible-core) (21.3) Collecting resolvelib<0.6.0,>=0.5.3 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/9b9/b80d5c60e4c2a/resolvelib-0.5.4.tar.gz (14 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.6/site-packages (from cryptography->ansible-core) (1.15.1) Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib64/python3.6/site-packages (from jinja2->ansible-core) (2.0.1) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.6/site-packages (from packaging->ansible-core) (3.1.4) Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi>=1.12->cryptography->ansible-core) (2.21) Skipping wheel build for ansible, due to binaries being disabled for it. Skipping wheel build for ansible-core, due to binaries being disabled for it. Building wheels for collected packages: resolvelib Building wheel for resolvelib (pyproject.toml): started Building wheel for resolvelib (pyproject.toml): finished with status 'done' Created wheel for resolvelib: filename=resolvelib-0.5.4-py2.py3-none-any.whl size=12823 sha256=366efba7a2f7ad84cbcfe651aeaa12353bc65df71ef898dd4988869befd1a062 Stored in directory: /root/.cache/pip/wheels/0d/3b/52/7119dd812653a522e632fc80e7fc18d00d1ab41ce89352e127 Successfully built resolvelib Installing collected packages: resolvelib, ansible-core, ansible Running setup.py install for ansible-core: started Running setup.py install for ansible-core: finished with status 'done' Running setup.py install for ansible: started Running setup.py install for ansible: still running... Running setup.py install for ansible: finished with status 'done' WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Successfully installed ansible-4.10.0 ansible-core-2.11.12 resolvelib-0.5.4 Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile Package iputils-20160308-10.el7.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.8.3.1-25.el7_9 will be installed --> Processing Dependency: perl-Git = 1.8.3.1-25.el7_9 for package: git-1.8.3.1-25.el7_9.x86_64 --> Processing Dependency: rsync for package: git-1.8.3.1-25.el7_9.x86_64 --> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-25.el7_9.x86_64 --> Processing Dependency: perl(Git) for package: git-1.8.3.1-25.el7_9.x86_64 --> Processing Dependency: perl(Error) for package: git-1.8.3.1-25.el7_9.x86_64 --> Running transaction check ---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed ---> Package perl-Git.noarch 0:1.8.3.1-25.el7_9 will be installed ---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed ---> Package rsync.x86_64 0:3.1.2-12.el7_9 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: git x86_64 1.8.3.1-25.el7_9 tf-mirrors.ci_repos_yum7-updates 4.4 M Installing for dependencies: perl-Error noarch 1:0.17020-2.el7 tf-mirrors.ci_repos_yum7-base 32 k perl-Git noarch 1.8.3.1-25.el7_9 tf-mirrors.ci_repos_yum7-updates 56 k perl-TermReadKey x86_64 2.30-20.el7 tf-mirrors.ci_repos_yum7-base 31 k rsync x86_64 3.1.2-12.el7_9 tf-mirrors.ci_repos_yum7-updates 408 k Transaction Summary ================================================================================ Install 1 Package (+4 Dependent packages) Total download size: 4.9 M Installed size: 23 M Downloading packages: -------------------------------------------------------------------------------- Total 7.8 MB/s | 4.9 MB 00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 1:perl-Error-0.17020-2.el7.noarch 1/5 Installing : rsync-3.1.2-12.el7_9.x86_64 2/5 Installing : perl-TermReadKey-2.30-20.el7.x86_64 3/5 Installing : perl-Git-1.8.3.1-25.el7_9.noarch 4/5 Installing : git-1.8.3.1-25.el7_9.x86_64 5/5 Verifying : perl-TermReadKey-2.30-20.el7.x86_64 1/5 Verifying : 1:perl-Error-0.17020-2.el7.noarch 2/5 Verifying : git-1.8.3.1-25.el7_9.x86_64 3/5 Verifying : perl-Git-1.8.3.1-25.el7_9.noarch 4/5 Verifying : rsync-3.1.2-12.el7_9.x86_64 5/5 Installed: git.x86_64 0:1.8.3.1-25.el7_9 Dependency Installed: perl-Error.noarch 1:0.17020-2.el7 perl-Git.noarch 0:1.8.3.1-25.el7_9 perl-TermReadKey.x86_64 0:2.30-20.el7 rsync.x86_64 0:3.1.2-12.el7_9 Complete! Loaded plugins: fastestmirror, ovl Cleaning repos: contrail contrail-tpc : tf-mirrors.ci_repos_centos-openstack-queens : tf-mirrors.ci_repos_dockerrepo 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 2025-01-02 20:21:53 URL:http://nexus.gz1.opensdn.io/repository/external-web-cache/Juniper/ansible-junos-stdlib/archive/2.4.2.tar.gz [108498/108498] -> "Juniper.junos" [1] [WARNING]: log file at /var/log/contrail/config-device-manager/contrail-fabric-ansible-playbooks.log is not writeable and we cannot create it, aborting [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.6.8 (default, Nov 14 2023, 16:29:52) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]. This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. Starting galaxy role install process - extracting Juniper.junos to /root/.ansible/roles/Juniper.junos /usr/local/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6. from cryptography.exceptions import InvalidSignature - Juniper.junos was installed successfully ---> Removed intermediate container fc86e5a2668f ---> dc1423d6e9c7 Step 9/11 : COPY *.sh / ---> a0a6a69e4da7 Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 8ac7a935919f ---> Removed intermediate container 8ac7a935919f ---> ee30e5c5b188 Step 11/11 : CMD ["/usr/bin/contrail-device-manager", "--conf_file", "/etc/contrail/contrail-device-manager.conf", "--conf_file", "/etc/contrail/contrail-keystone-auth.conf"] ---> Running in b8ea843a8a3c ---> Removed intermediate container b8ea843a8a3c ---> 1047794461a3 [Warning] One or more build-args [BASE_EXTRA_RPMS GENERAL_EXTRA_RPMS LINUX_DISTR LINUX_DISTR_VER UBUNTU_DISTR UBUNTU_DISTR_VERSION VENDOR_DOMAIN VENDOR_NAME YUM_ENABLE_REPOS] were not consumed Successfully built 1047794461a3 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-controller-config-devicemgr:master-1_2_4_3-6 Successfully tagged nexus.gz1.opensdn.io:5101/tf-controller-config-devicemgr:master-1_2_4_3-6 2025-01-02 20:22:49,681: INFO: Docker build duration: 294 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-controller-config-devicemgr] b1e528c4c0ad: Preparing b15dfbf81a5a: Preparing 8d7a973438a0: Preparing a09a1c0c6a2c: Preparing faea9a6dda48: Preparing 0bbeb133ead8: Preparing 42e9b6ba3d92: Preparing 2a307d75854c: Preparing 43b7c77e7343: Preparing ed0d38798ed7: Preparing 44ab899e6c89: Preparing 174f56854903: Preparing 8d7a973438a0: Waiting a09a1c0c6a2c: Waiting faea9a6dda48: Waiting 0bbeb133ead8: Waiting 42e9b6ba3d92: Waiting 2a307d75854c: Waiting 43b7c77e7343: Waiting ed0d38798ed7: Waiting 44ab899e6c89: Waiting 174f56854903: Waiting b1e528c4c0ad: Pushed 8d7a973438a0: Layer already exists a09a1c0c6a2c: Layer already exists faea9a6dda48: Layer already exists 0bbeb133ead8: Layer already exists 42e9b6ba3d92: Layer already exists 2a307d75854c: Layer already exists 43b7c77e7343: Layer already exists ed0d38798ed7: Layer already exists 44ab899e6c89: Layer already exists 174f56854903: Layer already exists b15dfbf81a5a: Pushed master-1_2_4_3-6: digest: sha256:3ff9dfc1d170eebf7fb6fc8a61be041fbf2c05b4bbaaedf6a577cfd5185f7b6a size: 2833 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-controller-config-devicemgr] b1e528c4c0ad: Preparing b15dfbf81a5a: Preparing 8d7a973438a0: Preparing a09a1c0c6a2c: Preparing faea9a6dda48: Preparing 0bbeb133ead8: Preparing 42e9b6ba3d92: Preparing 2a307d75854c: Preparing 43b7c77e7343: Preparing ed0d38798ed7: Preparing 44ab899e6c89: Preparing 174f56854903: Preparing b1e528c4c0ad: Waiting b15dfbf81a5a: Waiting 8d7a973438a0: Waiting a09a1c0c6a2c: Waiting faea9a6dda48: Waiting 0bbeb133ead8: Waiting 42e9b6ba3d92: Waiting 2a307d75854c: Waiting 43b7c77e7343: Waiting ed0d38798ed7: Waiting 44ab899e6c89: Waiting 174f56854903: Waiting b1e528c4c0ad: Layer already exists b15dfbf81a5a: Layer already exists 8d7a973438a0: Layer already exists a09a1c0c6a2c: Layer already exists faea9a6dda48: Layer already exists 0bbeb133ead8: Layer already exists 42e9b6ba3d92: Layer already exists 2a307d75854c: Layer already exists 43b7c77e7343: Layer already exists ed0d38798ed7: Layer already exists 44ab899e6c89: Layer already exists 174f56854903: Layer already exists master-1_2_4_3-6: digest: sha256:3ff9dfc1d170eebf7fb6fc8a61be041fbf2c05b4bbaaedf6a577cfd5185f7b6a size: 2833 2025-01-02 20:23:10,674: INFO: Building contrail-controller-config-devicemgr finished successfully, duration: 315 seconds