SuccessConsole Output

[PLA] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/pla:osm-master-merge-2959 --build-arg CACHE_DATE=2024-04-19:01:07:15 --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/master/725/pool/osmclient/python3-osmclient_11.0.0rc1.post66+gb9317cf-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/master/1581/pool/devops/osm-devops_15.0.0.post20-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/master/720/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/739/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/532/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/819/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/502/pool/POL/python3-osm-policy-module_11.0.0.post25+g055c4ee-1_all.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 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 OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/master/485/pool/NG-UI/osm-ngui_15.0.0.post1+g219fe61-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/master/438/pool/PLA/python3-osm-pla_11.0.0.post12+gfcdb2c4-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/441/pool/NG-SA/python3-osm-ngsa_15.0-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/master/441/pool/NG-SA/python3-osm-webhook-translator_15.0-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rosdn-ietfl2vpn_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rovim-openstack_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rovim-vmware_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-ng-ro_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rovim-gcp_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rosdn-dpb_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rosdn-floodlightof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rosdn-dynpac_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rosdn-tapi_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-ro-plugin_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/955/pool/RO/python3-osm-rosdn-juniper-contrail_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rosdn-onosof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rovim-aws_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rosdn-odlof_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rovim-azure_9.0.0.post172+ge31d74b-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/master/955/pool/RO/python3-osm-rovim-openvim_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/955/pool/RO/python3-osm-rosdn-onos-vpls_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/955/pool/RO/python3-osm-rosdn-arista-cloudvision_9.0.0.post172+ge31d74b-1_all.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/master/625/pool/tests/osm-tests_9.0.0rc1.post209+g9e5450f-1_all.deb .
Sending build context to Docker daemon  9.216kB

Step 1/39 : FROM ubuntu:22.04 as INSTALL
 ---> 7af9ba4f0a47
Step 2/39 : ARG APT_PROXY
 ---> Using cache
 ---> 685b7dceb11e
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
 ---> 8214c20bc598
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
 ---> a7fb47cf3a3a
Step 5/39 : ARG PYTHON3_OSM_COMMON_URL
 ---> Running in 325fc90703c1
Removing intermediate container 325fc90703c1
 ---> 0d1800255d24
Step 6/39 : ARG PYTHON3_OSM_PLA_URL
 ---> Running in eeef80241b95
Removing intermediate container eeef80241b95
 ---> f615a9472cf4
Step 7/39 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
 ---> Running in 3152666e9555
  % 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 42700  100 42700    0     0   194k      0 --:--:-- --:--:-- --:--:--  195k
Removing intermediate container 3152666e9555
 ---> 794cb616e60e
Step 8/39 : RUN dpkg -i ./osm_common.deb
 ---> Running in 4806991dd520
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.post3+g409397d-1) ...
Setting up python3-osm-common (15.0.0.post3+g409397d-1) ...
Removing intermediate container 4806991dd520
 ---> 84da1fd4af44
Step 9/39 : RUN curl $PYTHON3_OSM_PLA_URL -o osm_pla.deb
 ---> Running in 740b87c0737e
  % 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 27928  100 27928    0     0   249k      0 --:--:-- --:--:-- --:--:--  250k
Removing intermediate container 740b87c0737e
 ---> 2e59f526eb4a
Step 10/39 : RUN dpkg -i ./osm_pla.deb
 ---> Running in 5cf309e08588
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 (11.0.0.post12+gfcdb2c4-1) ...
Setting up python3-osm-pla (11.0.0.post12+gfcdb2c4-1) ...
Removing intermediate container 5cf309e08588
 ---> 518bd3d58ece
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 e12c34437450
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 8.0 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 9.6 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 10.6 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 1.2 MB/s eta 0:00:00
Collecting packaging==23.1
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 KB 108.1 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 35.4 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 25.1 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 21.9 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 10.2 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 1.4 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 e12c34437450
 ---> 2eb9b8cc6abd
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


 ---> 4f9f0f7cfa20
Step 13/39 : RUN tar -zxf /minizinc.tgz &&     mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
 ---> Running in e2f361f4af39
Removing intermediate container e2f361f4af39
 ---> 016e70410ac5
Step 14/39 : FROM ubuntu:22.04 as FINAL
 ---> 7af9ba4f0a47
