2024-12-23 16:49:29,807: INFO: Building contrail-external-redis 2024-12-23 16:49:29,891: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_2_4_6-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-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 39.94 kB Step 1/15 : ARG CONTRAIL_REGISTRY Step 2/15 : ARG CONTRAIL_CONTAINER_TAG Step 3/15 : FROM ${CONTRAIL_REGISTRY}/contrail-general-base:${CONTRAIL_CONTAINER_TAG} ---> 6015a5e1d9d2 Step 4/15 : ARG SITE_MIRROR ---> Running in e7deb733bcbd ---> Removed intermediate container e7deb733bcbd ---> 7fb53422d505 Step 5/15 : ARG CONTAINER_NAME ---> Running in 26c52c3dbbb9 ---> Removed intermediate container 26c52c3dbbb9 ---> 5fc9151cf252 Step 6/15 : ENV SERVICE_NAME=redis CONTAINER_NAME=$CONTAINER_NAME ---> Running in eb9206d51d22 ---> Removed intermediate container eb9206d51d22 ---> d64f2651ee33 Step 7/15 : 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 4e1887bfc997 ---> Removed intermediate container 4e1887bfc997 ---> 77c04ff9ae11 Step 8/15 : COPY *.sh / ---> d58786ee9e7c Step 9/15 : 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 ecc554c8f23a ++ 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-12-23 16:49:33 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 ecc554c8f23a ---> 80613dd2e95b Step 10/15 : RUN mkdir /data && chown redis:redis /data ---> Running in 30998884f743 ---> Removed intermediate container 30998884f743 ---> c75a7215257a Step 11/15 : VOLUME /data ---> Running in b4d928844d01 ---> Removed intermediate container b4d928844d01 ---> 5926ce19a7b9 Step 12/15 : WORKDIR /data ---> Running in 7ee95234262e ---> Removed intermediate container 7ee95234262e ---> 662474e913cc Step 13/15 : ENTRYPOINT ["/contrail-entrypoint.sh"] ---> Running in 2305404ce332 ---> Removed intermediate container 2305404ce332 ---> 077a2e508487 Step 14/15 : EXPOSE 6379 ---> Running in d32251e8442f ---> Removed intermediate container d32251e8442f ---> 9c95f7791150 Step 15/15 : CMD ["redis-server"] ---> Running in 7d4cf4a7c5f5 ---> Removed intermediate container 7d4cf4a7c5f5 ---> 7a650e470252 [Warning] One or more build-args [BASE_EXTRA_RPMS 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 7a650e470252 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-external-redis:master-1_2_4_6-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-external-redis:master-1_2_4_6-1 2024-12-23 16:51:14,116: INFO: Docker build duration: 105 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-external-redis] 897331d0b2be: Preparing fc286381c2bd: Preparing eb3f5c8c1c00: Preparing 5d3dc43260dc: Preparing 0965eca8d835: Preparing 829f23e818ec: Preparing 7da1cb57e38f: Preparing 1dbbdb2d05c5: Preparing 610060a1c9a0: Preparing 174f56854903: Preparing 7da1cb57e38f: Waiting 1dbbdb2d05c5: Waiting 610060a1c9a0: Waiting 174f56854903: Waiting 0965eca8d835: Waiting 829f23e818ec: Waiting eb3f5c8c1c00: Pushed 897331d0b2be: Pushed 5d3dc43260dc: Layer already exists 0965eca8d835: Layer already exists fc286381c2bd: Pushed 829f23e818ec: Layer already exists 1dbbdb2d05c5: Layer already exists 7da1cb57e38f: Layer already exists 610060a1c9a0: Layer already exists 174f56854903: Layer already exists master-1_2_4_6-1: digest: sha256:be0c78f44855d33b0e4af216dea7f8a2700ee9c7452513b9827d365ace0c5152 size: 2405 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-external-redis] 897331d0b2be: Preparing fc286381c2bd: Preparing eb3f5c8c1c00: Preparing 5d3dc43260dc: Preparing 0965eca8d835: Preparing 829f23e818ec: Preparing 7da1cb57e38f: Preparing 1dbbdb2d05c5: Preparing 610060a1c9a0: Preparing 174f56854903: Preparing 829f23e818ec: Waiting 610060a1c9a0: Waiting 7da1cb57e38f: Waiting 1dbbdb2d05c5: Waiting 174f56854903: Waiting 897331d0b2be: Layer already exists 5d3dc43260dc: Layer already exists eb3f5c8c1c00: Layer already exists fc286381c2bd: Layer already exists 0965eca8d835: Layer already exists 829f23e818ec: Layer already exists 7da1cb57e38f: Layer already exists 1dbbdb2d05c5: Layer already exists 610060a1c9a0: Layer already exists 174f56854903: Layer already exists master-1_2_4_6-1: digest: sha256:be0c78f44855d33b0e4af216dea7f8a2700ee9c7452513b9827d365ace0c5152 size: 2405 2024-12-23 16:51:20,480: INFO: Building contrail-external-redis finished successfully, duration: 111 seconds