Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-license-expression.spec'], chrootPath='/var/lib/mock/f37-build-side-28-python-devel-96114-5145/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 --target noarch --nodeps /builddir/build/SPECS/python-license-expression.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=1658448000 Wrote: /builddir/build/SRPMS/python-license-expression-1.0-10.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-license-expression.spec'], chrootPath='/var/lib/mock/f37-build-side-28-python-devel-96114-5145/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 --target noarch --nodeps /builddir/build/SPECS/python-license-expression.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=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.g0IIF6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf license-expression-1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/license-expression-1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd license-expression-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r src/license_expression.egg-info/ + rm PKG-INFO + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EIqbs4 + umask 022 + cd /builddir/build/BUILD + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 license-expression-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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' /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:463: 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/license_expression copying src/license_expression/__init__.py -> build/lib/license_expression copying src/license_expression/_pyahocorasick.py -> build/lib/license_expression running egg_info creating src/license_expression.egg-info writing src/license_expression.egg-info/PKG-INFO writing dependency_links to src/license_expression.egg-info/dependency_links.txt writing requirements to src/license_expression.egg-info/requires.txt writing top-level names to src/license_expression.egg-info/top_level.txt writing manifest file 'src/license_expression.egg-info/SOURCES.txt' reading manifest file 'src/license_expression.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'NOTICE' warning: no previously-included files matching '*.*~' found anywhere in distribution writing manifest file 'src/license_expression.egg-info/SOURCES.txt' copying src/license_expression/_pyahocorasick.ABOUT -> build/lib/license_expression + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MTDUqV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch ++ dirname /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 license-expression-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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-license-expression-1.0-10.fc37.noarch --prefix /usr /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:463: 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-license-expression-1.0-10.fc37.noarch/usr creating /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib creating /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages/license_expression copying build/lib/license_expression/_pyahocorasick.ABOUT -> /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages/license_expression copying build/lib/license_expression/__init__.py -> /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages/license_expression copying build/lib/license_expression/_pyahocorasick.py -> /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages/license_expression byte-compiling /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages/license_expression/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages/license_expression/_pyahocorasick.py to _pyahocorasick.cpython-311.pyc writing byte-compilation script '/tmp/tmpof415mtt.py' /usr/bin/python3 /tmp/tmpof415mtt.py removing /tmp/tmpof415mtt.py running install_egg_info running egg_info writing src/license_expression.egg-info/PKG-INFO writing dependency_links to src/license_expression.egg-info/dependency_links.txt writing requirements to src/license_expression.egg-info/requires.txt writing top-level names to src/license_expression.egg-info/top_level.txt reading manifest file 'src/license_expression.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'NOTICE' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.*~' found anywhere in distribution writing manifest file 'src/license_expression.egg-info/SOURCES.txt' Copying src/license_expression.egg-info to /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages/license_expression-1.0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0-10.fc37 --unique-debug-suffix -1.0-10.fc37.noarch --unique-debug-src-base python-license-expression-1.0-10.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/license-expression-1.0 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Xrsvis + umask 022 + cd /builddir/build/BUILD + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 license-expression-1.0 + PYTHONPATH=/builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/lib/python3.11/site-packages + py.test-3.11 -v ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/license-expression-1.0, configfile: setup.cfg collecting ... collected 155 items README.rst::README.rst PASSED [ 0%] src/license_expression/__init__.py::license_expression.Licensing PASSED [ 1%] src/license_expression/__init__.py::license_expression.Licensing.license_keys PASSED [ 1%] src/license_expression/__init__.py::license_expression.Licensing.license_symbols PASSED [ 2%] src/license_expression/__init__.py::license_expression.Licensing.parse PASSED [ 3%] src/license_expression/_pyahocorasick.py::license_expression._pyahocorasick.Token.__contains__ PASSED [ 3%] src/license_expression/_pyahocorasick.py::license_expression._pyahocorasick.Token.is_after PASSED [ 4%] src/license_expression/_pyahocorasick.py::license_expression._pyahocorasick.Token.overlap PASSED [ 5%] src/license_expression/_pyahocorasick.py::license_expression._pyahocorasick.Token.sort PASSED [ 5%] src/license_expression/_pyahocorasick.py::license_expression._pyahocorasick.Trie.iter PASSED [ 6%] src/license_expression/_pyahocorasick.py::license_expression._pyahocorasick.Trie.tokenize PASSED [ 7%] src/license_expression/_pyahocorasick.py::license_expression._pyahocorasick.filter_overlapping PASSED [ 7%] tests/test__pyahocorasick.py::TestTrie::test_add_can_get PASSED [ 8%] tests/test__pyahocorasick.py::TestTrie::test_add_existing_WordShouldReplaceAssociatedValue PASSED [ 9%] tests/test__pyahocorasick.py::TestTrie::test_exists_ShouldDetectAddedWords PASSED [ 9%] tests/test__pyahocorasick.py::TestTrie::test_exists_ShouldReturnFailOnUnknownWord PASSED [ 10%] tests/test__pyahocorasick.py::TestTrie::test_get_UnknowWordWithDefaultValueShouldReturnDefault PASSED [ 10%] tests/test__pyahocorasick.py::TestTrie::test_get_UnknowWordWithoutDefaultValueShouldRaiseException PASSED [ 11%] tests/test__pyahocorasick.py::TestTrie::test_is_prefix_ShouldDetecAllPrefixesIncludingWord PASSED [ 12%] tests/test__pyahocorasick.py::TestTrie::test_items_ShouldReturnAllItemsAlreadyAddedToTheTrie PASSED [ 12%] tests/test__pyahocorasick.py::TestTrie::test_iter_should_can_return_non_matches_optionally PASSED [ 13%] tests/test__pyahocorasick.py::TestTrie::test_iter_should_not_return_non_matches_by_default PASSED [ 14%] tests/test__pyahocorasick.py::TestTrie::test_iter_simple PASSED [ 14%] tests/test__pyahocorasick.py::TestTrie::test_iter_vs_tokenize PASSED [ 15%] tests/test__pyahocorasick.py::TestTrie::test_iter_with_unmatched_simple PASSED [ 16%] tests/test__pyahocorasick.py::TestTrie::test_iter_with_unmatched_simple2 PASSED [ 16%] tests/test__pyahocorasick.py::TestTrie::test_iter_with_unmatched_simple3 PASSED [ 17%] tests/test__pyahocorasick.py::TestTrie::test_keys_ShouldReturnAllKeysAlreadyAddedToTheTrie PASSED [ 18%] tests/test__pyahocorasick.py::TestTrie::test_tokenize_with_unmatched_and_space PASSED [ 18%] tests/test__pyahocorasick.py::TestTrie::test_values_ShouldReturnAllValuesAlreadyAddedToTheTrie PASSED [ 19%] tests/test_license_expression.py::LicenseSymbolTest::test_LicenseSymbol PASSED [ 20%] tests/test_license_expression.py::LicensingTest::test_Licensing_create PASSED [ 20%] tests/test_license_expression.py::LicensingTokenizeWithoutSymbolsTest::test_tokenize_plain1 PASSED [ 21%] tests/test_license_expression.py::LicensingTokenizeWithoutSymbolsTest::test_tokenize_plain2 PASSED [ 21%] tests/test_license_expression.py::LicensingTokenizeWithoutSymbolsTest::test_tokenize_plain3 PASSED [ 22%] tests/test_license_expression.py::LicensingTokenizeWithoutSymbolsTest::test_tokenize_plain4 PASSED [ 23%] tests/test_license_expression.py::LicensingTokenizeWithoutSymbolsTest::test_tokenize_plain5 PASSED [ 23%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_1_no_symbols PASSED [ 24%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_1_with_symbols PASSED [ 25%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_3 PASSED [ 25%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_unknown_as_trailing_single_attached_character PASSED [ 26%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_with_trailing_unknown PASSED [ 27%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_with_unknown_symbol_containing_known_symbol_contained PASSED [ 27%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_with_unknown_symbol_containing_known_symbol_leading PASSED [ 28%] tests/test_license_expression.py::LicensingTokenizeWithSymbolsTest::test_tokenize_with_unknown_symbol_containing_known_symbol_trailing PASSED [ 29%] tests/test_license_expression.py::LicensingParseTest::test_Licensing_can_parse_expressions_with_symbols_that_contain_a_colon PASSED [ 29%] tests/test_license_expression.py::LicensingParseTest::test_Licensing_can_parse_valid_expressions_with_symbols_that_contain_and_with_or PASSED [ 30%] tests/test_license_expression.py::LicensingParseTest::test_Licensing_can_parse_valid_expressions_with_symbols_that_contain_spaces PASSED [ 30%] tests/test_license_expression.py::LicensingParseTest::test_Licensing_can_simple_tokenize_valid_expressions_with_symbols_that_contain_and_with_or PASSED [ 31%] tests/test_license_expression.py::LicensingParseTest::test_Licensing_can_tokenize_valid_expressions_with_symbols_that_contain_and_with_or PASSED [ 32%] tests/test_license_expression.py::LicensingParseTest::test_contains_works_with_plain_symbol PASSED [ 32%] tests/test_license_expression.py::LicensingParseTest::test_create_from_python PASSED [ 33%] tests/test_license_expression.py::LicensingParseTest::test_end_to_end PASSED [ 34%] tests/test_license_expression.py::LicensingParseTest::test_license_expression_is_equivalent PASSED [ 34%] tests/test_license_expression.py::LicensingParseTest::test_license_expression_license_keys PASSED [ 35%] tests/test_license_expression.py::LicensingParseTest::test_parse PASSED [ 36%] tests/test_license_expression.py::LicensingParseTest::test_parse_can_parse PASSED [ 36%] tests/test_license_expression.py::LicensingParseTest::test_parse_complex PASSED [ 37%] tests/test_license_expression.py::LicensingParseTest::test_parse_complex2 PASSED [ 38%] tests/test_license_expression.py::LicensingParseTest::test_parse_does_not_raise_error_for_empty_expression PASSED [ 38%] tests/test_license_expression.py::LicensingParseTest::test_parse_errors_catch_invalid_expression_with_bare_and PASSED [ 39%] tests/test_license_expression.py::LicensingParseTest::test_parse_errors_catch_invalid_expression_with_empty_parens PASSED [ 40%] tests/test_license_expression.py::LicensingParseTest::test_parse_errors_catch_invalid_expression_with_or_and_no_other PASSED [ 40%] tests/test_license_expression.py::LicensingParseTest::test_parse_errors_catch_invalid_nesting PASSED [ 41%] tests/test_license_expression.py::LicensingParseTest::test_parse_errors_catch_invalid_non_unicode_byte_strings_on_python3 PASSED [ 41%] tests/test_license_expression.py::LicensingParseTest::test_parse_errors_does_not_raise_error_on_plain_non_unicode_raw_string PASSED [ 42%] tests/test_license_expression.py::LicensingParseTest::test_parse_in_strict_mode_for_solo_symbol PASSED [ 43%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_raise_exception PASSED [ 43%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_raise_exception3 PASSED [ 44%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_raise_exception4 PASSED [ 45%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_raise_exception5 PASSED [ 45%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_raise_exception6 PASSED [ 46%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_with_repeated_trailing_or_raise_exception PASSED [ 47%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_with_single_leading_or_raise_exception PASSED [ 47%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_with_single_trailing_and_raise_exception PASSED [ 48%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_with_single_trailing_or_raise_exception XFAIL [ 49%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_with_trailing_or PASSED [ 49%] tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_with_trailing_or_and_valid_start_does_not_raise_exception PASSED [ 50%] tests/test_license_expression.py::LicensingParseTest::test_parse_not_invalid_expression_rais_not_exception PASSED [ 50%] tests/test_license_expression.py::LicensingParseTest::test_parse_not_invalid_expression_raise_no_exception2 PASSED [ 51%] tests/test_license_expression.py::LicensingParseTest::test_parse_raise_ExpressionError_when_validating PASSED [ 52%] tests/test_license_expression.py::LicensingParseTest::test_parse_raise_ExpressionError_when_validating_strict_with_unknown PASSED [ 52%] tests/test_license_expression.py::LicensingParseTest::test_parse_raise_ParseError PASSED [ 53%] tests/test_license_expression.py::LicensingParseTest::test_parse_raise_ParseError_when_strict_no_validate PASSED [ 54%] tests/test_license_expression.py::LicensingParseTest::test_parse_raise_ParseError_when_validating_strict PASSED [ 54%] tests/test_license_expression.py::LicensingParseTest::test_parse_simplify_and_contain_and_equal PASSED [ 55%] tests/test_license_expression.py::LicensingParseTest::test_parse_simplify_no_sort PASSED [ 56%] tests/test_license_expression.py::LicensingParseTest::test_parse_with_repeated_or_later_does_not_raise_parse_error PASSED [ 56%] tests/test_license_expression.py::LicensingParseTest::test_pretty PASSED [ 57%] tests/test_license_expression.py::LicensingParseTest::test_render_complex PASSED [ 58%] tests/test_license_expression.py::LicensingParseTest::test_render_with PASSED [ 58%] tests/test_license_expression.py::LicensingParseTest::test_simplify_and_contains PASSED [ 59%] tests/test_license_expression.py::LicensingParseTest::test_simplify_and_equivalent_and_contains PASSED [ 60%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_Licensing_with_overlapping_symbols_with_keywords_does_not_raise_Exception PASSED [ 60%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression1 PASSED [ 61%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression3 PASSED [ 61%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression4 PASSED [ 62%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression5 PASSED [ 63%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression6 PASSED [ 63%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression7 PASSED [ 64%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression8 PASSED [ 65%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression8_twice PASSED [ 65%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression_with_alias PASSED [ 66%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_license_expression_with_trailing_space_plus PASSED [ 67%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_parse_of_side_by_side_symbols_raise_exception PASSED [ 67%] tests/test_license_expression.py::LicensingParseWithSymbolsSimpleTest::test_validate_symbols PASSED [ 68%] tests/test_license_expression.py::LicensingParseWithSymbolsTest::test_parse_raise_ParseError_when_validating_strict_with_exception_symbols_in_incorrect_spot PASSED [ 69%] tests/test_license_expression.py::LicensingParseWithSymbolsTest::test_parse_raise_ParseError_when_validating_strict_with_non_exception_symbols PASSED [ 69%] tests/test_license_expression.py::LicensingParseWithSymbolsTest::test_with_known_symbol_string_contained_in_known_symbol_does_not_crash_or PASSED [ 70%] tests/test_license_expression.py::LicensingParseWithSymbolsTest::test_with_known_symbol_string_contained_in_known_symbol_does_not_crash_with PASSED [ 70%] tests/test_license_expression.py::LicensingParseWithSymbolsTest::test_with_unknown_symbol_string_contained_in_known_symbol_does_not_crash_and PASSED [ 71%] tests/test_license_expression.py::LicensingParseWithSymbolsTest::test_with_unknown_symbol_string_contained_in_known_symbol_does_not_crash_or PASSED [ 72%] tests/test_license_expression.py::LicensingParseWithSymbolsTest::test_with_unknown_symbol_string_contained_in_known_symbol_does_not_crash_with PASSED [ 72%] tests/test_license_expression.py::LicensingSymbolsReplacement::test_advanced_substitution PASSED [ 73%] tests/test_license_expression.py::LicensingSymbolsReplacement::test_multiple_substitutions PASSED [ 74%] tests/test_license_expression.py::LicensingSymbolsReplacement::test_multiple_substitutions_complex PASSED [ 74%] tests/test_license_expression.py::LicensingSymbolsReplacement::test_simple_substitution PASSED [ 75%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_advanced_tokenizer_iter_with_overlapping_key_with_symbols_and_trailing_unknown PASSED [ 76%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_advanced_tokenizer_iter_with_overlapping_key_with_symbols_and_trailing_unknown2 PASSED [ 76%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_advanced_tokenizer_tokenize_with_overlapping_key_with_symbols_and_trailing_unknown PASSED [ 77%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_parse_expression_with_WITH PASSED [ 78%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_parse_expression_with_WITH_and_unknown_symbol PASSED [ 78%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_parse_expression_with_trailing_unknown_should_raise_exception PASSED [ 79%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_parse_expression_with_trailing_unknown_should_raise_exception2 PASSED [ 80%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_parse_trailing_char_does_not_raise_exception_without_validate PASSED [ 80%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_parse_trailing_char_raise_exception_with_validate PASSED [ 81%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_parse_with_overlapping_key_without_symbols PASSED [ 81%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_tokenize_with_overlapping_key_with_symbols_and_trailing_unknown PASSED [ 82%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_unknown_keys PASSED [ 83%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_unknown_keys_with_trailing_char PASSED [ 83%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_unknown_keys_with_trailing_char_2_with_validate PASSED [ 84%] tests/test_license_expression.py::LicensingParseWithSymbolsAdvancedTest::test_unknown_keys_with_trailing_char_2_without_validate PASSED [ 85%] tests/test_license_expression.py::LicensingSymbolsTest::test_get_license_symbols PASSED [ 85%] tests/test_license_expression.py::LicensingSymbolsTest::test_get_license_symbols2 PASSED [ 86%] tests/test_license_expression.py::LicensingSymbolsTest::test_get_license_symbols3 PASSED [ 87%] tests/test_license_expression.py::LicensingSymbolsTest::test_get_license_symbols4 PASSED [ 87%] tests/test_license_expression.py::LicensingSymbolsTest::test_license_symbols PASSED [ 88%] tests/test_license_expression.py::LicensingSymbolsTest::test_primary_license_symbol_and_primary_license_key PASSED [ 89%] tests/test_license_expression.py::SplitAndTokenizeTest::test_simple_tokenizer PASSED [ 89%] tests/test_license_expression.py::SplitAndTokenizeTest::test_tokenize_can_handle_expressions_with_symbols_that_contain_a_colon PASSED [ 90%] tests/test_license_expression.py::SplitAndTokenizeTest::test_tokenize_can_handle_expressions_with_tabs_and_new_lines PASSED [ 90%] tests/test_license_expression.py::SplitAndTokenizeTest::test_tokenize_simple_can_handle_expressions_with_symbols_that_contain_a_colon PASSED [ 91%] tests/test_license_expression.py::SplitAndTokenizeTest::test_tokenize_simple_can_handle_expressions_with_tabs_and_new_lines PASSED [ 92%] tests/test_license_expression.py::SplitAndTokenizeTest::test_tokenize_step_by_step_does_not_munge_trailing_symbols PASSED [ 92%] tests/test_license_expression.py::LicensingExpression::test_all_symbol_classes_can_compare_and_sort PASSED [ 93%] tests/test_license_expression.py::LicensingExpression::test_is_equivalent_with_different_Licensing_and_compound_expression PASSED [ 94%] tests/test_license_expression.py::LicensingExpression::test_is_equivalent_with_different_Licensing_and_compound_expression2 PASSED [ 94%] tests/test_license_expression.py::LicensingExpression::test_is_equivalent_with_different_Licensing_and_simple_expression PASSED [ 95%] tests/test_license_expression.py::LicensingExpression::test_is_equivalent_with_same_Licensing PASSED [ 96%] tests/test_license_expression.py::LicensingExpression::test_is_equivalent_with_same_Licensing2 PASSED [ 96%] tests/test_license_expression.py::LicensingExpression::test_is_equivalent_with_symbols_and_complex_expression PASSED [ 97%] tests/test_license_expression.py::MockLicensesTest::test_and_and_or_is_invalid PASSED [ 98%] tests/test_license_expression.py::MockLicensesTest::test_licensing_can_use_mocklicense_tuple PASSED [ 98%] tests/test_license_expression.py::MockLicensesTest::test_or_or_is_invalid PASSED [ 99%] tests/test_license_expression.py::MockLicensesTest::test_tokenize_or_or PASSED [100%] =============================== warnings summary =============================== ../../../../usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1199 /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1199: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead. self.issue_config_time_warning( src/license_expression/__init__.py:131 /builddir/build/BUILD/license-expression-1.0/src/license_expression/__init__.py:131: DeprecationWarning: invalid escape sequence '\s' _simple_tokenizer = re.compile(''' src/license_expression/_pyahocorasick.py:611 /builddir/build/BUILD/license-expression-1.0/src/license_expression/_pyahocorasick.py:611: DeprecationWarning: invalid escape sequence '\s' _tokenizer = re.compile(''' -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ XFAIL tests/test_license_expression.py::LicensingParseTest::test_parse_invalid_expression_with_single_trailing_or_raise_exception reason: ================= 154 passed, 1 xfailed, 3 warnings in 14.49s ================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-license-expression-1.0-10.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wRhlAF + umask 022 + cd /builddir/build/BUILD + cd license-expression-1.0 + DOCDIR=/builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/share/doc/python3-license-expression + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/share/doc/python3-license-expression + cp -pr README.rst /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/share/doc/python3-license-expression + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sEdFZ3 + umask 022 + cd /builddir/build/BUILD + cd license-expression-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/share/licenses/python3-license-expression + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/share/licenses/python3-license-expression + cp -pr apache-2.0.LICENSE /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/share/licenses/python3-license-expression + cp -pr NOTICE /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch/usr/share/licenses/python3-license-expression + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-license-expression = 1.0-10.fc37 python3-license-expression = 1.0-10.fc37 python3.11-license-expression = 1.0-10.fc37 python3.11dist(license-expression) = 1 python3dist(license-expression) = 1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (python3.11dist(boolean-py) < 4~~ with python3.11dist(boolean-py) >= 3.6) python(abi) = 3.11 Obsoletes: python-license-expression < 1.0-10.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch Wrote: /builddir/build/RPMS/python3-license-expression-1.0-10.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tttAKT + umask 022 + cd /builddir/build/BUILD + cd license-expression-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-license-expression-1.0-10.fc37.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QUfbJ6 + umask 022 + cd /builddir/build/BUILD + rm -rf license-expression-1.0 license-expression-1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0