Step 15/39 : ARG APT_PROXY
 ---> Using cache
 ---> 685b7dceb11e
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
 ---> 8214c20bc598
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
 ---> 624174b0dc6e
Step 18/39 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
 ---> Using cache
 ---> 90bb3b9771d2
Step 19/39 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages  /usr/local/lib/python3.10/dist-packages
 ---> 4f13b74d73d8
Step 20/39 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
 ---> Running in 3ebd1a5a6465
Removing intermediate container 3ebd1a5a6465
 ---> 2a49051fb514
Step 21/39 : LABEL authors="Lars-Göran Magnusson"
 ---> Running in 945ec38b3a83
Removing intermediate container 945ec38b3a83
 ---> 51f4256e9760
Step 22/39 : COPY --from=INSTALL /usr/bin/osm* /usr/bin/
 ---> 2862a58f10cd
Step 23/39 : COPY --from=INSTALL /minizinc /minizinc
 ---> 6881c3958f5a
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 44758dd4f389
Removing intermediate container 44758dd4f389
 ---> 26bbf1c551c4
Step 25/39 : COPY scripts/ /app/osm_pla/scripts/
 ---> b766e362d75b
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 1f8b8ada05f2
Removing intermediate container 1f8b8ada05f2
 ---> 0d3feeef914d
Step 27/39 : WORKDIR /app/osm_pla
 ---> Running in e9ede849df17
Removing intermediate container e9ede849df17
 ---> 7ef8079fe341
Step 28/39 : USER appuser
 ---> Running in 7fc61d346c89
Removing intermediate container 7fc61d346c89
 ---> 5180b7adcd1e
Step 29/39 : ENV OSMPLA_MESSAGE_DRIVER kafka
 ---> Running in 3c8b88b56138
Removing intermediate container 3c8b88b56138
 ---> 67b18a081941
Step 30/39 : ENV OSMPLA_MESSAGE_HOST kafka
 ---> Running in 82f705a0315a
Removing intermediate container 82f705a0315a
 ---> 891c87791647
Step 31/39 : ENV OSMPLA_MESSAGE_PORT 9092
 ---> Running in 73d122fdfe9f
Removing intermediate container 73d122fdfe9f
 ---> 28e69da5e6ff
Step 32/39 : ENV OSMPLA_DATABASE_DRIVER mongo
 ---> Running in 736a75ed96d6
Removing intermediate container 736a75ed96d6
 ---> bea3ad3035af
Step 33/39 : ENV OSMPLA_DATABASE_URI mongodb://mongo:27017
 ---> Running in 3c7be20f1698
Removing intermediate container 3c7be20f1698
 ---> 9c193acb539c
Step 34/39 : ENV OSMPLA_SQL_DATABASE_URI sqlite:///pla_sqlite.db
 ---> Running in 9308eeb1ea3e
Removing intermediate container 9308eeb1ea3e
 ---> a36c45787bc3
Step 35/39 : ENV OSMPLA_GLOBAL_LOG_LEVEL INFO
 ---> Running in 3d62afa2006d
Removing intermediate container 3d62afa2006d
 ---> bf581983820e
Step 36/39 : ENV FZNEXEC "/entry_data/fzn-exec"
 ---> Running in 1e5a377bc78d
Removing intermediate container 1e5a377bc78d
 ---> 8375fda264e1
Step 37/39 : ENV PATH "/minizinc/bin:${PATH}"
 ---> Running in 77725e03cf72
Removing intermediate container 77725e03cf72
 ---> 1f4eef9236df
Step 38/39 : ENV LD_LIBRARY_PATH "/minizinc/lib:${LD_LIBRARY_PATH}"
 ---> Running in a15993a792ea
Removing intermediate container a15993a792ea
 ---> dc1d47359ed4
Step 39/39 : CMD [ "/bin/bash", "scripts/start.sh" ]
 ---> Running in 8c7b0b633607
Removing intermediate container 8c7b0b633607
 ---> e6bdaf77f8ba
[Warning] One or more build-args [PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_ROVIM_AZURE_URL OSM_IMDOCS_URL PYTHON3_N2VC_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROVIM_VMWARE_URL CACHE_DATE OSM_DEVOPS_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_POLICY_MODULE_URL OSM_NGUI_URL OSM_TESTS_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_RO_PLUGIN_URL] were not consumed
Successfully built e6bdaf77f8ba
Successfully tagged opensourcemano/pla:osm-master-merge-2959