2024-11-14 17:03:19,422: INFO: Building contrail-external-redis 2024-11-14 17:03:19,521: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_1_8_8-3 --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-external-redis --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 41.98 kB Step 1/13 : FROM nexus.gz1.opensdn.io:5101/contrail-general-base:master-1_1_8_8-3 ---> 014041272fba Step 2/13 : ARG SITE_MIRROR ---> Running in ee592f8937f2 ---> Removed intermediate container ee592f8937f2 ---> 412c81aa0685 Step 3/13 : ARG CONTAINER_NAME ---> Running in b5a301d255a0 ---> Removed intermediate container b5a301d255a0 ---> efadc4710194 Step 4/13 : ENV SERVICE_NAME=redis CONTAINER_NAME=$CONTAINER_NAME ---> Running in 3ef2961af76b ---> Removed intermediate container 3ef2961af76b ---> 2d0c45b2a3af Step 5/13 : LABEL name=$CONTAINER_NAME summary="Contrail Redis" description="Contrail Redis server supports query engine." $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in f886116f6d13 ---> Removed intermediate container f886116f6d13 ---> 1d9358e04df3 Step 6/13 : COPY *.sh / ---> 3d1d5fff2c7d Step 7/13 : RUN REDIS_RPM_NAME=redis-6.0.15-1.el7.remi.x86_64 && set -ex && for item in `ls /__*` ; do mv $item /${item:3} ; done && source /functions.sh && download_package https://github.com opensdn-io/tf-third-party-cache/blob/master/redis/${REDIS_RPM_NAME}.rpm?raw=true ${REDIS_RPM_NAME}.rpm && yum install ${REDIS_RPM_NAME}.rpm -y && usermod -a -G $CONTRAIL_GID redis && rm -rf ${REDIS_RPM_NAME}.rpm && yum clean all -y && rm -rf /var/cache/yum ---> Running in 8cc799de15a2 ++ ls /__common.sh /__contrail-functions.sh + for item in '`ls /__*`' + mv /__common.sh /common.sh + for item in '`ls /__*`' + mv /__contrail-functions.sh /contrail-functions.sh + source /functions.sh + download_package https://github.com 'opensdn-io/tf-third-party-cache/blob/master/redis/redis-6.0.15-1.el7.remi.x86_64.rpm?raw=true' redis-6.0.15-1.el7.remi.x86_64.rpm + local original_site=https://github.com + local 'site_path=opensdn-io/tf-third-party-cache/blob/master/redis/redis-6.0.15-1.el7.remi.x86_64.rpm?raw=true' + local output_name=redis-6.0.15-1.el7.remi.x86_64.rpm + local add_opts= + '[' -n http://nexus.gz1.opensdn.io/repository/external-web-cache ']' + wget -nv --tries=3 -c -O redis-6.0.15-1.el7.remi.x86_64.rpm 'http://nexus.gz1.opensdn.io/repository/external-web-cache/opensdn-io/tf-third-party-cache/blob/master/redis/redis-6.0.15-1.el7.remi.x86_64.rpm?raw=true' 2024-11-14 17:03:23 URL:http://nexus.gz1.opensdn.io/repository/external-web-cache/opensdn-io/tf-third-party-cache/blob/master/redis/redis-6.0.15-1.el7.remi.x86_64.rpm?raw=true [1139372/1139372] -> "redis-6.0.15-1.el7.remi.x86_64.rpm" [1] + '[' '!' -s redis-6.0.15-1.el7.remi.x86_64.rpm ']' + yum install redis-6.0.15-1.el7.remi.x86_64.rpm -y Loaded plugins: fastestmirror, ovl Examining redis-6.0.15-1.el7.remi.x86_64.rpm: redis-6.0.15-1.el7.remi.x86_64 Marking redis-6.0.15-1.el7.remi.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package redis.x86_64 0:6.0.15-1.el7.remi will be installed --> Processing Dependency: logrotate for package: redis-6.0.15-1.el7.remi.x86_64 Determining fastest mirrors --> Running transaction check ---> Package logrotate.x86_64 0:3.8.6-19.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: redis x86_64 6.0.15-1.el7.remi /redis-6.0.15-1.el7.remi.x86_64 4.0 M Installing for dependencies: logrotate x86_64 3.8.6-19.el7 tf-mirrors.ci_repos_yum7-base 70 k Transaction Summary ================================================================================ Install 1 Package (+1 Dependent package) Total size: 4.1 M Total download size: 70 k Installed size: 4.1 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : logrotate-3.8.6-19.el7.x86_64 1/2 Installing : redis-6.0.15-1.el7.remi.x86_64 2/2 Verifying : redis-6.0.15-1.el7.remi.x86_64 1/2 Verifying : logrotate-3.8.6-19.el7.x86_64 2/2 Installed: redis.x86_64 0:6.0.15-1.el7.remi Dependency Installed: logrotate.x86_64 0:3.8.6-19.el7 Complete! + usermod -a -G 1999 redis + rm -rf redis-6.0.15-1.el7.remi.x86_64.rpm + yum clean all -y Loaded plugins: fastestmirror, ovl Cleaning repos: contrail contrail-tpc : tf-mirrors.ci_repos_centos-openstack-queens : tf-mirrors.ci_repos_dockerrepo tf-mirrors.ci_repos_yum7-base : tf-mirrors.ci_repos_yum7-centos-sclo-rh : tf-mirrors.ci_repos_yum7-centosplus : tf-mirrors.ci_repos_yum7-extras tf-mirrors.ci_repos_yum7-updates Cleaning up list of fastest mirrors + rm -rf /var/cache/yum  ---> Removed intermediate container 8cc799de15a2 ---> 7320aa83b01c Step 8/13 : RUN mkdir /data && chown redis:redis /data ---> Running in de7fc4137ace ---> Removed intermediate container de7fc4137ace ---> f21bd419c2bf Step 9/13 : VOLUME /data ---> Running in 29e6621e7e6e ---> Removed intermediate container 29e6621e7e6e ---> c8d38c128b61 Step 10/13 : WORKDIR /data ---> Running in 65b8429f50f3 ---> Removed intermediate container 65b8429f50f3 ---> f9cef3b3ed4b Step 11/13 : ENTRYPOINT ["/contrail-entrypoint.sh"] ---> Running in b2659aae1b98 ---> Removed intermediate container b2659aae1b98 ---> f91a12642cda Step 12/13 : EXPOSE 6379 ---> Running in 613a94abfa4d ---> Removed intermediate container 613a94abfa4d ---> 968e343db11f Step 13/13 : CMD ["redis-server"] ---> Running in 2a3745ec1995 ---> Removed intermediate container 2a3745ec1995 ---> 9d93d29d431e [Warning] One or more build-args [BASE_EXTRA_RPMS CONTRAIL_CONTAINER_TAG CONTRAIL_REGISTRY GENERAL_EXTRA_RPMS LINUX_DISTR LINUX_DISTR_VER UBUNTU_DISTR UBUNTU_DISTR_VERSION VENDOR_DOMAIN VENDOR_NAME YUM_ENABLE_REPOS] were not consumed Successfully built 9d93d29d431e Successfully tagged nexus.gz1.opensdn.io:5101/contrail-external-redis:master-1_1_8_8-3 Successfully tagged nexus.gz1.opensdn.io:5101/tf-external-redis:master-1_1_8_8-3 2024-11-14 17:05:21,813: INFO: Docker build duration: 122 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-external-redis] 140509d1306a: Preparing 32aef4c4dea8: Preparing b7da146f7344: Preparing 91d514f7aaad: Preparing ebdcbc3bbe33: Preparing f7d22f7d496f: Preparing 6aaa0edfaba8: Preparing dcacdd362be1: Preparing 36e95a04476f: Preparing 174f56854903: Preparing f7d22f7d496f: Waiting 6aaa0edfaba8: Waiting dcacdd362be1: Waiting 36e95a04476f: Waiting 174f56854903: Waiting 91d514f7aaad: Layer already exists b7da146f7344: Pushed 140509d1306a: Pushed ebdcbc3bbe33: Layer already exists f7d22f7d496f: Layer already exists 6aaa0edfaba8: Layer already exists dcacdd362be1: Layer already exists 174f56854903: Layer already exists 36e95a04476f: Layer already exists 32aef4c4dea8: Pushed master-1_1_8_8-3: digest: sha256:a7a25415348c4e90b87bbce8c005ad060b72d532405d83d757f6f3c1e58d9e73 size: 2405 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-external-redis] 140509d1306a: Preparing 32aef4c4dea8: Preparing b7da146f7344: Preparing 91d514f7aaad: Preparing ebdcbc3bbe33: Preparing f7d22f7d496f: Preparing 6aaa0edfaba8: Preparing dcacdd362be1: Preparing 36e95a04476f: Preparing 174f56854903: Preparing 91d514f7aaad: Waiting ebdcbc3bbe33: Waiting f7d22f7d496f: Waiting 6aaa0edfaba8: Waiting dcacdd362be1: Waiting 36e95a04476f: Waiting 174f56854903: Waiting 140509d1306a: Waiting 32aef4c4dea8: Waiting b7da146f7344: Waiting 140509d1306a: Layer already exists 32aef4c4dea8: Layer already exists ebdcbc3bbe33: Layer already exists b7da146f7344: Layer already exists 91d514f7aaad: Layer already exists f7d22f7d496f: Layer already exists 6aaa0edfaba8: Layer already exists dcacdd362be1: Layer already exists 36e95a04476f: Layer already exists 174f56854903: Layer already exists master-1_1_8_8-3: digest: sha256:a7a25415348c4e90b87bbce8c005ad060b72d532405d83d757f6f3c1e58d9e73 size: 2405 2024-11-14 17:05:29,091: INFO: Building contrail-external-redis finished successfully, duration: 130 seconds