SuccessConsole Output

[Webhook] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t opensourcemano/webhook:osm-v150-41 --build-arg CACHE_DATE=2024-03-23:18:44:00 --build-arg OSM_DEVOPS_URL=https://artifactory-osm.etsi.org/artifactory/osm-devops/v15.0-staging/12/pool/devops/osm-devops_15.0.0.post3-1_all.deb --build-arg PYTHON3_OSMCLIENT_URL=https://artifactory-osm.etsi.org/artifactory/osm-osmclient/v15.0/105/pool/osmclient/python3-osmclient_15.0.0.post1+g3d802e3-1_all.deb --build-arg PYTHON3_OSM_MON_URL=https://artifactory-osm.etsi.org/artifactory/osm-MON/v15.0/105/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/105/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/106/pool/NBI/python3-osm-nbi_15.0.0.post1+ge1c1437-1_all.deb --build-arg PYTHON3_OSM_COMMON_URL=https://artifactory-osm.etsi.org/artifactory/osm-common/v15.0/104/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/106/pool/LCM/python3-osm-lcm_15.0.0.post2+g040227d-1_all.deb --build-arg PYTHON3_OSM_POLICY_MODULE_URL=https://artifactory-osm.etsi.org/artifactory/osm-POL/v15.0/104/pool/POL/python3-osm-policy-module_15.0.0+g27aef6c-1_all.deb --build-arg OSM_IMDOCS_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v15.0/104/pool/IM/osm-imdocs_15.0.0.post1-g53dddb8_amd64.deb --build-arg PYTHON3_OSM_IM_URL=https://artifactory-osm.etsi.org/artifactory/osm-IM/v15.0/104/pool/IM/python3-osm-im_15.0.0.post1+g53dddb8-1_all.deb --build-arg OSM_NGUI_URL=https://artifactory-osm.etsi.org/artifactory/osm-NG-UI/v15.0/104/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/105/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/105/pool/NG-SA/python3-osm-webhook-translator_15.0.0-1_all.deb --build-arg PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/105/pool/RO/python3-osm-rosdn-juniper-contrail_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/105/pool/RO/python3-osm-rosdn-onosof_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/105/pool/RO/python3-osm-rosdn-onos-vpls_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/105/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/105/pool/RO/python3-osm-rosdn-odlof_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/105/pool/RO/python3-osm-rosdn-dpb_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/105/pool/RO/python3-osm-rovim-azure_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/105/pool/RO/python3-osm-ng-ro_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/105/pool/RO/python3-osm-ro-plugin_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/105/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/105/pool/RO/python3-osm-rosdn-dynpac_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/105/pool/RO/python3-osm-rovim-openvim_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/105/pool/RO/python3-osm-rosdn-ietfl2vpn_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/105/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/105/pool/RO/python3-osm-rosdn-arista-cloudvision_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/105/pool/RO/python3-osm-rosdn-tapi_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/105/pool/RO/python3-osm-rovim-vmware_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL=https://artifactory-osm.etsi.org/artifactory/osm-RO/v15.0/105/pool/RO/python3-osm-rosdn-floodlightof_15.0.0.post1+ge61eac3-1_all.deb --build-arg PYTHON3_OSM_PLA_URL=https://artifactory-osm.etsi.org/artifactory/osm-PLA/v15.0/104/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/108/pool/tests/osm-tests_15.0.0.post2+gb9ea77a-1_all.deb .
Sending build context to Docker daemon  4.608kB

Step 1/21 : FROM ubuntu:22.04 as INSTALL
22.04: Pulling from library/ubuntu
Digest: sha256:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f44eff17e
Status: Image is up to date for ubuntu:22.04
 ---> ca2b0f26964c
Step 2/21 : ARG APT_PROXY
 ---> Using cache
 ---> 498d7c24dd98
Step 3/21 : 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
 ---> c1c1bbc0455a
