2025-01-03 21:54:44,473: INFO: Building contrail-analytics-api 2025-01-03 21:54:44,579: 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_2 --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-api --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-base:${CONTRAIL_CONTAINER_TAG} ---> 31a0e7e0a7ab Step 4/11 : ARG PIP_REPOSITORY ---> Running in a35a7cf10f0c ---> Removed intermediate container a35a7cf10f0c ---> e8f1a2bc3e0c Step 5/11 : ARG CONTAINER_NAME ---> Running in 32eba2b4a8e2 ---> Removed intermediate container 32eba2b4a8e2 ---> d3a79154c6e9 Step 6/11 : ENV SERVICE_NAME=api CONTAINER_NAME=$CONTAINER_NAME ---> Running in 0fe29c628924 ---> Removed intermediate container 0fe29c628924 ---> d65c4f3c8f6e Step 7/11 : LABEL name=$CONTAINER_NAME summary="Contrail Analytics API" description="Contrail Analytics API provides REST API to access collected analytics data." $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in f70989b3fbf6 ---> Removed intermediate container f70989b3fbf6 ---> a473c74e8d99 Step 8/11 : COPY entrypoint.sh / ---> b74fa6a5d819 Step 9/11 : RUN set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "opserver==0.1.dev0" ---> Running in 82a233eade45 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 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 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: 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) 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: gevent in /usr/local/lib64/python3.6/site-packages (from opserver==0.1.dev0) (22.10.2) Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from opserver==0.1.dev0) (2.27.1) 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 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 libpartition==0.1.dev0 Downloading http://localhost:6667/pip/simple/libpartition/libpartition-0.1.dev0-py3-none-any.whl (1.1 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 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) 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) 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 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 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 kombu Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/e2d/edd8a86c9077c/kombu-5.1.0-py3-none-any.whl (187 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 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) 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) 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) 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 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 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 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 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) Requirement already satisfied: zope.event in /usr/local/lib/python3.6/site-packages (from gevent->opserver==0.1.dev0) (4.6) 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: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->opserver==0.1.dev0) (59.6.0) 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: idna<4,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->opserver==0.1.dev0) (3.10) 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: 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) 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 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 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) 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 click Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6a7/a62563bbfabfd/click-8.0.4-py3-none-any.whl (97 kB) Using legacy 'setup.py install' for sseclient, 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 timeout-decorator, since package 'wheel' is not installed. Installing collected packages: typing-extensions, importlib-metadata, vine, six, click, pyparsing, pbr, geomet, cached-property, amqp, timeout-decorator, stevedore, simplejson, packaging, kombu, kazoo, cassandra-driver, bitarray, async-timeout, xmltodict, sseclient, redis, lxml, libpartition, kafka-python, contrail-config-common, opserver 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 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 amqp-5.3.1 async-timeout-4.0.2 bitarray-3.0.0 cached-property-1.5.2 cassandra-driver-3.29.2 click-8.0.4 contrail-config-common-0.1.dev0 geomet-0.2.1.post1 importlib-metadata-4.8.3 kafka-python-1.4.0 kazoo-2.7.0 kombu-5.1.0 libpartition-0.1.dev0 lxml-5.3.0 opserver-0.1.dev0 packaging-21.3 pbr-6.1.0 pyparsing-3.1.4 redis-4.3.6 simplejson-3.19.3 six-1.17.0 sseclient-0.0.27 stevedore-3.3.0 timeout-decorator-0.5.0 typing-extensions-4.1.1 vine-5.1.0 xmltodict-0.14.2 ---> Removed intermediate container 82a233eade45 ---> 8ee88be44b60 Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 1f3539007b4d ---> Removed intermediate container 1f3539007b4d ---> 3648553ea49a Step 11/11 : CMD ["/usr/local/bin/contrail-analytics-api", "-c", "/etc/contrail/contrail-analytics-api.conf", "-c", "/etc/contrail/contrail-keystone-auth.conf"] ---> Running in 216dc72f844b ---> Removed intermediate container 216dc72f844b ---> eeb9eea29b17 [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 eeb9eea29b17 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-analytics-api:master-1_2_5_2-1_2 Successfully tagged nexus.gz1.opensdn.io:5101/tf-analytics-api:master-1_2_5_2-1_2 2025-01-03 22:08:46,040: INFO: Docker build duration: 842 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-analytics-api] a0fb1a72ead4: Preparing 2681a243f960: Preparing dc4b9bf1c142: Preparing 3eed83de0a4b: Preparing 0464ebcc08ba: Preparing 8fff3b87f6ef: Preparing 1434db69b709: Preparing 42e41c2d2be8: Preparing 84a4afca8f0f: Preparing a0fb1a72ead4: Waiting 2681a243f960: Waiting dc4b9bf1c142: Waiting 3eed83de0a4b: Waiting 0464ebcc08ba: Waiting 8fff3b87f6ef: Waiting 1434db69b709: Waiting 42e41c2d2be8: Waiting 84a4afca8f0f: Waiting 54343b6f6ddd: Preparing 174f56854903: Preparing 54343b6f6ddd: Waiting 174f56854903: Waiting 2681a243f960: Pushed dc4b9bf1c142: Layer already exists 3eed83de0a4b: Layer already exists 0464ebcc08ba: Layer already exists 8fff3b87f6ef: Layer already exists 1434db69b709: Layer already exists 42e41c2d2be8: Layer already exists 84a4afca8f0f: Layer already exists 54343b6f6ddd: Layer already exists 174f56854903: Layer already exists a0fb1a72ead4: Pushed master-1_2_5_2-1_2: digest: sha256:d2d240b1cef9fcc10b75b8603effcd39d7606a4a0c609f98188f4463fa1d7156 size: 2619 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-analytics-api] a0fb1a72ead4: Preparing 2681a243f960: Preparing dc4b9bf1c142: Preparing 3eed83de0a4b: Preparing 0464ebcc08ba: Preparing 8fff3b87f6ef: Preparing 1434db69b709: Preparing 42e41c2d2be8: Preparing 84a4afca8f0f: Preparing 54343b6f6ddd: Preparing 174f56854903: Preparing a0fb1a72ead4: Waiting 2681a243f960: Waiting dc4b9bf1c142: Waiting 3eed83de0a4b: Waiting 0464ebcc08ba: Waiting 8fff3b87f6ef: Waiting 1434db69b709: Waiting 42e41c2d2be8: Waiting 84a4afca8f0f: Waiting 54343b6f6ddd: Waiting 174f56854903: Waiting a0fb1a72ead4: Layer already exists 2681a243f960: Layer already exists dc4b9bf1c142: Layer already exists 3eed83de0a4b: Layer already exists 8fff3b87f6ef: Layer already exists 0464ebcc08ba: Layer already exists 1434db69b709: Layer already exists 84a4afca8f0f: Layer already exists 42e41c2d2be8: Layer already exists 54343b6f6ddd: Layer already exists 174f56854903: Layer already exists master-1_2_5_2-1_2: digest: sha256:d2d240b1cef9fcc10b75b8603effcd39d7606a4a0c609f98188f4463fa1d7156 size: 2619 2025-01-03 22:09:21,713: INFO: Building contrail-analytics-api finished successfully, duration: 877 seconds