2025-01-03 16:28:44,419: INFO: Building contrail-analytics-snmp-collector 2025-01-03 16:28:44,469: 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_1 --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} ---> 313891a89b43 Step 4/11 : ARG PIP_REPOSITORY ---> Running in 124fd9bdddeb ---> Removed intermediate container 124fd9bdddeb ---> f9d1b1a435e3 Step 5/11 : ARG CONTAINER_NAME ---> Running in 2e31e376c5e0 ---> Removed intermediate container 2e31e376c5e0 ---> aabc6dceff74 Step 6/11 : ENV SERVICE_NAME=snmp-collector CONTAINER_NAME=$CONTAINER_NAME ---> Running in 3b756c15c5df ---> Removed intermediate container 3b756c15c5df ---> 812343a8f6a9 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 16a43abfe25c ---> Removed intermediate container 16a43abfe25c ---> 27119a1bf69a Step 8/11 : COPY entrypoint.sh / ---> 7eda154453b5 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 e0eb163cf8bf 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-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 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 sandesh==0.1.dev0 Downloading http://localhost:6667/pip/simple/sandesh/sandesh-0.1.dev0-py3-none-any.whl (217 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 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: 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) 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) Collecting kombu Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/e2d/edd8a86c9077c/kombu-5.1.0-py3-none-any.whl (187 kB) 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 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 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' Collecting greenlet 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 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 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 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 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) 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 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) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->tf_snmp_collector==0.1.dev0) (59.6.0) 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 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 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) 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 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 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) 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: 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) 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: 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) 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) 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) Collecting zipp>=0.5 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 cassandra-driver, since package 'wheel' is not installed. Using legacy 'setup.py install' for fysom, since package 'wheel' is not installed. Using legacy 'setup.py install' for timeout-decorator, since package 'wheel' is not installed. Installing collected packages: zipp, typing-extensions, importlib-metadata, zope.interface, zope.event, vine, six, importlib-resources, greenlet, click, pbr, netaddr, gevent, geomet, fysom, cached-property, bottle, amqp, timeout-decorator, stevedore, simplejson, sandesh-common, sandesh, kombu, kazoo, cassandra-driver, bitarray, python3-netsnmp, libpartition, contrail-config-common, 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 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' 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 amqp-5.3.1 bitarray-3.0.0 bottle-0.12.25 cached-property-1.5.2 cassandra-driver-3.29.2 click-8.0.4 contrail-config-common-0.1.dev0 fysom-2.1.6 geomet-0.2.1.post1 gevent-22.10.2 greenlet-2.0.2 importlib-metadata-4.8.3 importlib-resources-5.4.0 kazoo-2.10.0 kombu-5.1.0 libpartition-0.1.dev0 netaddr-0.10.1 pbr-6.1.0 python3-netsnmp-1.1a1 sandesh-0.1.dev0 sandesh-common-0.1.dev0 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 zipp-3.6.0 zope.event-4.6 zope.interface-5.5.2 ---> Removed intermediate container e0eb163cf8bf ---> db4ba8ccd614 Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 89e543ded224 ---> Removed intermediate container 89e543ded224 ---> 0f752e083786 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 482c1f0768aa ---> Removed intermediate container 482c1f0768aa ---> 4f3684640aad [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 4f3684640aad Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector:master-1_2_5_2-1_1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector:master-1_2_5_2-1_1 2025-01-03 16:42:54,371: INFO: Docker build duration: 850 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector] 78b420ca8184: Preparing 6b07719ff1e9: Preparing ecea6386ec1f: Preparing 2d89d87d2813: Preparing 31864d91e78e: Preparing c1decba7ffbd: Preparing 59ff80fe3d1c: Preparing 432412728aa2: Preparing a277e131e8c4: Preparing 6cac874c1692: Preparing a02f9dfa9647: Preparing 174f56854903: Preparing 78b420ca8184: Waiting 6b07719ff1e9: Waiting ecea6386ec1f: Waiting 2d89d87d2813: Waiting 31864d91e78e: Waiting c1decba7ffbd: Waiting 59ff80fe3d1c: Waiting 432412728aa2: Waiting a277e131e8c4: Waiting 6cac874c1692: Waiting a02f9dfa9647: Waiting 174f56854903: Waiting 6b07719ff1e9: Pushed ecea6386ec1f: Layer already exists 2d89d87d2813: Layer already exists 59ff80fe3d1c: Layer already exists 31864d91e78e: Layer already exists c1decba7ffbd: Layer already exists 6cac874c1692: Layer already exists 432412728aa2: Layer already exists a277e131e8c4: Layer already exists a02f9dfa9647: Layer already exists 174f56854903: Layer already exists 78b420ca8184: Pushed master-1_2_5_2-1_1: digest: sha256:4b2655a5b2f05dc92f355de8ed8c00c1329ad1adb36b91b49ed0215e26299fa1 size: 2831 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector] 78b420ca8184: Preparing 6b07719ff1e9: Preparing ecea6386ec1f: Preparing 2d89d87d2813: Preparing 31864d91e78e: Preparing c1decba7ffbd: Preparing 59ff80fe3d1c: Preparing 432412728aa2: Preparing a277e131e8c4: Preparing 6cac874c1692: Preparing a02f9dfa9647: Preparing 174f56854903: Preparing 78b420ca8184: Waiting 6b07719ff1e9: Waiting ecea6386ec1f: Waiting 2d89d87d2813: Waiting 31864d91e78e: Waiting c1decba7ffbd: Waiting 59ff80fe3d1c: Waiting 432412728aa2: Waiting a277e131e8c4: Waiting 6cac874c1692: Waiting a02f9dfa9647: Waiting 174f56854903: Waiting 78b420ca8184: Layer already exists 6b07719ff1e9: Layer already exists ecea6386ec1f: Layer already exists 2d89d87d2813: Layer already exists 31864d91e78e: Layer already exists c1decba7ffbd: Layer already exists 59ff80fe3d1c: Layer already exists 432412728aa2: Layer already exists a277e131e8c4: Layer already exists 6cac874c1692: Layer already exists a02f9dfa9647: Layer already exists 174f56854903: Layer already exists master-1_2_5_2-1_1: digest: sha256:4b2655a5b2f05dc92f355de8ed8c00c1329ad1adb36b91b49ed0215e26299fa1 size: 2831 2025-01-03 16:43:40,422: INFO: Building contrail-analytics-snmp-collector finished successfully, duration: 896 seconds