Step 4/21 : 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
 ---> 5b1b7ed74d46
Step 5/21 : ARG PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL
 ---> Running in 62771a958872
Removing intermediate container 62771a958872
 ---> d75657f80f86
Step 6/21 : RUN curl $PYTHON3_OSM_WEBHOOK_TRANSLATOR_URL -o osm_webhook_translator.deb
 ---> Running in fdb5835b4b53
  % 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  4554  100  4554    0     0  41659      0 --:--:-- --:--:-- --:--:-- 41779
Removing intermediate container fdb5835b4b53
 ---> 9ad7be6da078
Step 7/21 : RUN dpkg -i ./osm_webhook_translator.deb
 ---> Running in 99f0ade8772c
Selecting previously unselected package python3-osm-webhook-translator.
(Reading database ... 16203 files and directories currently installed.)
Preparing to unpack ./osm_webhook_translator.deb ...
Unpacking python3-osm-webhook-translator (15.0.0-1) ...
Setting up python3-osm-webhook-translator (15.0.0-1) ...
Removing intermediate container 99f0ade8772c
 ---> 46b51ad132a6
Step 8/21 : RUN pip3 install     -r /usr/lib/python3/dist-packages/osm_webhook_translator/requirements.txt
 ---> Running in 87ad32e9d08b
Collecting annotated-types==0.5.0
  Downloading annotated_types-0.5.0-py3-none-any.whl (11 kB)
Collecting anyio==3.7.1
  Downloading anyio-3.7.1-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 KB 614.7 kB/s eta 0:00:00
