2025-01-16 01:32:06,738: INFO: Building contrail-external-redis 2025-01-16 01:32:06,846: INFO: Building args: --network host --build-arg PIP_REPOSITORY=http://localhost:6667/pip/simple --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5102 --build-arg CONTRAIL_CONTAINER_TAG=nightly --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} ---> f392fff0eac7 Step 4/15 : ARG SITE_MIRROR ---> Running in 96cacaa15b29 ---> Removed intermediate container 96cacaa15b29 ---> 03604a3803b6 Step 5/15 : ARG CONTAINER_NAME ---> Running in fccae502c15d ---> Removed intermediate container fccae502c15d ---> da59f7dbd0b6 Step 6/15 : ENV SERVICE_NAME=redis CONTAINER_NAME=$CONTAINER_NAME ---> Running in 5b2b2cdd7076 ---> Removed intermediate container 5b2b2cdd7076 ---> 180aedb7e13e 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 3e7b00d1f410 ---> Removed intermediate container 3e7b00d1f410 ---> 23e6da1289bf Step 8/15 : COPY *.sh / ---> c0f2a37c75a1 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 afd0bd172c7b ++ 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' 2025-01-16 01:32:10 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 afd0bd172c7b ---> d97abc646567 Step 10/15 : RUN mkdir /data && chown redis:redis /data ---> Running in c836553113eb ---> Removed intermediate container c836553113eb ---> 03591573f2fa Step 11/15 : VOLUME /data ---> Running in 2550c383a00a ---> Removed intermediate container 2550c383a00a ---> 94db2805b327 Step 12/15 : WORKDIR /data ---> Running in 68066c4f0bd0 ---> Removed intermediate container 68066c4f0bd0 ---> cd77e38f1996 Step 13/15 : ENTRYPOINT ["/contrail-entrypoint.sh"] ---> Running in 7f062109ee04 ---> Removed intermediate container 7f062109ee04 ---> 64cf4fd2e707 Step 14/15 : EXPOSE 6379 ---> Running in 13bdb389c0c1 ---> Removed intermediate container 13bdb389c0c1 ---> b4f7ece6fba3 Step 15/15 : CMD ["redis-server"] ---> Running in 7a23e6c8c1e3 ---> Removed intermediate container 7a23e6c8c1e3 ---> c721c09e167c [Warning] One or more build-args [BASE_EXTRA_RPMS GENERAL_EXTRA_RPMS LINUX_DISTR LINUX_DISTR_VER PIP_REPOSITORY UBUNTU_DISTR UBUNTU_DISTR_VERSION VENDOR_DOMAIN VENDOR_NAME YUM_ENABLE_REPOS] were not consumed Successfully built c721c09e167c Successfully tagged nexus.gz1.opensdn.io:5102/contrail-external-redis:nightly Successfully tagged nexus.gz1.opensdn.io:5102/tf-external-redis:nightly 2025-01-16 01:33:28,743: INFO: Docker build duration: 82 seconds The push refers to repository [nexus.gz1.opensdn.io:5102/contrail-external-redis] d95ef9d1c21e: Preparing c12a443d3c8f: Preparing fe8b57d4f9af: Preparing 5cabee5efbc3: Preparing 2b153cd624d6: Preparing e35460554aa8: Preparing 310409d8692c: Preparing 5b5b285ee0d2: Preparing 3843db38484e: Preparing 174f56854903: Preparing e35460554aa8: Waiting 310409d8692c: Waiting 5b5b285ee0d2: Waiting 3843db38484e: Waiting 174f56854903: Waiting 2b153cd624d6: Layer already exists fe8b57d4f9af: Pushed d95ef9d1c21e: Pushed 5cabee5efbc3: Layer already exists e35460554aa8: Layer already exists 310409d8692c: Layer already exists 5b5b285ee0d2: Layer already exists 3843db38484e: Layer already exists c12a443d3c8f: Pushed 174f56854903: Layer already exists nightly: digest: sha256:b56f5d50f8456595a9a5e29ccd9313e5020bc0c133cc69d3ee2cc387be6b2866 size: 2405 The push refers to repository [nexus.gz1.opensdn.io:5102/tf-external-redis] d95ef9d1c21e: Preparing c12a443d3c8f: Preparing fe8b57d4f9af: Preparing 5cabee5efbc3: Preparing 2b153cd624d6: Preparing e35460554aa8: Preparing 310409d8692c: Preparing 5b5b285ee0d2: Preparing 3843db38484e: Preparing 174f56854903: Preparing e35460554aa8: Waiting 5b5b285ee0d2: Waiting 174f56854903: Waiting 310409d8692c: Waiting 3843db38484e: Waiting c12a443d3c8f: Layer already exists 2b153cd624d6: Layer already exists fe8b57d4f9af: Layer already exists d95ef9d1c21e: Layer already exists 5cabee5efbc3: Layer already exists e35460554aa8: Layer already exists 310409d8692c: Layer already exists 5b5b285ee0d2: Layer already exists 3843db38484e: Layer already exists 174f56854903: Layer already exists nightly: digest: sha256:b56f5d50f8456595a9a5e29ccd9313e5020bc0c133cc69d3ee2cc387be6b2866 size: 2405 2025-01-16 01:33:34,704: INFO: Building contrail-external-redis finished successfully, duration: 88 seconds