2025-01-03 08:28:39,916: INFO: Building contrail-analytics-snmp-collector 2025-01-03 08:28:40,022: 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-1_0 --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} ---> cb65cbaed694 Step 4/11 : ARG PIP_REPOSITORY ---> Running in 6ca6b86dcd19 ---> Removed intermediate container 6ca6b86dcd19 ---> 42c23d39800e Step 5/11 : ARG CONTAINER_NAME ---> Running in 73f67fa29069 ---> Removed intermediate container 73f67fa29069 ---> ca8efbcbfec6 Step 6/11 : ENV SERVICE_NAME=snmp-collector CONTAINER_NAME=$CONTAINER_NAME ---> Running in 97890e6d23b6 ---> Removed intermediate container 97890e6d23b6 ---> 1aa831f67925 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 92a21f5229c3 ---> Removed intermediate container 92a21f5229c3 ---> 113756a54ae2 Step 8/11 : COPY entrypoint.sh / ---> b956bcd91dcf 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 527eb9e75ef6 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 sandesh==0.1.dev0 Downloading http://localhost:6667/pip/simple/sandesh/sandesh-0.1.dev0-py3-none-any.whl (217 kB) Collecting sandesh-common==0.1.dev0 Downloading http://localhost:6667/pip/simple/sandesh-common/sandesh_common-0.1.dev0-py3-none-any.whl (9.5 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 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 libpartition Downloading http://localhost:6667/pip/simple/libpartition/libpartition-0.1.dev0-py3-none-any.whl (1.1 kB) Collecting bottle<0.13 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/d6f/15f9d422670b7/bottle-0.12.25-py3-none-any.whl (90 kB) Collecting fysom Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/e36/17b79f19220c7/fysom-2.1.6.tar.gz (19 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting netaddr<1 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/982/2305b42ea1020/netaddr-0.10.1-py2.py3-none-any.whl (2.2 MB) 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.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 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) 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 kazoo Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/de2/d69168de432ff/kazoo-2.10.0-py2.py3-none-any.whl (148 kB) Collecting importlib-resources Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/33a/95faed5fc19b4/importlib_resources-5.4.0-py3-none-any.whl (28 kB) Collecting zipp>=3.1.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/9fe/5ea21568a0a70/zipp-3.6.0-py3-none-any.whl (5.3 kB) Using legacy 'setup.py install' for python3-netsnmp, since package 'wheel' is not installed. Using legacy 'setup.py install' for fysom, since package 'wheel' is not installed. Installing collected packages: zipp, zope.interface, zope.event, importlib-resources, greenlet, netaddr, gevent, fysom, bottle, sandesh, kazoo, sandesh-common, python3-netsnmp, libpartition, tf-snmp-collector Running setup.py install for fysom: started Running setup.py install for fysom: finished with status 'done' 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 bottle-0.12.25 fysom-2.1.6 gevent-22.10.2 greenlet-2.0.2 importlib-resources-5.4.0 kazoo-2.10.0 libpartition-0.1.dev0 netaddr-0.10.1 python3-netsnmp-1.1a1 sandesh-0.1.dev0 sandesh-common-0.1.dev0 tf-snmp-collector-0.1.dev0 zipp-3.6.0 zope.event-4.6 zope.interface-5.5.2 ---> Removed intermediate container 527eb9e75ef6 ---> 73bad22f60a2 Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 10bc18a4418b ---> Removed intermediate container 10bc18a4418b ---> 54e07cc3c035 Step 11/11 : CMD ["/usr/local/bin/tf-snmp-collector", "-c", "/etc/contrail/tf-snmp-collector.conf", "--device-config-file", "/etc/contrail/device.ini"] ---> Running in 9c327e3e27d1 ---> Removed intermediate container 9c327e3e27d1 ---> 97f1a9da95ed [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 97f1a9da95ed Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector:master-1_2_5_2-1_0 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector:master-1_2_5_2-1_0 2025-01-03 08:29:57,318: INFO: Docker build duration: 78 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector] 6c55117602c0: Preparing 279d1909732f: Preparing 115ac5ed6c54: Preparing ec2bca7646f0: Preparing 9e15e85e4540: Preparing 208ebe85f0bb: Preparing 3c7719c352dc: Preparing 14e8b387b1d6: Preparing a041fad23805: Preparing afdfc4245017: Preparing 8337a50982da: Preparing 174f56854903: Preparing 6c55117602c0: Waiting 279d1909732f: Waiting 115ac5ed6c54: Waiting ec2bca7646f0: Waiting 9e15e85e4540: Waiting 208ebe85f0bb: Waiting 3c7719c352dc: Waiting 14e8b387b1d6: Waiting a041fad23805: Waiting afdfc4245017: Waiting 8337a50982da: Waiting 174f56854903: Waiting 279d1909732f: Pushed 115ac5ed6c54: Layer already exists ec2bca7646f0: Layer already exists 9e15e85e4540: Layer already exists 208ebe85f0bb: Layer already exists 3c7719c352dc: Layer already exists 14e8b387b1d6: Layer already exists a041fad23805: Layer already exists 8337a50982da: Layer already exists afdfc4245017: Layer already exists 174f56854903: Layer already exists 6c55117602c0: Pushed master-1_2_5_2-1_0: digest: sha256:f772651762e74172da72d40d0f326ef3259631f8729e2ff7afc67a0b3140773b size: 2831 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector] 6c55117602c0: Preparing 279d1909732f: Preparing 115ac5ed6c54: Preparing ec2bca7646f0: Preparing 9e15e85e4540: Preparing 208ebe85f0bb: Preparing 3c7719c352dc: Preparing 14e8b387b1d6: Preparing a041fad23805: Preparing afdfc4245017: Preparing 8337a50982da: Preparing 174f56854903: Preparing 9e15e85e4540: Waiting 208ebe85f0bb: Waiting 3c7719c352dc: Waiting 14e8b387b1d6: Waiting a041fad23805: Waiting afdfc4245017: Waiting 8337a50982da: Waiting 174f56854903: Waiting 6c55117602c0: Waiting 279d1909732f: Waiting 115ac5ed6c54: Waiting ec2bca7646f0: Waiting 6c55117602c0: Layer already exists 279d1909732f: Layer already exists ec2bca7646f0: Layer already exists 115ac5ed6c54: Layer already exists 9e15e85e4540: Layer already exists 208ebe85f0bb: Layer already exists 3c7719c352dc: Layer already exists 14e8b387b1d6: Layer already exists a041fad23805: Layer already exists afdfc4245017: Layer already exists 8337a50982da: Layer already exists 174f56854903: Layer already exists master-1_2_5_2-1_0: digest: sha256:f772651762e74172da72d40d0f326ef3259631f8729e2ff7afc67a0b3140773b size: 2831 2025-01-03 08:31:04,042: INFO: Building contrail-analytics-snmp-collector finished successfully, duration: 145 seconds