Collecting certifi==2023.7.22
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 KB 2.2 MB/s eta 0:00:00
Collecting charset-normalizer==3.3.0
  Downloading charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (138 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.7/138.7 KB 19.5 MB/s eta 0:00:00
Collecting click==8.1.7
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 KB 202.9 kB/s eta 0:00:00
Collecting exceptiongroup==1.1.3
  Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Collecting fastapi==0.103.2
  Downloading fastapi-0.103.2-py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.3/66.3 KB 512.7 kB/s eta 0:00:00
Collecting h11==0.14.0
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 KB 3.6 MB/s eta 0:00:00
Collecting idna==3.4
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 1.9 MB/s eta 0:00:00
Collecting pydantic==2.4.2
  Downloading pydantic-2.4.2-py3-none-any.whl (395 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 395.8/395.8 KB 6.0 MB/s eta 0:00:00
Collecting pydantic-core==2.10.1
  Downloading pydantic_core-2.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 13.4 MB/s eta 0:00:00
Collecting requests==2.31.0
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 434.5 kB/s eta 0:00:00
Collecting sniffio==1.3.0
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting starlette==0.27.0
  Downloading starlette-0.27.0-py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.0/67.0 KB 1.0 MB/s eta 0:00:00
Collecting typing-extensions==4.8.0
  Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting urllib3==2.0.6
  Downloading urllib3-2.0.6-py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 KB 3.0 MB/s eta 0:00:00
Collecting uvicorn==0.23.2
  Downloading uvicorn-0.23.2-py3-none-any.whl (59 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.5/59.5 KB 3.9 MB/s eta 0:00:00
Installing collected packages: urllib3, typing-extensions, sniffio, idna, h11, exceptiongroup, click, charset-normalizer, certifi, annotated-types, uvicorn, requests, pydantic-core, anyio, starlette, pydantic, fastapi
Successfully installed annotated-types-0.5.0 anyio-3.7.1 certifi-2023.7.22 charset-normalizer-3.3.0 click-8.1.7 exceptiongroup-1.1.3 fastapi-0.103.2 h11-0.14.0 idna-3.4 pydantic-2.4.2 pydantic-core-2.10.1 requests-2.31.0 sniffio-1.3.0 starlette-0.27.0 typing-extensions-4.8.0 urllib3-2.0.6 uvicorn-0.23.2
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 87ad32e9d08b
 ---> a920b330f8f0
Step 9/21 : FROM ubuntu:22.04 as FINAL
 ---> ca2b0f26964c
Step 10/21 : ARG APT_PROXY
 ---> Using cache
 ---> 498d7c24dd98
Step 11/21 : 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
 ---> c1c1bbc0455a
Step 12/21 : 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
 ---> 2df5c3c36802
Step 13/21 : COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
 ---> 1dd7687bca68
Step 14/21 : COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
 ---> e6a28957c655
Step 15/21 : RUN rm -f /etc/apt/apt.conf.d/proxy.conf
 ---> Running in a31108a38f1d
Removing intermediate container a31108a38f1d
 ---> 4a05d736814b
Step 16/21 : COPY --from=INSTALL /usr/local/bin/uvicorn /usr/local/bin/uvicorn
 ---> fd2115275c2f
Step 17/21 : RUN groupadd -g 1000 appuser &&     useradd -u 1000 -g 1000 -d /app appuser &&     mkdir -p /app/osm_webhook_translator &&     chown -R appuser:appuser /app
 ---> Running in 50d09ad0fc05
Removing intermediate container 50d09ad0fc05
 ---> a07fae705441
Step 18/21 : WORKDIR /app/osm_webhook_translator
 ---> Running in df16774b80fd
Removing intermediate container df16774b80fd
 ---> ac6345cce0f4
Step 19/21 : USER appuser
 ---> Running in 5cbbc645be3a
Removing intermediate container 5cbbc645be3a
 ---> 4439ad369255
Step 20/21 : EXPOSE 9998
 ---> Running in 2beb4db45c37
Removing intermediate container 2beb4db45c37
 ---> 09344df85ab6
Step 21/21 : CMD ["uvicorn", "osm_webhook_translator.main:app", "--host", "0.0.0.0", "--port", "9998"]
 ---> Running in e403b3f531e6
Removing intermediate container e403b3f531e6
 ---> 6c301bb778fe
[Warning] One or more build-args [PYTHON3_OSM_RO_PLUGIN_URL PYTHON3_N2VC_URL PYTHON3_OSMCLIENT_URL PYTHON3_OSM_PLA_URL PYTHON3_OSM_ROSDN_ODLOF_URL OSM_TESTS_URL PYTHON3_OSM_ROSDN_DPB_URL PYTHON3_OSM_ROSDN_JUNIPER_CONTRAIL_URL PYTHON3_OSM_ROVIM_OPENVIM_URL OSM_DEVOPS_URL PYTHON3_OSM_NGSA_URL PYTHON3_OSM_ROSDN_IETFL2VPN_URL PYTHON3_OSM_ROSDN_ONOS_VPLS_URL PYTHON3_OSM_COMMON_URL PYTHON3_OSM_ROSDN_DYNPAC_URL PYTHON3_OSM_ROVIM_AZURE_URL PYTHON3_OSM_ROSDN_FLOODLIGHTOF_URL PYTHON3_OSM_ROVIM_VMWARE_URL PYTHON3_OSM_IM_URL PYTHON3_OSM_NG_RO_URL PYTHON3_OSM_ROSDN_ARISTA_CLOUDVISION_URL PYTHON3_OSM_ROVIM_GCP_URL PYTHON3_OSM_ROVIM_OPENSTACK_URL OSM_IMDOCS_URL PYTHON3_OSM_LCM_URL PYTHON3_OSM_ROSDN_TAPI_URL PYTHON3_OSM_ROVIM_AWS_URL PYTHON3_OSM_POLICY_MODULE_URL PYTHON3_OSM_ROSDN_ONOSOF_URL CACHE_DATE OSM_NGUI_URL PYTHON3_OSM_MON_URL PYTHON3_OSM_NBI_URL] were not consumed
Successfully built 6c301bb778fe
Successfully tagged opensourcemano/webhook:osm-v150-41