2024-11-13 17:09:27,597: INFO: Building contrail-external-rabbitmq 2024-11-13 17:09:27,706: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_1_8_8-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-rabbitmq --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/11 : FROM nexus.gz1.opensdn.io:5101/contrail-general-base:master-1_1_8_8-1 ---> d8b3216d2e55 Step 2/11 : ARG SITE_MIRROR ---> Running in c83b4caeee7c ---> Removed intermediate container c83b4caeee7c ---> f56d8f7c5992 Step 3/11 : ARG CONTAINER_NAME ---> Running in 09feab682f14 ---> Removed intermediate container 09feab682f14 ---> 7a72367e9c5a Step 4/11 : ENV SERVICE_NAME=rabbitmq RABBITMQ_LOGS=- RABBITMQ_SASL_LOGS=- CONTAINER_NAME=$CONTAINER_NAME ---> Running in 72e67c252166 ---> Removed intermediate container 72e67c252166 ---> 0922bc89f079 Step 5/11 : LABEL name=$CONTAINER_NAME summary="Contrail RabbitMQ" description="Contrail Rabbitmq is the message bus that different Contrail processes subscribe to." $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in a12c73313543 ---> Removed intermediate container a12c73313543 ---> eacddb6faac6 Step 6/11 : COPY *.sh / ---> f9e04d735a99 Step 7/11 : RUN /bin/bash -c 'for item in `ls /__*` ; do mv $item /${item:3} ; done' && source /functions.sh && source /etc/os-release && ver=$(echo $VERSION_ID | cut -d '.' -f 1) && if [[ ${ver} == 8 ]]; then RABBITMQ_VERSION="3.10.7" && ERLANG_VERSION="25.0.4"; else RABBITMQ_VERSION="3.7.28" && ERLANG_VERSION="21.3.8.21"; fi && download_package https://packagecloud.io rabbitmq/erlang/packages/el/${ver}/erlang-${ERLANG_VERSION}-1.el${ver}.x86_64.rpm/download.rpm erlang.rpm && download_package https://packagecloud.io rabbitmq/rabbitmq-server/packages/el/${ver}/rabbitmq-server-${RABBITMQ_VERSION}-1.el${ver}.noarch.rpm/download.rpm rabbitmq-server.rpm && yum install -y erlang.rpm rabbitmq-server.rpm vim-common && usermod -a -G $CONTRAIL_GID rabbitmq && usermod -d /var/lib/rabbitmq rabbitmq && rabbitmq-plugins enable --offline rabbitmq_management && rm -f *rpm && yum clean all -y && rm -rf /var/cache/yum ---> Running in 61e77bc4e734 2024-11-13 17:09:32 URL:http://nexus.gz1.opensdn.io/repository/external-web-cache/rabbitmq/erlang/packages/el/7/erlang-21.3.8.21-1.el7.x86_64.rpm/download.rpm [19017740/19017740] -> "erlang.rpm" [1] 2024-11-13 17:09:32 URL:http://nexus.gz1.opensdn.io/repository/external-web-cache/rabbitmq/rabbitmq-server/packages/el/7/rabbitmq-server-3.7.28-1.el7.noarch.rpm/download.rpm [10696323/10696323] -> "rabbitmq-server.rpm" [1] Loaded plugins: fastestmirror, ovl Examining erlang.rpm: erlang-21.3.8.21-1.el7.x86_64 Marking erlang.rpm to be installed Examining rabbitmq-server.rpm: rabbitmq-server-3.7.28-1.el7.noarch Marking rabbitmq-server.rpm to be installed Determining fastest mirrors Resolving Dependencies --> Running transaction check ---> Package erlang.x86_64 0:21.3.8.21-1.el7 will be installed ---> Package rabbitmq-server.noarch 0:3.7.28-1.el7 will be installed --> Processing Dependency: logrotate for package: rabbitmq-server-3.7.28-1.el7.noarch --> Processing Dependency: socat for package: rabbitmq-server-3.7.28-1.el7.noarch ---> Package vim-common.x86_64 2:7.4.629-8.el7_9 will be installed --> Processing Dependency: vim-filesystem for package: 2:vim-common-7.4.629-8.el7_9.x86_64 --> Running transaction check ---> Package logrotate.x86_64 0:3.8.6-19.el7 will be installed ---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed --> Processing Dependency: libwrap.so.0()(64bit) for package: socat-1.7.3.2-2.el7.x86_64 ---> Package vim-filesystem.x86_64 2:7.4.629-8.el7_9 will be installed --> Running transaction check ---> Package tcp_wrappers-libs.x86_64 0:7.6-77.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: erlang x86_64 21.3.8.21-1.el7 /erlang 32 M rabbitmq-server noarch 3.7.28-1.el7 /rabbitmq-server 12 M vim-common x86_64 2:7.4.629-8.el7_9 tf-mirrors.ci_repos_yum7-updates 5.9 M Installing for dependencies: logrotate x86_64 3.8.6-19.el7 tf-mirrors.ci_repos_yum7-base 70 k socat x86_64 1.7.3.2-2.el7 tf-mirrors.ci_repos_yum7-base 290 k tcp_wrappers-libs x86_64 7.6-77.el7 tf-mirrors.ci_repos_yum7-base 66 k vim-filesystem x86_64 2:7.4.629-8.el7_9 tf-mirrors.ci_repos_yum7-updates 11 k Transaction Summary ================================================================================ Install 3 Packages (+4 Dependent packages) Total size: 50 M Total download size: 6.3 M Installed size: 66 M Downloading packages: -------------------------------------------------------------------------------- Total 23 MB/s | 6.3 MB 00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : logrotate-3.8.6-19.el7.x86_64 1/7 Installing : tcp_wrappers-libs-7.6-77.el7.x86_64 2/7 Installing : socat-1.7.3.2-2.el7.x86_64 3/7 Installing : 2:vim-filesystem-7.4.629-8.el7_9.x86_64 4/7 Installing : erlang-21.3.8.21-1.el7.x86_64 5/7 Installing : rabbitmq-server-3.7.28-1.el7.noarch 6/7 Failed to get D-Bus connection: Operation not permitted Installing : 2:vim-common-7.4.629-8.el7_9.x86_64 7/7 Verifying : erlang-21.3.8.21-1.el7.x86_64 1/7 Verifying : 2:vim-common-7.4.629-8.el7_9.x86_64 2/7 Verifying : 2:vim-filesystem-7.4.629-8.el7_9.x86_64 3/7 Verifying : tcp_wrappers-libs-7.6-77.el7.x86_64 4/7 Verifying : logrotate-3.8.6-19.el7.x86_64 5/7 Verifying : socat-1.7.3.2-2.el7.x86_64 6/7 Verifying : rabbitmq-server-3.7.28-1.el7.noarch 7/7 Installed: erlang.x86_64 0:21.3.8.21-1.el7 rabbitmq-server.noarch 0:3.7.28-1.el7 vim-common.x86_64 2:7.4.629-8.el7_9 Dependency Installed: logrotate.x86_64 0:3.8.6-19.el7 socat.x86_64 0:1.7.3.2-2.el7 tcp_wrappers-libs.x86_64 0:7.6-77.el7 vim-filesystem.x86_64 2:7.4.629-8.el7_9 Complete! usermod: no changes Enabling plugins on node rabbit@jenkins-build-prepare-sandbox-6566-1: rabbitmq_management The following plugins have been configured: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch Applying plugin configuration to rabbit@jenkins-build-prepare-sandbox-6566-1... The following plugins have been enabled: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch set 3 plugins. Offline change; changes will take effect at broker restart. 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 ---> Removed intermediate container 61e77bc4e734 ---> 2f5c93db1b79 Step 8/11 : VOLUME "/var/lib/rabbitmq" ---> Running in 95e9798b8037 ---> Removed intermediate container 95e9798b8037 ---> b96aeae846a8 Step 9/11 : EXPOSE 15671 15672 4369 5671 5672 25672 ---> Running in f580cfcb3d98 ---> Removed intermediate container f580cfcb3d98 ---> f49d5fb6f393 Step 10/11 : ENTRYPOINT ["/contrail-entrypoint.sh"] ---> Running in 87bf1fc57e19 ---> Removed intermediate container 87bf1fc57e19 ---> dab72d19785e Step 11/11 : CMD ["rabbitmq-server"] ---> Running in eca100c97a4c ---> Removed intermediate container eca100c97a4c ---> 8abb14086517 [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 8abb14086517 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-external-rabbitmq:master-1_1_8_8-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-external-rabbitmq:master-1_1_8_8-1 2024-11-13 17:11:10,218: INFO: Docker build duration: 103 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-external-rabbitmq] a87b344b854a: Preparing 46ef22adc8e7: Preparing ddde938c4ce7: Preparing 7aa84a89cdb8: Preparing f1e90a679103: Preparing 34788d982271: Preparing af5adfd6f9a2: Preparing c7d84b9ceaf7: Preparing 174f56854903: Preparing 34788d982271: Waiting af5adfd6f9a2: Waiting c7d84b9ceaf7: Waiting 174f56854903: Waiting 7aa84a89cdb8: Layer already exists f1e90a679103: Layer already exists ddde938c4ce7: Layer already exists 34788d982271: Layer already exists 46ef22adc8e7: Pushed af5adfd6f9a2: Layer already exists c7d84b9ceaf7: Layer already exists 174f56854903: Layer already exists a87b344b854a: Pushed master-1_1_8_8-1: digest: sha256:d7b49003eca5258780207b17bcc041f8d6ee3723b014aa1535ccb0c97c3d4529 size: 2200 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-external-rabbitmq] a87b344b854a: Preparing 46ef22adc8e7: Preparing ddde938c4ce7: Preparing 7aa84a89cdb8: Preparing f1e90a679103: Preparing 34788d982271: Preparing af5adfd6f9a2: Preparing c7d84b9ceaf7: Preparing 174f56854903: Preparing 34788d982271: Waiting af5adfd6f9a2: Waiting c7d84b9ceaf7: Waiting 174f56854903: Waiting 46ef22adc8e7: Layer already exists ddde938c4ce7: Layer already exists a87b344b854a: Layer already exists f1e90a679103: Layer already exists 7aa84a89cdb8: Layer already exists 34788d982271: Layer already exists af5adfd6f9a2: Layer already exists c7d84b9ceaf7: Layer already exists 174f56854903: Layer already exists master-1_1_8_8-1: digest: sha256:d7b49003eca5258780207b17bcc041f8d6ee3723b014aa1535ccb0c97c3d4529 size: 2200 2024-11-13 17:11:21,612: INFO: Building contrail-external-rabbitmq finished successfully, duration: 114 seconds