2025-06-26 10:56:09,664: INFO: Building opensdn-external-redis
2025-06-26 10:56:09,764: 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_2_2-3_0 --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=opensdn-external-redis --build-arg UBUNTU_DISTR_VERSION=24.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.42 kB

Step 1/15 : ARG CONTRAIL_REGISTRY
Step 2/15 : ARG CONTRAIL_CONTAINER_TAG
Step 3/15 : FROM ${CONTRAIL_REGISTRY}/opensdn-general-base:${CONTRAIL_CONTAINER_TAG}
---> b6c5d72baa97
Step 4/15 : ARG SITE_MIRROR
---> Running in abcb4acce170
---> Removed intermediate container abcb4acce170
---> 0ca0a3d9df23
Step 5/15 : ARG CONTAINER_NAME
---> Running in 3f584e767ee8
---> Removed intermediate container 3f584e767ee8
---> 33b98ff41b1c
Step 6/15 : ENV SERVICE_NAME=redis     CONTAINER_NAME=$CONTAINER_NAME
---> Running in def75cc977ac
---> Removed intermediate container def75cc977ac
---> cbcfaf339f0b
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 ba3a6012e03a
---> Removed intermediate container ba3a6012e03a
---> a0d2bfc6b645
Step 8/15 : COPY *.sh /
---> f5a4717f352e
Step 9/15 : RUN set -ex ;     source /etc/os-release &&     ver=$(echo $VERSION_ID | cut -d '.' -f 1) &&     if [[ ${ver} == 9 ]]; then         REDIS_RPM_NAME=redis-6.0.19-1.el9.remi.x86_64 ;     else         REDIS_RPM_NAME=redis-6.0.15-1.el7.remi.x86_64 ;     fi &&     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 d0a01612ef27
+ source /etc/os-release
++ NAME='CentOS Linux'
++ VERSION='7 (Core)'
++ ID=centos
++ ID_LIKE='rhel fedora'
++ VERSION_ID=7
++ PRETTY_NAME='CentOS Linux 7 (Core)'
++ ANSI_COLOR='0;31'
++ CPE_NAME=cpe:/o:centos:centos:7
++ HOME_URL=https://www.centos.org/
++ BUG_REPORT_URL=https://bugs.centos.org/
++ CENTOS_MANTISBT_PROJECT=CentOS-7
++ CENTOS_MANTISBT_PROJECT_VERSION=7
++ REDHAT_SUPPORT_PRODUCT=centos
++ REDHAT_SUPPORT_PRODUCT_VERSION=7
++ echo 7
++ cut -d . -f 1
+ ver=7
+ [[ 7 == 9 ]]
+ REDIS_RPM_NAME=redis-6.0.15-1.el7.remi.x86_64
++ 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-06-26 10:56:12 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 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
: tpc
Cleaning up list of fastest mirrors
+ rm -rf /var/cache/yum
 ---> Removed intermediate container d0a01612ef27
---> f6bfaede0a2a
Step 10/15 : RUN mkdir /data && chown redis:redis /data
---> Running in 8086b8601cda
---> Removed intermediate container 8086b8601cda
---> ee014beb3d78
Step 11/15 : VOLUME /data
---> Running in c412eabeade7
---> Removed intermediate container c412eabeade7
---> adbef54b6eb9
Step 12/15 : WORKDIR /data
---> Running in aade465b254e
---> Removed intermediate container aade465b254e
---> 7720d97a330d
Step 13/15 : ENTRYPOINT ["/contrail-entrypoint.sh"]
---> Running in 87ea78341b13
---> Removed intermediate container 87ea78341b13
---> e870fb9cf270
Step 14/15 : EXPOSE 6379
---> Running in 13cfcf613305
---> Removed intermediate container 13cfcf613305
---> 5a5ef50874f6
Step 15/15 : CMD ["redis-server"]
---> Running in 1f20470d8b3d
---> Removed intermediate container 1f20470d8b3d
---> 813be8f13b6a
[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 813be8f13b6a
Successfully tagged nexus.gz1.opensdn.io:5101/opensdn-external-redis:master-1_2_2_2-3_0
2025-06-26 10:57:16,383: INFO: Docker build duration: 67 seconds
The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-external-redis]
54e4aae587fd: Preparing
742096f2ff86: Preparing
53608ac5a419: Preparing
fa611e560c61: Preparing
a1985a3d0dd3: Preparing
b817034ce9b5: Preparing
5c6517289fa6: Preparing
11e1b5c05c91: Preparing
0154e77267fc: Preparing
174f56854903: Preparing
b817034ce9b5: Waiting
5c6517289fa6: Waiting
11e1b5c05c91: Waiting
0154e77267fc: Waiting
174f56854903: Waiting
a1985a3d0dd3: Layer already exists
54e4aae587fd: Pushed
53608ac5a419: Pushed
fa611e560c61: Layer already exists
b817034ce9b5: Layer already exists
742096f2ff86: Pushed
5c6517289fa6: Layer already exists
11e1b5c05c91: Layer already exists
0154e77267fc: Layer already exists
174f56854903: Layer already exists
master-1_2_2_2-3_0: digest: sha256:c34af0e3d7717afdef3159220ebbe7c591a258ce156ed24df1b715cf47e0847c size: 2404
2025-06-26 10:57:20,252: INFO: Building opensdn-external-redis finished successfully, duration: 71 seconds