Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-chai.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1674190422.963343/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pht4xn8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pht4xn8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '340c5328d4a548649f5032209ddfa60e', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1674190422.963343/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pht4xn8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-chai.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-chai-1.1.2-24.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-chai.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1674190422.963343/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pht4xn8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pht4xn8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2b1330cd0c304aa5984b49c54fbe42e6', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1674190422.963343/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pht4xn8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-chai.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zyoejn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chai-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/chai-1.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chai-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf chai.egg-info + rm chai/python2.py + rm tests/comparator_py2.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1YQeD8 + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/chai copying chai/expectation.py -> build/lib/chai copying chai/stub.py -> build/lib/chai copying chai/chai.py -> build/lib/chai copying chai/comparators.py -> build/lib/chai copying chai/__init__.py -> build/lib/chai copying chai/_termcolor.py -> build/lib/chai copying chai/spy.py -> build/lib/chai copying chai/mock.py -> build/lib/chai copying chai/exception.py -> build/lib/chai + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bDc91v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64 + cd chai-1.1.2 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/exception.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/mock.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/spy.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/_termcolor.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/__init__.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/comparators.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/chai.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/stub.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai copying build/lib/chai/expectation.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/exception.py to exception.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/mock.py to mock.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/spy.py to spy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/_termcolor.py to _termcolor.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/comparators.py to comparators.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/chai.py to chai.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/stub.py to stub.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai/expectation.py to expectation.cpython-39.pyc writing byte-compilation script '/tmp/tmpmom6s4pb.py' /usr/bin/python3 /tmp/tmpmom6s4pb.py removing /tmp/tmpmom6s4pb.py running install_egg_info running egg_info creating chai.egg-info writing chai.egg-info/PKG-INFO writing dependency_links to chai.egg-info/dependency_links.txt writing top-level names to chai.egg-info/top_level.txt writing manifest file 'chai.egg-info/SOURCES.txt' reading manifest file 'chai.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'scripts' adding license file 'LICENSE.txt' writing manifest file 'chai.egg-info/SOURCES.txt' Copying chai.egg-info to /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9/site-packages/chai-1.1.2-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.1.2-24.el9 --unique-debug-suffix -1.1.2-24.el9.x86_64 --unique-debug-src-base python-chai-1.1.2-24.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/chai-1.1.2 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/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jURcuz + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing chai.egg-info/PKG-INFO writing dependency_links to chai.egg-info/dependency_links.txt writing top-level names to chai.egg-info/top_level.txt reading manifest file 'chai.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'scripts' adding license file 'LICENSE.txt' writing manifest file 'chai.egg-info/SOURCES.txt' running build_ext test_all (tests.comparator_test.ComparatorsTest) ... /builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py:152: DeprecationWarning: Please use assertEqual instead. self.assertEquals( 'foo'.encode('ascii'), bytearray('foo'.encode('ascii')) ) ok test_all_repr (tests.comparator_test.ComparatorsTest) ... ok test_almost_equal (tests.comparator_test.ComparatorsTest) ... ok test_almost_equal_repr (tests.comparator_test.ComparatorsTest) ... ok test_any (tests.comparator_test.ComparatorsTest) ... ok test_any_repr (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_builds_equals (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_is_a (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_passes_comparators (tests.comparator_test.ComparatorsTest) ... ok test_contains (tests.comparator_test.ComparatorsTest) ... ok test_contains_repr (tests.comparator_test.ComparatorsTest) ... ok test_eq (tests.comparator_test.ComparatorsTest) ... ok test_equals (tests.comparator_test.ComparatorsTest) ... ok test_equals_repr (tests.comparator_test.ComparatorsTest) ... ok test_function (tests.comparator_test.ComparatorsTest) ... ok test_function_repr (tests.comparator_test.ComparatorsTest) ... ok test_ignore (tests.comparator_test.ComparatorsTest) ... ok test_ignore_repr (tests.comparator_test.ComparatorsTest) ... ok test_in (tests.comparator_test.ComparatorsTest) ... ok test_in_repr (tests.comparator_test.ComparatorsTest) ... ok test_is (tests.comparator_test.ComparatorsTest) ... ok test_is_a (tests.comparator_test.ComparatorsTest) ... ok test_is_a_format_name (tests.comparator_test.ComparatorsTest) ... ok test_is_a_repr (tests.comparator_test.ComparatorsTest) ... ok test_is_repr (tests.comparator_test.ComparatorsTest) ... ok test_like_init (tests.comparator_test.ComparatorsTest) ... ok test_like_repr (tests.comparator_test.ComparatorsTest) ... ok test_like_test (tests.comparator_test.ComparatorsTest) ... ok test_no_repr (tests.comparator_test.ComparatorsTest) ... ok test_not (tests.comparator_test.ComparatorsTest) ... ok test_regex (tests.comparator_test.ComparatorsTest) ... ok test_regex_repr (tests.comparator_test.ComparatorsTest) ... ok test_variable (tests.comparator_test.ComparatorsTest) ... ok test_variable_repr (tests.comparator_test.ComparatorsTest) ... ok test_validate_with_args (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_args_and_kwargs (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_args_that_are_different_length (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_kwargs (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_kwargs_that_are_different (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_no_args (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_no_args_and_some_params (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_any_order (tests.expectation_test.ExpectationRule) ... /builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py:128: DeprecationWarning: Please use assertEqual instead. self.assertEquals( exp, exp.any_order().times(1) ) ok test_any_order_with_no_max (tests.expectation_test.ExpectationRule) ... ok test_at_least (tests.expectation_test.ExpectationRule) ... ok test_at_least_once (tests.expectation_test.ExpectationRule) ... ok test_at_most (tests.expectation_test.ExpectationRule) ... ok test_at_most_once (tests.expectation_test.ExpectationRule) ... ok test_close (tests.expectation_test.ExpectationRule) ... ok test_closed (tests.expectation_test.ExpectationRule) ... ok test_closed_with_count (tests.expectation_test.ExpectationRule) ... ok test_default_expectation (tests.expectation_test.ExpectationRule) ... ok test_match_with_any_args (tests.expectation_test.ExpectationRule) ... ok test_match_with_args (tests.expectation_test.ExpectationRule) ... ok test_match_with_both_args_and_kwargs (tests.expectation_test.ExpectationRule) ... ok test_match_with_kwargs (tests.expectation_test.ExpectationRule) ... ok test_once (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_exception_class (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_exception_instance (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_value (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_variable (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_variable_in_tuple (tests.expectation_test.ExpectationRule) ... ok test_side_effect (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_an_exception (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_args (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_passed_args (tests.expectation_test.ExpectationRule) ... ok test_teardown (tests.expectation_test.ExpectationRule) ... ok test_times (tests.expectation_test.ExpectationRule) ... ok test_with_raises_exceptions (tests.expectation_test.ExpectationRule) ... ok test_with_returns_return_value (tests.expectation_test.ExpectationRule) ... ok test_chai_class_use_metaclass (tests.chai_test.ChaiTest) ... ok test_expect (tests.chai_test.ChaiTest) ... /builddir/build/BUILD/chai-1.1.2/tests/chai_test.py:106: DeprecationWarning: Please use assertEqual instead. self.assertEquals( deque(), case._stubs ) ok test_mock_no_binding (tests.chai_test.ChaiTest) ... ok test_mock_with_attr_binding (tests.chai_test.ChaiTest) ... ok test_raises_if_unmet_expectations (tests.chai_test.ChaiTest) ... ok test_runs_unmet_expectations (tests.chai_test.ChaiTest) ... ok test_setup (tests.chai_test.ChaiTest) ... ok test_stub (tests.chai_test.ChaiTest) ... ok test_teardown_closes_out_stubs_and_mocks (tests.chai_test.ChaiTest) ... ok test_local_definitions_work_and_are_global (tests.chai_test.CupOf) ... ok test_something (tests.chai_test.CupOf) ... ok test_call_orig_raises_notimplemented (tests.stub_test.StubClassTest) ... ok test_call_raises_unexpected_call_when_all_expectations_closed (tests.stub_test.StubClassTest) ... ok test_call_raises_unexpected_call_when_closed_and_no_matching (tests.stub_test.StubClassTest) ... /builddir/build/BUILD/chai-1.1.2/tests/stub_test.py:294: DeprecationWarning: Please use assertEqual instead. self.assertEquals(0, s._expectations[0]._match_count) ok test_call_raises_unexpected_call_when_no_expectations (tests.stub_test.StubClassTest) ... ok test_call_when_args_match (tests.stub_test.StubClassTest) ... ok test_expect (tests.stub_test.StubClassTest) ... ok test_init (tests.stub_test.StubClassTest) ... ok test_teardown (tests.stub_test.StubClassTest) ... ok test_unment_expectations (tests.stub_test.StubClassTest) ... ok test_call_orig (tests.stub_test.StubFunctionTest) ... ok test_init (tests.stub_test.StubFunctionTest) ... ok test_init_with_object_method (tests.stub_test.StubFunctionTest) ... ok test_name (tests.stub_test.StubFunctionTest) ... ok test_teardown (tests.stub_test.StubFunctionTest) ... ok test_teardown_on_object_method (tests.stub_test.StubFunctionTest) ... /builddir/build/BUILD/chai-1.1.2/tests/stub_test.py:418: DeprecationWarning: Please use assertNotEqual instead. self.assertNotEquals(object.__new__, getattr(x, '__new__')) ok test_call_orig (tests.stub_test.StubMethodTest) ... ok test_init (tests.stub_test.StubMethodTest) ... ok test_name (tests.stub_test.StubMethodTest) ... ok test_teardown (tests.stub_test.StubMethodTest) ... ok test_teardown_of_bound_instance_methods_exported_in_module (tests.stub_test.StubMethodTest) ... ok test_teardown_of_classmethods (tests.stub_test.StubMethodTest) ... ok test_call_orig (tests.stub_test.StubMethodWrapperTest) ... ok test_init (tests.stub_test.StubMethodWrapperTest) ... ok test_name (tests.stub_test.StubMethodWrapperTest) ... ok test_teardown (tests.stub_test.StubMethodWrapperTest) ... ok test_call (tests.stub_test.StubNewTest) ... ok test_call_orig (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_init (tests.stub_test.StubNewTest) ... ok test_new (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_teardown (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_teardown_on_custom_new (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_name (tests.stub_test.StubPropertyTest) ... ok test_stub_bound_method_for_classmethod_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_classmethod_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_instance_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_instance_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_method_wrapper_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_method_wrapper_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_mock_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_mock_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_module_function_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_module_function_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_property_on_class_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_property_on_class_with_attr_name_applies_to_instance (tests.stub_test.StubTest) ... ok test_stub_property_on_instance_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_deleter (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_reader (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_setter (tests.stub_test.StubTest) ... ok test_stub_type_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_unbound_method_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_unbound_method_with_obj_ref (tests.stub_test.StubTest) ... skipped "can't stub unbound methods by reference in python 3" test_call_acts_as_any_instance (tests.stub_test.StubUnboundMethodTest) ... ok test_init (tests.stub_test.StubUnboundMethodTest) ... ok test_name (tests.stub_test.StubUnboundMethodTest) ... ok test_teardown (tests.stub_test.StubUnboundMethodTest) ... ok test_call_orig (tests.stub_test.StubWrapperDescriptionTest) ... ok test_init (tests.stub_test.StubWrapperDescriptionTest) ... ok test_name (tests.stub_test.StubWrapperDescriptionTest) ... ok test_teardown (tests.stub_test.StubWrapperDescriptionTest) ... ok test_iterative_expectations (tests.functional_test.FunctionalTest) ... /builddir/build/BUILD/chai-1.1.2/tests/functional_test.py:68: DeprecationWarning: Please use assertEqual instead. assert_equals( 3, f.bar(3) ) ok test_properties_using_attr_name_on_an_instance_only (tests.functional_test.FunctionalTest) ... ok test_properties_using_obj_ref_on_a_class_and_using_get_first (tests.functional_test.FunctionalTest) ... ok test_properties_using_obj_ref_on_a_class_and_using_set_first (tests.functional_test.FunctionalTest) ... ok test_add_to_list_with_mock_object (tests.sample_test.SampleBaseTest) ... ok test_add_to_list_with_module_mock_object (tests.sample_test.SampleBaseTest) ... ok test_almost_equals_comparator (tests.sample_test.SampleBaseTest) ... /builddir/build/BUILD/chai-1.1.2/tests/sample_test.py:265: DeprecationWarning: Please use assertEqual instead. assert_equals(obj.bound_method(10.12), 100) ok test_expect_bound_method_with_allof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_anyof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_equals_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_is_a_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_notof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_notof_comparator_using_types (tests.sample_test.SampleBaseTest) ... ok test_expect_callback (tests.sample_test.SampleBaseTest) ... ok test_expect_unbound_method_acts_as_any_instance (tests.sample_test.SampleBaseTest) ... ok test_expects_any_order_without_count_modifiers (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_as_last_expectation (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_with_other_expectation_and_anyorder (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_with_other_expectation_and_no_anyorder (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_most (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_can_be_used_for_iterative_testing (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_raises (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_returns (tests.sample_test.SampleBaseTest) ... ok test_expects_class_method (tests.sample_test.SampleBaseTest) ... ok test_expects_on_builtin_function (tests.sample_test.SampleBaseTest) ... ok test_expects_property (tests.sample_test.SampleBaseTest) ... ok test_function_comparator (tests.sample_test.SampleBaseTest) ... ok test_ignore_arg (tests.sample_test.SampleBaseTest) ... ok test_in_comparator (tests.sample_test.SampleBaseTest) ... ok test_is_comparator (tests.sample_test.SampleBaseTest) ... ok test_regex_comparator (tests.sample_test.SampleBaseTest) ... ok test_spy (tests.sample_test.SampleBaseTest) ... ok test_spy_on_method_wrapper (tests.sample_test.SampleBaseTest) ... ok test_stub_bound_method_raises_unexpectedcall (tests.sample_test.SampleBaseTest) ... ok test_stub_class_method (tests.sample_test.SampleBaseTest) ... ok test_stub_unbound_method_acts_as_no_instance (tests.sample_test.SampleBaseTest) ... ok test_var_comparator (tests.sample_test.SampleBaseTest) ... ok tests_expects_bound_method_any_order_with_fixed_maxes (tests.sample_test.SampleBaseTest) ... ok tests_expects_bound_method_any_order_with_mins (tests.sample_test.SampleBaseTest) ... ok test_stub_base_class_expect_child_classmethod (tests.sample_test.SampleChildTest) ... ok test_mod_func_2_as_obj_name (tests.sample_test.SampleModuleTest) ... ok test_mod_func_2_as_obj_ref (tests.sample_test.SampleModuleTest) ... ok test_call_not_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... /builddir/build/BUILD/chai-1.1.2/tests/mock_test.py:64: DeprecationWarning: Please use assertEqual instead. self.assertEquals( 'success', m() ) ok test_call_raises_unexpectedcall_when_unstubbed (tests.mock_test.MockTest) ... ok test_container_interface_when_stubbed (tests.mock_test.MockTest) ... ok test_container_interface_when_unstubbed (tests.mock_test.MockTest) ... ok test_context_manager_interface_when_stubbed (tests.mock_test.MockTest) ... ok test_context_manager_interface_when_unstubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_not_raises_unexpectedcall_multiple_depths (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_not_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_raises_unexpectedcall_when_unstubbed (tests.mock_test.MockTest) ... ok test_get_attribute_caches_auto_methods (tests.mock_test.MockTest) ... ok test_get_attribute_creates_a_mock_method (tests.mock_test.MockTest) ... ok test_get_attribute_does_not_overwrite_existing_attr (tests.mock_test.MockTest) ... ok test_get_attribute_supports_multiple_depths (tests.mock_test.MockTest) ... ok test_nonzero_returns_true_when_unstubbed (tests.mock_test.MockTest) ... ok test_nonzero_when_stubbed (tests.mock_test.MockTest) ... ok ---------------------------------------------------------------------- Ran 197 tests in 0.036s OK (skipped=5) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-chai-1.1.2-24.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4B3oEF + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/share/doc/python3-chai + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/share/doc/python3-chai + cp -pr README.rst /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/share/doc/python3-chai + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xUKJwD + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/share/licenses/python3-chai + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/share/licenses/python3-chai + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64/usr/share/licenses/python3-chai + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-chai = 1.1.2-24.el9 python3-chai = 1.1.2-24.el9 python3.9-chai = 1.1.2-24.el9 python3.9dist(chai) = 1.1.2 python3dist(chai) = 1.1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 Obsoletes: python-chai < 1.1.2-24.el9 python39-chai < 1.1.2-24.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64 Wrote: /builddir/build/RPMS/python3-chai-1.1.2-24.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xDHWnq + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-chai-1.1.2-24.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0