Console Output
[MON] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/mon:osm-master-12699 --build-arg CACHE_DATE=2024-06-28:06:53:55 --build-arg PYTHON3_OSM_LCM_URL=https://artifactory-osm.etsi.org/artifactory/osm-LCM/master-staging/1711/pool/LCM/python3-osm-lcm_9.0.0.post169+gad400e4-1_all.deb --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/master/805/pool/osmclient/python3-osmclient_11.0.0rc1.post74+gec1d366-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/master/1672/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/794/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/812/pool/N2VC/python3-n2vc_11.0.0rc1.post85+g1db89e8-1_all.deb --build-arg PYTHON3_OSM_NBI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NBI/master/915/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/604/pool/common/python3-osm-common_15.0.0.post3+g409397d-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/master/638/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/638/pool/IM/python3-osm-im_15.0.0.post1+g90ffed2-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/master/577/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/562/pool/NG-UI/osm-ngui_15.0.0.post6+gc84f112-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/514/pool/NG-SA/python3-osm-webhook-translator_15.1~dev1+g48926ce-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/514/pool/NG-SA/python3-osm-ngsa_15.1~dev1+g48926ce-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/master/510/pool/PLA/python3-osm-pla_11.0.0.post12+gfcdb2c4-1_all.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/master/703/pool/tests/osm-tests_9.0.0rc1.post215+ga4b669e-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rovim-vmware_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rovim-openstack_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-odlof_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-dynpac_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-floodlightof_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-ng-ro_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-juniper-contrail_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-arista-cloudvision_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rovim-openvim_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-tapi_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rovim-aws_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-ro-plugin_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-onosof_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rovim-gcp_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rovim-azure_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-dpb_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-ietfl2vpn_9.0.0.post180+g970f555-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOS_VPLS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/1035/pool/RO/python3-osm-rosdn-onos-vpls_9.0.0.post180+g970f555-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/56 : FROM ubuntu:22.04 as INSTALL
22.04: Pulling from library/ubuntu
Digest: sha256:19478ce7fc2ffbce89df29fea5725a8d12e57de52eb9ea570890dc5852aac1ac
Status: Image is up to date for ubuntu:22.04
---> 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 openssh-client=1:8.*
---> Using cache
---> b515846713f0
Step 6/56 : ARG PYTHON3_OSM_COMMON_URL
---> Using cache
---> 7168d4a27db6
Step 7/56 : ARG PYTHON3_OSM_MON_URL
---> Using cache
---> db324d2f6c26
Step 8/56 : ARG PYTHON3_N2VC_URL
---> Using cache
---> cfb52ed89070
Step 9/56 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Using cache
---> a1777baa5428
Step 10/56 : RUN dpkg -i ./osm_common.deb
---> Using cache
---> e0de36cc5724
Step 11/56 : RUN curl $PYTHON3_N2VC_URL -o n2vc.deb
---> Using cache
---> b6d4443b34bc
Step 12/56 : RUN dpkg -i ./n2vc.deb
---> Using cache
---> 980d8a13f705
Step 13/56 : RUN curl $PYTHON3_OSM_MON_URL -o osm_mon.deb
---> Using cache
---> 4ff07733231c
Step 14/56 : RUN dpkg -i ./osm_mon.deb
---> Using cache
---> b943e93c14b8
Step 15/56 : RUN pip3 install -r /usr/lib/python3/dist-packages/n2vc/requirements.txt -r /usr/lib/python3/dist-packages/osm_common/requirements.txt -r /usr/lib/python3/dist-packages/osm_mon/requirements.txt
---> Using cache
---> 6b1d83fa8f1f
Step 16/56 : FROM ubuntu:22.04 as FINAL
---> 67c845845b7d
Step 17/56 : ARG APT_PROXY
---> Using cache
---> 9da810ed0c6a
Step 18/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 19/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 20/56 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> Using cache
---> 4fa06becd616
Step 21/56 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
---> Using cache
---> b76144f41a97
Step 22/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
---> 774f5454def6
Step 23/56 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
---> Using cache
---> ed1af1e39b90
Step 24/56 : COPY --from=INSTALL /usr/bin/osm* /usr/bin/
---> Using cache
---> 1dd1c12c9125
Step 25/56 : COPY --from=INSTALL /usr/bin/scp /usr/bin/scp
---> Using cache
---> 385f9b6ebd3f
Step 26/56 : COPY --from=INSTALL /usr/bin/ssh-keygen /usr/bin/ssh-keygen
---> Using cache
---> e171aa8a8b89
Step 27/56 : COPY --from=INSTALL /usr/bin/ssh /usr/bin/ssh
---> Using cache
---> 531bf94f9298
Step 28/56 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
---> Using cache
---> d2a3ae1cbe3c
Step 29/56 : COPY --from=INSTALL /lib/x86_64-linux-gnu/ /lib/x86_64-linux-gnu/
---> Using cache
---> b37ae89423d0
Step 30/56 : COPY scripts/ /app/osm_mon/scripts/
---> Using cache
---> 37ad55d1cf96
Step 31/56 : RUN groupadd -g 1000 appuser && useradd -u 1000 -g 1000 -d /app appuser && mkdir -p /app/osm_mon && mkdir -p /app/storage/kafka && mkdir /app/log && chown -R appuser:appuser /app
---> Using cache
---> e79a4545ae86
Step 32/56 : WORKDIR /app/osm_mon
---> Using cache
---> 95b37d59f771
Step 33/56 : USER appuser
---> Using cache
---> f11e1f6499da
Step 34/56 : ENV OSMMON_MESSAGE_DRIVER kafka
---> Using cache
---> 7459c5a5e325
Step 35/56 : ENV OSMMON_MESSAGE_HOST kafka
---> Using cache
---> 59165241578c
Step 36/56 : ENV OSMMON_MESSAGE_PORT 9092
---> Using cache
---> 985f5aa636fc
Step 37/56 : ENV OSMMON_DATABASE_DRIVER mongo
---> Using cache
---> 7c34f179a44d
Step 38/56 : ENV OSMMON_DATABASE_URI mongodb://mongo:27017
---> Using cache
---> 20a09ce4ace8
Step 39/56 : ENV OSMMON_SQL_DATABASE_URI sqlite:///mon_sqlite.db
---> Using cache
---> ee522a6f0ea6
Step 40/56 : ENV OSMMON_OPENSTACK_DEFAULT_GRANULARITY 300
---> Using cache
---> dd70a27b5608
Step 41/56 : ENV OSMMON_GLOBAL_REQUEST_TIMEOUT 10
---> Using cache
---> 615c02b6d2d6
Step 42/56 : ENV OSMMON_GLOBAL_LOGLEVEL INFO
---> Using cache
---> 1ec978288046
Step 43/56 : ENV OSMMON_VCA_HOST localhost
---> Using cache
---> 9e5f120aa697
Step 44/56 : ENV OSMMON_VCA_SECRET secret
---> Using cache
---> 2ace2194bcd7
Step 45/56 : ENV OSMMON_VCA_USER admin
---> Using cache
---> 2b1f5d001a28
Step 46/56 : ENV OSMMON_VCA_CACERT cacert
---> Using cache
---> eaf186cf0479
Step 47/56 : ENV OSMMON_DATABASE_COMMONKEY changeme
---> Using cache
---> 8d418db8baff
Step 48/56 : ENV OSMMON_COLLECTOR_INTERVAL 30
---> Using cache
---> 9f4f3374b44e
Step 49/56 : ENV OSMMON_EVALUATOR_INTERVAL 30
---> Using cache
---> af6ef68a0d8e
Step 50/56 : ENV OSMMON_PROMETHEUS_URL http://prometheus:9090
---> Using cache
---> 4dd5d9dff0f7
Step 51/56 : ENV OSMMON_GRAFANA_URL http://grafana:3000
---> Using cache
---> e487da80b28a
Step 52/56 : ENV OSMMON_GRAFANA_USER admin
---> Using cache
---> b06d3338f63e
Step 53/56 : ENV OSMMON_GRAFANA_PASSWORD admin
---> Using cache
---> 5197bb3d1e70
Step 54/56 : EXPOSE 8000
---> Using cache
---> fd75557640af
Step 55/56 : HEALTHCHECK --start-period=120s --interval=5s --timeout=2s --retries=12 CMD osm-mon-healthcheck || exit 1
---> Using cache
---> 5c2b799563ca
Step 56/56 : CMD /bin/bash scripts/start.sh
---> Using cache
---> cb2b3198de16
[Warning] One or more build-args [PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL OSM_TESTS_URL OSM_NGUI_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROVIM_VMWARE_URL OSM_DEVOPS_URL PYTHON3_OSM_PLA_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_NG_RO_URL OSM_IMDOCS_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROSDN_ONOSOF_URL CACHE_DATE PYTHON3_OSMCLIENT_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_RO_PLUGIN_URL] were not consumed
Successfully built cb2b3198de16
Successfully tagged opensourcemano/mon:osm-master-12699