Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-asttokens.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-x86_64-1739786061.875464/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-asttokens.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-asttokens-2.4.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-asttokens.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-x86_64-1739786061.875464/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-asttokens.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-asttokens-2.4.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-asttokens.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-x86_64-1739786061.875464/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-asttokens.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XXDTLW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf asttokens-2.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/asttokens-2.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd asttokens-2.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HB7vEv + umask 022 + cd /builddir/build/BUILD + cd asttokens-2.4.1 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build . Processing /builddir/build/BUILD/asttokens-2.4.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running dist_info creating /tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info writing /tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info/dependency_links.txt writing requirements to /tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info/requires.txt writing top-level names to /tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info/SOURCES.txt' listing git files failed - pretending there aren't any reading manifest file '/tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/tmp/pip-modern-metadata-4lzhpra4/asttokens.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-4lzhpra4/asttokens-2.4.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: asttokens Building wheel for asttokens (pyproject.toml): started Running command Building wheel for asttokens (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running bdist_wheel running build running build_py creating build/lib creating build/lib/asttokens copying asttokens/__init__.py -> build/lib/asttokens copying asttokens/astroid_compat.py -> build/lib/asttokens copying asttokens/asttokens.py -> build/lib/asttokens copying asttokens/line_numbers.py -> build/lib/asttokens copying asttokens/mark_tokens.py -> build/lib/asttokens copying asttokens/util.py -> build/lib/asttokens copying asttokens/version.py -> build/lib/asttokens copying asttokens/py.typed -> build/lib/asttokens installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/__init__.py -> build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/astroid_compat.py -> build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/asttokens.py -> build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/line_numbers.py -> build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/mark_tokens.py -> build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/util.py -> build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/version.py -> build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/py.typed -> build/bdist.linux-x86_64/wheel/asttokens running install_egg_info running egg_info writing asttokens.egg-info/PKG-INFO writing dependency_links to asttokens.egg-info/dependency_links.txt writing requirements to asttokens.egg-info/requires.txt writing top-level names to asttokens.egg-info/top_level.txt listing git files failed - pretending there aren't any reading manifest file 'asttokens.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'asttokens.egg-info/SOURCES.txt' Copying asttokens.egg-info to build/bdist.linux-x86_64/wheel/asttokens-2.4.1-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/asttokens-2.4.1.dist-info/WHEEL creating '/tmp/pip-wheel-mr566nxa/.tmp-ipcvzqd9/asttokens-2.4.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'asttokens/__init__.py' adding 'asttokens/astroid_compat.py' adding 'asttokens/asttokens.py' adding 'asttokens/line_numbers.py' adding 'asttokens/mark_tokens.py' adding 'asttokens/py.typed' adding 'asttokens/util.py' adding 'asttokens/version.py' adding 'asttokens-2.4.1.dist-info/LICENSE' adding 'asttokens-2.4.1.dist-info/METADATA' adding 'asttokens-2.4.1.dist-info/WHEEL' adding 'asttokens-2.4.1.dist-info/top_level.txt' adding 'asttokens-2.4.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for asttokens (pyproject.toml): finished with status 'done' Created wheel for asttokens: filename=asttokens-2.4.1-py2.py3-none-any.whl size=27767 sha256=c127e91290961984ebe04ff9d26c48d2641a13db58413b4827f06f785ac4c8ec Stored in directory: /builddir/.cache/pip/wheels/1c/27/55/0073e38def29857962771b10370e577606bb8fea0cae666efc Successfully built asttokens + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yfYjPe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64 + cd asttokens-2.4.1 ++ ls ./build/asttokens-2.4.1-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=asttokens==2.4.1 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build asttokens==2.4.1 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/asttokens-2.4.1-py2.py3-none-any.whl Installing collected packages: asttokens Successfully installed asttokens-2.4.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.4.1-1 --unique-debug-suffix -2.4.1-1.x86_64 --unique-debug-src-base python-asttokens-2.4.1-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/asttokens-2.4.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VTwLQ4 + umask 022 + cd /builddir/build/BUILD + cd asttokens-2.4.1 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + PATH=/builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.4, pluggy-1.4.0 rootdir: /builddir/build/BUILD/asttokens-2.4.1 configfile: setup.cfg collected 116 items tests/test_astroid.py ..............s.................................. [ 42%] tests/test_asttokens.py ....... [ 48%] tests/test_line_numbers.py ... [ 50%] tests/test_mark_tokens.py .............................................. [ 90%] ... [ 93%] tests/test_tokenless.py ... [ 95%] tests/test_util.py ..... [100%] ======================== 115 passed, 1 skipped in 9.49s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-asttokens-2.4.1-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SA0wbP + umask 022 + cd /builddir/build/BUILD + cd asttokens-2.4.1 + DOCDIR=/builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/share/doc/python3-asttokens + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/share/doc/python3-asttokens + cp -pr README.rst /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/share/doc/python3-asttokens + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wyKQ4B + umask 022 + cd /builddir/build/BUILD + cd asttokens-2.4.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/share/licenses/python3-asttokens + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/share/licenses/python3-asttokens + cp -pr LICENSE /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64/usr/share/licenses/python3-asttokens + RPM_EC=0 ++ jobs -p + exit 0 /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement Provides: python-asttokens = 2.4.1-1 python3-asttokens = 2.4.1-1 python3.11dist(asttokens) = 2.4.1 python3dist(asttokens) = 2.4.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(six) >= 1.12 Obsoletes: python-asttokens < 2.4.1-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64 Wrote: /builddir/build/RPMS/python3-asttokens-2.4.1-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Mj5Bdj + umask 022 + cd /builddir/build/BUILD + cd asttokens-2.4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-asttokens-2.4.1-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.npBIwC + umask 022 + cd /builddir/build/BUILD + rm -rf asttokens-2.4.1 asttokens-2.4.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0