Console Output
[PLA] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/pla:osm-v130-merge-446 --build-arg CACHE_DATE=2024-01-31:21:08:35 --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/v13.0/339/pool/osmclient/python3-osmclient_13.0.2.post1+gf9df84a-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/v13.0/362/pool/devops/osm-devops_13.0.2.post1-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/v13.0/336/pool/MON/python3-osm-mon_13.0.2.post1+gd9a11dd-1_all.deb --build-arg PYTHON3_N2VC_URL=https://artifactory-osm.etsi.org/artifactory/osm-N2VC/v13.0/338/pool/N2VC/python3-n2vc_13.0.2.post1+gbd201f5-1_all.deb --build-arg PYTHON3_OSM_NBI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NBI/v13.0/336/pool/NBI/python3-osm-nbi_13.0.2+g70aced4-1_all.deb --build-arg PYTHON3_OSM_COMMON_URL=https://artifactory-osm.etsi.org/artifactory/osm-common/v13.0/339/pool/common/python3-osm-common_13.0.2.post1+gc9512e2-1_all.deb --build-arg PYTHON3_OSM_LCM_URL=https://artifactory-osm.etsi.org/artifactory/osm-LCM/v13.0/339/pool/LCM/python3-osm-lcm_13.0.2.post1+g7fb1340-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/v13.0/335/pool/POL/python3-osm-policy-module_13.0.2+ge979531-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/v13.0/336/pool/NG-UI/osm-ngui_13.0.2-1_all.deb --build-arg PYTHON3_OSM_IM_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v13.0/336/pool/IM/python3-osm-im_13.0.2+gcf2688e-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v13.0/336/pool/IM/osm-imdocs_13.0.2-gcf2688e_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/327/pool/NG-SA/python3-osm-ngsa_13.0.2-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/v13.0/336/pool/PLA/python3-osm-pla_13.0.2+ge68492d-1_all.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/v13.0/228/pool/tests/osm-tests_13.0.2-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-ng-ro_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-ro-plugin_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-ietfl2vpn_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-dynpac_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-onosof_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-juniper-contrail_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-floodlightof_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rovim-azure_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rovim-openvim_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rovim-openstack_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rovim-gcp_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-dpb_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-arista-cloudvision_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOS_VPLS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-onos-vpls_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rosdn-odlof_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rovim-aws_13.0.2.post1+g009b72a-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v13.0/350/pool/RO/python3-osm-rovim-vmware_13.0.2.post1+g009b72a-1_all.deb .
Sending build context to Docker daemon 9.216kB
Step 1/39 : FROM ubuntu:20.04 as INSTALL
20.04: Pulling from library/ubuntu
Digest: sha256:f2034e7195f61334e6caff6ecf2e965f92d11e888309065da85ff50c617732b8
Status: Image is up to date for ubuntu:20.04
---> f78909c2b360
Step 2/39 : ARG APT_PROXY
---> Using cache
---> 54303a83bb0e
Step 3/39 : 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
---> be465fb7843e
Step 4/39 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install gcc=4:9.3.* python3=3.8.* python3-dev=3.8.* python3-pip=20.0.2* python3-setuptools=45.2.* curl=7.68.*
---> Using cache
---> 9bbc9022d277
Step 5/39 : ARG PYTHON3_OSM_COMMON_URL
---> Running in 3af660c46d7e
Removing intermediate container 3af660c46d7e
---> 14ad24db05b8
Step 6/39 : ARG PYTHON3_OSM_PLA_URL
---> Running in 172460482cf2
Removing intermediate container 172460482cf2
---> 34e861a70dad
Step 7/39 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
---> Running in f35f80d5828c
[91m % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[0m[91m
100 37396 100 37396 0 0 274k 0 --:--:-- --:--:-- --:--:-- 274k
[0mRemoving intermediate container f35f80d5828c
---> c571efc20c6b
Step 8/39 : RUN dpkg -i ./osm_common.deb
---> Running in 8ff04032fc09
Selecting previously unselected package python3-osm-common.
(Reading database ... 14479 files and directories currently installed.)
Preparing to unpack ./osm_common.deb ...
Unpacking python3-osm-common (13.0.2.post1+gc9512e2-1) ...
Setting up python3-osm-common (13.0.2.post1+gc9512e2-1) ...
Removing intermediate container 8ff04032fc09
---> d1f2017bb716
Step 9/39 : RUN curl $PYTHON3_OSM_PLA_URL -o osm_pla.deb
---> Running in fabbcd11ec17
[91m % Total % Received % Xferd Average Speed Time Time Time Current
Dload Uploa[0m[91md Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[0m[91m
100 27604 100 27604 0 0 123k 0 --:--:-- --:--:-- --:--:--[0m[91m 123k
[0mRemoving intermediate container fabbcd11ec17
---> 6d9526326155
Step 10/39 : RUN dpkg -i ./osm_pla.deb
---> Running in b82a479a5a72
Selecting previously unselected package python3-osm-pla.
(Reading database ... 14540 files and directories currently installed.)
Preparing to unpack ./osm_pla.deb ...
Unpacking python3-osm-pla (13.0.2+ge68492d-1) ...
Setting up python3-osm-pla (13.0.2+ge68492d-1) ...
Removing intermediate container b82a479a5a72
---> ed6d5e45f8f6
Step 11/39 : RUN pip3 install -r /usr/lib/python3/dist-packages/osm_common/requirements.txt -r /usr/lib/python3/dist-packages/osm_pla/requirements.txt
---> Running in 627395e03a9f
Collecting aiokafka==0.7.2
Downloading aiokafka-0.7.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.2 MB)
Collecting dataclasses==0.6
Downloading dataclasses-0.6-py3-none-any.whl (14 kB)
Collecting kafka-python==2.0.2
Downloading kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
Collecting pycrypto==2.6.1
Downloading pycrypto-2.6.1.tar.gz (446 kB)
Collecting pymongo==3.12.3
Downloading pymongo-3.12.3-cp38-cp38-manylinux2014_x86_64.whl (546 kB)
Collecting pyyaml==5.4.1
Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Collecting jinja2==3.1.2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting markupsafe==2.1.1
Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting pymzn==0.18.3
Downloading pymzn-0.18.3-py3-none-any.whl (42 kB)
Building wheels for collected packages: pycrypto
Building wheel for pycrypto (setup.py): started
Building wheel for pycrypto (setup.py): finished with status 'done'
Created wheel for pycrypto: filename=pycrypto-2.6.1-cp38-cp38-linux_x86_64.whl size=498474 sha256=e7f5dad912f536226cc1bf59cfaab5d48b22f08cc6f66c83b025117decf5de84
Stored in directory: /root/.cache/pip/wheels/d0/99/d0/0298ea019d63f1d63a0965b9944b719e875f9bd6ffc6dcf293
Successfully built pycrypto
Installing collected packages: kafka-python, aiokafka, dataclasses, pycrypto, pymongo, pyyaml, markupsafe, jinja2, pymzn
Successfully installed aiokafka-0.7.2 dataclasses-0.6 jinja2-3.1.2 kafka-python-2.0.2 markupsafe-2.1.1 pycrypto-2.6.1 pymongo-3.12.3 pymzn-0.18.3 pyyaml-5.4.1
Removing intermediate container 627395e03a9f
---> b289c17a29b0
Step 12/39 : ADD https://github.com/MiniZinc/MiniZincIDE/releases/download/2.4.2/MiniZincIDE-2.4.2-bundle-linux-x86_64.tgz /minizinc.tgz
---> b4328f2ab790
Step 13/39 : RUN tar -zxf /minizinc.tgz && mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
---> Running in 00c5ed87ab0d
Removing intermediate container 00c5ed87ab0d
---> 62a827a55dea
Step 14/39 : FROM ubuntu:20.04 as FINAL
---> f78909c2b360
Step 15/39 : ARG APT_PROXY
---> Using cache
---> 54303a83bb0e
Step 16/39 : 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
---> be465fb7843e
Step 17/39 : RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal=3.8.* && rm -rf /var/lib/apt/lists/*
---> Using cache
---> cf8610939ea3
Step 18/39 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
---> Using cache
---> df9524ef704b
Step 19/39 : LABEL authors="Lars-Göran Magnusson"
---> Using cache
---> 17c1f7300d92
Step 20/39 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
---> 196f56a78362
Step 21/39 : COPY --from=INSTALL /usr/local/lib/python3.8/dist-packages /usr/local/lib/python3.8/dist-packages
---> cdc239145727
Step 22/39 : COPY --from=INSTALL /usr/bin/osm* /usr/bin/
---> 3275ba964501
Step 23/39 : COPY --from=INSTALL /minizinc /minizinc
---> d9eed8eeaba1
Step 24/39 : RUN mkdir /entry_data && mkdir /placement && mkdir /entry_data/mzn-lib && ln -s /entry_data/mzn-lib /minizinc/share/minizinc/exec
---> Running in 8b6e112214c4
Removing intermediate container 8b6e112214c4
---> ab4b952d7e34
Step 25/39 : COPY scripts/ /app/osm_pla/scripts/
---> a95ed1511f24
Step 26/39 : RUN groupadd -g 1000 appuser && useradd -u 1000 -g 1000 -d /app appuser && mkdir -p /app/osm_pla && chown -R appuser:appuser /app && chown -R appuser:appuser /entry_data && chown -R appuser:appuser /minizinc && chown -R appuser:appuser /placement
---> Running in 5490725f14e1
Removing intermediate container 5490725f14e1
---> 51154bac1b94
Step 27/39 : WORKDIR /app/osm_pla
---> Running in e0ff381f91b6
Removing intermediate container e0ff381f91b6
---> 1f548403d8a1
Step 28/39 : USER appuser
---> Running in 94b2999f6399
Removing intermediate container 94b2999f6399
---> de058ce23ff4
Step 29/39 : ENV OSMPLA_MESSAGE_DRIVER kafka
---> Running in 1da181d99981
Removing intermediate container 1da181d99981
---> e391d863598f
Step 30/39 : ENV OSMPLA_MESSAGE_HOST kafka
---> Running in a751dc77bf1f
Removing intermediate container a751dc77bf1f
---> 36872ac3502e
Step 31/39 : ENV OSMPLA_MESSAGE_PORT 9092
---> Running in 66c6e5a56add
Removing intermediate container 66c6e5a56add
---> b80db50e8c6c
Step 32/39 : ENV OSMPLA_DATABASE_DRIVER mongo
---> Running in bdddfe363348
Removing intermediate container bdddfe363348
---> 72ff77d3f8d0
Step 33/39 : ENV OSMPLA_DATABASE_URI mongodb://mongo:27017
---> Running in 5cd9f7639db3
Removing intermediate container 5cd9f7639db3
---> 0274e16cc722
Step 34/39 : ENV OSMPLA_SQL_DATABASE_URI sqlite:///pla_sqlite.db
---> Running in 8af2317b58f2
Removing intermediate container 8af2317b58f2
---> 29ccafed6682
Step 35/39 : ENV OSMPLA_GLOBAL_LOG_LEVEL INFO
---> Running in 4b173e2c7df1
Removing intermediate container 4b173e2c7df1
---> 4c9e291014d8
Step 36/39 : ENV FZNEXEC "/entry_data/fzn-exec"
---> Running in 2bae6b22a3f4
Removing intermediate container 2bae6b22a3f4
---> 7f6dd4a66e17
Step 37/39 : ENV PATH "/minizinc/bin:${PATH}"
---> Running in b53f79b624a6
Removing intermediate container b53f79b624a6
---> 0e19dd5f3b03
Step 38/39 : ENV LD_LIBRARY_PATH "/minizinc/lib:${LD_LIBRARY_PATH}"
---> Running in 8533a5bc0533
Removing intermediate container 8533a5bc0533
---> 7581a143835e
Step 39/39 : CMD [ "/bin/bash", "scripts/start.sh" ]
---> Running in 5108ef58735c
Removing intermediate container 5108ef58735c
---> 041bf4b7693e
[Warning] One or more build-args [PYTHON3_OSM_LCM_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL OSM_DEVOPS_URL OSM_IMDOCS_URL CACHE_DATE PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_RO_PLUGIN_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROSDN_DPB_URL OSM_TESTS_URL PYTHON3_N2VC_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_ROVIM_AWS_URL OSM_NGUI_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_NGSA_URL] were not consumed
Successfully built 041bf4b7693e
Successfully tagged opensourcemano/pla:osm-v130-merge-446