Console Output
[LCM] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/lcm:osm-master-12683 --build-arg CACHE_DATE=2024-06-25:03:57:16 --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/master-staging/999/pool/tests/osm-tests_9.0.0rc1.post210+g12216a6-1_all.deb --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/master/801/pool/osmclient/python3-osmclient_11.0.0rc1.post73+g99ae2a1-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/master/1669/pool/devops/osm-devops_15.0.0.post39-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/master/791/pool/MON/python3-osm-mon_11.0.0.post37+gb317322-1_all.deb --build-arg PYTHON3_N2VC_URL=https://artifactory-osm.etsi.org/artifactory/osm-N2VC/master/808/pool/N2VC/python3-n2vc_11.0.0rc1.post84+gf5b7f41-1_all.deb --build-arg PYTHON3_OSM_NBI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NBI/master/912/pool/NBI/python3-osm-nbi_9.0.0.post119+gd68526d-1_all.deb --build-arg PYTHON3_OSM_COMMON_URL=https://artifactory-osm.etsi.org/artifactory/osm-common/master/601/pool/common/python3-osm-common_15.0.0.post3+g409397d-1_all.deb --build-arg PYTHON3_OSM_LCM_URL=https://artifactory-osm.etsi.org/artifactory/osm-LCM/master/894/pool/LCM/python3-osm-lcm_9.0.0.post168+g8324363-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/master/574/pool/POL/python3-osm-policy-module_11.0.0.post28+gbfe6988-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/master/559/pool/NG-UI/osm-ngui_15.0.0.post6+gc84f112-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/master/507/pool/PLA/python3-osm-pla_11.0.0.post12+gfcdb2c4-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/master/635/pool/IM/osm-imdocs_15.0.0.post1-g90ffed2_amd64.deb --build-arg PYTHON3_OSM_IM_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/master/635/pool/IM/python3-osm-im_15.0.0.post1+g90ffed2-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/511/pool/NG-SA/python3-osm-ngsa_15.1~dev1+g48926ce-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/511/pool/NG-SA/python3-osm-webhook-translator_15.1~dev1+g48926ce-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-dpb_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-juniper-contrail_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-dynpac_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-tapi_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rovim-openvim_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-ro-plugin_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOS_VPLS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-onos-vpls_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-ietfl2vpn_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rovim-vmware_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-odlof_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-floodlightof_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-arista-cloudvision_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rosdn-onosof_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rovim-openstack_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-ng-ro_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rovim-aws_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rovim-azure_9.0.0.post177+g2971241-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1029/pool/RO/python3-osm-rovim-gcp_9.0.0.post177+g2971241-1_all.deb .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 9.728kB
Step 1/56 : FROM ubuntu:22.04 as INSTALL
---> 67c845845b7d
Step 2/56 : ARG APT_PROXY
---> Using cache
---> 9da810ed0c6a
Step 3/56 : 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
---> 7014ea1e773b
Step 4/56 : 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
---> 2da2e18694c4
Step 5/56 : 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
---> 5065ee5512dd
Step 6/56 : RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg && echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list && apt-get update && apt-get install -y kubectl=1.30.1-1.1
---> Using cache
---> 4ebfb8f1e87d
Step 7/56 : RUN curl https://get.helm.sh/helm-v3.15.1-linux-amd64.tar.gz --output helm-v3.15.1.tar.gz && tar -zxvf helm-v3.15.1.tar.gz && mv linux-amd64/helm /usr/local/bin/helm3 && rm -r linux-amd64/
---> Using cache
---> 1e7aea83b94b
Step 8/56 : ARG PYTHON3_OSM_COMMON_URL
---> Using cache
---> 74f72d3c99d6
Step 9/56 : ARG PYTHON3_OSM_LCM_URL
---> Using cache
---> d4c3aa4edc15
Step 10/56 : ARG PYTHON3_N2VC_URL
---> Using cache
---> c39c92ea49a3
Step 11/56 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Using cache
---> f444455fa253
Step 12/56 : RUN dpkg -i ./osm_common.deb
---> Using cache
---> 9396723a19d1
Step 13/56 : RUN curl $PYTHON3_OSM_LCM_URL -o osm_lcm.deb
---> Using cache
---> 1000e5199196
Step 14/56 : RUN dpkg -i ./osm_lcm.deb
---> Using cache
---> 4b64868ca544
Step 15/56 : RUN curl $PYTHON3_N2VC_URL -o osm_n2vc.deb
---> Using cache
---> d672de73bbfe
Step 16/56 : RUN dpkg -i ./osm_n2vc.deb
---> Using cache
---> 6521353d941b
Step 17/56 : 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
---> 45b5eccd5998
Step 18/56 : FROM ubuntu:22.04 as FINAL
---> 67c845845b7d
Step 19/56 : ARG APT_PROXY
---> Using cache
---> 9da810ed0c6a
Step 20/56 : 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
---> 7014ea1e773b
Step 21/56 : 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
---> 3f32ff176f7e
Step 22/56 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> Using cache
---> e69d390dc928
Step 23/56 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
---> Using cache
---> aed57d7dad71
Step 24/56 : 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
---> ceeab4cde3db
Step 25/56 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
---> Using cache
---> a1b124c22a65
Step 26/56 : COPY --from=INSTALL /usr/bin/kubectl /usr/bin/kubectl
---> Using cache
---> 277c65552b41
Step 27/56 : COPY --from=INSTALL /usr/local/bin/helm3 /usr/local/bin/helm3
---> Using cache
---> bc5fa7043af9
Step 28/56 : COPY --from=INSTALL /usr/bin/scp /usr/bin/scp
---> Using cache
---> 72835f5a9df7
Step 29/56 : COPY --from=INSTALL /usr/bin/ssh-keygen /usr/bin/ssh-keygen
---> Using cache
---> dd22395b1fd0
Step 30/56 : COPY --from=INSTALL /usr/bin/ssh /usr/bin/ssh
---> Using cache
---> 259c81a99ef8
Step 31/56 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
---> Using cache
---> 2a0a5508aa53
Step 32/56 : COPY --from=INSTALL /lib/x86_64-linux-gnu/ /lib/x86_64-linux-gnu/
---> Using cache
---> 85e31e99b680
Step 33/56 : COPY scripts/ /app/osm_lcm/scripts/
---> Using cache
---> 91aea6c31b73
Step 34/56 : 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
---> 62014a05dd49
Step 35/56 : WORKDIR /app/osm_lcm
---> Using cache
---> 4f7a307df4cc
Step 36/56 : USER appuser
---> Using cache
---> 4c6531d5bb8e
Step 37/56 : ENV OSMLCM_RO_HOST ro
---> Using cache
---> cfc852fffa54
Step 38/56 : ENV OSMLCM_RO_PORT 9090
---> Using cache
---> 23fc58aa3b61
Step 39/56 : ENV OSMLCM_RO_TENANT osm
---> Using cache
---> c831d5abb5b9
Step 40/56 : ENV OSMLCM_VCA_HOST vca
---> Using cache
---> 3e5e760c5ba5
Step 41/56 : ENV OSMLCM_VCA_PORT 17070
---> Using cache
---> 4f7f7fbb71f1
Step 42/56 : ENV OSMLCM_VCA_USER admin
---> Using cache
---> 47df52e2d6a3
Step 43/56 : ENV OSMLCM_VCA_SECRET secret
---> Using cache
---> a4935cc04272
Step 44/56 : ENV OSMLCM_DATABASE_DRIVER mongo
---> Using cache
---> 085c663ca183
Step 45/56 : ENV OSMLCM_DATABASE_URI mongodb://mongo:27017
---> Using cache
---> 72907a50156a
Step 46/56 : ENV OSMLCM_STORAGE_DRIVER local
---> Using cache
---> a7e1d53d3db7
Step 47/56 : ENV OSMLCM_STORAGE_PATH /app/storage
---> Using cache
---> ea523b1fae86
Step 48/56 : ENV OSMLCM_MESSAGE_DRIVER kafka
---> Using cache
---> d9f3e150f61b
Step 49/56 : ENV OSMLCM_MESSAGE_HOST kafka
---> Using cache
---> ca310f7c4985
Step 50/56 : ENV OSMLCM_MESSAGE_PORT 9092
---> Using cache
---> 1c0a1b49f5cc
Step 51/56 : ENV OSMLCM_VCA_HELMPATH /usr/local/bin/helm3
---> Using cache
---> 330684ae00e4
Step 52/56 : ENV OSMLCM_VCA_KUBECTLPATH /usr/bin/kubectl
---> Using cache
---> b0e00a7d6b4a
Step 53/56 : ENV OSMLCM_VCA_JUJUPATH /usr/local/bin/juju
---> Using cache
---> eb1574cd739c
Step 54/56 : ENV OSMLCM_VCA_STABLEREPOURL https://charts.helm.sh/stable
---> Using cache
---> b1613e90ae51
Step 55/56 : HEALTHCHECK --start-period=120s --interval=30s --timeout=30s --retries=1 CMD python3 -m osm_lcm.lcm_hc || exit 1
---> Using cache
---> 24916debc17d
Step 56/56 : CMD [ "/bin/bash", "scripts/start.sh" ]
---> Using cache
---> dc862495c681
[Warning] One or more build-args [OSM_DEVOPS_URL OSM_TESTS_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_PLA_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_RO_PLUGIN_URL OSM_IMDOCS_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL CACHE_DATE OSM_NGUI_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL] were not consumed
Successfully built dc862495c681
Successfully tagged opensourcemano/lcm:osm-master-12683