2025-01-10 08:46:01,293: INFO: Building contrail-analytics-snmp-topology 2025-01-10 08:46:01,313: INFO: Building args: --network host --build-arg PIP_REPOSITORY=http://localhost:6667/pip/simple --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_2_9_6-2 --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-analytics-snmp-topology --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 12.8 kB Step 1/11 : ARG CONTRAIL_REGISTRY Step 2/11 : ARG CONTRAIL_CONTAINER_TAG Step 3/11 : FROM ${CONTRAIL_REGISTRY}/contrail-analytics-snmp-base:${CONTRAIL_CONTAINER_TAG} ---> 0767b44b2b70 Step 4/11 : ARG PIP_REPOSITORY ---> Running in 894a7dd9cc17 ---> Removed intermediate container 894a7dd9cc17 ---> e7f29be7baa9 Step 5/11 : ARG CONTAINER_NAME ---> Running in 46ae458e1203 ---> Removed intermediate container 46ae458e1203 ---> 85088a9edef8 Step 6/11 : ENV SERVICE_NAME=topology CONTAINER_NAME=$CONTAINER_NAME ---> Running in b6c1ed622a89 ---> Removed intermediate container b6c1ed622a89 ---> 5ed3b83b5827 Step 7/11 : LABEL name=$CONTAINER_NAME summary="SNMP Topology" description="SNMP Topology periodically updates topology table, which is used by UI to draw maps." $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in 1149623ae93f ---> Removed intermediate container 1149623ae93f ---> 14ef4bdba15c Step 8/11 : COPY entrypoint.sh / ---> 615729cb3038 Step 9/11 : RUN set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "tf_topology==0.1.dev0" ---> Running in 242ccac4b0e2 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/, http://localhost:6667/pip/simple Collecting tf_topology==0.1.dev0 Downloading http://localhost:6667/pip/simple/tf-topology/tf_topology-0.1.dev0-py3-none-any.whl (53 kB) Requirement already satisfied: contrail-config-common==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from tf_topology==0.1.dev0) (0.1.dev0) Requirement already satisfied: gevent in /usr/local/lib64/python3.6/site-packages (from tf_topology==0.1.dev0) (22.10.2) Collecting libpartition==0.1.dev0 Downloading http://localhost:6667/pip/simple/libpartition/libpartition-0.1.dev0-py3-none-any.whl (10 kB) Requirement already satisfied: sandesh==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from tf_topology==0.1.dev0) (0.1.dev0) Collecting python3-netsnmp Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/317/dd425036a6af8/python3-netsnmp-1.1a1.tar.gz (24 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: sandesh-common==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from tf_topology==0.1.dev0) (0.1.dev0) Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from tf_topology==0.1.dev0) (2.27.1) Requirement already satisfied: bitarray in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (3.0.0) Requirement already satisfied: simplejson in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (3.19.3) Requirement already satisfied: timeout-decorator in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (0.5.0) Requirement already satisfied: contrail-api-client==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (0.1.dev0) Requirement already satisfied: kazoo in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (2.10.0) Requirement already satisfied: bottle<0.13 in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (0.12.25) Requirement already satisfied: cassandra-driver in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (3.29.2) Requirement already satisfied: stevedore in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (3.5.2) Requirement already satisfied: greenlet in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (2.0.2) Requirement already satisfied: kombu in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (5.1.0) Requirement already satisfied: netaddr<1 in /usr/local/lib/python3.6/site-packages (from sandesh==0.1.dev0->tf_topology==0.1.dev0) (0.10.1) Requirement already satisfied: fysom in /usr/local/lib/python3.6/site-packages (from sandesh==0.1.dev0->tf_topology==0.1.dev0) (2.1.6) Requirement already satisfied: zope.interface in /usr/local/lib64/python3.6/site-packages (from gevent->tf_topology==0.1.dev0) (5.5.2) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->tf_topology==0.1.dev0) (59.6.0) Requirement already satisfied: zope.event in /usr/local/lib/python3.6/site-packages (from gevent->tf_topology==0.1.dev0) (4.6) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->tf_topology==0.1.dev0) (1.26.20) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->tf_topology==0.1.dev0) (3.10) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->tf_topology==0.1.dev0) (2024.12.14) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/site-packages (from requests->tf_topology==0.1.dev0) (2.0.12) Requirement already satisfied: importlib-resources in /usr/local/lib/python3.6/site-packages (from netaddr<1->sandesh==0.1.dev0->tf_topology==0.1.dev0) (5.4.0) Requirement already satisfied: geomet<0.3,>=0.1 in /usr/local/lib/python3.6/site-packages (from cassandra-driver->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (0.2.1.post1) Requirement already satisfied: vine in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (5.1.0) Requirement already satisfied: cached-property in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (1.5.2) Requirement already satisfied: amqp<6.0.0,>=5.0.6 in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (5.3.1) Requirement already satisfied: importlib-metadata>=0.18 in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (4.8.3) Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in /usr/local/lib/python3.6/site-packages (from stevedore->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (6.1.0) Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages (from geomet<0.3,>=0.1->cassandra-driver->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (1.17.0) Requirement already satisfied: click in /usr/local/lib/python3.6/site-packages (from geomet<0.3,>=0.1->cassandra-driver->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (8.0.4) Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.6/site-packages (from importlib-metadata>=0.18->kombu->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (4.1.1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.6/site-packages (from importlib-metadata>=0.18->kombu->contrail-config-common==0.1.dev0->tf_topology==0.1.dev0) (3.6.0) Using legacy 'setup.py install' for python3-netsnmp, since package 'wheel' is not installed. Installing collected packages: python3-netsnmp, libpartition, tf-topology Running setup.py install for python3-netsnmp: started Running setup.py install for python3-netsnmp: 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 libpartition-0.1.dev0 python3-netsnmp-1.1a1 tf-topology-0.1.dev0 ---> Removed intermediate container 242ccac4b0e2 ---> cedfa2b4fa2f Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 50b1632213ca ---> Removed intermediate container 50b1632213ca ---> a6093855a88b Step 11/11 : CMD ["/usr/local/bin/tf-topology", "-c", "/etc/contrail/tf-topology.conf"] ---> Running in 10b8d4d632a8 ---> Removed intermediate container 10b8d4d632a8 ---> 76d07f07a248 [Warning] One or more build-args [BASE_EXTRA_RPMS GENERAL_EXTRA_RPMS LINUX_DISTR LINUX_DISTR_VER SITE_MIRROR UBUNTU_DISTR UBUNTU_DISTR_VERSION VENDOR_DOMAIN VENDOR_NAME YUM_ENABLE_REPOS] were not consumed Successfully built 76d07f07a248 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-topology:master-1_2_9_6-2 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-snmp-topology:master-1_2_9_6-2 2025-01-10 08:46:36,614: INFO: Docker build duration: 35 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-topology] 5b8dd7b0777d: Preparing 22c9ce0c5ea0: Preparing d5f84bbb7c16: Preparing 2007269cc689: Preparing 1175f0f66f66: Preparing d824a95ca95c: Preparing 15dc0b822fcc: Preparing 6c9c923084e5: Preparing 44a929f55455: Preparing aa2755583e92: Preparing ac63b19de28f: Preparing 174f56854903: Preparing 5b8dd7b0777d: Waiting 22c9ce0c5ea0: Waiting d5f84bbb7c16: Waiting 2007269cc689: Waiting 15dc0b822fcc: Waiting 6c9c923084e5: Waiting 44a929f55455: Waiting aa2755583e92: Waiting ac63b19de28f: Waiting 174f56854903: Waiting 1175f0f66f66: Waiting d824a95ca95c: Waiting d5f84bbb7c16: Layer already exists 22c9ce0c5ea0: Pushed 2007269cc689: Layer already exists 1175f0f66f66: Layer already exists 5b8dd7b0777d: Pushed d824a95ca95c: Layer already exists 15dc0b822fcc: Layer already exists 6c9c923084e5: Layer already exists 44a929f55455: Layer already exists aa2755583e92: Layer already exists ac63b19de28f: Layer already exists 174f56854903: Layer already exists master-1_2_9_6-2: digest: sha256:d414ad313e4ce8f856d26db38a11abd97a50d3db7487a06e7be44ebd8eda60fb size: 2829 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-snmp-topology] 5b8dd7b0777d: Preparing 22c9ce0c5ea0: Preparing d5f84bbb7c16: Preparing 2007269cc689: Preparing 1175f0f66f66: Preparing d824a95ca95c: Preparing 15dc0b822fcc: Preparing 6c9c923084e5: Preparing 44a929f55455: Preparing aa2755583e92: Preparing ac63b19de28f: Preparing 174f56854903: Preparing 5b8dd7b0777d: Waiting 22c9ce0c5ea0: Waiting d5f84bbb7c16: Waiting 2007269cc689: Waiting 1175f0f66f66: Waiting d824a95ca95c: Waiting 15dc0b822fcc: Waiting 6c9c923084e5: Waiting 44a929f55455: Waiting aa2755583e92: Waiting ac63b19de28f: Waiting 174f56854903: Waiting 5b8dd7b0777d: Layer already exists 22c9ce0c5ea0: Layer already exists d5f84bbb7c16: Layer already exists 2007269cc689: Layer already exists 1175f0f66f66: Layer already exists d824a95ca95c: Layer already exists 6c9c923084e5: Layer already exists 15dc0b822fcc: Layer already exists ac63b19de28f: Layer already exists aa2755583e92: Layer already exists 44a929f55455: Layer already exists 174f56854903: Layer already exists master-1_2_9_6-2: digest: sha256:d414ad313e4ce8f856d26db38a11abd97a50d3db7487a06e7be44ebd8eda60fb size: 2829 2025-01-10 08:46:48,638: INFO: Building contrail-analytics-snmp-topology finished successfully, duration: 47 seconds