2025-01-02 20:01:58,504: INFO: Building contrail-analytics-snmp-collector 2025-01-02 20:01:58,578: 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-9 --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} ---> 29b4834e48b7 Step 4/11 : ARG PIP_REPOSITORY ---> Running in 62ce53b50761 ---> Removed intermediate container 62ce53b50761 ---> 0f77632a8654 Step 5/11 : ARG CONTAINER_NAME ---> Running in a72b7200fa1a ---> Removed intermediate container a72b7200fa1a ---> 3f8c37a0c298 Step 6/11 : ENV SERVICE_NAME=snmp-collector CONTAINER_NAME=$CONTAINER_NAME ---> Running in 4032e5ebe90e ---> Removed intermediate container 4032e5ebe90e ---> f8da667d5ed7 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 4c3fcf81b812 ---> Removed intermediate container 4c3fcf81b812 ---> cdc7a5d376b5 Step 8/11 : COPY entrypoint.sh / ---> bc5419542bf7 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 b9f67ec32068 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 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 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) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->tf_snmp_collector==0.1.dev0) (59.6.0) 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 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 b9f67ec32068 ---> 04ae20a0767e Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 48bed753465c ---> Removed intermediate container 48bed753465c ---> f7be7605a220 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 fb78dda679eb ---> Removed intermediate container fb78dda679eb ---> 907f37068643 [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 907f37068643 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector:master-1_2_5_2-9 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector:master-1_2_5_2-9 2025-01-02 20:02:55,758: INFO: Docker build duration: 57 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-snmp-collector] 5b74946ab8f8: Preparing 3eb51043a7fc: Preparing c3cf5f139746: Preparing e082e6a8507c: Preparing 3e02f027603c: Preparing fef5919dbc27: Preparing e4252997c58f: Preparing 8eb2a08f670b: Preparing e1ab5b5b8db7: Preparing 3895b45a0423: Preparing 0e53de13b166: Preparing 174f56854903: Preparing 3e02f027603c: Waiting fef5919dbc27: Waiting e4252997c58f: Waiting 8eb2a08f670b: Waiting e1ab5b5b8db7: Waiting 3895b45a0423: Waiting 0e53de13b166: Waiting 174f56854903: Waiting c3cf5f139746: Layer already exists e082e6a8507c: Layer already exists 3e02f027603c: Layer already exists fef5919dbc27: Layer already exists 3eb51043a7fc: Pushed 8eb2a08f670b: Layer already exists e4252997c58f: Layer already exists e1ab5b5b8db7: Layer already exists 0e53de13b166: Layer already exists 174f56854903: Layer already exists 3895b45a0423: Layer already exists 5b74946ab8f8: Pushed master-1_2_5_2-9: digest: sha256:0bd4ce9c84daad40c0244edcec54075282e0fff85716a28442e81210f8d26c2d size: 2831 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-snmp-collector] 5b74946ab8f8: Preparing 3eb51043a7fc: Preparing c3cf5f139746: Preparing e082e6a8507c: Preparing 3e02f027603c: Preparing fef5919dbc27: Preparing e4252997c58f: Preparing 8eb2a08f670b: Preparing e1ab5b5b8db7: Preparing 3895b45a0423: Preparing 0e53de13b166: Preparing 174f56854903: Preparing 5b74946ab8f8: Waiting 3eb51043a7fc: Waiting c3cf5f139746: Waiting e082e6a8507c: Waiting 3e02f027603c: Waiting fef5919dbc27: Waiting e4252997c58f: Waiting 8eb2a08f670b: Waiting e1ab5b5b8db7: Waiting 3895b45a0423: Waiting 0e53de13b166: Waiting 174f56854903: Waiting 5b74946ab8f8: Layer already exists 3eb51043a7fc: Layer already exists c3cf5f139746: Layer already exists e082e6a8507c: Layer already exists 3e02f027603c: Layer already exists fef5919dbc27: Layer already exists e4252997c58f: Layer already exists 8eb2a08f670b: Layer already exists e1ab5b5b8db7: Layer already exists 3895b45a0423: Layer already exists 0e53de13b166: Layer already exists 174f56854903: Layer already exists master-1_2_5_2-9: digest: sha256:0bd4ce9c84daad40c0244edcec54075282e0fff85716a28442e81210f8d26c2d size: 2831 2025-01-02 20:03:34,596: INFO: Building contrail-analytics-snmp-collector finished successfully, duration: 96 seconds