2025-03-27 15:30:48,263: INFO: Building contrail-external-cassandra 2025-03-27 15:30:48,358: 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_3_2_6-2_5 --build-arg SITE_MIRROR=http://nexus.gz1.opensdn.io/repository/external-web-cache --build-arg LINUX_DISTR_VER=9 --build-arg LINUX_DISTR=rockylinux --build-arg GENERAL_EXTRA_RPMS="" --build-arg BASE_EXTRA_RPMS="" --build-arg YUM_ENABLE_REPOS="" --build-arg CONTAINER_NAME=contrail-external-cassandra --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 66.05 kB Step 1/14 : ARG CONTRAIL_REGISTRY Step 2/14 : ARG CONTRAIL_CONTAINER_TAG Step 3/14 : FROM ${CONTRAIL_REGISTRY}/contrail-general-base:${CONTRAIL_CONTAINER_TAG} ---> b278e35c6b44 Step 4/14 : ARG SITE_MIRROR ---> Running in 5daa9063fbcd ---> Removed intermediate container 5daa9063fbcd ---> 0801a1a5d1b0 Step 5/14 : ARG CONTAINER_NAME ---> Running in 338c5e39531e ---> Removed intermediate container 338c5e39531e ---> d0a245898558 Step 6/14 : ENV SERVICE_NAME=cassandra CONTAINER_NAME=$CONTAINER_NAME ---> Running in a7d5ad5c55aa ---> Removed intermediate container a7d5ad5c55aa ---> 15be9672b1e7 Step 7/14 : LABEL name=$CONTAINER_NAME summary="Contrail Cassandra DB" description="Configuration database for Contrail Controller." $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in d9aeefcb54df ---> Removed intermediate container d9aeefcb54df ---> 098146c24328 Step 8/14 : ENV CASSANDRA_HOME=/opt/cassandra CASSANDRA_CONFIG=/etc/cassandra CASSANDRA_LIB=/var/lib/cassandra CASSANDRA_LOG=/var/log/cassandra CASSANDRA_USER=cassandra CASSANDRA_GROUP=cassandra CASSANDRA_UID=2000 CASSANDRA_GID=2000 PATH="/opt/cassandra/bin:$PATH" CASSANDRA_REAPER_CONFIG=/etc/cassandra-reaper ---> Running in a31545bcbc2d ---> Removed intermediate container a31545bcbc2d ---> a4b89180a2f8 Step 9/14 : COPY *.sh / ---> 06f7dc432e87 Step 10/14 : RUN CASSANDRA_VERSION=3.11.3 && set -ex && for item in `ls /__*` ; do mv $item /${item:3} ; done && yum install -y numactl which jemalloc && yum install -y --exclude="*slowdebug*" --exclude="*fastdebug*" "java-1.8.0-openjdk < 1:1.8.0_332" && groupadd -f -g ${CASSANDRA_GID} ${CASSANDRA_GROUP} && adduser -u ${CASSANDRA_UID} -M -g ${CASSANDRA_GROUP} ${CASSANDRA_USER} && usermod -a -G $CONTRAIL_GID ${CASSANDRA_USER} && source /functions.sh && download_package https://archive.apache.org dist/cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz && mkdir -p ${CASSANDRA_HOME} && tar -xzf apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz -C ${CASSANDRA_HOME} --strip-components 1 && rm -rf apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz && mv "$CASSANDRA_HOME/conf" $CASSANDRA_CONFIG && ln -sT "$CASSANDRA_CONFIG" "$CASSANDRA_HOME/conf" && mkdir -p ${CASSANDRA_LIB} ${CASSANDRA_LOG} && chown -R ${CASSANDRA_USER}:${CASSANDRA_GROUP} ${CASSANDRA_CONFIG} ${CASSANDRA_LOG} ${CASSANDRA_LIB} && ln -sT ${CASSANDRA_LIB} "${CASSANDRA_HOME}/data" && ln -sT ${CASSANDRA_LOG} "${CASSANDRA_HOME}/logs" && rm -f /opt/cassandra/lib/libthrift-* && download_package https://github.com opensdn-io/tf-third-party-cache/blob/master/libthrift/libthrift-0.13.0.jar?raw=true /opt/cassandra/lib/libthrift-0.13.0.jar && rm -f /opt/cassandra/lib/netty-all-* && download_package https://repo1.maven.org maven2/io/netty/netty-all/4.1.39.Final/netty-all-4.1.39.Final.jar /opt/cassandra/lib/netty-all-4.1.39.Final.jar && rm -f /opt/cassandra/lib/logback-* && download_package https://repo1.maven.org maven2/ch/qos/logback/logback-classic/1.2.9/logback-classic-1.2.9.jar /opt/cassandra/lib/logback-classic-1.2.9.jar && download_package https://repo1.maven.org maven2/ch/qos/logback/logback-core/1.2.9/logback-core-1.2.9.jar /opt/cassandra/lib/logback-core-1.2.9.jar && REAPER_VERSION=3.2.1 && REAPER_RPM_NAME=reaper-${REAPER_VERSION}-1.x86_64.rpm && download_package https://github.com thelastpickle/cassandra-reaper/releases/download/${REAPER_VERSION}/${REAPER_RPM_NAME} ${REAPER_RPM_NAME} && rpm -Uvh --nodeps --replacepkgs ${REAPER_RPM_NAME} && rm -f ${REAPER_RPM_NAME} && yum clean all -y && rm -rf /var/cache/yum && cassandra -v && cp ${CASSANDRA_CONFIG}/cassandra.yaml ${CASSANDRA_CONFIG}/cassandra.origin && cp ${CASSANDRA_CONFIG}/jvm.options ${CASSANDRA_CONFIG}/jvm.options.origin && cp ${CASSANDRA_REAPER_CONFIG}/cassandra-reaper.yaml ${CASSANDRA_REAPER_CONFIG}/cassandra-reaper.origin ---> Running in f9057b58668e /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) ++ 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 + yum install -y numactl which jemalloc Failed to set locale, defaulting to C.UTF-8 Contrail repo 5.6 MB/s | 146 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 30 MB/s | 2.1 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 730 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 264 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 44 MB/s | 7.0 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 39 MB/s | 4.0 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 19 MB/s | 939 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 29 MB/s | 2.3 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 10 MB/s | 392 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 19 MB/s | 451 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 512 kB/s | 16 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 6.0 kB/s | 257 B 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 66 kB/s | 13 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 1.8 MB/s | 64 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 65 MB/s | 30 MB 00:00 Third parties for Contrail 25 MB/s | 5.4 MB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: jemalloc x86_64 5.2.1-2.el9 tf-mirrors.ci_repos_epel9.repo 203 k numactl x86_64 2.0.18-2.el9 tf-mirrors.ci_repos_yum9-baseos 68 k which x86_64 2.21-29.el9 tf-mirrors.ci_repos_yum9-baseos 40 k Installing dependencies: numactl-libs x86_64 2.0.18-2.el9 tf-mirrors.ci_repos_yum9-baseos 31 k Transaction Summary ================================================================================ Install 4 Packages Total download size: 342 k Installed size: 1.0 M Downloading Packages: (1/4): numactl-libs-2.0.18-2.el9.x86_64.rpm 270 kB/s | 31 kB 00:00 (2/4): which-2.21-29.el9.x86_64.rpm 248 kB/s | 40 kB 00:00 (3/4): numactl-2.0.18-2.el9.x86_64.rpm 397 kB/s | 68 kB 00:00 (4/4): jemalloc-5.2.1-2.el9.x86_64.rpm 2.8 MB/s | 203 kB 00:00 -------------------------------------------------------------------------------- Total 1.8 MB/s | 342 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : numactl-libs-2.0.18-2.el9.x86_64 1/4 Installing : numactl-2.0.18-2.el9.x86_64 2/4 Installing : jemalloc-5.2.1-2.el9.x86_64 3/4 Installing : which-2.21-29.el9.x86_64 4/4 Running scriptlet: which-2.21-29.el9.x86_64 4/4 Verifying : numactl-2.0.18-2.el9.x86_64 1/4 Verifying : numactl-libs-2.0.18-2.el9.x86_64 2/4 Verifying : which-2.21-29.el9.x86_64 3/4 Verifying : jemalloc-5.2.1-2.el9.x86_64 4/4 Installed: jemalloc-5.2.1-2.el9.x86_64 numactl-2.0.18-2.el9.x86_64 numactl-libs-2.0.18-2.el9.x86_64 which-2.21-29.el9.x86_64 Complete! + yum install -y '--exclude=*slowdebug*' '--exclude=*fastdebug*' 'java-1.8.0-openjdk < 1:1.8.0_332' Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:15 ago on Thu Mar 27 15:31:24 2025. No match for argument: java-1.8.0-openjdk < 1:1.8.0_332 Error: Unable to find a match: java-1.8.0-openjdk < 1:1.8.0_332 The command '/bin/sh -c CASSANDRA_VERSION=3.11.3 && set -ex && for item in `ls /__*` ; do mv $item /${item:3} ; done && yum install -y numactl which jemalloc && yum install -y --exclude="*slowdebug*" --exclude="*fastdebug*" "java-1.8.0-openjdk < 1:1.8.0_332" && groupadd -f -g ${CASSANDRA_GID} ${CASSANDRA_GROUP} && adduser -u ${CASSANDRA_UID} -M -g ${CASSANDRA_GROUP} ${CASSANDRA_USER} && usermod -a -G $CONTRAIL_GID ${CASSANDRA_USER} && source /functions.sh && download_package https://archive.apache.org dist/cassandra/$CASSANDRA_VERSION/apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz && mkdir -p ${CASSANDRA_HOME} && tar -xzf apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz -C ${CASSANDRA_HOME} --strip-components 1 && rm -rf apache-cassandra-$CASSANDRA_VERSION-bin.tar.gz && mv "$CASSANDRA_HOME/conf" $CASSANDRA_CONFIG && ln -sT "$CASSANDRA_CONFIG" "$CASSANDRA_HOME/conf" && mkdir -p ${CASSANDRA_LIB} ${CASSANDRA_LOG} && chown -R ${CASSANDRA_USER}:${CASSANDRA_GROUP} ${CASSANDRA_CONFIG} ${CASSANDRA_LOG} ${CASSANDRA_LIB} && ln -sT ${CASSANDRA_LIB} "${CASSANDRA_HOME}/data" && ln -sT ${CASSANDRA_LOG} "${CASSANDRA_HOME}/logs" && rm -f /opt/cassandra/lib/libthrift-* && download_package https://github.com opensdn-io/tf-third-party-cache/blob/master/libthrift/libthrift-0.13.0.jar?raw=true /opt/cassandra/lib/libthrift-0.13.0.jar && rm -f /opt/cassandra/lib/netty-all-* && download_package https://repo1.maven.org maven2/io/netty/netty-all/4.1.39.Final/netty-all-4.1.39.Final.jar /opt/cassandra/lib/netty-all-4.1.39.Final.jar && rm -f /opt/cassandra/lib/logback-* && download_package https://repo1.maven.org maven2/ch/qos/logback/logback-classic/1.2.9/logback-classic-1.2.9.jar /opt/cassandra/lib/logback-classic-1.2.9.jar && download_package https://repo1.maven.org maven2/ch/qos/logback/logback-core/1.2.9/logback-core-1.2.9.jar /opt/cassandra/lib/logback-core-1.2.9.jar && REAPER_VERSION=3.2.1 && REAPER_RPM_NAME=reaper-${REAPER_VERSION}-1.x86_64.rpm && download_package https://github.com thelastpickle/cassandra-reaper/releases/download/${REAPER_VERSION}/${REAPER_RPM_NAME} ${REAPER_RPM_NAME} && rpm -Uvh --nodeps --replacepkgs ${REAPER_RPM_NAME} && rm -f ${REAPER_RPM_NAME} && yum clean all -y && rm -rf /var/cache/yum && cassandra -v && cp ${CASSANDRA_CONFIG}/cassandra.yaml ${CASSANDRA_CONFIG}/cassandra.origin && cp ${CASSANDRA_CONFIG}/jvm.options ${CASSANDRA_CONFIG}/jvm.options.origin && cp ${CASSANDRA_REAPER_CONFIG}/cassandra-reaper.yaml ${CASSANDRA_REAPER_CONFIG}/cassandra-reaper.origin' returned a non-zero code: 1 2025-03-27 15:31:39,707: INFO: Docker build duration: 51 seconds 2025-03-27 15:31:39,710: ERROR: Building contrail-external-cassandra failed, duration: 51 seconds