SuccessConsole Output

[PLA] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/pla:osm-v140-merge-367 --build-arg CACHE_DATE=2024-06-22:22:09:00 --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/v14.0/378/pool/osmclient/python3-osmclient_14.0.2.post3+g9cdadd6-1_all.deb --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/v14.0/390/pool/devops/osm-devops_14.0.2.post2-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/v14.0/375/pool/MON/python3-osm-mon_14.0.2.post2+g8c6cd60-1_all.deb --build-arg PYTHON3_OSM_NBI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NBI/v14.0/376/pool/NBI/python3-osm-nbi_14.0.2.post1+gde3e21e-1_all.deb --build-arg PYTHON3_OSM_COMMON_URL=https://artifactory-osm.etsi.org/artifactory/osm-common/v14.0/374/pool/common/python3-osm-common_14.0.2+gdf51104-1_all.deb --build-arg PYTHON3_OSM_LCM_URL=https://artifactory-osm.etsi.org/artifactory/osm-LCM/v14.0/379/pool/LCM/python3-osm-lcm_14.0.2.post1+gd7709ff-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/v14.0/376/pool/POL/python3-osm-policy-module_14.0.2.post3+ge1bd093-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/v14.0/378/pool/NG-UI/osm-ngui_14.0.2-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/v14.0/372/pool/PLA/python3-osm-pla_14.0.2+g1390ad3-1_all.deb --build-arg PYTHON3_OSM_IM_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0/376/pool/IM/python3-osm-im_14.0.2+ga54dbc2-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0/376/pool/IM/osm-imdocs_14.0.2-ga54dbc2_amd64.deb --build-arg OSM_TESTS_URL=https://artifactory-osm.etsi.org/artifactory/osm-tests/v14.0/379/pool/tests/osm-tests_14.0.2-1_all.deb --build-arg PYTHON3_N2VC_URL=https://artifactory-osm.etsi.org/artifactory/osm-N2VC/v14.0/376/pool/N2VC/python3-n2vc_14.0.2+gfebbaa0-1_all.deb --build-arg PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v14.0/377/pool/NG-SA/python3-osm-webhook-translator_14.0.2-1_all.deb --build-arg PYTHON3_OSM_NGSA_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v14.0/377/pool/NG-SA/python3-osm-ngsa_14.0.2-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOSOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-onosof_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENVIM_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rovim-openvim_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ODLOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-odlof_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_RO_PLUGIN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-ro-plugin_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AZURE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rovim-azure_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROVIM_AWS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rovim-aws_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-floodlightof_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DPB_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-dpb_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ONOS_VPLS_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-onos-vpls_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-juniper-contrail_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-arista-cloudvision_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROVIM_OPENSTACK_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rovim-openstack_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_TAPI_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-tapi_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROVIM_GCP_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rovim-gcp_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_NG_RO_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-ng-ro_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_IETFL2VPN_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-ietfl2vpn_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROSDN_DYNPAC_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rosdn-dynpac_14.0.2.post5+gd846e8f-1_all.deb --build-arg PYTHON3_OSM_ROVIM_VMWARE_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v14.0/387/pool/RO/python3-osm-rovim-vmware_14.0.2.post5+gd846e8f-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/39 : FROM ubuntu:22.04 as INSTALL
22.04: Pulling from library/ubuntu
Digest: sha256:19478ce7fc2ffbce89df29fea5725a8d12e57de52eb9ea570890dc5852aac1ac
Status: Image is up to date for ubuntu:22.04
 ---> 67c845845b7d
Step 2/39 : ARG APT_PROXY
 ---> Using cache
 ---> 9da810ed0c6a
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
 ---> 7014ea1e773b
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
 ---> 2da2e18694c4
Step 5/39 : ARG PYTHON3_OSM_COMMON_URL
 ---> Using cache
 ---> 55828aba6567
Step 6/39 : ARG PYTHON3_OSM_PLA_URL
 ---> Using cache
 ---> 9fd15739c57d
Step 7/39 : RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
 ---> Running in 861c04644361
  % 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 42664  100 42664    0     0   468k      0 --:--:-- --:--:-- --:--:--  473k
Removing intermediate container 861c04644361
 ---> 8359bf0bcf14
Step 8/39 : RUN dpkg -i ./osm_common.deb
 ---> Running in 0f100142ec7f
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 (14.0.2+gdf51104-1) ...
Setting up python3-osm-common (14.0.2+gdf51104-1) ...
Removing intermediate container 0f100142ec7f
 ---> df915426aca0
Step 9/39 : RUN curl $PYTHON3_OSM_PLA_URL -o osm_pla.deb
 ---> Running in 0872641ae0d3
  % 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 27912  100 27912    0     0   296k      0 --:--:-- --:--:-- --:--:--  299k
Removing intermediate container 0872641ae0d3
 ---> 2d99278dd82f
Step 10/39 : RUN dpkg -i ./osm_pla.deb
 ---> Running in 66b488ba417f
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 (14.0.2+g1390ad3-1) ...
Setting up python3-osm-pla (14.0.2+g1390ad3-1) ...
Removing intermediate container 66b488ba417f
 ---> b93e1cddeaa3
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 81553d9bb47c
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 9.5 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 18.5 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 16.5 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 3.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 4.6 MB/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 42.5 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 17.8 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 22.2 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 5.1 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 3.3 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 81553d9bb47c
 ---> a85d5fb9e87d
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


 ---> 6bc8fca88b55
