Console Output
[NBI] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/nbi:osm-master-12446 --build-arg CACHE_DATE=2024-04-17:15:36:41 --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/master-staging/4148/pool/devops/osm-devops_15.0.0.post22-1_all.deb --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/master/724/pool/osmclient/python3-osmclient_11.0.0rc1.post66+gb9317cf-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/master/565/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/565/pool/IM/python3-osm-im_15.0.0.post1+g90ffed2-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/master/719/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/738/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/840/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/531/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/818/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/501/pool/POL/python3-osm-policy-module_11.0.0.post25+g055c4ee-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/master/484/pool/NG-UI/osm-ngui_15.0.0.post1+g219fe61-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/440/pool/NG-SA/python3-osm-webhook-translator_15.0-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/440/pool/NG-SA/python3-osm-ngsa_15.0-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/master/437/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/624/pool/tests/osm-tests_9.0.0rc1.post209+g9e5450f-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rovim-openvim_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/954/pool/RO/python3-osm-rosdn-arista-cloudvision_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rosdn-odlof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-ro-plugin_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rovim-aws_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rovim-gcp_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rosdn-onosof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rosdn-tapi_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rosdn-dynpac_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/954/pool/RO/python3-osm-rosdn-juniper-contrail_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rosdn-floodlightof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rovim-azure_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-ng-ro_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rovim-vmware_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/954/pool/RO/python3-osm-rosdn-onos-vpls_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rosdn-ietfl2vpn_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rosdn-dpb_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/954/pool/RO/python3-osm-rovim-openstack_9.0.0.post172+ge31d74b-1_all.deb .
Sending build context to Docker daemon 6.656kB
Step 1/44 : FROM ubuntu:22.04 as INSTALL
---> 7af9ba4f0a47
Step 2/44 : ARG APT_PROXY
---> Using cache
---> 685b7dceb11e
Step 3/44 : 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
---> 8214c20bc598
Step 4/44 : 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
---> a7fb47cf3a3a
Step 5/44 : ARG PYTHON3_OSM_COMMON_URL
---> Using cache
---> 8a35147382a4
Step 6/44 : ARG PYTHON3_OSM_IM_URL
---> Using cache
---> 8379360197a5
Step 7/44 : ARG PYTHON3_OSM_NBI_URL
---> Using cache
---> e9dac25b9ce7
Step 8/44 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Using cache
---> d8d0aa97d94c
Step 9/44 : RUN dpkg -i ./osm_common.deb
---> Using cache
---> 68e1feefb176
Step 10/44 : RUN curl $PYTHON3_OSM_IM_URL -o osm_im.deb
---> Using cache
---> 66bb851930c8
Step 11/44 : RUN dpkg -i ./osm_im.deb
---> Using cache
---> 2bd622c40a4c
Step 12/44 : RUN curl $PYTHON3_OSM_NBI_URL -o osm_nbi.deb
---> Using cache
---> 365a647222c7
Step 13/44 : RUN dpkg -i ./osm_nbi.deb
---> Using cache
---> 97c5a3891e36
Step 14/44 : RUN pip3 install -r /usr/lib/python3/dist-packages/osm_common/requirements.txt -r /usr/lib/python3/dist-packages/osm_im/requirements.txt -r /usr/lib/python3/dist-packages/osm_nbi/requirements.txt
---> Using cache
---> 88d1d30fbe03
Step 15/44 : FROM ubuntu:22.04 as FINAL
---> 7af9ba4f0a47
Step 16/44 : ARG APT_PROXY
---> Using cache
---> 685b7dceb11e
Step 17/44 : 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
---> 8214c20bc598
Step 18/44 : 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
---> 624174b0dc6e
Step 19/44 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> Using cache
---> 1df914b1f389
Step 20/44 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
---> Using cache
---> ab99a7346438
Step 21/44 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
---> Using cache
---> 519b4adb968a
Step 22/44 : RUN groupadd -g 1000 appuser && useradd -u 1000 -g 1000 -d /app appuser && mkdir -p /app/osm_nbi && mkdir -p /app/storage/kafka && mkdir /app/log && chown -R appuser:appuser /app
---> Using cache
---> d6d9049375c7
Step 23/44 : WORKDIR /app/osm_nbi
---> Using cache
---> f2a476788aa5
Step 24/44 : USER appuser
---> Using cache
---> ad0676668db1
Step 25/44 : EXPOSE 9999
---> Using cache
---> efb03330f781
Step 26/44 : RUN cp -R /usr/lib/python3/dist-packages/osm_nbi/html_public /app/osm_nbi/html_public
---> Using cache
---> 6006493c80a6
Step 27/44 : RUN cp /usr/lib/python3/dist-packages/osm_nbi/nbi.cfg /app/osm_nbi/
---> Using cache
---> 3fb9ff6d70d2
Step 28/44 : RUN cp -R /usr/lib/python3/dist-packages/osm_nbi/http /app/osm_nbi/
---> Using cache
---> 2d14ef181e85
Step 29/44 : ENV OSMNBI_SOCKET_HOST 0.0.0.0
---> Using cache
---> 2db7bbdf8bea
Step 30/44 : ENV OSMNBI_SOCKET_PORT 9999
---> Using cache
---> 5352a9d62a97
Step 31/44 : ENV OSMNBI_STORAGE_PATH /app/storage
---> Using cache
---> 157c32763977
Step 32/44 : ENV OSMNBI_DATABASE_DRIVER mongo
---> Using cache
---> ba4a88a4a169
Step 33/44 : ENV OSMNBI_DATABASE_URI mongodb://mongo:27017
---> Using cache
---> c9a6e363b7b4
Step 34/44 : ENV OSMNBI_STATIC_DIR /app/osm_nbi/html_public
---> Using cache
---> ccd5d05f6562
Step 35/44 : ENV OSMNBI_MESSAGE_DRIVER kafka
---> Using cache
---> c28e29a8ad34
Step 36/44 : ENV OSMNBI_MESSAGE_HOST kafka
---> Using cache
---> cf02ae8b41a2
Step 37/44 : ENV OSMNBI_MESSAGE_PORT 9092
---> Using cache
---> f9827655f619
Step 38/44 : ENV OSMNBI_LOG_FILE /app/log/nbi.log
---> Using cache
---> 1cef11b27f91
Step 39/44 : ENV OSMNBI_LOG_LEVEL DEBUG
---> Using cache
---> d90702f40d22
Step 40/44 : ENV OSMNBI_AUTHENTICATION_BACKEND internal
---> Using cache
---> a4a12a39c0a9
Step 41/44 : ENV OSMNBI_PROMETHEUS_HOST prometheus
---> Using cache
---> 0b5fbd1ad16f
Step 42/44 : ENV OSMNBI_PROMETHEUS_PORT 9090
---> Using cache
---> 411785d67d84
Step 43/44 : HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 CMD curl -k https://localhost:9999/osm/ | grep Welcome || exit 1
---> Using cache
---> 6d911cfd39e2
Step 44/44 : CMD python3 -m osm_nbi.nbi
---> Using cache
---> 240f33ad608d
[Warning] One or more build-args [PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_PLA_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_ROSDN_ODLOF_URL OSM_DEVOPS_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL OSM_IMDOCS_URL PYTHON3_N2VC_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_RO_PLUGIN_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL CACHE_DATE OSM_TESTS_URL OSM_NGUI_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_POLICY_MODULE_URL] were not consumed
Successfully built 240f33ad608d
Successfully tagged opensourcemano/nbi:osm-master-12446