2025-01-03 21:54:44,410: INFO: Building contrail-analytics-snmp-collector 2025-01-03 21:54:44,444: 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_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-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} ---> 78e101658440 Step 4/11 : ARG PIP_REPOSITORY ---> Running in 22a43bed4fd2 ---> Removed intermediate container 22a43bed4fd2 ---> 877f26fce80c Step 5/11 : ARG CONTAINER_NAME ---> Running in 573f587da177 ---> Removed intermediate container 573f587da177 ---> 802f8fd4ea22 Step 6/11 : ENV SERVICE_NAME=snmp-collector CONTAINER_NAME=$CONTAINER_NAME ---> Running in 4856f8b0dfce ---> Removed intermediate container 4856f8b0dfce ---> 3c3ddb741c7d 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 906fba97229e ---> Removed intermediate container 906fba97229e ---> fb18960a12ab Step 8/11 : COPY entrypoint.sh / ---> e0e497e302fb 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 e5fc7de92b3a 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) Requirement already satisfied: gevent in /usr/local/lib64/python3.6/site-packages (from tf_snmp_collector==0.1.dev0) (22.10.2) 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 contrail-config-common==0.1.dev0 Downloading http://localhost:6667/pip/simple/contrail-config-common/contrail_config_common-0.1.dev0-py3-none-any.whl (208 kB) Requirement already satisfied: sandesh-common==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from tf_snmp_collector==0.1.dev0) (0.1.dev0) Requirement already satisfied: sandesh==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from tf_snmp_collector==0.1.dev0) (0.1.dev0) Collecting libpartition==0.1.dev0 Downloading http://localhost:6667/pip/simple/libpartition/libpartition-0.1.dev0-py3-none-any.whl (1.1 kB) Collecting simplejson Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/cb3/24bb903330cbb/simplejson-3.19.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (125 kB) Collecting stevedore Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/fa2/630e3d0ad3e22/stevedore-3.5.2-py3-none-any.whl (50 kB) Collecting timeout-decorator Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6a2/f2f58db1c5b24/timeout-decorator-0.5.0.tar.gz (4.8 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_snmp_collector==0.1.dev0) (2.27.1) 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_snmp_collector==0.1.dev0) (0.1.dev0) Collecting bitarray Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/251/cd5bd47f54289/bitarray-3.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (270 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) Requirement already satisfied: bottle<0.13 in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_snmp_collector==0.1.dev0) (0.12.25) Collecting cassandra-driver Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/c43/10a7d0457f51a/cassandra-driver-3.29.2.tar.gz (293 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting kombu Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/e2d/edd8a86c9077c/kombu-5.1.0-py3-none-any.whl (187 kB) Requirement already satisfied: greenlet in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->tf_snmp_collector==0.1.dev0) (2.0.2) Requirement already satisfied: fysom in /usr/local/lib/python3.6/site-packages (from sandesh==0.1.dev0->tf_snmp_collector==0.1.dev0) (2.1.6) Requirement already satisfied: netaddr<1 in /usr/local/lib/python3.6/site-packages (from sandesh==0.1.dev0->tf_snmp_collector==0.1.dev0) (0.10.1) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->tf_snmp_collector==0.1.dev0) (59.6.0) Requirement already satisfied: zope.interface in /usr/local/lib64/python3.6/site-packages (from gevent->tf_snmp_collector==0.1.dev0) (5.5.2) Requirement already satisfied: zope.event in /usr/local/lib/python3.6/site-packages (from gevent->tf_snmp_collector==0.1.dev0) (4.6) Requirement already satisfied: importlib-resources in /usr/local/lib/python3.6/site-packages (from netaddr<1->sandesh==0.1.dev0->tf_snmp_collector==0.1.dev0) (5.4.0) Collecting geomet<0.3,>=0.1 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/a41/a1e336b381416/geomet-0.2.1.post1-py3-none-any.whl (18 kB) Collecting vine Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/40f/df3c48b2cfe1c/vine-5.1.0-py3-none-any.whl (9.6 kB) Collecting cached-property Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/df4/f613cf7ad9a58/cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB) Collecting amqp<6.0.0,>=5.0.6 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/43b/3319e1b4e7d12/amqp-5.3.1-py3-none-any.whl (50 kB) Collecting importlib-metadata>=0.18 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/65a/9576a5b2d58ca/importlib_metadata-4.8.3-py3-none-any.whl (17 kB) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/site-packages (from requests->contrail-config-common==0.1.dev0->tf_snmp_collector==0.1.dev0) (2.0.12) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->contrail-config-common==0.1.dev0->tf_snmp_collector==0.1.dev0) (3.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->contrail-config-common==0.1.dev0->tf_snmp_collector==0.1.dev0) (1.26.20) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->contrail-config-common==0.1.dev0->tf_snmp_collector==0.1.dev0) (2024.12.14) Collecting pbr!=2.1.0,>=2.0.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/a77/6ae228892d801/pbr-6.1.0-py2.py3-none-any.whl (108 kB) Collecting click Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6a7/a62563bbfabfd/click-8.0.4-py3-none-any.whl (97 kB) Collecting six Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/472/1f391ed90541f/six-1.17.0-py2.py3-none-any.whl (11 kB) 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_snmp_collector==0.1.dev0) (3.6.0) Collecting typing-extensions>=3.6.4 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/21c/85e0fe4b9a155/typing_extensions-4.1.1-py3-none-any.whl (26 kB) Using legacy 'setup.py install' for python3-netsnmp, since package 'wheel' is not installed. Using legacy 'setup.py install' for cassandra-driver, since package 'wheel' is not installed. Using legacy 'setup.py install' for timeout-decorator, since package 'wheel' is not installed. Installing collected packages: typing-extensions, importlib-metadata, vine, six, click, pbr, geomet, cached-property, amqp, timeout-decorator, stevedore, simplejson, kombu, kazoo, cassandra-driver, bitarray, python3-netsnmp, libpartition, contrail-config-common, tf-snmp-collector Running setup.py install for timeout-decorator: started Running setup.py install for timeout-decorator: finished with status 'done' Running setup.py install for cassandra-driver: started Running setup.py install for cassandra-driver: still running... Running setup.py install for cassandra-driver: still running... Running setup.py install for cassandra-driver: still running... Running setup.py install for cassandra-driver: still running... Running setup.py install for cassandra-driver: still running... Running setup.py install for cassandra-driver: still running... Running setup.py install for cassandra-driver: still running... Running setup.py install for cassandra-driver: finished with status 'done' Running setup.py install for python3-netsnmp: started Running setup.py install for python3-netsnmp: finished with status 'done' Successfully installed amqp-5.3.1 bitarray-3.0.0 cached-property-1.5.2 cassandra-driver-3.29.2 click-8.0.4 contrail-config-common-0.1.dev0 geomet-0.2.1.post1 importlib-metadata-4.8.3 kazoo-2.10.0 kombu-5.1.0 libpartition-0.1.dev0 pbr-6.1.0 python3-netsnmp-1.1a1 simplejson-3.19.3 six-1.17.0 stevedore-3.5.2 tf-snmp-collector-0.1.dev0 timeout-decorator-0.5.0 typing-extensions-4.1.1 vine-5.1.0 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  ---> Removed intermediate container e5fc7de92b3a ---> 01feae24ffbb Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in a8076de06ae9 ---> Removed intermediate container a8076de06ae9 ---> b4a220cac64d 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 35e823bc18e5 ---> Removed intermediate container 35e823bc18e5 ---> 36994e6f2645 [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 36994e6f2645 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector:master-1_2_5_2-1_2 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector:master-1_2_5_2-1_2 2025-01-03 22:08:38,003: INFO: Docker build duration: 834 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector] f24374b003b1: Preparing 3c90c78a828f: Preparing bceb1917f96d: Preparing dc4b9bf1c142: Preparing 3eed83de0a4b: Preparing 0464ebcc08ba: Preparing 8fff3b87f6ef: Preparing 1434db69b709: Preparing 42e41c2d2be8: Preparing 84a4afca8f0f: Preparing 54343b6f6ddd: Preparing 174f56854903: Preparing f24374b003b1: Waiting 3c90c78a828f: Waiting dc4b9bf1c142: Waiting 3eed83de0a4b: Waiting 0464ebcc08ba: Waiting 8fff3b87f6ef: Waiting 1434db69b709: Waiting 42e41c2d2be8: Waiting 84a4afca8f0f: Waiting 54343b6f6ddd: Waiting 174f56854903: Waiting bceb1917f96d: Waiting 3c90c78a828f: Pushed bceb1917f96d: Layer already exists dc4b9bf1c142: Layer already exists 3eed83de0a4b: Layer already exists 0464ebcc08ba: Layer already exists 8fff3b87f6ef: Layer already exists 1434db69b709: Layer already exists 42e41c2d2be8: Layer already exists 84a4afca8f0f: Layer already exists 54343b6f6ddd: Layer already exists 174f56854903: Layer already exists f24374b003b1: Pushed master-1_2_5_2-1_2: digest: sha256:a0d6f4d68c9e48fcbd49b5fa22e74dd90c732380f968a348b7cc0ab40018183d size: 2831 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector] f24374b003b1: Preparing 3c90c78a828f: Preparing bceb1917f96d: Preparing dc4b9bf1c142: Preparing 3eed83de0a4b: Preparing 0464ebcc08ba: Preparing 8fff3b87f6ef: Preparing 1434db69b709: Preparing 42e41c2d2be8: Preparing 84a4afca8f0f: Preparing 54343b6f6ddd: Preparing 174f56854903: Preparing f24374b003b1: Waiting 3c90c78a828f: Waiting bceb1917f96d: Waiting dc4b9bf1c142: Waiting 3eed83de0a4b: Waiting 0464ebcc08ba: Waiting 8fff3b87f6ef: Waiting 1434db69b709: Waiting 42e41c2d2be8: Waiting 84a4afca8f0f: Waiting 54343b6f6ddd: Waiting 174f56854903: Waiting 3c90c78a828f: Layer already exists f24374b003b1: Layer already exists bceb1917f96d: Layer already exists dc4b9bf1c142: Layer already exists 0464ebcc08ba: Layer already exists 3eed83de0a4b: Layer already exists 1434db69b709: Layer already exists 8fff3b87f6ef: Layer already exists 84a4afca8f0f: Layer already exists 42e41c2d2be8: Layer already exists 54343b6f6ddd: Layer already exists 174f56854903: Layer already exists master-1_2_5_2-1_2: digest: sha256:a0d6f4d68c9e48fcbd49b5fa22e74dd90c732380f968a348b7cc0ab40018183d size: 2831 2025-01-03 22:09:19,146: INFO: Building contrail-analytics-snmp-collector finished successfully, duration: 875 seconds