2025-04-12 12:19:07,834: INFO: Building contrail-analytics-snmp-collector 2025-04-12 12:19:07,872: 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_5_3_2-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}/opensdn-analytics-snmp-base:${CONTRAIL_CONTAINER_TAG} ---> 53ebd8790671 Step 4/11 : ARG PIP_REPOSITORY ---> Running in ac5a42c82531 ---> Removed intermediate container ac5a42c82531 ---> 022334722e45 Step 5/11 : ARG CONTAINER_NAME ---> Running in 3b0fada92117 ---> Removed intermediate container 3b0fada92117 ---> c7a293b0466d Step 6/11 : ENV SERVICE_NAME=snmp-collector CONTAINER_NAME=$CONTAINER_NAME ---> Running in 71c1f15f68f9 ---> Removed intermediate container 71c1f15f68f9 ---> b6bd23324a7a 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 3c44ba957151 ---> Removed intermediate container 3c44ba957151 ---> 1e994dc297c0 Step 8/11 : COPY entrypoint.sh / ---> f3c006893c89 Step 9/11 : RUN set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "tf_snmp_collector==0.1.dev0" ; rm -rf /root/.cache ---> Running in 2c448b1d6311 WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. 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 (63kB) Collecting sandesh==0.1.dev0 (from tf_snmp_collector==0.1.dev0) Downloading http://localhost:6667/pip/simple/sandesh/sandesh-0.1.dev0-py3-none-any.whl (216kB) Collecting contrail-config-common==0.1.dev0 (from tf_snmp_collector==0.1.dev0) Downloading http://localhost:6667/pip/simple/contrail-config-common/contrail_config_common-0.1.dev0-py3-none-any.whl (209kB) Collecting sandesh-common==0.1.dev0 (from tf_snmp_collector==0.1.dev0) Downloading http://localhost:6667/pip/simple/sandesh-common/sandesh_common-0.1.dev0-py3-none-any.whl Collecting python3-netsnmp (from tf_snmp_collector==0.1.dev0)  Could not find a version that satisfies the requirement python3-netsnmp (from tf_snmp_collector==0.1.dev0) (from versions: ) No matching distribution found for python3-netsnmp (from tf_snmp_collector==0.1.dev0) The command '/bin/sh -c set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "tf_snmp_collector==0.1.dev0" ; rm -rf /root/.cache' returned a non-zero code: 1 2025-04-12 12:19:26,780: INFO: Docker build duration: 19 seconds 2025-04-12 12:19:26,850: ERROR: Building contrail-analytics-snmp-collector failed, duration: 19 seconds