2025-01-08 19:56:51,142: INFO: Building contrail-external-redis 2025-01-08 19:56:51,228: INFO: Building args: --network host --build-arg PIP_REPOSITORY=http://localhost:6667/pip/simple --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_2_9_1-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} ---> 357b2fbbc6a2 Step 4/15 : ARG SITE_MIRROR ---> Running in 5ca3dbe7b397 ---> Removed intermediate container 5ca3dbe7b397 ---> 03c11e359ae4 Step 5/15 : ARG CONTAINER_NAME ---> Running in 0c7740e430ee ---> Removed intermediate container 0c7740e430ee ---> 5aaba8181699 Step 6/15 : ENV SERVICE_NAME=redis CONTAINER_NAME=$CONTAINER_NAME ---> Running in f493902ef1de ---> Removed intermediate container f493902ef1de ---> e5d75682b36a 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 a7f37fa45ad3 ---> Removed intermediate container a7f37fa45ad3 ---> c9ae4dd79732 Step 8/15 : COPY *.sh / ---> fd91439432e9 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 68c41af010e9 ++ 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-08 19:56:55 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 68c41af010e9 ---> d0c54d9d5b9d Step 10/15 : RUN mkdir /data && chown redis:redis /data ---> Running in a978e4e46899 ---> Removed intermediate container a978e4e46899 ---> ef51ed80f63a Step 11/15 : VOLUME /data ---> Running in 31cb1546f0f4 ---> Removed intermediate container 31cb1546f0f4 ---> 3762ddc234d6 Step 12/15 : WORKDIR /data ---> Running in fba77a5a4b23 ---> Removed intermediate container fba77a5a4b23 ---> 536abaf322dc Step 13/15 : ENTRYPOINT ["/contrail-entrypoint.sh"] ---> Running in fac92a501d49 ---> Removed intermediate container fac92a501d49 ---> 6b9e82537d62 Step 14/15 : EXPOSE 6379 ---> Running in 72152dcef0f1 ---> Removed intermediate container 72152dcef0f1 ---> 1e2449032910 Step 15/15 : CMD ["redis-server"] ---> Running in 4a4059d9e014 ---> Removed intermediate container 4a4059d9e014 ---> f3e2d25c79ee [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 f3e2d25c79ee Successfully tagged nexus.gz1.opensdn.io:5101/contrail-external-redis:master-1_2_9_1-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-external-redis:master-1_2_9_1-1 2025-01-08 19:58:16,167: INFO: Docker build duration: 85 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-external-redis] aa6720e5a007: Preparing 67f43d81449f: Preparing 3dcea08b67c4: Preparing 18866f0f51b7: Preparing d80d762a28d8: Preparing 0c1e1e4287ee: Preparing 3b843f92b676: Preparing 92d82b0c59c7: Preparing 57d59bbd9b1a: Preparing 174f56854903: Preparing aa6720e5a007: Waiting 67f43d81449f: Waiting 3dcea08b67c4: Waiting 18866f0f51b7: Waiting d80d762a28d8: Waiting 0c1e1e4287ee: Waiting 3b843f92b676: Waiting 92d82b0c59c7: Waiting 57d59bbd9b1a: Waiting 174f56854903: Waiting aa6720e5a007: Pushed 18866f0f51b7: Layer already exists 3dcea08b67c4: Pushed d80d762a28d8: Layer already exists 0c1e1e4287ee: Layer already exists 67f43d81449f: Pushed 3b843f92b676: Layer already exists 92d82b0c59c7: Layer already exists 57d59bbd9b1a: Layer already exists 174f56854903: Layer already exists master-1_2_9_1-1: digest: sha256:8e43d234bf8a2851755f8e24e942d9adbff54e4062b5c3c24c0c1fcc9f4f50cc size: 2405 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-external-redis] aa6720e5a007: Preparing 67f43d81449f: Preparing 3dcea08b67c4: Preparing 18866f0f51b7: Preparing d80d762a28d8: Preparing 0c1e1e4287ee: Preparing 3b843f92b676: Preparing 92d82b0c59c7: Preparing 57d59bbd9b1a: Preparing 174f56854903: Preparing 0c1e1e4287ee: Waiting 3b843f92b676: Waiting 92d82b0c59c7: Waiting 57d59bbd9b1a: Waiting 174f56854903: Waiting 3dcea08b67c4: Layer already exists aa6720e5a007: Layer already exists 18866f0f51b7: Layer already exists d80d762a28d8: Layer already exists 67f43d81449f: Layer already exists 0c1e1e4287ee: Layer already exists 3b843f92b676: Layer already exists 92d82b0c59c7: Layer already exists 174f56854903: Layer already exists 57d59bbd9b1a: Layer already exists master-1_2_9_1-1: digest: sha256:8e43d234bf8a2851755f8e24e942d9adbff54e4062b5c3c24c0c1fcc9f4f50cc size: 2405 2025-01-08 19:58:28,922: INFO: Building contrail-external-redis finished successfully, duration: 97 seconds