SuccessConsole Output

[PLA] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/pla:osm-v150-merge-64 --build-arg CACHE_DATE=2024-02-19:03:35:33 --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/v15.0/71/pool/osmclient/python3-osmclient_15.0.0.post1+g3d802e3-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/v15.0/69/pool/devops/osm-devops_15.0.0-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/v15.0/71/pool/MON/python3-osm-mon_15.0.0.post1+g93cfdae-1_all.deb --build-arg PYTHON3_N2VC_URL=https://artifactory-osm.etsi.org/artifactory/osm-N2VC/v15.0/71/pool/N2VC/python3-n2vc_15.0.0.post1+g55fd5c9-1_all.deb --build-arg PYTHON3_OSM_NBI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NBI/v15.0/72/pool/NBI/python3-osm-nbi_15.0.0.post1+ge1c1437-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v15.0/69/pool/IM/osm-imdocs_15.0.0-g09d7979_amd64.deb --build-arg PYTHON3_OSM_IM_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v15.0/69/pool/IM/python3-osm-im_15.0.0+g09d7979-1_all.deb --build-arg PYTHON3_OSM_COMMON_URL=https://artifactory-osm.etsi.org/artifactory/osm-common/v15.0/70/pool/common/python3-osm-common_15.0.0.post1+g261e46f-1_all.deb --build-arg PYTHON3_OSM_LCM_URL=https://artifactory-osm.etsi.org/artifactory/osm-LCM/v15.0/71/pool/LCM/python3-osm-lcm_15.0.0.post1+g8530851-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/v15.0/70/pool/POL/python3-osm-policy-module_15.0.0+g27aef6c-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/v15.0/70/pool/NG-UI/osm-ngui_15.0.0.post1+g319d328-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v15.0/71/pool/NG-SA/python3-osm-ngsa_15.0.0-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v15.0/71/pool/NG-SA/python3-osm-webhook-translator_15.0.0-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-floodlightof_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-tapi_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-onosof_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rovim-openstack_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-dynpac_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rovim-aws_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-odlof_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOS_VPLS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-onos-vpls_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rovim-vmware_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-ro-plugin_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-ng-ro_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rovim-azure_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-ietfl2vpn_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-dpb_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rovim-openvim_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rovim-gcp_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-arista-cloudvision_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/71/pool/RO/python3-osm-rosdn-juniper-contrail_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/v15.0/70/pool/PLA/python3-osm-pla_15.0.0+g5fa7d6b-1_all.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/v15.0/74/pool/tests/osm-tests_15.0.0.post2+gb9ea77a-1_all.deb .
Sending build context to Docker daemon  9.216kB

Step 1/39 : FROM ubuntu:22.04 as INSTALL
 ---> 3db8720ecbf5
Step 2/39 : ARG APT_PROXY
 ---> Using cache
 ---> 31cf114415aa
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
 ---> a9fa358f0e48
Step 4/39 : 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
 ---> 67ce6469361a
Step 5/39 : ARG PYTHON3_OSM_COMMON_URL
 ---> Using cache
 ---> 421c2155db38
Step 6/39 : ARG PYTHON3_OSM_PLA_URL
 ---> Running in 53bdc1d6e8b8
Removing intermediate container 53bdc1d6e8b8
 ---> 3c236f2b1f15
Step 7/39 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
 ---> Running in 60e7a4d349f7
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 42718  100 42718    0     0   420k      0 --:--:-- --:--:-- --:--:--  421k
Removing intermediate container 60e7a4d349f7
 ---> 0cd6ac440bde
Step 8/39 : RUN dpkg -i ./osm_common.deb
 ---> Running in 21f3854f80bd
Selecting previously unselected package python3-osm-common.
(Reading database ... 16203 files and directories currently installed.)
Preparing to unpack ./osm_common.deb ...
Unpacking python3-osm-common (15.0.0.post1+g261e46f-1) ...
Setting up python3-osm-common (15.0.0.post1+g261e46f-1) ...
Removing intermediate container 21f3854f80bd
 ---> d296bf4dd7b0
