Console Output
[MON] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/mon:osm-v140-174 --build-arg CACHE_DATE=2024-03-06:21:23:26 --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/v14.0-staging/50/pool/devops/osm-devops_14.0.1.post1-1_all.deb --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/v14.0/261/pool/osmclient/python3-osmclient_14.0.1.post1+g9204883-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/v14.0/260/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/262/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/261/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/262/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/259/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/265/pool/NG-UI/osm-ngui_14.0.1-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0/262/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/262/pool/IM/python3-osm-im_14.0.1+g88bac73-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/v14.0/259/pool/PLA/python3-osm-pla_14.0.1+g1390ad3-1_all.deb --build-arg PYTHON3_N2VC_URL=https://artifactory-osm.etsi.org/artifactory/osm-N2VC/v14.0/262/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/264/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/264/pool/NG-SA/python3-osm-ngsa_14.0.1-1_all.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/v14.0/266/pool/tests/osm-tests_14.0.1-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/269/pool/RO/python3-osm-ro-plugin_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/269/pool/RO/python3-osm-rosdn-onosof_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/269/pool/RO/python3-osm-rosdn-dpb_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/269/pool/RO/python3-osm-ng-ro_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/269/pool/RO/python3-osm-rovim-vmware_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/269/pool/RO/python3-osm-rosdn-arista-cloudvision_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/269/pool/RO/python3-osm-rosdn-onos-vpls_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/269/pool/RO/python3-osm-rosdn-floodlightof_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/269/pool/RO/python3-osm-rosdn-juniper-contrail_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/269/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/269/pool/RO/python3-osm-rosdn-dynpac_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/269/pool/RO/python3-osm-rosdn-odlof_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/269/pool/RO/python3-osm-rovim-azure_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/269/pool/RO/python3-osm-rovim-openvim_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/269/pool/RO/python3-osm-rosdn-tapi_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/269/pool/RO/python3-osm-rosdn-ietfl2vpn_14.0.1.post1+gdc12a44-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/269/pool/RO/python3-osm-rovim-openstack_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/269/pool/RO/python3-osm-rovim-gcp_14.0.1.post1+gdc12a44-1_all.deb .
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:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f44eff17e
Status: Image is up to date for ubuntu:22.04
---> ca2b0f26964c
Step 2/56 : ARG APT_PROXY
---> Using cache
---> 68af8829a8cb
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
---> 1833c12d948c
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
---> 66dac7b65c8d
Step 5/56 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install openssh-client=1:8.*
---> Using cache
---> 5b259db81054
Step 6/56 : ARG PYTHON3_OSM_COMMON_URL
---> Using cache
---> b1bddef57302
Step 7/56 : ARG PYTHON3_OSM_MON_URL
---> Using cache
---> ed1857c1e90f
Step 8/56 : ARG PYTHON3_N2VC_URL
---> Using cache
---> b2e066a255d6
Step 9/56 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Using cache
---> 33c4c4714c5f
Step 10/56 : RUN dpkg -i ./osm_common.deb
---> Using cache
---> b466c6d1825a
Step 11/56 : RUN curl $PYTHON3_N2VC_URL -o n2vc.deb
---> Using cache
---> fba5cd978fea
Step 12/56 : RUN dpkg -i ./n2vc.deb
---> Using cache
---> 65e96cee17e7
Step 13/56 : RUN curl $PYTHON3_OSM_MON_URL -o osm_mon.deb
---> Using cache
---> 2da051199b08
Step 14/56 : RUN dpkg -i ./osm_mon.deb
---> Using cache
---> 3188c4bb7859
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
---> 399ea71db0c4
Step 16/56 : FROM ubuntu:22.04 as FINAL
---> ca2b0f26964c
Step 17/56 : ARG APT_PROXY
---> Using cache
---> 68af8829a8cb
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
---> 1833c12d948c
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
---> e4ed9a3886a1
Step 20/56 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> Using cache
---> 925c5cee55f7
Step 21/56 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
---> Using cache
---> b1f9f109e2ea
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
---> 93719e572536
Step 23/56 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
---> Using cache
---> 6f9b68b8a98d
Step 24/56 : COPY --from=INSTALL /usr/bin/osm* /usr/bin/
---> Using cache
---> 5cb56168466a
Step 25/56 : COPY --from=INSTALL /usr/bin/scp /usr/bin/scp
---> Using cache
---> 777aff78a291
Step 26/56 : COPY --from=INSTALL /usr/bin/ssh-keygen /usr/bin/ssh-keygen
---> Using cache
---> 27201d05c163
Step 27/56 : COPY --from=INSTALL /usr/bin/ssh /usr/bin/ssh
---> Using cache
---> 0000f649e0b4
Step 28/56 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
---> Using cache
---> 06b5388ef8b7
Step 29/56 : COPY --from=INSTALL /lib/x86_64-linux-gnu/ /lib/x86_64-linux-gnu/
---> Using cache
---> f689b3501e86
Step 30/56 : COPY scripts/ /app/osm_mon/scripts/
---> Using cache
---> c92cbe60f66e
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
---> 062840211d33
Step 32/56 : WORKDIR /app/osm_mon
---> Using cache
---> f96cee089f85
Step 33/56 : USER appuser
---> Using cache
---> de72dad1f41a
Step 34/56 : ENV OSMMON_MESSAGE_DRIVER kafka
---> Using cache
---> 4a3771a75c14
Step 35/56 : ENV OSMMON_MESSAGE_HOST kafka
---> Using cache
---> a3e8aa76ca11
Step 36/56 : ENV OSMMON_MESSAGE_PORT 9092
---> Using cache
---> b0ce6ef3254b
Step 37/56 : ENV OSMMON_DATABASE_DRIVER mongo
---> Using cache
---> f482194118be
Step 38/56 : ENV OSMMON_DATABASE_URI mongodb://mongo:27017
---> Using cache
---> 2ce2b5c9e380
Step 39/56 : ENV OSMMON_SQL_DATABASE_URI sqlite:///mon_sqlite.db
---> Using cache
---> eb78d41dc486
Step 40/56 : ENV OSMMON_OPENSTACK_DEFAULT_GRANULARITY 300
---> Using cache
---> 40ec4a93db5a
Step 41/56 : ENV OSMMON_GLOBAL_REQUEST_TIMEOUT 10
---> Using cache
---> 5bcef5c71bab
Step 42/56 : ENV OSMMON_GLOBAL_LOGLEVEL INFO
---> Using cache
---> 21c03cbaf761
Step 43/56 : ENV OSMMON_VCA_HOST localhost
---> Using cache
---> 83cc596ed008
Step 44/56 : ENV OSMMON_VCA_SECRET secret
---> Using cache
---> 0e5189229408
Step 45/56 : ENV OSMMON_VCA_USER admin
---> Using cache
---> d929a0990932
Step 46/56 : ENV OSMMON_VCA_CACERT cacert
---> Using cache
---> 98d33f936ac2
Step 47/56 : ENV OSMMON_DATABASE_COMMONKEY changeme
---> Using cache
---> 7d455e393dcc
Step 48/56 : ENV OSMMON_COLLECTOR_INTERVAL 30
---> Using cache
---> d5ae7cb7e2e0
Step 49/56 : ENV OSMMON_EVALUATOR_INTERVAL 30
---> Using cache
---> 44683dc28b3d
Step 50/56 : ENV OSMMON_PROMETHEUS_URL http://prometheus:9090
---> Using cache
---> c473445fc973
Step 51/56 : ENV OSMMON_GRAFANA_URL http://grafana:3000
---> Using cache
---> e9ddb1fb0388
Step 52/56 : ENV OSMMON_GRAFANA_USER admin
---> Using cache
---> abcc4015b845
Step 53/56 : ENV OSMMON_GRAFANA_PASSWORD admin
---> Using cache
---> 393a24ce1c12
Step 54/56 : EXPOSE 8000
---> Using cache
---> 7170db0bfb43
Step 55/56 : HEALTHCHECK --start-period=120s --interval=5s --timeout=2s --retries=12 CMD osm-mon-healthcheck || exit 1
---> Using cache
---> a27ea17a1f36
Step 56/56 : CMD /bin/bash scripts/start.sh
---> Using cache
---> 22ab8af079fa
[Warning] One or more build-args [PYTHON3_OSM_NBI_URL OSM_NGUI_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_PLA_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROVIM_AWS_URL CACHE_DATE PYTHON3_OSM_IM_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROVIM_AZURE_URL OSM_TESTS_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL OSM_DEVOPS_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROSDN_TAPI_URL OSM_IMDOCS_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_RO_PLUGIN_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL] were not consumed
Successfully built 22ab8af079fa
Successfully tagged opensourcemano/mon:osm-v140-174