<86>Jan 20 01:49:03 userdel[1414477]: delete user 'rooter' <86>Jan 20 01:49:03 userdel[1414477]: removed group 'rooter' owned by 'rooter' <86>Jan 20 01:49:03 userdel[1414477]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 20 01:49:03 groupadd[1414489]: group added to /etc/group: name=rooter, GID=1847 <86>Jan 20 01:49:03 groupadd[1414489]: group added to /etc/gshadow: name=rooter <86>Jan 20 01:49:03 groupadd[1414489]: new group: name=rooter, GID=1847 <86>Jan 20 01:49:03 useradd[1414504]: new user: name=rooter, UID=1847, GID=1847, home=/root, shell=/bin/bash, from=none <86>Jan 20 01:49:03 userdel[1414514]: delete user 'builder' <86>Jan 20 01:49:03 userdel[1414514]: removed group 'builder' owned by 'builder' <86>Jan 20 01:49:03 userdel[1414514]: removed shadow group 'builder' owned by 'builder' <86>Jan 20 01:49:03 groupadd[1414523]: group added to /etc/group: name=builder, GID=1848 <86>Jan 20 01:49:03 groupadd[1414523]: group added to /etc/gshadow: name=builder <86>Jan 20 01:49:03 groupadd[1414523]: new group: name=builder, GID=1848 <86>Jan 20 01:49:03 useradd[1414531]: new user: name=builder, UID=1848, GID=1848, home=/usr/src, shell=/bin/bash, from=none <13>Jan 20 01:49:06 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Jan 20 01:49:06 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Jan 20 01:49:06 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700243 installed <13>Jan 20 01:49:06 rpmi: openssl-config-3.2.0-alt1 sisyphus+366659.140.4.1 1736956949 installed <13>Jan 20 01:49:06 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Jan 20 01:49:06 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Jan 20 01:49:06 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Jan 20 01:49:06 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jan 20 01:49:06 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jan 20 01:49:06 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Jan 20 01:49:06 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Jan 20 01:49:06 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Jan 20 01:49:06 rpmi: libcrypto3-3.3.2-alt1 sisyphus+366659.40.4.1 1736956900 installed <13>Jan 20 01:49:06 rpmi: libssl3-3.3.2-alt1 sisyphus+366659.40.4.1 1736956900 installed <13>Jan 20 01:49:07 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Jan 20 01:49:07 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Jan 20 01:49:07 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Jan 20 01:49:07 rpmi: python3-module-pyproject-installer-0.5.5-alt2 sisyphus+366395.100.1.1 1735032014 installed <13>Jan 20 01:49:07 rpmi: rpm-macros-pyproject-0.0.9-alt1 sisyphus+362541.300.2.1 1731671840 installed <13>Jan 20 01:49:07 rpmi: tests-for-installed-python3-pkgs-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Jan 20 01:49:07 rpmi: rpm-build-python3-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Jan 20 01:49:07 rpmi: rpm-build-pyproject-0.0.9-alt1 sisyphus+362541.300.2.1 1731671840 installed <13>Jan 20 01:49:10 rpmi: python3-module-attrs-24.2.0-alt2 sisyphus+355603.200.1.1 1724160494 installed <13>Jan 20 01:49:10 rpmi: python3-module-rpds-py-0.22.3-alt1 sisyphus+364116.100.1.1 1733391055 installed <13>Jan 20 01:49:10 rpmi: python3-module-typing_extensions-4.12.2-alt1 sisyphus+351501.100.1.2 1719296652 installed <13>Jan 20 01:49:10 rpmi: python3-module-referencing-0.36.1-alt1 sisyphus+369846.100.2.1 1737201793 installed <13>Jan 20 01:49:10 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Jan 20 01:49:10 rpmi: python3-module-packaging-24.2-alt1 sisyphus+362183.100.1.1 1731315992 installed <13>Jan 20 01:49:10 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Jan 20 01:49:10 rpmi: python3-module-pytest-8.3.4-alt1 sisyphus+363889.100.1.1 1733152874 installed <13>Jan 20 01:49:10 rpmi: python3-module-jsonschema-specifications-2024.10.1-alt1 sisyphus+359439.100.1.1 1728564133 installed <13>Jan 20 01:49:10 rpmi: python3-module-tomlkit-0.13.2-alt1 sisyphus+358344.100.2.1 1727351286 installed <13>Jan 20 01:49:10 rpmi: python3-module-orjson-3.10.14-alt1 sisyphus+369459.100.1.1 1736846475 installed <13>Jan 20 01:49:10 rpmi: python3-module-msgspec-0.18.6-alt1 sisyphus+352905.576.13.1 1722262067 installed <13>Jan 20 01:49:10 rpmi: python3-module-msgpack-1.1.0-alt1 sisyphus+366518.100.1.1 1735151208 installed <13>Jan 20 01:49:10 rpmi: python3-module-cbor2-5.6.5-alt1 sisyphus+359421.100.1.1 1728556772 installed <13>Jan 20 01:49:10 rpmi: python3-module-bson-4.10.1-alt1 sisyphus+358819.100.1.1 1727869387 installed <13>Jan 20 01:49:10 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed <13>Jan 20 01:49:10 rpmi: python3-module-yaml-6.0.2-alt1 sisyphus+356896.100.1.1 1725541112 installed <13>Jan 20 01:49:10 rpmi: libdouble-conversion3-3.3.0-alt1 sisyphus+333410.100.1.1 1698928789 installed <13>Jan 20 01:49:10 rpmi: python3-module-ujson-5.10.0-alt1 sisyphus+348195.100.1.1 1715860692 installed <13>Jan 20 01:49:10 rpmi: python3-module-cattrs-24.1.2.0.7.git31eff82-alt1 sisyphus+368258.100.1.1 1736155261 installed <13>Jan 20 01:49:10 rpmi: python3-module-jsonschema-4.23.0-alt1 sisyphus+352455.200.1.1 1720510011 installed <13>Jan 20 01:49:10 rpmi: python3-module-importlib-resources-6.5.2-alt1 sisyphus+368375.100.1.1 1736415342 installed <13>Jan 20 01:49:10 rpmi: python3-module-hamcrest-2.1.0-alt2 sisyphus+345182.200.2.1 1713192453 installed <13>Jan 20 01:49:10 rpmi: python3-module-flit-core-3.10.1-alt1 sisyphus+361771.100.1.1 1730823467 installed warning: File /usr/src/in/source/python3-module-lsprotocol-2023.0.1-alt.patch is smaller than 8 bytes Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-lsprotocol-2023.0.1-alt1.nosrc.rpm (w1.gzdio) warning: File /usr/src/RPM/SOURCES/python3-module-lsprotocol-2023.0.1-alt.patch is smaller than 8 bytes Installing python3-module-lsprotocol-2023.0.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.82276 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-lsprotocol-2023.0.1 + echo 'Source #0 (python3-module-lsprotocol-2023.0.1.tar):' Source #0 (python3-module-lsprotocol-2023.0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-lsprotocol-2023.0.1.tar + cd python3-module-lsprotocol-2023.0.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (python3-module-lsprotocol-2023.0.1-alt.patch):' Patch #0 (python3-module-lsprotocol-2023.0.1-alt.patch): + /usr/bin/patch -p1 + pushd packages/python ~/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python ~/RPM/BUILD/python3-module-lsprotocol-2023.0.1 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync pep518 --verify --verify-exclude 'wheel$' + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync pep517 --verify --verify-exclude 'wheel$' + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show metadata + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync metadata --verify INFO : Building metadata INFO : Building metadata with prepare_metadata_for_build_wheel INFO : Source tree: /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python INFO : Output dir: /usr/src/tmp/tmptdyljkii + popd ~/RPM/BUILD/python3-module-lsprotocol-2023.0.1 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show check + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync check --verify + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.9224 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-lsprotocol-2023.0.1 + pushd packages/python ~/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python ~/RPM/BUILD/python3-module-lsprotocol-2023.0.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: flit_core.buildapi INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : flit_core.wheel : Zip timestamps will be from SOURCE_DATE_EPOCH: 2024-06-17 14:35:11+00:00 INFO : flit_core.wheel : Copying package file(s) from lsprotocol DEBUG : flit_core.wheel : Adding lsprotocol/__init__.py to zip file DEBUG : flit_core.wheel : Adding lsprotocol/_hooks.py to zip file DEBUG : flit_core.wheel : Adding lsprotocol/converters.py to zip file DEBUG : flit_core.wheel : Adding lsprotocol/py.typed to zip file DEBUG : flit_core.wheel : Adding lsprotocol/types.py to zip file DEBUG : flit_core.wheel : Adding lsprotocol/validators.py to zip file INFO : flit_core.wheel : Writing metadata files DEBUG : flit_core.wheel : Adding LICENSE to zip file DEBUG : flit_core.wheel : Writing data to lsprotocol-2023.0.1.dist-info/WHEEL in zip file DEBUG : flit_core.wheel : Writing data to lsprotocol-2023.0.1.dist-info/METADATA in zip file INFO : flit_core.wheel : Writing the record of files DEBUG : flit_core.wheel : Writing data to lsprotocol-2023.0.1.dist-info/RECORD in zip file INFO : flit_core.wheel : Built wheel: /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python/dist/lsprotocol-2023.0.1-py3-none-any.whl INFO : pyproject_installer.build_cmd._build : Built wheel: lsprotocol-2023.0.1-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.65706 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-lsprotocol-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-lsprotocol-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-lsprotocol-2023.0.1 + pushd packages/python ~/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python ~/RPM/BUILD/python3-module-lsprotocol-2023.0.1 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-lsprotocol-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: lsprotocol-2023.0.1-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-lsprotocol-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: lsprotocol-2023.0.1.dist-info/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: lsprotocol-2023.0.1.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: lsprotocol-2023.0.1.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-lsprotocol-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-lsprotocol-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-lsprotocol-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-lsprotocol-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-lsprotocol-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-lsprotocol-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-lsprotocol-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-lsprotocol-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/__init__.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/_hooks.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/converters.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/types.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/validators.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-lsprotocol-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/__init__.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/_hooks.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/converters.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/types.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/validators.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-lsprotocol-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/__init__.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/_hooks.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/converters.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/types.py compile /usr/src/tmp/python3-module-lsprotocol-buildroot/usr/lib/python3/site-packages/lsprotocol/validators.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/lsprotocol/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/lsprotocol/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/lsprotocol/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/lsprotocol/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/lsprotocol/__pycache__/converters.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/lsprotocol/__pycache__/converters.cpython-312.pyc' './usr/lib/python3/site-packages/lsprotocol/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/lsprotocol/__pycache__/types.cpython-312.pyc' './usr/lib/python3/site-packages/lsprotocol/__pycache__/validators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/lsprotocol/__pycache__/validators.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.65706 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-lsprotocol-2023.0.1 + python3 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 rootdir: /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1 configfile: pyproject.toml collected 115 items tests/generator/test_model.py .. [ 1%] tests/generator/test_schema.py . [ 2%] tests/python/notifications/test_exit.py .... [ 6%] tests/python/notifications/test_progress.py ... [ 8%] tests/python/requests/test_initilize_request.py . [ 9%] tests/python/requests/test_inlay_hint_resolve_request.py .. [ 11%] tests/python/requests/test_workspace_sematic_tokens_refresh.py .... [ 14%] tests/python/requests/test_workspace_symbols_request.py ..... [ 19%] tests/python/test_cattrs_special_cases.py .............................F [ 45%] ..... [ 49%] tests/python/test_custom_validators.py ................. [ 64%] tests/python/test_enums.py ................ [ 78%] tests/python/test_generated_data.py s [ 79%] tests/python/test_import.py . [ 80%] tests/python/test_location.py .... [ 83%] tests/python/test_position.py ............... [ 96%] tests/python/test_range.py .... [100%] =================================== FAILURES =================================== __________________________ test_notebook_sync_options __________________________ + Exception Group Traceback (most recent call last): | File "/usr/lib/python3/site-packages/_pytest/runner.py", line 341, in from_call | result: TResult | None = func() | ^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/runner.py", line 242, in | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 139, in _multicall | raise exception.with_traceback(exception.__traceback__) | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 122, in _multicall | teardown.throw(exception) # type: ignore[union-attr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call | yield from thread_exception_runtest_hook() | File "/usr/lib/python3/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook | yield | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 122, in _multicall | teardown.throw(exception) # type: ignore[union-attr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call | yield from unraisable_exception_runtest_hook() | File "/usr/lib/python3/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook | yield | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 122, in _multicall | teardown.throw(exception) # type: ignore[union-attr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call | yield from self._runtest_for(item, "call") | File "/usr/lib/python3/site-packages/_pytest/logging.py", line 829, in _runtest_for | yield | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 122, in _multicall | teardown.throw(exception) # type: ignore[union-attr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 122, in _multicall | teardown.throw(exception) # type: ignore[union-attr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call | item.runtest() | File "/usr/lib/python3/site-packages/_pytest/python.py", line 1627, in runtest | self.ihook.pytest_pyfunc_call(pyfuncitem=self) | File "/usr/lib/python3/site-packages/pluggy/_hooks.py", line 513, in __call__ | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/pluggy/_manager.py", line 120, in _hookexec | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 139, in _multicall | raise exception.with_traceback(exception.__traceback__) | File "/usr/lib/python3/site-packages/pluggy/_callers.py", line 103, in _multicall | res = hook_impl.function(*args) | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call | result = testfunction(**testargs) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/tests/python/test_cattrs_special_cases.py", line 274, in test_notebook_sync_options | obj = converter.structure(data, lsp.NotebookDocumentSyncOptions) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/converters.py", line 563, in structure | return self._structure_func.dispatch(cl)(obj, cl) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "", line 15, in structure_NotebookDocumentSyncOptions | if errors: raise __c_cve('While structuring ' + 'NotebookDocumentSyncOptions', errors, __cl) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | cattrs.errors.ClassValidationError: While structuring NotebookDocumentSyncOptions (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "", line 5, in structure_NotebookDocumentSyncOptions | res['notebook_selector'] = __c_structure_notebook_selector(o['notebookSelector'], __c_type_notebook_selector) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/cols.py", line 145, in structure_list | raise IterableValidationError( | cattrs.errors.IterableValidationError: While structuring typing.List[typing.Union[lsprotocol.types.NotebookDocumentSyncOptionsNotebookSelectorType1, lsprotocol.types.NotebookDocumentSyncOptionsNotebookSelectorType2]] (1 sub-exception) | Structuring class NotebookDocumentSyncOptions @ attribute notebook_selector +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3/site-packages/cattrs/cols.py", line 135, in structure_list | res.append(handler(e, _elem_type)) | ^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python/lsprotocol/_hooks.py", line 633, in _notebook_sync_option_selector_hook | return converter.structure( | ^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/converters.py", line 563, in structure | return self._structure_func.dispatch(cl)(obj, cl) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/dispatch.py", line 133, in dispatch_without_caching | res = self._function_dispatch.dispatch(typ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/dispatch.py", line 76, in dispatch | return handler(typ) | ^^^^^^^^^^^^ | File "/usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/packages/python/lsprotocol/_hooks.py", line 1233, in _with_custom_structure | return cattrs.gen.make_dict_structure_fn(cls, converter, **attributes) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/gen/__init__.py", line 773, in make_dict_structure_fn | return make_dict_structure_fn_from_attrs( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/gen/__init__.py", line 407, in make_dict_structure_fn_from_attrs | handler = find_structure_handler( | ^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/gen/_shared.py", line 58, in find_structure_handler | handler = c.get_structure_hook(type, cache_result=False) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/converters.py", line 581, in get_structure_hook | else self._structure_func.dispatch_without_caching(type) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/dispatch.py", line 134, in dispatch_without_caching | return res if res is not None else self._fallback_factory(typ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/converters.py", line 1053, in | structure_fallback_factory: HookFactory[StructureHook] = lambda t: raise_error( | ^^^^^^^^^^^^ | File "/usr/lib/python3/site-packages/cattrs/fns.py", line 22, in raise_error | raise StructureHandlerNotFoundError(msg, type_=cl) | cattrs.errors.StructureHandlerNotFoundError: Unsupported type: typing.Union[str, lsprotocol.types.NotebookDocumentFilter_Type1, lsprotocol.types.NotebookDocumentFilter_Type2, lsprotocol.types.NotebookDocumentFilter_Type3, NoneType]. Register a structure hook for it. | Structuring typing.List[typing.Union[lsprotocol.types.NotebookDocumentSyncOptionsNotebookSelectorType1, lsprotocol.types.NotebookDocumentSyncOptionsNotebookSelectorType2]] @ index 0 +------------------------------------ =============================== warnings summary =============================== tests/python/test_cattrs_special_cases.py:282 /usr/src/RPM/BUILD/python3-module-lsprotocol-2023.0.1/tests/python/test_cattrs_special_cases.py:282: PytestCollectionWarning: cannot collect test class 'TestPosEncoding' because it has a __init__ constructor (from: tests/python/test_cattrs_special_cases.py) @attrs.define -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/python/test_cattrs_special_cases.py::test_notebook_sync_options ============= 1 failed, 113 passed, 1 skipped, 1 warning in 0.83s ============== error: Bad exit status from /usr/src/tmp/rpm-tmp.65706 (%check) RPM build errors: File /usr/src/RPM/SOURCES/python3-module-lsprotocol-2023.0.1-alt.patch is smaller than 8 bytes Bad exit status from /usr/src/tmp/rpm-tmp.65706 (%check) Command exited with non-zero status 1 2.58user 0.66system 0:03.21elapsed 101%CPU (0avgtext+0avgdata 61304maxresident)k 0inputs+0outputs (0major+164402minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-lsprotocol-2023.0.1-alt1.src.rpm' failed. Command exited with non-zero status 1 4.15user 2.80system 0:15.24elapsed 45%CPU (0avgtext+0avgdata 138420maxresident)k 3904inputs+0outputs (0major+277219minor)pagefaults 0swaps