2025-01-03 08:28:39,877: INFO: Building contrail-analytics-alarm-gen 2025-01-03 08:28:39,925: 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-alarm-gen --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 17.41 kB Step 1/11 : ARG CONTRAIL_REGISTRY Step 2/11 : ARG CONTRAIL_CONTAINER_TAG Step 3/11 : FROM ${CONTRAIL_REGISTRY}/contrail-analytics-base:${CONTRAIL_CONTAINER_TAG} ---> 3668559cbaaf Step 4/11 : ARG PIP_REPOSITORY ---> Running in c16395dd6231 ---> Removed intermediate container c16395dd6231 ---> 36596f2b29b6 Step 5/11 : ARG CONTAINER_NAME ---> Running in df39ce6e2dcd ---> Removed intermediate container df39ce6e2dcd ---> 37d0bb42fdf5 Step 6/11 : ENV NODE_TYPE=analytics-alarm SERVICE_NAME=alarm-gen CONTAINER_NAME=$CONTAINER_NAME ---> Running in 323b45d1d8a6 ---> Removed intermediate container 323b45d1d8a6 ---> b38a115b2a29 Step 7/11 : LABEL name=$CONTAINER_NAME summary="Contrail Alarm Generator" description="Contrail Alarm Generator generates alerts (alarms) which highlight unusual conditions that may require more urgent administrator attention and action." $VENDOR_DOMAIN".pod"=$NODE_TYPE $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in 957ce0765d77 ---> Removed intermediate container 957ce0765d77 ---> c4de7c334377 Step 8/11 : COPY entrypoint.sh / ---> 5c247858b879 Step 9/11 : RUN set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "opserver==0.1.dev0" ---> Running in e39167dce1b8 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/, http://localhost:6667/pip/simple Collecting opserver==0.1.dev0 Downloading http://localhost:6667/pip/simple/opserver/opserver-0.1.dev0-py3-none-any.whl (226 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) Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from opserver==0.1.dev0) (2.27.1) Collecting sandesh==0.1.dev0 Downloading http://localhost:6667/pip/simple/sandesh/sandesh-0.1.dev0-py3-none-any.whl (217 kB) Collecting kazoo==2.7.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/ef8/3ffd126b3bb49/kazoo-2.7.0-py2.py3-none-any.whl (141 kB) Collecting stevedore<=3.3.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/50d/7b78fbaf0d04c/stevedore-3.3.0-py3-none-any.whl (49 kB) Collecting kafka-python==1.4.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/e7b/38a53df5e3e6c/kafka_python-1.4.0-py2.py3-none-any.whl (235 kB) Collecting xmltodict Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/20c/c7d723ed72927/xmltodict-0.14.2-py2.py3-none-any.whl (10.0 kB) Collecting redis>4.3 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/1ea/4018b8b5d8a13/redis-4.3.6-py3-none-any.whl (248 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 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 lxml Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/56b/9861a71575f57/lxml-5.3.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB) Collecting sseclient Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/b2f/e534dcb33b1d3/sseclient-0.0.27.tar.gz (7.5 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' 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 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 typing-extensions Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/21c/85e0fe4b9a155/typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting packaging>=20.4 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/ef1/03e05f519cdc7/packaging-21.3-py3-none-any.whl (40 kB) Collecting async-timeout>=4.0.2 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/8ca/1e4fcf50d0741/async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting importlib-metadata>=1.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/65a/9576a5b2d58ca/importlib_metadata-4.8.3-py3-none-any.whl (17 kB) 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 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 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 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) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->opserver==0.1.dev0) (59.6.0) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->opserver==0.1.dev0) (1.26.20) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->opserver==0.1.dev0) (2024.12.14) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->opserver==0.1.dev0) (3.10) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/site-packages (from requests->opserver==0.1.dev0) (2.0.12) 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) 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 pyparsing!=3.0.5,>=2.0.2 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/a6a/7ee4235a3f944/pyparsing-3.1.4-py3-none-any.whl (104 kB) Using legacy 'setup.py install' for sseclient, 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, typing-extensions, pyparsing, importlib-resources, greenlet, six, pbr, packaging, netaddr, importlib-metadata, gevent, fysom, bottle, async-timeout, xmltodict, stevedore, sseclient, sandesh-common, sandesh, redis, lxml, kazoo, kafka-python, opserver Running setup.py install for fysom: started Running setup.py install for fysom: finished with status 'done' Running setup.py install for sseclient: started Running setup.py install for sseclient: 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 async-timeout-4.0.2 bottle-0.12.25 fysom-2.1.6 gevent-22.10.2 greenlet-2.0.2 importlib-metadata-4.8.3 importlib-resources-5.4.0 kafka-python-1.4.0 kazoo-2.7.0 lxml-5.3.0 netaddr-0.10.1 opserver-0.1.dev0 packaging-21.3 pbr-6.1.0 pyparsing-3.1.4 redis-4.3.6 sandesh-0.1.dev0 sandesh-common-0.1.dev0 six-1.17.0 sseclient-0.0.27 stevedore-3.3.0 typing-extensions-4.1.1 xmltodict-0.14.2 zipp-3.6.0 zope.event-4.6 zope.interface-5.5.2 ---> Removed intermediate container e39167dce1b8 ---> ec0d0321ac92 Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 097962ed3c99 ---> Removed intermediate container 097962ed3c99 ---> 7a453e17192d Step 11/11 : CMD ["/usr/local/bin/contrail-alarm-gen", "-c", "/etc/contrail/contrail-alarm-gen.conf"] ---> Running in 4c0ced90be11 ---> Removed intermediate container 4c0ced90be11 ---> 158869790a85 [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 158869790a85 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-alarm-gen:master-1_2_5_2-1_0 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-alarm-gen:master-1_2_5_2-1_0 2025-01-03 08:30:18,174: INFO: Docker build duration: 99 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-alarm-gen] 1d38e63b5310: Preparing ea4afb5ca1b9: Preparing ec2bca7646f0: Preparing 9e15e85e4540: Preparing 208ebe85f0bb: Preparing 3c7719c352dc: Preparing 14e8b387b1d6: Preparing a041fad23805: Preparing afdfc4245017: Preparing 8337a50982da: Preparing 174f56854903: Preparing ea4afb5ca1b9: Waiting ec2bca7646f0: Waiting 9e15e85e4540: Waiting 208ebe85f0bb: Waiting 3c7719c352dc: Waiting a041fad23805: Waiting afdfc4245017: Waiting 8337a50982da: Waiting 174f56854903: Waiting 14e8b387b1d6: Waiting ea4afb5ca1b9: Pushed ec2bca7646f0: 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 1d38e63b5310: Pushed master-1_2_5_2-1_0: digest: sha256:ba9507dd6fd75e0c10c38da469866bf448007145a30a04ba32cf0713fe46d9f2 size: 2619 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-alarm-gen] 1d38e63b5310: Preparing ea4afb5ca1b9: Preparing ec2bca7646f0: Preparing 9e15e85e4540: Preparing 208ebe85f0bb: Preparing 3c7719c352dc: Preparing 14e8b387b1d6: Preparing a041fad23805: Preparing afdfc4245017: Preparing 8337a50982da: Preparing 174f56854903: Preparing 1d38e63b5310: Waiting ea4afb5ca1b9: Waiting ec2bca7646f0: Waiting 9e15e85e4540: Waiting 208ebe85f0bb: Waiting 3c7719c352dc: Waiting 14e8b387b1d6: Waiting a041fad23805: Waiting afdfc4245017: Waiting 8337a50982da: Waiting 174f56854903: Waiting 1d38e63b5310: Layer already exists ea4afb5ca1b9: 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 afdfc4245017: Layer already exists 8337a50982da: Layer already exists 174f56854903: Layer already exists master-1_2_5_2-1_0: digest: sha256:ba9507dd6fd75e0c10c38da469866bf448007145a30a04ba32cf0713fe46d9f2 size: 2619 2025-01-03 08:31:24,375: INFO: Building contrail-analytics-alarm-gen finished successfully, duration: 165 seconds