Step 13/39 : RUN tar -zxf /minizinc.tgz &&     mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
 ---> Running in 0da0f1bf05a0
Removing intermediate container 0da0f1bf05a0
 ---> a56f46d44c6f
Step 14/39 : FROM ubuntu:22.04 as FINAL
 ---> 67c845845b7d
Step 15/39 : ARG APT_PROXY
 ---> Using cache
 ---> 9da810ed0c6a
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
 ---> 7014ea1e773b
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
 ---> 3f32ff176f7e
Step 18/39 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
 ---> 87ed69d49b3e
Step 19/39 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages  /usr/local/lib/python3.10/dist-packages
 ---> e12c910ab7b7
Step 20/39 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
 ---> Running in 9a364b4bc7be
Removing intermediate container 9a364b4bc7be
 ---> 38b3b2118469
Step 21/39 : LABEL authors="Lars-Göran Magnusson"
 ---> Running in 3c2f6e6e08ee
Removing intermediate container 3c2f6e6e08ee
 ---> c941e0cf713a
Step 22/39 : COPY --from=INSTALL /usr/bin/osm* /usr/bin/
 ---> 512498e5e442
Step 23/39 : COPY --from=INSTALL /minizinc /minizinc
 ---> 989745e3d182
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 ff30c7c1bb54
Removing intermediate container ff30c7c1bb54
 ---> 7e04238bd5c2
Step 25/39 : COPY scripts/ /app/osm_pla/scripts/
 ---> ca85e7410438
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 d66224865cb8
Removing intermediate container d66224865cb8
 ---> 0c9b9b0f18d1
Step 27/39 : WORKDIR /app/osm_pla
 ---> Running in 9f9409f9c05a
Removing intermediate container 9f9409f9c05a
 ---> f354f6ddb216
Step 28/39 : USER appuser
 ---> Running in eff5cdb3bc0e
Removing intermediate container eff5cdb3bc0e
 ---> 0cab5d94519c
Step 29/39 : ENV OSMPLA_MESSAGE_DRIVER kafka
 ---> Running in 1545227d1a73
Removing intermediate container 1545227d1a73
 ---> f7ba00526466
Step 30/39 : ENV OSMPLA_MESSAGE_HOST kafka
 ---> Running in 9c9ff3abbfe0
Removing intermediate container 9c9ff3abbfe0
 ---> 7ce804af05d9
Step 31/39 : ENV OSMPLA_MESSAGE_PORT 9092
 ---> Running in e589666b90c6
Removing intermediate container e589666b90c6
 ---> 6f32d57591be
Step 32/39 : ENV OSMPLA_DATABASE_DRIVER mongo
 ---> Running in bd3eee5e3047
Removing intermediate container bd3eee5e3047
 ---> e98b3c23f8f5
Step 33/39 : ENV OSMPLA_DATABASE_URI mongodb://mongo:27017
 ---> Running in 8e0e7e7b0432
Removing intermediate container 8e0e7e7b0432
 ---> 9706f92b6681
Step 34/39 : ENV OSMPLA_SQL_DATABASE_URI sqlite:///pla_sqlite.db
 ---> Running in 66f1585416d6
Removing intermediate container 66f1585416d6
 ---> 4f548fbca456
Step 35/39 : ENV OSMPLA_GLOBAL_LOG_LEVEL INFO
 ---> Running in 95b7e2346159
Removing intermediate container 95b7e2346159
 ---> e9c9d9fb4e9c
Step 36/39 : ENV FZNEXEC "/entry_data/fzn-exec"
 ---> Running in cb0cee4fd88e
Removing intermediate container cb0cee4fd88e
 ---> 5a5cb3639d09
Step 37/39 : ENV PATH "/minizinc/bin:${PATH}"
 ---> Running in aa69c26a502f
Removing intermediate container aa69c26a502f
 ---> 512cd01f442c
Step 38/39 : ENV LD_LIBRARY_PATH "/minizinc/lib:${LD_LIBRARY_PATH}"
 ---> Running in e70db0230cb2
Removing intermediate container e70db0230cb2
 ---> 47c0a2bff90c
Step 39/39 : CMD [ "/bin/bash", "scripts/start.sh" ]
 ---> Running in 4ff1e39217ef
Removing intermediate container 4ff1e39217ef
 ---> 753d025d214c
[Warning] One or more build-args [PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL PYTHON3_OSM_NBI_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROSDN_ODLOF_URL PYTHON3_OSM_ROSDN_ONOSOF_URL PYTHON3_OSM_ROVIM_VMWARE_URL CACHE_DATE PYTHON3_OSM_IM_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL OSM_DEVOPS_URL OSM_IMDOCS_URL OSM_TESTS_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_RO_PLUGIN_URL OSM_NGUI_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROVIM_OPENVIM_URL PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_N2VC_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROVIM_AZURE_URL] were not consumed
Successfully built 753d025d214c
Successfully tagged opensourcemano/pla:osm-v140-merge-367