Console Output
[LCM] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/lcm:osm-v140-merge-240 --build-arg CACHE_DATE=2024-02-18:23:09:47 --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/v14.0/244/pool/osmclient/python3-osmclient_14.0.1.post1+g9204883-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/v14.0/255/pool/devops/osm-devops_14.0.1-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/v14.0/243/pool/MON/python3-osm-mon_14.0.1.post1+g34343ec-1_all.deb --build-arg PYTHON3_OSM_NBI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NBI/v14.0/245/pool/NBI/python3-osm-nbi_14.0.1.post1+g19d101d-1_all.deb --build-arg PYTHON3_OSM_COMMON_URL=https://artifactory-osm.etsi.org/artifactory/osm-common/v14.0/244/pool/common/python3-osm-common_14.0.1.post1+gdf51104-1_all.deb --build-arg PYTHON3_OSM_LCM_URL=https://artifactory-osm.etsi.org/artifactory/osm-LCM/v14.0/245/pool/LCM/python3-osm-lcm_14.0.1.post2+gcf9e010-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/v14.0/242/pool/POL/python3-osm-policy-module_14.0.1+g5e7b2a8-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/v14.0/248/pool/NG-UI/osm-ngui_14.0.1-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/v14.0/242/pool/PLA/python3-osm-pla_14.0.1+g1390ad3-1_all.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/v14.0/249/pool/tests/osm-tests_14.0.1-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0/245/pool/IM/osm-imdocs_14.0.1-g88bac73_amd64.deb --build-arg PYTHON3_OSM_IM_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0/245/pool/IM/python3-osm-im_14.0.1+g88bac73-1_all.deb --build-arg PYTHON3_N2VC_URL=https://artifactory-osm.etsi.org/artifactory/osm-N2VC/v14.0/245/pool/N2VC/python3-n2vc_14.0.1.post1+geb294f2-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v14.0/247/pool/NG-SA/python3-osm-webhook-translator_14.0.1-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v14.0/247/pool/NG-SA/python3-osm-ngsa_14.0.1-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rovim-openstack_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rovim-vmware_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-onosof_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-ietfl2vpn_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-ng-ro_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-dpb_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rovim-aws_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-dynpac_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOS_VPLS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-onos-vpls_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-tapi_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-ro-plugin_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-odlof_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-juniper-contrail_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rovim-openvim_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rovim-gcp_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-arista-cloudvision_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rosdn-floodlightof_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/252/pool/RO/python3-osm-rovim-azure_14.0.1.post1+gdc12a44-1_all.deb .
Sending build context to Docker daemon 10.24kB
Step 1/58 : FROM ubuntu:22.04 as INSTALL
---> 3db8720ecbf5
Step 2/58 : ARG APT_PROXY
---> Using cache
---> 31cf114415aa
Step 3/58 : RUN if [ ! -z $APT_PROXY ] ; then echo "Acquire::http::Proxy \"$APT_PROXY\";" > /etc/apt/apt.conf.d/proxy.conf ; echo "Acquire::https::Proxy \"$APT_PROXY\";" >> /etc/apt/apt.conf.d/proxy.conf ; fi
---> Using cache
---> a9fa358f0e48
Step 4/58 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install gcc=4:11.* python3=3.10.* python3-dev=3.10.* python3-pip=22.0.* curl=7.81.* && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 67ce6469361a
Step 5/58 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install apt-transport-https=2.4.* gnupg2=2.2.* openssh-client=1:8.* && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 3d5a3577aea3
Step 6/58 : RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list && apt-get update && apt-get install -y kubectl=1.26.5-00
---> Using cache
---> be2fd1440764
Step 7/58 : RUN curl https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz --output helm-v2.17.0.tar.gz && tar -zxvf helm-v2.17.0.tar.gz && mv linux-amd64/helm /usr/local/bin/helm && rm -r linux-amd64/
---> Using cache
---> e8882a8ffd1f
Step 8/58 : RUN curl https://get.helm.sh/helm-v3.11.3-linux-amd64.tar.gz --output helm-v3.11.3.tar.gz && tar -zxvf helm-v3.11.3.tar.gz && mv linux-amd64/helm /usr/local/bin/helm3 && rm -r linux-amd64/
---> Using cache
---> dc6ae99df606
Step 9/58 : ARG PYTHON3_OSM_COMMON_URL
---> Using cache
---> 0cf48bd13e62
Step 10/58 : ARG PYTHON3_OSM_LCM_URL
---> Using cache
---> 41e5da2ca0c8
Step 11/58 : ARG PYTHON3_N2VC_URL
---> Using cache
---> 991a37055687
Step 12/58 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Using cache
---> 125e80effdc3
Step 13/58 : RUN dpkg -i ./osm_common.deb
---> Using cache
---> 49398a426414
Step 14/58 : RUN curl $PYTHON3_OSM_LCM_URL -o osm_lcm.deb
---> Using cache
---> d67a8abef4af
Step 15/58 : RUN dpkg -i ./osm_lcm.deb
---> Using cache
---> 597c2bab83f5
Step 16/58 : RUN curl $PYTHON3_N2VC_URL -o osm_n2vc.deb
---> Using cache
---> bed894de6743
Step 17/58 : RUN dpkg -i ./osm_n2vc.deb
---> Using cache
---> 43de713358f5
Step 18/58 : RUN pip3 install -r /usr/lib/python3/dist-packages/osm_common/requirements.txt -r /usr/lib/python3/dist-packages/osm_lcm/requirements.txt -r /usr/lib/python3/dist-packages/n2vc/requirements.txt
---> Using cache
---> d3c8c51c57f3
Step 19/58 : FROM ubuntu:22.04 as FINAL
---> 3db8720ecbf5
Step 20/58 : ARG APT_PROXY
---> Using cache
---> 31cf114415aa
Step 21/58 : RUN if [ ! -z $APT_PROXY ] ; then echo "Acquire::http::Proxy \"$APT_PROXY\";" > /etc/apt/apt.conf.d/proxy.conf ; echo "Acquire::https::Proxy \"$APT_PROXY\";" >> /etc/apt/apt.conf.d/proxy.conf ; fi
---> Using cache
---> a9fa358f0e48
Step 22/58 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal=3.10.* && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 0a1c550c3ae2
Step 23/58 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> Using cache
---> d0932a85bbb8
Step 24/58 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
---> Using cache
---> 6189dde22306
Step 25/58 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install ca-certificates && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 15060d8dc7a2
Step 26/58 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
---> Using cache
---> a22c78500035
Step 27/58 : COPY --from=INSTALL /usr/bin/kubectl /usr/bin/kubectl
---> Using cache
---> 060f707e7fb2
Step 28/58 : COPY --from=INSTALL /usr/local/bin/helm /usr/local/bin/helm
---> Using cache
---> 3a23918798cb
Step 29/58 : COPY --from=INSTALL /usr/local/bin/helm3 /usr/local/bin/helm3
---> Using cache
---> 314e25073120
Step 30/58 : COPY --from=INSTALL /usr/bin/scp /usr/bin/scp
---> Using cache
---> 4110daaf4258
Step 31/58 : COPY --from=INSTALL /usr/bin/ssh-keygen /usr/bin/ssh-keygen
---> Using cache
---> 8c52ea2580bb
Step 32/58 : COPY --from=INSTALL /usr/bin/ssh /usr/bin/ssh
---> Using cache
---> 11644590d9be
Step 33/58 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
---> Using cache
---> 62e409753ba1
Step 34/58 : COPY --from=INSTALL /lib/x86_64-linux-gnu/ /lib/x86_64-linux-gnu/
---> Using cache
---> 819fae7924cc
Step 35/58 : COPY scripts/ /app/osm_lcm/scripts/
---> Using cache
---> a751e9fb4cc5
Step 36/58 : RUN groupadd -g 1000 appuser && useradd -u 1000 -g 1000 -d /app appuser && mkdir -p /app/osm_lcm && mkdir -p /app/storage/kafka && mkdir /app/log && chown -R appuser:appuser /app && chown appuser: /etc/ssl/certs/ca-certificates.crt
---> Using cache
---> e22120a4c293
Step 37/58 : WORKDIR /app/osm_lcm
---> Using cache
---> 815341c471f6
Step 38/58 : USER appuser
---> Using cache
---> d35722f51fa6
Step 39/58 : ENV OSMLCM_RO_HOST ro
---> Using cache
---> a6e681986077
Step 40/58 : ENV OSMLCM_RO_PORT 9090
---> Using cache
---> 6aa683db8769
Step 41/58 : ENV OSMLCM_RO_TENANT osm
---> Using cache
---> 6ff862198878
Step 42/58 : ENV OSMLCM_VCA_HOST vca
---> Using cache
---> 379d053eea22
Step 43/58 : ENV OSMLCM_VCA_PORT 17070
---> Using cache
---> 853a7ad60a89
Step 44/58 : ENV OSMLCM_VCA_USER admin
---> Using cache
---> f53ab2b7fada
Step 45/58 : ENV OSMLCM_VCA_SECRET secret
---> Using cache
---> 78cfd7c5c198
Step 46/58 : ENV OSMLCM_DATABASE_DRIVER mongo
---> Using cache
---> 260535541fbb
Step 47/58 : ENV OSMLCM_DATABASE_URI mongodb://mongo:27017
---> Using cache
---> d1cdda5d3700
Step 48/58 : ENV OSMLCM_STORAGE_DRIVER local
---> Using cache
---> e57ff1247a59
Step 49/58 : ENV OSMLCM_STORAGE_PATH /app/storage
---> Using cache
---> 34163af58a78
Step 50/58 : ENV OSMLCM_MESSAGE_DRIVER kafka
---> Using cache
---> b5f2e9fef9ff
Step 51/58 : ENV OSMLCM_MESSAGE_HOST kafka
---> Using cache
---> f2a287abad30
Step 52/58 : ENV OSMLCM_MESSAGE_PORT 9092
---> Using cache
---> 63a1d3d536fc
Step 53/58 : ENV OSMLCM_VCA_HELMPATH /usr/local/bin/helm
---> Using cache
---> b8ab64d42551
Step 54/58 : ENV OSMLCM_VCA_KUBECTLPATH /usr/bin/kubectl
---> Using cache
---> a1947d378f11
Step 55/58 : ENV OSMLCM_VCA_JUJUPATH /usr/local/bin/juju
---> Using cache
---> d6a83bb28f6a
Step 56/58 : ENV OSMLCM_VCA_STABLEREPOURL https://charts.helm.sh/stable
---> Using cache
---> 7d19405d5f9b
Step 57/58 : HEALTHCHECK --start-period=120s --interval=30s --timeout=30s --retries=1 CMD python3 -m osm_lcm.lcm_hc || exit 1
---> Using cache
---> 7903c31311e5
Step 58/58 : CMD [ "/bin/bash", "scripts/start.sh" ]
---> Using cache
---> 3aa3e4ecf542
[Warning] One or more build-args [PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL PYTHON3_OSM_PLA_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROSDN_ODLOF_URL CACHE_DATE PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_ROVIM_VMWARE_URL OSM_TESTS_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_RO_PLUGIN_URL OSM_DEVOPS_URL OSM_IMDOCS_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_ROSDN_TAPI_URL OSM_NGUI_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL] were not consumed
Successfully built 3aa3e4ecf542
Successfully tagged opensourcemano/lcm:osm-v140-merge-240