2025-01-02 12:31:07,318: INFO: Building contrail-analytics-snmp-collector 2025-01-02 12:31:07,365: 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_5_2-8 --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-collector --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 15.87 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} ---> 523773e6c102 Step 4/11 : ARG PIP_REPOSITORY ---> Running in 920d99e078d7 ---> Removed intermediate container 920d99e078d7 ---> c06333a66e4a Step 5/11 : ARG CONTAINER_NAME ---> Running in e7af1ed92054 ---> Removed intermediate container e7af1ed92054 ---> 1201bc2f7758 Step 6/11 : ENV SERVICE_NAME=snmp-collector CONTAINER_NAME=$CONTAINER_NAME ---> Running in eaee547f8de3 ---> Removed intermediate container eaee547f8de3 ---> 0c0cbb2e42d3 Step 7/11 : LABEL name=$CONTAINER_NAME summary="SNMP Collector" description="SNMP Collector collects data from switches(Spine/Leaf)." $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in 8da629723e6e ---> Removed intermediate container 8da629723e6e ---> 3832014ba1a5 Step 8/11 : COPY entrypoint.sh / ---> fa9df6364ef0 Step 9/11 : RUN set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "tf_snmp_collector==0.1.dev0" ---> Running in e75ba8f7c8bf Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/, http://localhost:6667/pip/simple Collecting tf_snmp_collector==0.1.dev0 Downloading http://localhost:6667/pip/simple/tf-snmp-collector/tf_snmp_collector-0.1.dev0-py3-none-any.whl (63 kB) Collecting gevent Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/f01/c9adbcb605364/gevent-22.10.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB) Collecting libpartition Downloading http://localhost:6667/pip/simple/libpartition/libpartition-0.1.dev0-py3-none-any.whl (1.1 kB) 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' Collecting greenlet>=2.0.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/cd0/21c754b162c0f/greenlet-2.0.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (564 kB) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->tf_snmp_collector==0.1.dev0) (59.6.0) Collecting zope.event Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/73d/9e3ef750cca14/zope.event-4.6-py2.py3-none-any.whl (6.8 kB) Collecting zope.interface Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/d16/9ccd0756c15bb/zope.interface-5.5.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (253 kB) Collecting kazoo Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/de2/d69168de432ff/kazoo-2.10.0-py2.py3-none-any.whl (148 kB) Using legacy 'setup.py install' for python3-netsnmp, since package 'wheel' is not installed. Installing collected packages: zope.interface, zope.event, greenlet, kazoo, gevent, python3-netsnmp, libpartition, tf-snmp-collector 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 gevent-22.10.2 greenlet-2.0.2 kazoo-2.10.0 libpartition-0.1.dev0 python3-netsnmp-1.1a1 tf-snmp-collector-0.1.dev0 zope.event-4.6 zope.interface-5.5.2 ---> Removed intermediate container e75ba8f7c8bf ---> b39d86aca5c8 Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 8d83314e4205 ---> Removed intermediate container 8d83314e4205 ---> 191d3b160b61 Step 11/11 : CMD ["/usr/bin/tf-snmp-collector", "-c", "/etc/contrail/tf-snmp-collector.conf", "--device-config-file", "/etc/contrail/device.ini"] ---> Running in 7c473f3dbd72 ---> Removed intermediate container 7c473f3dbd72 ---> 844ef720f30f [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 844ef720f30f Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector:master-1_2_5_2-8 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector:master-1_2_5_2-8 2025-01-02 12:31:54,012: INFO: Docker build duration: 47 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector] 8659d55bbc42: Preparing d1ac2ab6dc7e: Preparing e68d2a35a8ff: Preparing 61256db7c481: Preparing 2d5e472dc85f: Preparing 495379c971a0: Preparing 3bf3d688e177: Preparing 67e59945093b: Preparing 77497c26679c: Preparing 7ca512f32de6: Preparing 54cca8571263: Preparing 174f56854903: Preparing 495379c971a0: Waiting 3bf3d688e177: Waiting 67e59945093b: Waiting 77497c26679c: Waiting 7ca512f32de6: Waiting 54cca8571263: Waiting 174f56854903: Waiting 61256db7c481: Layer already exists 2d5e472dc85f: Layer already exists e68d2a35a8ff: Layer already exists 3bf3d688e177: Layer already exists 495379c971a0: Layer already exists 7ca512f32de6: Layer already exists 77497c26679c: Layer already exists d1ac2ab6dc7e: Pushed 67e59945093b: Layer already exists 54cca8571263: Layer already exists 174f56854903: Layer already exists 8659d55bbc42: Pushed master-1_2_5_2-8: digest: sha256:db8506ca91219e65f6ec63f1e3d11d931b6323db25a611bcc98fd378cc908e3a size: 2831 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector] 8659d55bbc42: Preparing d1ac2ab6dc7e: Preparing e68d2a35a8ff: Preparing 61256db7c481: Preparing 2d5e472dc85f: Preparing 495379c971a0: Preparing 3bf3d688e177: Preparing 67e59945093b: Preparing 77497c26679c: Preparing 7ca512f32de6: Preparing 54cca8571263: Preparing 174f56854903: Preparing 2d5e472dc85f: Waiting 495379c971a0: Waiting 3bf3d688e177: Waiting 67e59945093b: Waiting 77497c26679c: Waiting 7ca512f32de6: Waiting 54cca8571263: Waiting 174f56854903: Waiting 61256db7c481: Layer already exists d1ac2ab6dc7e: Layer already exists 8659d55bbc42: Layer already exists e68d2a35a8ff: Layer already exists 2d5e472dc85f: Layer already exists 495379c971a0: Layer already exists 7ca512f32de6: Layer already exists 3bf3d688e177: Layer already exists 67e59945093b: Layer already exists 77497c26679c: Layer already exists 54cca8571263: Layer already exists 174f56854903: Layer already exists master-1_2_5_2-8: digest: sha256:db8506ca91219e65f6ec63f1e3d11d931b6323db25a611bcc98fd378cc908e3a size: 2831 2025-01-02 12:32:16,472: INFO: Building contrail-analytics-snmp-collector finished successfully, duration: 69 seconds