2024-11-10 15:04:31,046: INFO: Building contrail-external-redis 2024-11-10 15:04:31,150: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_1_8_2-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 41.98 kB Step 1/13 : FROM nexus.gz1.opensdn.io:5101/contrail-general-base:master-1_1_8_2-1 ---> 60763fec7d61 Step 2/13 : ARG SITE_MIRROR ---> Running in c8d3e59a352c ---> Removed intermediate container c8d3e59a352c ---> 45a8d90f0c5d Step 3/13 : ARG CONTAINER_NAME ---> Running in 7a1821ca20ea ---> Removed intermediate container 7a1821ca20ea ---> 20926db9b3ad Step 4/13 : ENV SERVICE_NAME=redis CONTAINER_NAME=$CONTAINER_NAME ---> Running in 3f0026a5db7e ---> Removed intermediate container 3f0026a5db7e ---> a0448ad17470 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 0d974785e534 ---> Removed intermediate container 0d974785e534 ---> fe54a0f91f8a Step 6/13 : COPY *.sh / ---> e49aa4b2fa9b 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 8ad2d860bafa ++ 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 15:04:35 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 8ad2d860bafa ---> 80a4d9883b95 Step 8/13 : RUN mkdir /data && chown redis:redis /data ---> Running in 90900b3a8399 ---> Removed intermediate container 90900b3a8399 ---> e669fc88d3ad Step 9/13 : VOLUME /data ---> Running in e5fb23970fe3 ---> Removed intermediate container e5fb23970fe3 ---> e61a763b12aa Step 10/13 : WORKDIR /data ---> Running in a5170a47683a ---> Removed intermediate container a5170a47683a ---> e459e291bc63 Step 11/13 : ENTRYPOINT ["/contrail-entrypoint.sh"] ---> Running in 9dbe3aee8152 ---> Removed intermediate container 9dbe3aee8152 ---> 0e08410da1cd Step 12/13 : EXPOSE 6379 ---> Running in ac1f1bfa8a63 ---> Removed intermediate container ac1f1bfa8a63 ---> a01390c657f1 Step 13/13 : CMD ["redis-server"] ---> Running in 6c9d1f7afb39 ---> Removed intermediate container 6c9d1f7afb39 ---> 115c875b0074 [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 115c875b0074 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-external-redis:master-1_1_8_2-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-external-redis:master-1_1_8_2-1 2024-11-10 15:06:44,048: INFO: Docker build duration: 133 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-external-redis] 07888f3b670d: Preparing 41e7093a5b64: Preparing ab2075202781: Preparing db07b71c3036: Preparing c164a1485c13: Preparing 12d5b64690d7: Preparing aa2db8d69c7a: Preparing 9e4843da5805: Preparing b7c7dd8794f3: Preparing 174f56854903: Preparing 9e4843da5805: Waiting b7c7dd8794f3: Waiting 174f56854903: Waiting 12d5b64690d7: Waiting aa2db8d69c7a: Waiting 07888f3b670d: Pushed ab2075202781: Pushed c164a1485c13: Layer already exists db07b71c3036: Layer already exists 12d5b64690d7: Layer already exists aa2db8d69c7a: Layer already exists 9e4843da5805: Layer already exists 41e7093a5b64: Pushed 174f56854903: Layer already exists b7c7dd8794f3: Layer already exists master-1_1_8_2-1: digest: sha256:8b11fc0526a011d676d01744e666724632a80faba25b96d94fe42000d75f194b size: 2405 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-external-redis] 07888f3b670d: Preparing 41e7093a5b64: Preparing ab2075202781: Preparing db07b71c3036: Preparing c164a1485c13: Preparing 12d5b64690d7: Preparing aa2db8d69c7a: Preparing 9e4843da5805: Preparing b7c7dd8794f3: Preparing 174f56854903: Preparing c164a1485c13: Waiting 12d5b64690d7: Waiting aa2db8d69c7a: Waiting 9e4843da5805: Waiting b7c7dd8794f3: Waiting 174f56854903: Waiting db07b71c3036: Layer already exists 41e7093a5b64: Layer already exists 07888f3b670d: Layer already exists ab2075202781: Layer already exists c164a1485c13: Layer already exists 12d5b64690d7: Layer already exists aa2db8d69c7a: Layer already exists b7c7dd8794f3: Layer already exists 174f56854903: Layer already exists 9e4843da5805: Layer already exists master-1_1_8_2-1: digest: sha256:8b11fc0526a011d676d01744e666724632a80faba25b96d94fe42000d75f194b size: 2405 2024-11-10 15:06:51,336: INFO: Building contrail-external-redis finished successfully, duration: 140 seconds