Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-asttokens.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-56426-2201/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f56c62c356d143a784f7499b510d8d52', '-D', '/var/lib/mock/dist-ocs23-python311-build-56426-2201/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-asttokens-2.1.0-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-asttokens.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-56426-2201/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '352a1cb5c5814b2698ebf5681d872bc3', '-D', '/var/lib/mock/dist-ocs23-python311-build-56426-2201/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Bv5f5W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf asttokens-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/asttokens-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd asttokens-2.1.0 + /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.DUeKTD + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd asttokens-2.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running build running build_py creating build creating build/lib creating build/lib/asttokens copying asttokens/util.py -> build/lib/asttokens copying asttokens/mark_tokens.py -> build/lib/asttokens copying asttokens/version.py -> build/lib/asttokens copying asttokens/__init__.py -> build/lib/asttokens copying asttokens/asttokens.py -> build/lib/asttokens copying asttokens/line_numbers.py -> build/lib/asttokens copying asttokens/py.typed -> build/lib/asttokens + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2phbAf + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch + cd asttokens-2.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens copying build/lib/asttokens/util.py -> /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens copying build/lib/asttokens/mark_tokens.py -> /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens copying build/lib/asttokens/version.py -> /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens copying build/lib/asttokens/__init__.py -> /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens copying build/lib/asttokens/py.typed -> /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens copying build/lib/asttokens/asttokens.py -> /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens copying build/lib/asttokens/line_numbers.py -> /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens byte-compiling /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens/util.py to util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens/mark_tokens.py to mark_tokens.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens/asttokens.py to asttokens.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens/line_numbers.py to line_numbers.cpython-311.pyc writing byte-compilation script '/tmp/tmpn96_ja__.py' /usr/bin/python3 /tmp/tmpn96_ja__.py removing /tmp/tmpn96_ja__.py 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 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 /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11/site-packages/asttokens-2.1.0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.1.0-3.ocs23 --unique-debug-suffix -2.1.0-3.ocs23.noarch --unique-debug-src-base python-asttokens-2.1.0-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/asttokens-2.1.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-asttokens-2.1.0-3.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DxqaI0 + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd asttokens-2.1.0 + TEST_ARGS=(--ignore=tests/test_astroid.py) + pytest-3 tests/ -v --ignore=tests/test_astroid.py ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/asttokens-2.1.0 configfile: setup.cfg collecting ... collected 10 items / 3 errors ==================================== ERRORS ==================================== __________________ ERROR collecting tests/test_mark_tokens.py __________________ ImportError while importing test module '/builddir/build/BUILD/asttokens-2.1.0/tests/test_mark_tokens.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_mark_tokens.py:16: in import astroid /usr/lib/python3.10/site-packages/astroid/__init__.py:51: in from astroid.nodes import node_classes, scoped_nodes /usr/lib/python3.10/site-packages/astroid/nodes/__init__.py:27: in from astroid.nodes.node_classes import ( # pylint: disable=redefined-builtin (Ellipsis) /usr/lib/python3.10/site-packages/astroid/nodes/node_classes.py:49: in from astroid import decorators, mixins, util /usr/lib/python3.10/site-packages/astroid/decorators.py:27: in import wrapt /usr/lib64/python3.11/site-packages/wrapt/__init__.py:10: in from .decorators import (adapter_factory, AdapterFactory, decorator, /usr/lib64/python3.11/site-packages/wrapt/decorators.py:34: in from inspect import ismethod, isclass, formatargspec E ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ___________________ ERROR collecting tests/test_tokenless.py ___________________ ImportError while importing test module '/builddir/build/BUILD/asttokens-2.1.0/tests/test_tokenless.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_tokenless.py:5: in import astroid /usr/lib/python3.10/site-packages/astroid/__init__.py:51: in from astroid.nodes import node_classes, scoped_nodes /usr/lib/python3.10/site-packages/astroid/nodes/__init__.py:27: in from astroid.nodes.node_classes import ( # pylint: disable=redefined-builtin (Ellipsis) /usr/lib/python3.10/site-packages/astroid/nodes/node_classes.py:49: in from astroid import decorators, mixins, util /usr/lib/python3.10/site-packages/astroid/decorators.py:27: in import wrapt /usr/lib64/python3.11/site-packages/wrapt/__init__.py:10: in from .decorators import (adapter_factory, AdapterFactory, decorator, /usr/lib64/python3.11/site-packages/wrapt/decorators.py:34: in from inspect import ismethod, isclass, formatargspec E ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) _____________________ ERROR collecting tests/test_util.py ______________________ ImportError while importing test module '/builddir/build/BUILD/asttokens-2.1.0/tests/test_util.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_util.py:9: in import astroid /usr/lib/python3.10/site-packages/astroid/__init__.py:51: in from astroid.nodes import node_classes, scoped_nodes /usr/lib/python3.10/site-packages/astroid/nodes/__init__.py:27: in from astroid.nodes.node_classes import ( # pylint: disable=redefined-builtin (Ellipsis) /usr/lib/python3.10/site-packages/astroid/nodes/node_classes.py:49: in from astroid import decorators, mixins, util /usr/lib/python3.10/site-packages/astroid/decorators.py:27: in import wrapt /usr/lib64/python3.11/site-packages/wrapt/__init__.py:10: in from .decorators import (adapter_factory, AdapterFactory, decorator, /usr/lib64/python3.11/site-packages/wrapt/decorators.py:34: in from inspect import ismethod, isclass, formatargspec E ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) =========================== short test summary info ============================ ERROR tests/test_mark_tokens.py ERROR tests/test_tokenless.py ERROR tests/test_util.py !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 3 errors in 0.30s =============================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.DxqaI0 (%check) Bad exit status from /var/tmp/rpm-tmp.DxqaI0 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 352a1cb5c5814b2698ebf5681d872bc3 -D /var/lib/mock/dist-ocs23-python311-build-56426-2201/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-asttokens.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 352a1cb5c5814b2698ebf5681d872bc3 -D /var/lib/mock/dist-ocs23-python311-build-56426-2201/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hgblfm8t:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-asttokens.spec