Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-odml.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-822974-28346/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-odml.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/python-odml-1.5.1-6.fc38.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-odml.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-822974-28346/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-odml.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CnNqj8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-odml-1.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/odml-1.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-odml-1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf odml.egg-info + find . -type f -name '*.py' -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' '{}' ';' + sed -i -e 's/, "pathlib"//g' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qRxbae + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 python-odml-1.5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/odml copying odml/templates.py -> build/lib/odml copying odml/format.py -> build/lib/odml copying odml/util.py -> build/lib/odml copying odml/base.py -> build/lib/odml copying odml/fileio.py -> build/lib/odml copying odml/validation.py -> build/lib/odml copying odml/dtypes.py -> build/lib/odml copying odml/terminology.py -> build/lib/odml copying odml/property.py -> build/lib/odml copying odml/__init__.py -> build/lib/odml copying odml/doc.py -> build/lib/odml copying odml/info.py -> build/lib/odml copying odml/section.py -> build/lib/odml creating build/lib/odml/rdf copying odml/rdf/fuzzy_finder.py -> build/lib/odml/rdf copying odml/rdf/query_creator.py -> build/lib/odml/rdf copying odml/rdf/__init__.py -> build/lib/odml/rdf creating build/lib/odml/scripts copying odml/scripts/odml_convert.py -> build/lib/odml/scripts copying odml/scripts/odml_view.py -> build/lib/odml/scripts copying odml/scripts/odml_to_rdf.py -> build/lib/odml/scripts copying odml/scripts/__init__.py -> build/lib/odml/scripts creating build/lib/odml/tools copying odml/tools/doc_inherit.py -> build/lib/odml/tools copying odml/tools/rdf_converter.py -> build/lib/odml/tools copying odml/tools/parser_utils.py -> build/lib/odml/tools copying odml/tools/version_converter.py -> build/lib/odml/tools copying odml/tools/dumper.py -> build/lib/odml/tools copying odml/tools/xmlparser.py -> build/lib/odml/tools copying odml/tools/odmlparser.py -> build/lib/odml/tools copying odml/tools/__init__.py -> build/lib/odml/tools copying odml/tools/dict_parser.py -> build/lib/odml/tools creating build/lib/odml/tools/converters copying odml/tools/converters/version_converter.py -> build/lib/odml/tools/converters copying odml/tools/converters/format_converter.py -> build/lib/odml/tools/converters copying odml/tools/converters/__init__.py -> build/lib/odml/tools/converters running egg_info creating odML.egg-info writing odML.egg-info/PKG-INFO writing dependency_links to odML.egg-info/dependency_links.txt writing entry points to odML.egg-info/entry_points.txt writing requirements to odML.egg-info/requires.txt writing top-level names to odML.egg-info/top_level.txt writing manifest file 'odML.egg-info/SOURCES.txt' reading manifest file 'odML.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'odML.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'odml.resources' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'odml.resources' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'odml.resources' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'odml.resources' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying odml/info.json -> build/lib/odml creating build/lib/odml/resources copying odml/resources/odml-ontology.ttl -> build/lib/odml/resources copying odml/resources/section_subclasses.yaml -> build/lib/odml/resources + PYTHONPATH=. + sphinx-build-3 doc html Running Sphinx v5.3.0 making output directory... done WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date building [html]: targets for 8 source files that are out of date updating environment: [new config] 8 added, 0 changed, 0 removed reading sources... [ 12%] advanced_features reading sources... [ 25%] base-classes reading sources... [ 37%] index reading sources... [ 50%] odmltordf reading sources... [ 62%] reference reading sources... [ 75%] support-classes reading sources... [ 87%] tools reading sources... [100%] tutorial /builddir/build/BUILD/python-odml-1.5.1/odml/doc.py:docstring of odml.doc.BaseDocument:1: WARNING: Definition list ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/section.py:docstring of odml.section.BaseSection:1: WARNING: Definition list ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/doc/support-classes.rst:10: WARNING: Title underline too short. Validation ------- /builddir/build/BUILD/python-odml-1.5.1/odml/tools/xmlparser.py:docstring of odml.tools.xmlparser.XMLReader.parse_tag:6: ERROR: Unexpected indentation. /builddir/build/BUILD/python-odml-1.5.1/odml/tools/converters/format_converter.py:docstring of odml.tools.converters.format_converter:5: WARNING: Enumerated list ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/tools/converters/format_converter.py:docstring of odml.tools.converters.format_converter:9: WARNING: Enumerated list ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/tools/converters/format_converter.py:docstring of odml.tools.converters.format_converter.FormatConverter.convert_dir:9: ERROR: Unexpected indentation. /builddir/build/BUILD/python-odml-1.5.1/odml/tools/converters/version_converter.py:docstring of odml.tools.converters.version_converter.VersionConverter:1: WARNING: Field list ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/scripts/odml_convert.py:docstring of odml.scripts.odml_convert:20: WARNING: Option list ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/scripts/odml_convert.py:docstring of odml.scripts.odml_convert.run_conversion:4: ERROR: Unexpected indentation. looking for now-outdated files... none found pickling environment... /builddir/build/BUILD/python-odml-1.5.1/odml/scripts/odml_convert.py:docstring of odml.scripts.odml_convert:2: WARNING: Block quote ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/scripts/odml_to_rdf.py:docstring of odml.scripts.odml_to_rdf:21: WARNING: Option list ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/scripts/odml_to_rdf.py:docstring of odml.scripts.odml_to_rdf.run_conversion:5: ERROR: Unexpected indentation. /builddir/build/BUILD/python-odml-1.5.1/odml/scripts/odml_to_rdf.py:docstring of odml.scripts.odml_to_rdf:3: WARNING: Block quote ends without a blank line; unexpected unindent. /builddir/build/BUILD/python-odml-1.5.1/odml/scripts/odml_view.py:docstring of odml.scripts.odml_view:21: WARNING: Option list ends without a blank line; unexpected unindent. done checking consistency... done preparing documents... done writing output... [ 12%] advanced_features writing output... [ 25%] base-classes writing output... [ 37%] index writing output... [ 50%] odmltordf writing output... [ 62%] reference writing output... [ 75%] support-classes writing output... [ 87%] tools writing output... [100%] tutorial generating indices... genindex py-modindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 16 warnings. The HTML pages are in html. + rm -rvf html/.buildinfo removed 'html/.buildinfo' + rm -rvf html/.doctrees removed 'html/.doctrees/reference.doctree' removed 'html/.doctrees/environment.pickle' removed 'html/.doctrees/advanced_features.doctree' removed 'html/.doctrees/index.doctree' removed 'html/.doctrees/support-classes.doctree' removed 'html/.doctrees/odmltordf.doctree' removed 'html/.doctrees/base-classes.doctree' removed 'html/.doctrees/tools.doctree' removed 'html/.doctrees/tutorial.doctree' removed directory 'html/.doctrees' + mkdir examples + cp -prv doc/example_odMLs examples 'doc/example_odMLs' -> 'examples/example_odMLs' 'doc/example_odMLs/THGTTG.odml' -> 'examples/example_odMLs/THGTTG.odml' 'doc/example_odMLs/sample_odml.json' -> 'examples/example_odMLs/sample_odml.json' 'doc/example_odMLs/sample_odml.odml' -> 'examples/example_odMLs/sample_odml.odml' 'doc/example_odMLs/sample_odml.rdf' -> 'examples/example_odMLs/sample_odml.rdf' 'doc/example_odMLs/sample_odml.yaml' -> 'examples/example_odMLs/sample_odml.yaml' 'doc/example_odMLs/thgttg.py' -> 'examples/example_odMLs/thgttg.py' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QJzaEZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch ++ dirname /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 python-odml-1.5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch --prefix /usr 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-odml-1.5.1-6.fc38.noarch/usr creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/templates.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts copying build/lib/odml/scripts/odml_convert.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts copying build/lib/odml/scripts/odml_view.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts copying build/lib/odml/scripts/odml_to_rdf.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts copying build/lib/odml/scripts/__init__.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/resources copying build/lib/odml/resources/odml-ontology.ttl -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/resources copying build/lib/odml/resources/section_subclasses.yaml -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/resources copying build/lib/odml/info.json -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/format.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/util.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/base.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/fileio.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/validation.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/dtypes.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/terminology.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/property.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/doc_inherit.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/converters copying build/lib/odml/tools/converters/version_converter.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/converters copying build/lib/odml/tools/converters/format_converter.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/converters copying build/lib/odml/tools/converters/__init__.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/converters copying build/lib/odml/tools/rdf_converter.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/parser_utils.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/version_converter.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/dumper.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/xmlparser.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/odmlparser.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/__init__.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/tools/dict_parser.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools copying build/lib/odml/__init__.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml creating /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/rdf copying build/lib/odml/rdf/fuzzy_finder.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/rdf copying build/lib/odml/rdf/query_creator.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/rdf copying build/lib/odml/rdf/__init__.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/rdf copying build/lib/odml/doc.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/info.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml copying build/lib/odml/section.py -> /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/templates.py to templates.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts/odml_convert.py to odml_convert.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts/odml_view.py to odml_view.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts/odml_to_rdf.py to odml_to_rdf.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/scripts/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/format.py to format.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/util.py to util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/fileio.py to fileio.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/validation.py to validation.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/dtypes.py to dtypes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/terminology.py to terminology.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/property.py to property.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/doc_inherit.py to doc_inherit.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/converters/version_converter.py to version_converter.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/converters/format_converter.py to format_converter.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/converters/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/rdf_converter.py to rdf_converter.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/parser_utils.py to parser_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/version_converter.py to version_converter.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/dumper.py to dumper.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/xmlparser.py to xmlparser.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/odmlparser.py to odmlparser.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/tools/dict_parser.py to dict_parser.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/rdf/fuzzy_finder.py to fuzzy_finder.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/rdf/query_creator.py to query_creator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/rdf/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/doc.py to doc.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/info.py to info.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odml/section.py to section.cpython-311.pyc writing byte-compilation script '/tmp/tmpzakihwlq.py' /usr/bin/python3 /tmp/tmpzakihwlq.py removing /tmp/tmpzakihwlq.py running install_egg_info running egg_info writing odML.egg-info/PKG-INFO writing dependency_links to odML.egg-info/dependency_links.txt writing entry points to odML.egg-info/entry_points.txt writing requirements to odML.egg-info/requires.txt writing top-level names to odML.egg-info/top_level.txt reading manifest file 'odML.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'odML.egg-info/SOURCES.txt' Copying odML.egg-info to /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11/site-packages/odML-1.5.1-py3.11.egg-info running install_scripts Installing odmlconversion script to /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/bin Installing odmlconvert script to /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/bin Installing odmltordf script to /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/bin Installing odmlview script to /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.5.1-6.fc38 --unique-debug-suffix -1.5.1-6.fc38.noarch --unique-debug-src-base python-odml-1.5.1-6.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-odml-1.5.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-odml-1.5.1-6.fc38.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dOrY7s + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 python-odml-1.5.1 + PYTHONPATH=. + pytest-3.11 --deselect test/test_version_converter.py ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.2.2, pluggy-1.0.0 rootdir: /builddir/build/BUILD/python-odml-1.5.1 collected 237 items / 16 deselected / 221 selected test/test_bugs.py . [ 0%] test/test_doc.py .......... [ 4%] test/test_doc_integration.py ... [ 6%] test/test_dtypes.py .......... [ 10%] test/test_dtypes_integration.py ........ [ 14%] test/test_dumper.py . [ 14%] test/test_fileio.py ... [ 16%] test/test_find_section.py ... [ 17%] test/test_format_converter.py ..... [ 19%] test/test_infer_type.py ......... [ 23%] test/test_iterators.py ... [ 25%] test/test_links.py .. [ 26%] test/test_parser_json.py ...... [ 28%] test/test_parser_odml.py ...F..... [ 33%] test/test_parser_xml.py .... [ 34%] test/test_parser_yaml.py ...... [ 37%] test/test_property.py ....................... [ 47%] test/test_property_integration.py ... [ 49%] test/test_rdf_reader.py FFFFFF [ 52%] test/test_rdf_writer.py .....F.FFFFF. [ 57%] test/test_samplefile.py ................... [ 66%] test/test_script_odml_convert.py .... [ 68%] test/test_script_odml_to_rdf.py .F.F [ 70%] test/test_section.py ............................. [ 83%] test/test_section_integration.py ....... [ 86%] test/test_terminology.py . [ 86%] test/test_util.py . [ 87%] test/test_validation.py ..................... [ 96%] test/test_validation_integration.py . [ 97%] test/test_version_converter_integration.py ... [ 98%] test/test_xml_writer.py ... [100%] =================================== FAILURES =================================== _________________________ TestOdmlParser.test_rdf_file _________________________ self = def test_rdf_file(self): """ Test comparison of document before and after rdf-conversion """ > self.rdf_writer.write_file(self.odml_doc, self.rdf_file) test/test_parser_odml.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ odml/tools/odmlparser.py:81: in write_file file.write(self.to_string(odml_document)) odml/tools/odmlparser.py:99: in to_string string_doc = RDFWriter(odml_document).get_rdf_str("xml") _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'xml' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError ____________________________ TestRDFReader.test_doc ____________________________ self = def test_doc(self): """ Test if a document and its attributes get converted correctly from rdf to odml. """ doc = Document() doc.author = "D. N. Adams" doc.version = 42 doc.date = datetime.date(1979, 10, 12) > rdf_writer = RDFWriter(doc).get_rdf_str() test/test_rdf_reader.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError _________________ TestRDFReader.test_mandatory_attrs_property __________________ self = def test_mandatory_attrs_property(self): """ Test if ParserError is thrown if mandatory attributes are missing for section. """ rdf_writer = RDFWriter([self.doc]) rdf_writer.convert_to_rdf() for rdf_sec in rdf_writer.graph.subjects(predicate=ODMLNS.hasName, object=Literal("prop1")): rdf_writer.graph.remove((rdf_sec, ODMLNS.hasName, Literal("prop1"))) > new_graph = rdf_writer.graph.serialize(format="turtle").decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' test/test_rdf_reader.py:132: AttributeError __________________ TestRDFReader.test_mandatory_attrs_section __________________ self = def test_mandatory_attrs_section(self): """ Test if ParserError is thrown if mandatory attributes are missing for section. """ rdf_writer = RDFWriter([self.doc]) rdf_writer.convert_to_rdf() for rdf_sec in rdf_writer.graph.subjects(predicate=ODMLNS.hasName, object=Literal("sec1")): rdf_writer.graph.remove((rdf_sec, ODMLNS.hasName, Literal("sec1"))) > new_graph = rdf_writer.graph.serialize(format="turtle").decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' test/test_rdf_reader.py:118: AttributeError _________________________ TestRDFReader.test_property __________________________ self = def test_property(self): """ Test if a property and its attributes get converted correctly from rdf to odml. """ doc = Document() sec1 = Section(name="sec1", type="test", parent=doc) prop2 = Property(name="numbers", definition="any number", dtype="float", parent=sec1, values=[1, 3.4, 67.8, -12], unit="meter", uncertainty=0.8, value_origin="force", reference="Experiment 1") > rdf_writer = RDFWriter(doc).get_rdf_str() test/test_rdf_reader.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError ________________________ TestRDFReader.test_rdf_formats ________________________ self = def test_rdf_formats(self): """ Test if document gets correctly converted to odml for turtle, xml and n3. """ > rdf_writer = RDFWriter(self.doc).get_rdf_str() test/test_rdf_reader.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError __________________________ TestRDFReader.test_section __________________________ self = def test_section(self): """ Test if a section and its attributes get converted correctly from rdf to odml. """ doc = Document() sec1 = Section(name="sec1", type="test", parent=doc, definition="Interesting stuff.", reference="The Journal") Section(name="sec2", type="test", parent=sec1) > rdf_writer = RDFWriter(doc).get_rdf_str() test/test_rdf_reader.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError _______________________ TestRDFWriter.test_adding_values _______________________ self = def test_adding_values(self): doc = parse(""" s1[t1] """) rdf_writer = RDFWriter([doc]) rdf_writer.convert_to_rdf() > check = rdf_writer.graph.subject_objects(predicate=RDF.li) test/test_rdf_writer.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/rdflib/namespace/__init__.py:238: in __getattr__ return cls.__getitem__(name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = Namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#'), name = 'li' default = None @lru_cache(maxsize=None) def __getitem__(cls, name: str, default=None) -> URIRef: name = str(name) if name in _DFNS_RESERVED_ATTRS: raise AttributeError( f"DefinedNamespace like object has no attribute {name!r}" ) if str(name).startswith("__"): # NOTE on type ignore: This seems to be a real bug, super() does not # implement this method, it will fail if it is ever reached. return super().__getitem__(name, default) # type: ignore[misc] # undefined in superclass if (cls._warn or cls._fail) and name not in cls: if cls._fail: > raise AttributeError(f"term '{name}' not in namespace '{cls._NS}'") E AttributeError: term 'li' not in namespace 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' /usr/lib/python3.11/site-packages/rdflib/namespace/__init__.py:229: AttributeError ______________________ TestRDFWriter.test_get_rdf_string _______________________ self = def test_get_rdf_string(self): rdf_writer = RDFWriter([self.doc1]) > rdf_writer.get_rdf_str() test/test_rdf_writer.py:293: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError ___________________ TestRDFWriter.test_rdf_custom_subclasses ___________________ self = def test_rdf_custom_subclasses(self): """ Test collection of the odml RDF subclassing feature. Tests that the resulting output RDF document contains any required additional RDF subclasses. """ sub_class_term = "cell" # Create minimal document doc = odml.Document() _ = odml.Section(name="test_subclassing", type=sub_class_term, parent=doc) # Test None dict rdf_writer = RDFWriter([doc], custom_subclasses=None) > self.assertIn("odml:Cell", rdf_writer.get_rdf_str()) test/test_rdf_writer.py:334: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError ________________ TestRDFWriter.test_rdf_subclassing_definitions ________________ self = def test_rdf_subclassing_definitions(self): """ Test that RDF Subclass definitions are written to the resulting graph. """ # -- Test default subclassing doc = odml.Document() _ = odml.Section(name="test_subclassing", type="cell", parent=doc) rdf_writer = RDFWriter([doc]) > curr_str = " ".join(rdf_writer.get_rdf_str().split()) test/test_rdf_writer.py:383: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError __________________ TestRDFWriter.test_rdf_subclassing_queries __________________ self = def test_rdf_subclassing_queries(self): """ Test the proper implementation of the RDF subclassing feature. Tests ensure, that queries relying on RDF Subclasses return appropriate results. """ if version_info > (3, 4): namespace_map = {"odml": Namespace(ODML_NS), "rdf": RDF, "rdfs": RDFS} doc = odml.Document() _ = odml.Section(name="test_subclass", type="cell", parent=doc) _ = odml.Section(name="test_regular_class", type="regular", parent=doc) rdf_writer = RDFWriter([doc]) > _ = rdf_writer.get_rdf_str() test/test_rdf_writer.py:436: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError __________________ TestRDFWriter.test_rdf_subclassing_switch ___________________ self = def test_rdf_subclassing_switch(self): """ Test the RDF section subclassing switch. """ # Section type term defined in odml/resources/section_subclasses.yaml that will # be converted to an RDF Section Subclass of Class "Cell". sub_class_term = "cell" # Create minimal document doc = odml.Document() _ = odml.Section(name="test_subclassing", type=sub_class_term, parent=doc) # Test default subclassing rdf_writer = RDFWriter([doc]) > result = rdf_writer.get_rdf_str() test/test_rdf_writer.py:312: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = rdf_format = 'turtle' def get_rdf_str(self, rdf_format="turtle"): """ Convert the current odML content of the parser to a common RDF graph and return the graph as a string object in the specified RDF format. :param rdf_format: RDF output format. Default format is 'turtle'. Available formats: 'xml', 'n3', 'turtle', 'nt', 'pretty-xml', 'trix', 'trig', 'nquads', 'json-ld'. :return: string object """ if rdf_format not in RDF_CONVERSION_FORMATS: msg = "odml.RDFWriter.get_rdf_str: Format for output files is incorrect." msg = "%s Please choose from the list: %s" % (msg, list(RDF_CONVERSION_FORMATS)) raise ValueError(msg) > return self.convert_to_rdf().serialize(format=rdf_format).decode("utf-8") E AttributeError: 'str' object has no attribute 'decode' odml/tools/rdf_converter.py:378: AttributeError ________________ TestScriptOdmlToRDF.test_recursive_conversion _________________ self = def test_recursive_conversion(self): # make sure temp dir is empty self.assertListEqual(os.listdir(self.tmp_dir), []) # run converter on root directory containing two files odml_to_rdf.main(["-r", "-o", self.tmp_dir, self.dir_recursive]) > rdf_dir = self._check_intermediate_dirs() test/test_script_odml_to_rdf.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/test_script_odml_to_rdf.py:47: in _check_intermediate_dirs self.assertEqual(len(rdf_dir_lst), 1) E AssertionError: 3 != 1 ----------------------------- Captured stdout call ----------------------------- failed loading 'https://terminologies.g-node.org/v1.1/terminologies.xml': did not successfully load 'https://terminologies.g-node.org/v1.1/terminologies.xml' [Warning] Repository file 'https://terminologies.g-node.org/v1.1/terminologies.xml' is not odML v1.1 compatible. failed loading 'https://terminologies.g-node.org/v1.1/terminologies.xml': did not successfully load 'https://terminologies.g-node.org/v1.1/terminologies.xml' [Warning] Repository file 'https://terminologies.g-node.org/v1.1/terminologies.xml' is not odML v1.1 compatible. [Info] Files will be saved to '/tmp/odml_test/tmp_noqdife_test_script_odml_to_rdf/odmlconv_shmor73x' [Info] Handling file '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/test_recursive/example_sub_root.doi.xml' [Info] RDF conversion of '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/test_recursive/example_sub_root.doi.xml' [Info] RDF conversion of '/tmp/odml_test/tmp_noqdife_test_script_odml_to_rdf/odmlconv_shmor73x/example_sub_root.doi_conv.xml' [Error] converting '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/test_recursive/example_sub_root.doi.xml' to RDF: ''str' object has no attribute 'decode'' [Info] Handling file '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/test_recursive/sub/example_sub.doi.xml' [Info] RDF conversion of '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/test_recursive/sub/example_sub.doi.xml' [Info] RDF conversion of '/tmp/odml_test/tmp_noqdife_test_script_odml_to_rdf/odmlconv_shmor73x/example_sub.doi_conv.xml' [Error] converting '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/test_recursive/sub/example_sub.doi.xml' to RDF: ''str' object has no attribute 'decode'' __________________ TestScriptOdmlToRDF.test_valid_conversion ___________________ self = def test_valid_conversion(self): # make sure temp dir is empty self.assertListEqual(os.listdir(self.tmp_dir), []) # run converter on root directory containing two files odml_to_rdf.main(["-o", self.tmp_dir, self.dir_files]) > rdf_dir = self._check_intermediate_dirs() test/test_script_odml_to_rdf.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/test_script_odml_to_rdf.py:47: in _check_intermediate_dirs self.assertEqual(len(rdf_dir_lst), 1) E AssertionError: 3 != 1 ----------------------------- Captured stdout call ----------------------------- failed loading 'https://terminologies.g-node.org/v1.1/terminologies.xml': did not successfully load 'https://terminologies.g-node.org/v1.1/terminologies.xml' [Warning] Repository file 'https://terminologies.g-node.org/v1.1/terminologies.xml' is not odML v1.1 compatible. failed loading 'https://terminologies.g-node.org/v1.1/terminologies.xml': did not successfully load 'https://terminologies.g-node.org/v1.1/terminologies.xml' [Warning] Repository file 'https://terminologies.g-node.org/v1.1/terminologies.xml' is not odML v1.1 compatible. [Info] Files will be saved to '/tmp/odml_test/tmpjn5hrnnj_test_script_odml_to_rdf/odmlconv_m47kyj7o' [Info] Handling file '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/example_A.doi.xml' [Info] RDF conversion of '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/example_A.doi.xml' [Info] RDF conversion of '/tmp/odml_test/tmpjn5hrnnj_test_script_odml_to_rdf/odmlconv_m47kyj7o/example_A.doi_conv.xml' [Error] converting '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/example_A.doi.xml' to RDF: ''str' object has no attribute 'decode'' [Info] Handling file '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/example_B.doi.xml' [Info] RDF conversion of '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/example_B.doi.xml' [Info] RDF conversion of '/tmp/odml_test/tmpjn5hrnnj_test_script_odml_to_rdf/odmlconv_m47kyj7o/example_B.doi_conv.xml' [Error] converting '/builddir/build/BUILD/python-odml-1.5.1/test/resources/scripts/odml_to_rdf/example_B.doi.xml' to RDF: ''str' object has no attribute 'decode'' =============================== warnings summary =============================== ../../../../usr/lib/python3.11/site-packages/_pytest/compat.py:330 UserWarning: Code: _pytestfixturefunction is not defined in namespace XSD test/test_dtypes_integration.py: 21 warnings test/test_infer_type.py: 6 warnings test/test_links.py: 24 warnings test/test_property.py: 56 warnings test/test_rdf_writer.py: 313 warnings test/test_samplefile.py: 162 warnings test/test_section.py: 6 warnings test/test_validation.py: 259 warnings test/test_xml_writer.py: 3 warnings DeprecationWarning: The attribute 'value' is deprecated and will be removed, use 'values' instead. test/test_property.py::TestProperty::test_insert UserWarning: odml.Property.insert: Index 4 larger than length of property.values. Added value at end of list. test/test_property_integration.py::TestPropertyIntegration::test_cardinality test/test_script_odml_to_rdf.py::TestScriptOdmlToRDF::test_recursive_conversion test/test_script_odml_to_rdf.py::TestScriptOdmlToRDF::test_valid_conversion UserWarning: The saved Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 2 warnings in 0 Sections and 2 Properties. test/test_property_integration.py::TestPropertyIntegration::test_cardinality test/test_script_odml_to_rdf.py::TestScriptOdmlToRDF::test_recursive_conversion test/test_script_odml_to_rdf.py::TestScriptOdmlToRDF::test_valid_conversion UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 2 warnings in 0 Sections and 2 Properties. test/test_property_integration.py::TestPropertyIntegration::test_simple_attributes UserWarning: The saved Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 1 warnings in 0 Sections and 1 Properties. test/test_property_integration.py::TestPropertyIntegration::test_simple_attributes UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 1 warnings in 0 Sections and 1 Properties. test/test_script_odml_convert.py::TestScriptOdmlConvert::test_recursive_conversion UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 3 warnings in 0 Sections and 3 Properties. test/test_script_odml_convert.py::TestScriptOdmlConvert::test_valid_conversion UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 12 warnings in 0 Sections and 12 Properties. test/test_section_integration.py::TestSectionIntegration::test_prop_cardinality test/test_section_integration.py::TestSectionIntegration::test_sec_cardinality UserWarning: The saved Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 2 warnings in 2 Sections and 0 Properties. test/test_section_integration.py::TestSectionIntegration::test_prop_cardinality test/test_section_integration.py::TestSectionIntegration::test_sec_cardinality UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 2 warnings in 2 Sections and 0 Properties. test/test_validation.py::TestValidation::test_load_dtypes_json test/test_validation.py::TestValidation::test_load_dtypes_xml test/test_validation.py::TestValidation::test_load_dtypes_yaml UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 18 warnings in 1 Sections and 17 Properties. test/test_validation.py::TestValidation::test_load_section_json test/test_validation.py::TestValidation::test_load_section_xml test/test_validation.py::TestValidation::test_load_section_yaml UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 1 errors and 1 warnings in 2 Sections and 0 Properties. test/test_version_converter_integration.py::TestVersionConverterIntegration::test_convert_json test/test_version_converter_integration.py::TestVersionConverterIntegration::test_convert_xml UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 8 warnings in 0 Sections and 6 Properties. test/test_version_converter_integration.py::TestVersionConverterIntegration::test_convert_yaml UserWarning: The loaded Document contains unresolved issues. Run the Documents 'validate' method to access them. Validation found 0 errors and 9 warnings in 0 Sections and 6 Properties. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_parser_odml.py::TestOdmlParser::test_rdf_file - AttributeErr... FAILED test/test_rdf_reader.py::TestRDFReader::test_doc - AttributeError: 'st... FAILED test/test_rdf_reader.py::TestRDFReader::test_mandatory_attrs_property FAILED test/test_rdf_reader.py::TestRDFReader::test_mandatory_attrs_section FAILED test/test_rdf_reader.py::TestRDFReader::test_property - AttributeError... FAILED test/test_rdf_reader.py::TestRDFReader::test_rdf_formats - AttributeEr... FAILED test/test_rdf_reader.py::TestRDFReader::test_section - AttributeError:... FAILED test/test_rdf_writer.py::TestRDFWriter::test_adding_values - Attribute... FAILED test/test_rdf_writer.py::TestRDFWriter::test_get_rdf_string - Attribut... FAILED test/test_rdf_writer.py::TestRDFWriter::test_rdf_custom_subclasses - A... FAILED test/test_rdf_writer.py::TestRDFWriter::test_rdf_subclassing_definitions FAILED test/test_rdf_writer.py::TestRDFWriter::test_rdf_subclassing_queries FAILED test/test_rdf_writer.py::TestRDFWriter::test_rdf_subclassing_switch - ... FAILED test/test_script_odml_to_rdf.py::TestScriptOdmlToRDF::test_recursive_conversion FAILED test/test_script_odml_to_rdf.py::TestScriptOdmlToRDF::test_valid_conversion === 15 failed, 206 passed, 16 deselected, 875 warnings in 111.30s (0:01:51) ==== error: Bad exit status from /var/tmp/rpm-tmp.dOrY7s (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dOrY7s (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-odml.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-odml.spec