Console Output
[POL] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/pol: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.216kB
Step 1/40 : FROM ubuntu:22.04 as INSTALL
---> 67c845845b7d
Step 2/40 : ARG APT_PROXY
---> Using cache
---> 9da810ed0c6a
Step 3/40 : 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/40 : 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/40 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install mysql-client-core-8.0=8.0.*
---> Using cache
---> 16a8ae710d5b
Step 6/40 : ARG PYTHON3_OSM_COMMON_URL
---> Using cache
---> 16c11b1d6edb
Step 7/40 : ARG PYTHON3_OSM_POLICY_MODULE_URL
---> Using cache
---> a744647c421c
Step 8/40 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Using cache
---> 91033ccabc7a
Step 9/40 : RUN dpkg -i ./osm_common.deb
---> Using cache
---> 95eb01e651f4
Step 10/40 : RUN curl $PYTHON3_OSM_POLICY_MODULE_URL -o osm_policy_module.deb
---> Using cache
---> fbf1384574e0
Step 11/40 : RUN dpkg -i ./osm_policy_module.deb
---> Using cache
---> 41c0df8d6d33
Step 12/40 : RUN pip3 install -r /usr/lib/python3/dist-packages/osm_common/requirements.txt -r /usr/lib/python3/dist-packages/osm_policy_module/requirements.txt
---> Using cache
---> 4913463dc863
Step 13/40 : FROM ubuntu:22.04 as FINAL
---> 67c845845b7d
Step 14/40 : ARG APT_PROXY
---> Using cache
---> 9da810ed0c6a
Step 15/40 : 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 16/40 : 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 17/40 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> Using cache
---> 48554dbc95c3
Step 18/40 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
---> Using cache
---> 97c778039b16
Step 19/40 : COPY --from=INSTALL /usr/bin/osm* /usr/bin/
---> Using cache
---> 18a7951d4097
Step 20/40 : COPY --from=INSTALL /usr/bin/mysql /usr/bin/
---> Using cache
---> 0097ed755f56
Step 21/40 : COPY --from=INSTALL /usr/bin/mysqladmin /usr/bin/
---> Using cache
---> 43d92f730dea
Step 22/40 : COPY --from=INSTALL /usr/bin/mysqlshow /usr/bin/
---> Using cache
---> 8e6090994dc7
Step 23/40 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/libedit.so.2 /usr/lib/x86_64-linux-gnu/
---> Using cache
---> 6885aabdbdfd
Step 24/40 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/libbsd.so.0 /usr/lib/x86_64-linux-gnu/
---> Using cache
---> 43e7639cfaed
Step 25/40 : COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/libmd.so.0 /usr/lib/x86_64-linux-gnu/
---> Using cache
---> 5a624d18fc05
Step 26/40 : COPY scripts/ /app/osm_pol/scripts/
---> Using cache
---> 4ce26e5f9d65
Step 27/40 : RUN groupadd -g 1000 appuser && useradd -u 1000 -g 1000 -d /app appuser && mkdir -p /app/osm_pol && mkdir -p /app/storage/kafka && mkdir /app/log && chown -R appuser:appuser /app
---> Using cache
---> 00d78c7bf393
Step 28/40 : WORKDIR /app/osm_pol
---> Using cache
---> 16a74bc4413d
Step 29/40 : USER appuser
---> Using cache
---> 21264d309c43
Step 30/40 : ENV OSMPOL_MESSAGE_DRIVER kafka
---> Using cache
---> 01c2ec8cdd7e
Step 31/40 : ENV OSMPOL_MESSAGE_HOST kafka
---> Using cache
---> 479ef97ea562
Step 32/40 : ENV OSMPOL_MESSAGE_PORT 9092
---> Using cache
---> 3c42ae5002b6
Step 33/40 : ENV OSMPOL_DATABASE_DRIVER mongo
---> Using cache
---> 0c09e98d6b77
Step 34/40 : ENV OSMPOL_DATABASE_URI mongodb://mongo:27017
---> Using cache
---> ec8ec25cc34b
Step 35/40 : ENV OSMPOL_SQL_DATABASE_URI sqlite:///mon_sqlite.db
---> Using cache
---> e1fc598a1b55
Step 36/40 : ENV OSMPOL_GLOBAL_LOG_LEVEL INFO
---> Using cache
---> 7cf390259b75
Step 37/40 : ENV OSMPOL_AUTOHEAL_ENABLED True
---> Using cache
---> ac052da08940
Step 38/40 : ENV OSMPOL_AUTOSCALE_ENABLED True
---> Using cache
---> 184d8064880e
Step 39/40 : HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 CMD osm-pol-healthcheck || exit 1
---> Using cache
---> 5d1d0da16ff8
Step 40/40 : CMD /bin/bash scripts/start.sh
---> Using cache
---> f0f568a7d37f
[Warning] One or more build-args [PYTHON3_OSM_NBI_URL PYTHON3_OSM_PLA_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_ROVIM_AZURE_URL OSM_TESTS_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_MON_URL PYTHON3_N2VC_URL OSM_IMDOCS_URL OSM_NGUI_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_RO_PLUGIN_URL CACHE_DATE PYTHON3_OSM_IM_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL OSM_DEVOPS_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSMCLIENT_URL] were not consumed
Successfully built f0f568a7d37f
Successfully tagged opensourcemano/pol:osm-master-12683