Step 9/39 : RUN curl $PYTHON3_OSM_PLA_URL -o osm_pla.deb
 ---> Running in ad2615a57cb2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 27908  100 27908    0     0   294k      0 --:--:-- --:--:-- --:--:--  296k
Removing intermediate container ad2615a57cb2
 ---> c1bb8f73ff8e
Step 10/39 : RUN dpkg -i ./osm_pla.deb
 ---> Running in 6a4c0b13e794
Selecting previously unselected package python3-osm-pla.
(Reading database ... 16264 files and directories currently installed.)
Preparing to unpack ./osm_pla.deb ...
Unpacking python3-osm-pla (15.0.0+g5fa7d6b-1) ...
Setting up python3-osm-pla (15.0.0+g5fa7d6b-1) ...
Removing intermediate container 6a4c0b13e794
 ---> 31a603ca4862
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 9f962c56d424
Collecting aiokafka==0.8.1
  Downloading aiokafka-0.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 6.7 MB/s eta 0:00:00
Collecting async-timeout==4.0.3
  Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting dataclasses==0.6
  Downloading dataclasses-0.6-py3-none-any.whl (14 kB)
Collecting dnspython==2.4.2
  Downloading dnspython-2.4.2-py3-none-any.whl (300 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.4/300.4 KB 29.2 MB/s eta 0:00:00
Collecting kafka-python==2.0.2
  Downloading kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.5/246.5 KB 3.0 MB/s eta 0:00:00
Collecting motor==3.3.1
  Downloading motor-3.3.1-py3-none-any.whl (70 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 KB 807.7 kB/s eta 0:00:00
Collecting packaging==23.1
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 KB 440.8 kB/s eta 0:00:00
Collecting pycryptodome==3.19.0
  Downloading pycryptodome-3.19.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 27.3 MB/s eta 0:00:00
Collecting pymongo==4.5.0
  Downloading pymongo-4.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (671 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 671.3/671.3 KB 18.5 MB/s eta 0:00:00
Collecting pyyaml==6.0.1
  Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 KB 30.7 MB/s eta 0:00:00
Collecting jinja2==3.1.2
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 3.7 MB/s eta 0:00:00
Collecting markupsafe==2.1.3
  Downloading MarkupSafe-2.1.3-cp310-cp310-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)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.8/42.8 KB 4.6 MB/s eta 0:00:00
Installing collected packages: pymzn, kafka-python, dataclasses, pyyaml, pycryptodome, packaging, markupsafe, dnspython, async-timeout, pymongo, jinja2, aiokafka, motor
Successfully installed aiokafka-0.8.1 async-timeout-4.0.3 dataclasses-0.6 dnspython-2.4.2 jinja2-3.1.2 kafka-python-2.0.2 markupsafe-2.1.3 motor-3.3.1 packaging-23.1 pycryptodome-3.19.0 pymongo-4.5.0 pymzn-0.18.3 pyyaml-6.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 9f962c56d424
 ---> dedc1c0258f3
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


 ---> e0a5031d38b5
Step 13/39 : RUN tar -zxf /minizinc.tgz &&     mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
 ---> Running in 7af175275b86
Removing intermediate container 7af175275b86
 ---> ee8e01fe91ce
Step 14/39 : FROM ubuntu:22.04 as FINAL
 ---> 3db8720ecbf5
Step 15/39 : ARG APT_PROXY
 ---> Using cache
 ---> 31cf114415aa
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
 ---> a9fa358f0e48
Step 17/39 : 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
 ---> 0a1c550c3ae2
Step 18/39 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
 ---> cd46c7171554
Step 19/39 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages  /usr/local/lib/python3.10/dist-packages
 ---> ccaa5b686a85
Step 20/39 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
 ---> Running in 23d95beed657
Removing intermediate container 23d95beed657
 ---> 8fcbcdf5df14
Step 21/39 : LABEL authors="Lars-Göran Magnusson"
 ---> Running in a2f2dc24bec6
Removing intermediate container a2f2dc24bec6
 ---> fa0961a9ae2f
Step 22/39 : COPY --from=INSTALL /usr/bin/osm* /usr/bin/
 ---> 2e62ec214a8d
Step 23/39 : COPY --from=INSTALL /minizinc /minizinc
 ---> 3f5ea5f2210b
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 ef5ca538a9ae
Removing intermediate container ef5ca538a9ae
 ---> a872b11a5c0a
Step 25/39 : COPY scripts/ /app/osm_pla/scripts/
 ---> 2dd4b16bbd25
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 015b06ba9c21
Removing intermediate container 015b06ba9c21
 ---> 33ea1963240c
Step 27/39 : WORKDIR /app/osm_pla
 ---> Running in ce1b8a97baa2
Removing intermediate container ce1b8a97baa2
 ---> 3c1dfd75b303
Step 28/39 : USER appuser
 ---> Running in b1a66657d2a8
Removing intermediate container b1a66657d2a8
 ---> 388cd6f3bece
Step 29/39 : ENV OSMPLA_MESSAGE_DRIVER kafka
 ---> Running in e598e30aaa67
Removing intermediate container e598e30aaa67
 ---> dedae6ba5286
Step 30/39 : ENV OSMPLA_MESSAGE_HOST kafka
 ---> Running in 5f34bbdc04f6
Removing intermediate container 5f34bbdc04f6
 ---> 22de7880841c
Step 31/39 : ENV OSMPLA_MESSAGE_PORT 9092
 ---> Running in 1c4d9abe564e
Removing intermediate container 1c4d9abe564e
 ---> d7579b0e5489
Step 32/39 : ENV OSMPLA_DATABASE_DRIVER mongo
 ---> Running in fa0a50452c9a
Removing intermediate container fa0a50452c9a
 ---> 8e00ceb8ae84
Step 33/39 : ENV OSMPLA_DATABASE_URI mongodb://mongo:27017
 ---> Running in 60d821f7e588
Removing intermediate container 60d821f7e588
 ---> 8a3943338da3
Step 34/39 : ENV OSMPLA_SQL_DATABASE_URI sqlite:///pla_sqlite.db
 ---> Running in 6c7633fae923
Removing intermediate container 6c7633fae923
 ---> 8a15166cb1fa
Step 35/39 : ENV OSMPLA_GLOBAL_LOG_LEVEL INFO
 ---> Running in e9ed2d7c8147
Removing intermediate container e9ed2d7c8147
 ---> b44c1881f31f
Step 36/39 : ENV FZNEXEC "/entry_data/fzn-exec"
 ---> Running in 43647050373c
Removing intermediate container 43647050373c
 ---> be573b302898
Step 37/39 : ENV PATH "/minizinc/bin:${PATH}"
 ---> Running in bb8b9c2aa6b2
Removing intermediate container bb8b9c2aa6b2
 ---> 7919eb627f18
Step 38/39 : ENV LD_LIBRARY_PATH "/minizinc/lib:${LD_LIBRARY_PATH}"
 ---> Running in 14f58daf6d35
Removing intermediate container 14f58daf6d35
 ---> 6a823ea54915
Step 39/39 : CMD [ "/bin/bash", "scripts/start.sh" ]
 ---> Running in 55b3b8c08603
Removing intermediate container 55b3b8c08603
 ---> 2d8fa371abfc
[Warning] One or more build-args [PYTHON3_OSM_ROVIM_GCP_URL CACHE_DATE PYTHON3_OSM_ROSDN_IETFL2VPN_URL OSM_DEVOPS_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROSDN_TAPI_URL OSM_TESTS_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_RO_PLUGIN_URL OSM_IMDOCS_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL OSM_NGUI_URL PYTHON3_N2VC_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_ROSDN_DPB_URL] were not consumed
Successfully built 2d8fa371abfc
Successfully tagged opensourcemano/pla:osm-v150-merge-64