Console Output
[LCM] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/lcm:osm-master-12498 --build-arg CACHE_DATE=2024-05-09:20:32:47 --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/master-staging/1304/pool/osmclient/python3-osmclient_11.0.0rc1.post67+gdd0777f-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/master/742/pool/MON/python3-osm-mon_11.0.0.post35+g1e6e756-1_all.deb --build-arg PYTHON3_N2VC_URL=https://artifactory-osm.etsi.org/artifactory/osm-N2VC/master/761/pool/N2VC/python3-n2vc_11.0.0rc1.post84+gf5b7f41-1_all.deb --build-arg PYTHON3_OSM_IM_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/master/588/pool/IM/python3-osm-im_15.0.0.post1+g90ffed2-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/master/588/pool/IM/osm-imdocs_15.0.0.post1-g90ffed2_amd64.deb --build-arg PYTHON3_OSM_NBI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NBI/master/863/pool/NBI/python3-osm-nbi_9.0.0.post117+g48683b8-1_all.deb --build-arg PYTHON3_OSM_COMMON_URL=https://artifactory-osm.etsi.org/artifactory/osm-common/master/554/pool/common/python3-osm-common_15.0.0.post3+g409397d-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/master/1605/pool/devops/osm-devops_15.0.0.post22-1_all.deb --build-arg PYTHON3_OSM_LCM_URL=https://artifactory-osm.etsi.org/artifactory/osm-LCM/master/841/pool/LCM/python3-osm-lcm_9.0.0.post162+g9cd5345-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/master/525/pool/POL/python3-osm-policy-module_11.0.0.post26+g31ded24-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/463/pool/NG-SA/python3-osm-ngsa_15.0-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/463/pool/NG-SA/python3-osm-webhook-translator_15.0-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/master/460/pool/PLA/python3-osm-pla_11.0.0.post12+gfcdb2c4-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rovim-gcp_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-dpb_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-juniper-contrail_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rovim-openstack_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-onosof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-ietfl2vpn_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rovim-azure_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-ro-plugin_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rovim-vmware_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-ng-ro_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-odlof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOS_VPLS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-onos-vpls_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-floodlightof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-dynpac_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-arista-cloudvision_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rosdn-tapi_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rovim-openvim_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/977/pool/RO/python3-osm-rovim-aws_9.0.0.post172+ge31d74b-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/master/507/pool/NG-UI/osm-ngui_15.0.0.post1+g219fe61-1_all.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/master/647/pool/tests/osm-tests_9.0.0rc1.post209+g9e5450f-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 10.24kB
Step 1/58 : FROM ubuntu:22.04 as INSTALL
---> 52882761a72a
Step 2/58 : ARG APT_PROXY
---> Using cache
---> bf8675204e26
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
---> 6b16749f3331
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
---> 2f2b4a905581
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
---> ca7a439320dc
Step 6/58 : RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/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.28/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list && apt-get update && apt-get install -y kubectl=1.28.2-1.1
---> Using cache
---> 9ef31cb6a503
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
---> 6f4194f7e6dc
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
---> 10a1726f3443
Step 9/58 : ARG PYTHON3_OSM_COMMON_URL
---> Using cache
---> 148a4c73747e
Step 10/58 : ARG PYTHON3_OSM_LCM_URL
---> Using cache
---> bcc1b2a4a44d
Step 11/58 : ARG PYTHON3_N2VC_URL
---> Using cache
---> 6a8ec1793a38
Step 12/58 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Using cache
---> 836508b2dd9e
Step 13/58 : RUN dpkg -i ./osm_common.deb
---> Using cache
---> 9329d9be8eb6
Step 14/58 : RUN curl $PYTHON3_OSM_LCM_URL -o osm_lcm.deb
---> Using cache
---> 1a72a5851657
Step 15/58 : RUN dpkg -i ./osm_lcm.deb
---> Using cache
---> 85821b885f86
Step 16/58 : RUN curl $PYTHON3_N2VC_URL -o osm_n2vc.deb
---> Using cache
---> 3ca72584f123
Step 17/58 : RUN dpkg -i ./osm_n2vc.deb
---> Using cache
---> d304a322881f
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
---> 136fe24058d9
Step 19/58 : FROM ubuntu:22.04 as FINAL
---> 52882761a72a
Step 20/58 : ARG APT_PROXY
---> Using cache
---> bf8675204e26
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
---> 6b16749f3331
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
---> 862dd2a755cf
Step 23/58 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> Using cache
---> 3a6540075eef
Step 24/58 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
---> Using cache
---> f4f503d7a9e5
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
---> 4af315fbb9b0
Step 26/58 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
---> Using cache
---> 0ed549150f79
Step 27/58 : COPY --from=INSTALL /usr/bin/kubectl /usr/bin/kubectl
---> Using cache
---> 3a0e8cde874c
Step 28/58 : COPY --from=INSTALL /usr/local/bin/helm /usr/local/bin/helm
---> Using cache
---> bcb33f0a0d41
Step 29/58 : COPY --from=INSTALL /usr/local/bin/helm3 /usr/local/bin/helm3
---> Using cache
---> 87202bcc79b8
Step 30/58 : COPY --from=INSTALL /usr/bin/scp /usr/bin/scp
---> Using cache
---> f9fb80066ce3
Step 31/58 : COPY --from=INSTALL /usr/bin/ssh-keygen /usr/bin/ssh-keygen
---> Using cache
---> 753139215fe3
Step 32/58 : COPY --from=INSTALL /usr/bin/ssh /usr/bin/ssh
---> Using cache
---> 665d62663fed
Step 33/58 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
---> Using cache
---> 8a5d31bc8c3e
Step 34/58 : COPY --from=INSTALL /lib/x86_64-linux-gnu/ /lib/x86_64-linux-gnu/
---> Using cache
---> c1b342971d8b
Step 35/58 : COPY scripts/ /app/osm_lcm/scripts/
---> Using cache
---> 214fa626ba7d
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
---> d6ca3d7f6f19
Step 37/58 : WORKDIR /app/osm_lcm
---> Using cache
---> 335f2993094e
Step 38/58 : USER appuser
---> Using cache
---> 7e054ea256e5
Step 39/58 : ENV OSMLCM_RO_HOST ro
---> Using cache
---> b2caf09a2267
Step 40/58 : ENV OSMLCM_RO_PORT 9090
---> Using cache
---> 76cf0f76d038
Step 41/58 : ENV OSMLCM_RO_TENANT osm
---> Using cache
---> 6ad09f4ec247
Step 42/58 : ENV OSMLCM_VCA_HOST vca
---> Using cache
---> 483779eaffac
Step 43/58 : ENV OSMLCM_VCA_PORT 17070
---> Using cache
---> ebb803a2c353
Step 44/58 : ENV OSMLCM_VCA_USER admin
---> Using cache
---> 6f9ac6fe0865
Step 45/58 : ENV OSMLCM_VCA_SECRET secret
---> Using cache
---> a25d975d6dda
Step 46/58 : ENV OSMLCM_DATABASE_DRIVER mongo
---> Using cache
---> 726fcbf14236
Step 47/58 : ENV OSMLCM_DATABASE_URI mongodb://mongo:27017
---> Using cache
---> c9fdcf74f293
Step 48/58 : ENV OSMLCM_STORAGE_DRIVER local
---> Using cache
---> 19ddd00e700d
Step 49/58 : ENV OSMLCM_STORAGE_PATH /app/storage
---> Using cache
---> 06fe238afb63
Step 50/58 : ENV OSMLCM_MESSAGE_DRIVER kafka
---> Using cache
---> d3b811b84570
Step 51/58 : ENV OSMLCM_MESSAGE_HOST kafka
---> Using cache
---> d1937746f686
Step 52/58 : ENV OSMLCM_MESSAGE_PORT 9092
---> Using cache
---> fa4b6d989128
Step 53/58 : ENV OSMLCM_VCA_HELMPATH /usr/local/bin/helm
---> Using cache
---> 5b4ee5a16dd7
Step 54/58 : ENV OSMLCM_VCA_KUBECTLPATH /usr/bin/kubectl
---> Using cache
---> 7cae17e15447
Step 55/58 : ENV OSMLCM_VCA_JUJUPATH /usr/local/bin/juju
---> Using cache
---> 74801e765177
Step 56/58 : ENV OSMLCM_VCA_STABLEREPOURL https://charts.helm.sh/stable
---> Using cache
---> 595643865d23
Step 57/58 : HEALTHCHECK --start-period=120s --interval=30s --timeout=30s --retries=1 CMD python3 -m osm_lcm.lcm_hc || exit 1
---> Using cache
---> d4e86ae1adcc
Step 58/58 : CMD [ "/bin/bash", "scripts/start.sh" ]
---> Using cache
---> a3265385d6bc
[Warning] One or more build-args [PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_ROVIM_OPENVIM_URL OSM_IMDOCS_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROSDN_ODLOF_URL OSM_TESTS_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL OSM_NGUI_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL CACHE_DATE PYTHON3_OSM_PLA_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL OSM_DEVOPS_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_RO_PLUGIN_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_ONOSOF_URL] were not consumed
Successfully built a3265385d6bc
Successfully tagged opensourcemano/lcm:osm-master-12498