2024-11-10 20:59:52,423: INFO: Building contrail-external-redis 2024-11-10 20:59:52,504: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-8_2_6-7 --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-8_2_6-7 ---> 9ed21d7665bd Step 2/13 : ARG SITE_MIRROR ---> Running in b7e89b295714 ---> Removed intermediate container b7e89b295714 ---> 0088aac0b7be Step 3/13 : ARG CONTAINER_NAME ---> Running in d190420b2f06 ---> Removed intermediate container d190420b2f06 ---> e70b01158f15 Step 4/13 : ENV SERVICE_NAME=redis CONTAINER_NAME=$CONTAINER_NAME ---> Running in 0aa78ab08f58 ---> Removed intermediate container 0aa78ab08f58 ---> 4960301e2a21 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 a7a80247d9fc ---> Removed intermediate container a7a80247d9fc ---> f0b879b5824a Step 6/13 : COPY *.sh / ---> 753fa1df006b 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 6cba82219591 ++ 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-10 20:59:58 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 6cba82219591 ---> a3b567498a9a Step 8/13 : RUN mkdir /data && chown redis:redis /data ---> Running in 078b5aed4350 ---> Removed intermediate container 078b5aed4350 ---> 926da6722e3e Step 9/13 : VOLUME /data ---> Running in 927f27677a63 ---> Removed intermediate container 927f27677a63 ---> 0b5df4dfcc0d Step 10/13 : WORKDIR /data ---> Running in 2d51f4af8bde ---> Removed intermediate container 2d51f4af8bde ---> 8528cf5cfc6c Step 11/13 : ENTRYPOINT ["/contrail-entrypoint.sh"] ---> Running in f630924af415 ---> Removed intermediate container f630924af415 ---> 67b342772999 Step 12/13 : EXPOSE 6379 ---> Running in bedef8ebed1b ---> Removed intermediate container bedef8ebed1b ---> 04912255c9d2 Step 13/13 : CMD ["redis-server"] ---> Running in 532ff8eec40c ---> Removed intermediate container 532ff8eec40c ---> fc4aa2f29708 [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 fc4aa2f29708 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-external-redis:master-8_2_6-7 Successfully tagged nexus.gz1.opensdn.io:5101/tf-external-redis:master-8_2_6-7 2024-11-10 21:02:11,355: INFO: Docker build duration: 139 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-external-redis] 14a4dfcca072: Preparing 800f97a96b4b: Preparing 5c8b03097d10: Preparing 6e23a7745b7c: Preparing ab819006441d: Preparing a8b5c7d5d491: Preparing 9f17b5e88595: Preparing 289e73feea6d: Preparing fb7c8a9203c9: Preparing 174f56854903: Preparing 800f97a96b4b: Waiting 5c8b03097d10: Waiting 6e23a7745b7c: Waiting ab819006441d: Waiting a8b5c7d5d491: Waiting 9f17b5e88595: Waiting 289e73feea6d: Waiting fb7c8a9203c9: Waiting 174f56854903: Waiting 14a4dfcca072: Pushed 5c8b03097d10: Pushed 6e23a7745b7c: Layer already exists 800f97a96b4b: Pushed ab819006441d: Layer already exists a8b5c7d5d491: Layer already exists 9f17b5e88595: Layer already exists 289e73feea6d: Layer already exists fb7c8a9203c9: Layer already exists 174f56854903: Layer already exists master-8_2_6-7: digest: sha256:9adbcb2fe325175e1b079ddabb386d95c15e59f51aa1569705c28c1e4b5c7f21 size: 2405 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-external-redis] 14a4dfcca072: Preparing 800f97a96b4b: Preparing 5c8b03097d10: Preparing 6e23a7745b7c: Preparing ab819006441d: Preparing a8b5c7d5d491: Preparing 9f17b5e88595: Preparing 289e73feea6d: Preparing fb7c8a9203c9: Preparing 174f56854903: Preparing a8b5c7d5d491: Waiting 9f17b5e88595: Waiting 289e73feea6d: Waiting fb7c8a9203c9: Waiting 174f56854903: Waiting 800f97a96b4b: Layer already exists 5c8b03097d10: Layer already exists ab819006441d: Layer already exists 6e23a7745b7c: Layer already exists 14a4dfcca072: Layer already exists a8b5c7d5d491: Layer already exists 9f17b5e88595: Layer already exists 289e73feea6d: Layer already exists fb7c8a9203c9: Layer already exists 174f56854903: Layer already exists master-8_2_6-7: digest: sha256:9adbcb2fe325175e1b079ddabb386d95c15e59f51aa1569705c28c1e4b5c7f21 size: 2405 2024-11-10 21:02:17,500: INFO: Building contrail-external-redis finished successfully, duration: 145 seconds