SuccessConsole Output

[osmclient-stage_2-merge_v14.0] Running shell script
+ snapcraft --use-lxd
Launching instance...
Creating instance from base instance
Starting instance
Initializing parts lifecycle
Installing build-packages
Installing build-snaps
Pulling client
Fetching stage-packages
Building client
:: ++ git describe --match 'v*' --tags --long --dirty
:: + VERSION=v14.0.2-1-g77ba5f4
:: + snapcraftctl set-version v14.0.2-1-g77ba5f4
:: Warning: Use 'craftctl set version=<value>' to set version
::
:: Users are encouraged to replace 'snapcraftctl' with 'craftctl' and use
:: 'CRAFT_*' environment variables in scriptlets when building snaps based
:: on core22. Please refer to the core22 migration guide for details.
:: + snapcraftctl build
:: Warning: use 'craftctl default' to execute the default step handler
:: + python3 -m venv /root/parts/client/install
:: + PARTS_PYTHON_VENV_INTERP_PATH=/root/parts/client/install/bin/python3
:: + /root/parts/client/install/bin/pip install -U pyangbind
:: Collecting pyangbind
::   Downloading pyangbind-0.8.5-py3-none-any.whl (52 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.9/52.9 KB 746.1 kB/s eta 0:00:00
:: Collecting lxml
::   Downloading lxml-5.2.2-cp310-cp310-manylinux_2_28_x86_64.whl (5.0 MB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 23.8 MB/s eta 0:00:00
:: Collecting enum34
::   Downloading enum34-1.1.10-py3-none-any.whl (11 kB)
:: Collecting pyang
::   Downloading pyang-2.6.1-py2.py3-none-any.whl (594 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.7/594.7 KB 24.4 MB/s eta 0:00:00
:: Collecting six
::   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
:: Collecting regex
::   Downloading regex-2024.5.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (775 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 775.1/775.1 KB 20.3 MB/s eta 0:00:00
:: Installing collected packages: enum34, six, regex, lxml, pyang, pyangbind
:: Successfully installed enum34-1.1.10 lxml-5.2.2 pyang-2.6.1 pyangbind-0.8.5 regex-2024.5.15 six-1.16.0
:: + /root/parts/client/install/bin/pip install -U -r requirements.txt -r requirements-dev.txt
:: Collecting osm-im@ git+https://osm.etsi.org/gerrit/osm/IM.git@v14.0
::   Cloning https://osm.etsi.org/gerrit/osm/IM.git (to revision v14.0) to /tmp/pip-install-n6vl1dpt/osm-im_0a48656984d1410cad961cbe7296eeca
::   Running command git clone --filter=blob:none --quiet https://osm.etsi.org/gerrit/osm/IM.git /tmp/pip-install-n6vl1dpt/osm-im_0a48656984d1410cad961cbe7296eeca
::   warning: filtering not recognized by server, ignoring
::   Running command git checkout -b v14.0 --track origin/v14.0
::   Switched to a new branch 'v14.0'
::   Branch 'v14.0' set up to track remote branch 'v14.0' from 'origin'.
::   Resolved https://osm.etsi.org/gerrit/osm/IM.git to commit a54dbc2b3c8db303b7615ef25f76695ca12b9eab
::   Preparing metadata (setup.py): started
::   Preparing metadata (setup.py): finished with status 'done'
:: Collecting certifi==2023.7.22
::   Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 KB 2.4 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 10.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 11.1 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 6.4 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.9 MB/s eta 0:00:00
:: Collecting jsonpath-ng==1.6.0
::   Downloading jsonpath_ng-1.6.0-py3-none-any.whl (29 kB)
:: Collecting markupsafe==2.1.3
::   Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
:: Collecting packaging==23.2
::   Downloading packaging-23.2-py3-none-any.whl (53 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 KB 4.5 MB/s eta 0:00:00
:: Collecting ply==3.11
::   Downloading ply-3.11-py2.py3-none-any.whl (49 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 KB 2.7 MB/s eta 0:00:00
:: Collecting prettytable==3.9.0
::   Downloading prettytable-3.9.0-py3-none-any.whl (27 kB)
:: Collecting python-magic==0.4.27
::   Downloading python_magic-0.4.27-py2.py3-none-any.whl (13 kB)
:: 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 15.0 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 5.0 MB/s eta 0:00:00
:: Collecting urllib3==2.0.5
::   Downloading urllib3-2.0.5-py3-none-any.whl (123 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 KB 11.5 MB/s eta 0:00:00
:: Collecting verboselogs==1.7
::   Downloading verboselogs-1.7-py2.py3-none-any.whl (11 kB)
:: Collecting wcwidth==0.2.8
::   Downloading wcwidth-0.2.8-py2.py3-none-any.whl (31 kB)
:: Requirement already satisfied: enum34==1.1.10 in /root/parts/client/install/lib/python3.10/site-packages (from -r requirements-dev.txt (line 17)) (1.1.10)
:: Collecting lxml==4.9.3
::   Downloading lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl (7.9 MB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 29.0 MB/s eta 0:00:00
:: Collecting pyang==2.5.3
::   Downloading pyang-2.5.3-py2.py3-none-any.whl (592 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 592.9/592.9 KB 22.3 MB/s eta 0:00:00
:: Collecting pyangbind==0.8.3.post1
::   Downloading pyangbind-0.8.3.post1-py3-none-any.whl (51 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.8/51.8 KB 4.5 MB/s eta 0:00:00
:: Collecting regex==2023.8.8
::   Downloading regex-2023.8.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (771 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 771.9/771.9 KB 29.1 MB/s eta 0:00:00
:: Requirement already satisfied: six==1.16.0 in /root/parts/client/install/lib/python3.10/site-packages (from -r requirements-dev.txt (line 40)) (1.16.0)
:: Using legacy 'setup.py install' for osm-im, since package 'wheel' is not installed.
:: Installing collected packages: wcwidth, verboselogs, ply, osm-im, urllib3, regex, pyyaml, python-magic, prettytable, packaging, markupsafe, lxml, jsonpath-ng, idna, click, charset-normalizer, certifi, requests, pyang, jinja2, pyangbind
::   Running setup.py install for osm-im: started
::   Running setup.py install for osm-im: finished with status 'done'
::   Attempting uninstall: regex
::     Found existing installation: regex 2024.5.15
::     Uninstalling regex-2024.5.15:
::       Successfully uninstalled regex-2024.5.15
::   Attempting uninstall: lxml
::     Found existing installation: lxml 5.2.2
::     Uninstalling lxml-5.2.2:
::       Successfully uninstalled lxml-5.2.2
::   Attempting uninstall: pyang
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Found existing installation: pyang 2.6.1
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Can't uninstall 'pyang'. No files were found to uninstall.
::   Attempting uninstall: pyangbind
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Found existing installation: pyangbind 0.8.5
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Can't uninstall 'pyangbind'. No files were found to uninstall.
:: Successfully installed certifi-2023.7.22 charset-normalizer-3.3.0 click-8.1.7 idna-3.4 jinja2-3.1.2 jsonpath-ng-1.6.0 lxml-4.9.3 markupsafe-2.1.3 osm-im-14.0.2+ga54dbc2 packaging-23.2 ply-3.11 prettytable-3.9.0 pyang-2.5.3 pyangbind-0.8.3.post1 python-magic-0.4.27 pyyaml-6.0.1 regex-2023.8.8 requests-2.31.0 urllib3-2.0.5 verboselogs-1.7 wcwidth-0.2.8
:: + '[' -f setup.py ']'
:: + /root/parts/client/install/bin/pip install -U .
:: Processing /root/parts/client/build
::   Preparing metadata (setup.py): started
::   Preparing metadata (setup.py): finished with status 'done'
:: Using legacy 'setup.py install' for osmclient, since package 'wheel' is not installed.
:: Installing collected packages: osmclient
::   Running setup.py install for osmclient: started
::   Running setup.py install for osmclient: finished with status 'done'
:: Successfully installed osmclient-14.0.2.post1+g77ba5f4
:: + xargs -0 sed -i '1 s|^#\!/root/parts/client/install/bin/python3.*$|#!/usr/bin/env python3|'
:: + find /root/parts/client/install -type f -executable -print0
:: ++ set +o
:: ++ grep errexit
:: + opts_state='set +o errexit'
:: + set +e
:: + install_dir=/root/parts/client/install/usr/bin
:: + stage_dir=/root/stage/usr/bin
:: +++ readlink -f /root/parts/client/install/bin/python3
:: ++ basename /usr/bin/python3.10
:: + basename=python3.10
:: + echo Looking for a Python interpreter called '"python3.10"' in the payload...
:: Looking for a Python interpreter called "python3.10" in the payload...
:: ++ find /root/parts/client/install/usr/bin /root/stage/usr/bin -type f -executable -name python3.10 -print -quit
:: + payload_python=
:: + '[' -n '' ']'
:: + echo 'Python interpreter not found in payload.'
:: Python interpreter not found in payload.
:: + symlink_target=/usr/bin/python3.10
:: + '[' -z /usr/bin/python3.10 ']'
:: + eval 'set +o errexit'
:: ++ set +o errexit
:: + ln -sf /usr/bin/python3.10 /root/parts/client/install/bin/python3
::
:: Users are encouraged to replace 'snapcraftctl' with 'craftctl' and use
:: 'CRAFT_*' environment variables in scriptlets when building snaps based
:: on core22. Please refer to the core22 migration guide for details.
:: ++ xargs rm -r
:: ++ find /root/parts/client/install -name __pycache__
:: ++ find /root/parts/client/install -name RECORD
:: ++ xargs rm
Staging client
Priming client
Extracting and updating metadata...
Copying snap assets...
Generating snap metadata...
Generated snap metadata
Reading snap metadata...
Running linters...
Running linter: classic
Running linter: library
Lint warnings:
- library: libmagic.so.1: unused library 'usr/lib/x86_64-linux-gnu/libmagic.so.1.0.0'. (https://snapcraft.io/docs/linters-library)
Creating snap package...
Created snap package osmclient_v14.0.2-1-g77ba5f4_amd64.snap