2025-01-07 10:28:51,700: INFO: Building contrail-analytics-alarm-gen 2025-01-07 10:28:51,724: 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_8_9-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-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} ---> 99e765ca60b9 Step 4/11 : ARG PIP_REPOSITORY ---> Running in 95eed5e1fd8a ---> Removed intermediate container 95eed5e1fd8a ---> 1b55204a7545 Step 5/11 : ARG CONTAINER_NAME ---> Running in 51324dd15aee ---> Removed intermediate container 51324dd15aee ---> c1d31afeba3b Step 6/11 : ENV NODE_TYPE=analytics-alarm SERVICE_NAME=alarm-gen CONTAINER_NAME=$CONTAINER_NAME ---> Running in 248d7e158b0a ---> Removed intermediate container 248d7e158b0a ---> cb6f821706f1 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 b51e71f86a48 ---> Removed intermediate container b51e71f86a48 ---> 736aac4cc4e2 Step 8/11 : COPY entrypoint.sh / ---> 57e784b04624 Step 9/11 : RUN set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "opserver==0.1.dev0" ---> Running in 1e4382f9841c 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) Requirement already satisfied: sandesh-common==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from opserver==0.1.dev0) (0.1.dev0) Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from opserver==0.1.dev0) (2.27.1) 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) Requirement already satisfied: contrail-config-common==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from opserver==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 (10 kB) Requirement already satisfied: sandesh==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from opserver==0.1.dev0) (0.1.dev0) Requirement already satisfied: contrail-api-client==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from opserver==0.1.dev0) (0.1.dev0) 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 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) Requirement already satisfied: gevent in /usr/local/lib64/python3.6/site-packages (from opserver==0.1.dev0) (22.10.2) 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 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) Requirement already satisfied: bottle<0.13 in /usr/local/lib/python3.6/site-packages (from opserver==0.1.dev0) (0.12.25) 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) Requirement already satisfied: bitarray in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->opserver==0.1.dev0) (3.0.0) Requirement already satisfied: kombu in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->opserver==0.1.dev0) (5.1.0) Requirement already satisfied: simplejson in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->opserver==0.1.dev0) (3.19.3) Requirement already satisfied: greenlet in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->opserver==0.1.dev0) (2.0.2) Requirement already satisfied: cassandra-driver in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->opserver==0.1.dev0) (3.29.2) Requirement already satisfied: timeout-decorator in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->opserver==0.1.dev0) (0.5.0) Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages (from kazoo==2.7.0->opserver==0.1.dev0) (1.17.0) Requirement already satisfied: netaddr<1 in /usr/local/lib/python3.6/site-packages (from sandesh==0.1.dev0->opserver==0.1.dev0) (0.10.1) Requirement already satisfied: fysom in /usr/local/lib/python3.6/site-packages (from sandesh==0.1.dev0->opserver==0.1.dev0) (2.1.6) 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) Requirement already satisfied: typing-extensions in /usr/local/lib/python3.6/site-packages (from redis>4.3->opserver==0.1.dev0) (4.1.1) 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) Requirement already satisfied: importlib-metadata>=1.0 in /usr/local/lib/python3.6/site-packages (from redis>4.3->opserver==0.1.dev0) (4.8.3) Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in /usr/local/lib/python3.6/site-packages (from stevedore<=3.3.0->opserver==0.1.dev0) (6.1.0) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->opserver==0.1.dev0) (59.6.0) Requirement already satisfied: zope.interface in /usr/local/lib64/python3.6/site-packages (from gevent->opserver==0.1.dev0) (5.5.2) Requirement already satisfied: zope.event in /usr/local/lib/python3.6/site-packages (from gevent->opserver==0.1.dev0) (4.6) 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: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->opserver==0.1.dev0) (2024.12.14) 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) 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: zipp>=0.5 in /usr/local/lib/python3.6/site-packages (from importlib-metadata>=1.0->redis>4.3->opserver==0.1.dev0) (3.6.0) Requirement already satisfied: importlib-resources in /usr/local/lib/python3.6/site-packages (from netaddr<1->sandesh==0.1.dev0->opserver==0.1.dev0) (5.4.0) 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) Requirement already satisfied: geomet<0.3,>=0.1 in /usr/local/lib/python3.6/site-packages (from cassandra-driver->contrail-config-common==0.1.dev0->opserver==0.1.dev0) (0.2.1.post1) Requirement already satisfied: cached-property in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->opserver==0.1.dev0) (1.5.2) Requirement already satisfied: vine in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->opserver==0.1.dev0) (5.1.0) Requirement already satisfied: amqp<6.0.0,>=5.0.6 in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->opserver==0.1.dev0) (5.3.1) Requirement already satisfied: click in /usr/local/lib/python3.6/site-packages (from geomet<0.3,>=0.1->cassandra-driver->contrail-config-common==0.1.dev0->opserver==0.1.dev0) (8.0.4) Using legacy 'setup.py install' for sseclient, since package 'wheel' is not installed. Installing collected packages: pyparsing, stevedore, packaging, kazoo, async-timeout, xmltodict, sseclient, redis, lxml, libpartition, kafka-python, opserver Attempting uninstall: stevedore Found existing installation: stevedore 3.5.2 Uninstalling stevedore-3.5.2: Successfully uninstalled stevedore-3.5.2 Attempting uninstall: kazoo Found existing installation: kazoo 2.10.0 Uninstalling kazoo-2.10.0: Successfully uninstalled kazoo-2.10.0 Running setup.py install for sseclient: started Running setup.py install for sseclient: finished with status 'done' Successfully installed async-timeout-4.0.2 kafka-python-1.4.0 kazoo-2.7.0 libpartition-0.1.dev0 lxml-5.3.0 opserver-0.1.dev0 packaging-21.3 pyparsing-3.1.4 redis-4.3.6 sseclient-0.0.27 stevedore-3.3.0 xmltodict-0.14.2 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 1e4382f9841c ---> 256d29eb107e Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 1acf6130e703 ---> Removed intermediate container 1acf6130e703 ---> edff620d623d Step 11/11 : CMD ["/usr/local/bin/contrail-alarm-gen", "-c", "/etc/contrail/contrail-alarm-gen.conf"] ---> Running in 3aca270210e8 ---> Removed intermediate container 3aca270210e8 ---> 5fb780d1d881 [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 5fb780d1d881 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-alarm-gen:master-1_2_8_9-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-alarm-gen:master-1_2_8_9-1 2025-01-07 10:29:40,283: INFO: Docker build duration: 49 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-alarm-gen] 8ab6ac181f3f: Preparing b13298e54e9a: Preparing da5f6ea0b202: Preparing 7a9355470e9b: Preparing 7c0b8d07e0a2: Preparing 0368d839e777: Preparing b5fa18c5d632: Preparing 7d1cf7b75e42: Preparing 1716601aa3b0: Preparing 7c0b8d07e0a2: Waiting 0368d839e777: Waiting b5fa18c5d632: Waiting 8ab6ac181f3f: Waiting b13298e54e9a: Waiting da5f6ea0b202: Waiting 7a9355470e9b: Waiting 7d1cf7b75e42: Waiting 1716601aa3b0: Waiting e8435937976f: Preparing 174f56854903: Preparing e8435937976f: Waiting 174f56854903: Waiting da5f6ea0b202: Layer already exists 7a9355470e9b: Layer already exists 7c0b8d07e0a2: Layer already exists 0368d839e777: Layer already exists b5fa18c5d632: Layer already exists 7d1cf7b75e42: Layer already exists 1716601aa3b0: Layer already exists 174f56854903: Layer already exists b13298e54e9a: Pushed e8435937976f: Layer already exists 8ab6ac181f3f: Pushed master-1_2_8_9-1: digest: sha256:437b4c26b273cf8e3ef8d3f4c3d6d510c16bbbbce6d4396d858f438d806aa5cf size: 2619 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-alarm-gen] 8ab6ac181f3f: Preparing b13298e54e9a: Preparing da5f6ea0b202: Preparing 7a9355470e9b: Preparing 7c0b8d07e0a2: Preparing 0368d839e777: Preparing b5fa18c5d632: Preparing 7d1cf7b75e42: Preparing 1716601aa3b0: Preparing e8435937976f: Preparing 174f56854903: Preparing 7c0b8d07e0a2: Waiting 0368d839e777: Waiting b5fa18c5d632: Waiting 7d1cf7b75e42: Waiting 1716601aa3b0: Waiting e8435937976f: Waiting 174f56854903: Waiting da5f6ea0b202: Layer already exists 7a9355470e9b: Layer already exists b13298e54e9a: Layer already exists 8ab6ac181f3f: Layer already exists 7c0b8d07e0a2: Layer already exists 0368d839e777: Layer already exists 1716601aa3b0: Layer already exists 7d1cf7b75e42: Layer already exists b5fa18c5d632: Layer already exists e8435937976f: Layer already exists 174f56854903: Layer already exists master-1_2_8_9-1: digest: sha256:437b4c26b273cf8e3ef8d3f4c3d6d510c16bbbbce6d4396d858f438d806aa5cf size: 2619 2025-01-07 10:30:00,008: INFO: Building contrail-analytics-alarm-gen finished successfully, duration: 69 seconds