Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flexmock.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1617724745.475100/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb4o41hu:/etc/resolv.conf', '--bind=/dev/btrfs-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.xb4o41hu:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'e17ceba6aaa543c393a92a101530ca38', '-D', '/var/lib/mock/epel-8-x86_64-1617724745.475100/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb4o41hu:/etc/resolv.conf', '--bind=/dev/btrfs-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-flexmock.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-flexmock-0.10.4-10.el8.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-flexmock.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1617724745.475100/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb4o41hu:/etc/resolv.conf', '--bind=/dev/btrfs-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.xb4o41hu:/etc/resolv.conf', '--bind=/dev/btrfs-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', '0c73987b7bc547cca29cc9c2e94b4562', '-D', '/var/lib/mock/epel-8-x86_64-1617724745.475100/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb4o41hu:/etc/resolv.conf', '--bind=/dev/btrfs-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-flexmock.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KLPf3U + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flexmock-0.10.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/flexmock-0.10.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd flexmock-0.10.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zkI73A + umask 022 + cd /builddir/build/BUILD + cd flexmock-0.10.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py creating build creating build/lib copying flexmock.py -> build/lib + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R4G29j + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64 + cd flexmock-0.10.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/lib/python3.6/site-packages copying build/lib/flexmock.py -> /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/lib/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/lib/python3.6/site-packages/flexmock.py to flexmock.cpython-36.pyc writing byte-compilation script '/tmp/tmpzx5zz0lh.py' /usr/bin/python3.6 /tmp/tmpzx5zz0lh.py removing /tmp/tmpzx5zz0lh.py running install_egg_info running egg_info writing flexmock.egg-info/PKG-INFO writing dependency_links to flexmock.egg-info/dependency_links.txt writing top-level names to flexmock.egg-info/top_level.txt reading manifest file 'flexmock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'flexmock.egg-info/SOURCES.txt' Copying flexmock.egg-info to /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/lib/python3.6/site-packages/flexmock-0.10.4-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.10.4-10.el8 --unique-debug-suffix -0.10.4-10.el8.x86_64 --unique-debug-src-base python-flexmock-0.10.4-10.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/flexmock-0.10.4 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7pLCw4 + umask 022 + cd /builddir/build/BUILD + cd flexmock-0.10.4 + PYEXECS=/usr/bin/python3.6 + ./tests/run_tests.sh unittest for /usr/bin/python3.6 ........................................................................................................................................................................... ---------------------------------------------------------------------- Ran 171 tests in 0.069s OK nose for /usr/bin/python3.6 NOT FOUND py.test for /usr/bin/python3.6 ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/flexmock-0.10.4, inifile: collected 336 items tests/flexmock_pytest_test.py .......................................... [ 12%] ........................................................................ [ 33%] ........................................................................ [ 55%] ........................................................................ [ 76%] ........................................................................ [ 98%] ..xxxx [100%] ==================== 332 passed, 4 xfailed in 0.69 seconds ===================== twisted for /usr/bin/python3.6 flexmock_pytest_test TestUnittestClass test_and_return_defaults_to_none_with_no_arguments ... [OK] test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_karg ... [OK] test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_kwarg ... [OK] test_arg_matching_works_with_regexp ... [OK] test_at_least_cannot_be_specified_until_at_most_is_set ... [OK] test_at_least_cannot_be_used_twice ... [OK] test_at_most_cannot_be_specified_until_at_least_is_set ... [OK] test_at_most_cannot_be_used_twice ... [OK] test_calling_with_keyword_args_matches_mock_with_positional_args ... [OK] test_calling_with_positional_args_matches_mock_with_kwargs ... [OK] test_expectation_dot_mock_should_return_mock ... [OK] test_expectation_properties_work_with_parens ... [OK] test_fake_object_supporting_iteration ... [OK] test_fake_object_takes_properties ... [OK] test_flexmock_class_returns_same_object_on_repeated_calls ... [OK] test_flexmock_configures_global_mocks_dict ... [OK] test_flexmock_doesnt_error_on_properly_ordered_expectations ... [OK] test_flexmock_errors_on_improperly_ordered_expectations ... [OK] test_flexmock_expectations_returns_all ... [OK] test_flexmock_expectations_returns_named_expectation ... [OK] test_flexmock_expectations_returns_none_if_not_found ... [OK] test_flexmock_function_should_return_previously_mocked_object ... [OK] test_flexmock_get_flexmock_expectation_should_work_with_args ... [OK] test_flexmock_object_returns_same_object_on_repeated_calls ... [OK] test_flexmock_ordered_worked_after_default_stub ... [OK] test_flexmock_ordered_works_with_same_args ... [OK] test_flexmock_ordered_works_with_same_args_after_default_stub ... [OK] test_flexmock_preserves_stubbed_class_methods_between_tests ... [OK] test_flexmock_preserves_stubbed_object_methods_between_tests ... [OK] test_flexmock_removes_new_stubs_from_classes_after_tests ... [OK] test_flexmock_removes_new_stubs_from_objects_after_tests ... [OK] test_flexmock_removes_stubs_from_multiple_classes_on_teardown ... [OK] test_flexmock_removes_stubs_from_multiple_objects_on_teardown ... [OK] test_flexmock_respects_at_least_when_called_less_than_requested ... [OK] test_flexmock_respects_at_least_when_called_more_than_requested ... [OK] test_flexmock_respects_at_least_when_called_requested_number ... [OK] test_flexmock_respects_at_most_when_called_less_than_requested ... [OK] test_flexmock_respects_at_most_when_called_more_than_requested ... [OK] test_flexmock_respects_at_most_when_called_requested_number ... [OK] test_flexmock_should_accept_multiple_return_values ... [OK] test_flexmock_should_accept_multiple_return_values_with_shortcut ... [OK] test_flexmock_should_accept_shortcuts_for_creating_expectations ... [OK] test_flexmock_should_accept_shortcuts_for_creating_mock_object ... [OK] test_flexmock_should_add_expectations ... [OK] test_flexmock_should_blow_up_on_wrong_spy_exception_type ... [OK] test_flexmock_should_blow_up_on_wrong_spy_return_values ... [OK] test_flexmock_should_call_respects_matched_expectations ... [OK] test_flexmock_should_call_respects_unmatched_expectations ... [OK] test_flexmock_should_call_should_match_keyword_arguments ... [OK] test_flexmock_should_check_parameters ... [OK] test_flexmock_should_check_raised_exceptions ... [OK] test_flexmock_should_check_raised_exceptions_class_with_args ... [OK] test_flexmock_should_check_raised_exceptions_instance_with_args ... [OK] test_flexmock_should_cleanup_added_methods_and_attributes ... [OK] test_flexmock_should_cleanup_after_exception ... [OK] test_flexmock_should_create_mock_object ... [OK] test_flexmock_should_create_mock_object_from_dict ... [OK] test_flexmock_should_create_partial_new_style_class_mock ... [OK] test_flexmock_should_create_partial_new_style_object_mock ... [OK] test_flexmock_should_create_partial_old_style_class_mock ... [OK] test_flexmock_should_create_partial_old_style_object_mock ... [OK] test_flexmock_should_fail_mocking_nonexistent_methods ... [OK] test_flexmock_should_fail_to_match_exactly_no_args_when_calling_with_args ... [OK] test_flexmock_should_keep_track_of_calls ... [OK] test_flexmock_should_match_any_args_by_default ... [OK] test_flexmock_should_match_exactly_no_args ... [OK] test_flexmock_should_match_expectations_against_builtin_classes ... [OK] test_flexmock_should_match_expectations_against_user_defined_classes ... [OK] test_flexmock_should_match_keyword_arguments ... [OK] test_flexmock_should_match_spy_exception_parent_type ... [OK] test_flexmock_should_match_types_on_multiple_arguments ... [OK] test_flexmock_should_match_types_on_multiple_arguments_classes ... [OK] test_flexmock_should_match_types_on_multiple_arguments_generic ... [OK] test_flexmock_should_mix_multiple_return_values_with_exceptions ... [OK] test_flexmock_should_mock_double_underscore_method ... [OK] test_flexmock_should_mock_generators ... [OK] test_flexmock_should_mock_iter_on_new_style_instances ... [OK] test_flexmock_should_mock_new_instances_with_multiple_params ... [OK] test_flexmock_should_mock_private_class_methods ... [OK] test_flexmock_should_mock_private_methods ... [OK] test_flexmock_should_mock_private_methods_with_leading_underscores ... [OK] test_flexmock_should_mock_same_class_twice ... [OK] test_flexmock_should_mock_special_methods ... [OK] test_flexmock_should_mock_the_same_method_multiple_times ... [OK] test_flexmock_should_not_add_class_methods_if_they_already_exist ... [OK] test_flexmock_should_not_add_methods_if_they_already_exist ... [OK] test_flexmock_should_not_blow_up_on_should_call_for_class_methods ... [OK] test_flexmock_should_not_blow_up_on_should_call_for_static_methods ... [OK] test_flexmock_should_not_explode_on_unicode_formatting ... [OK] test_flexmock_should_not_return_class_object_if_mocking_instance ... [OK] test_flexmock_should_properly_restore_class_methods ... [OK] test_flexmock_should_properly_restore_module_level_functions ... [OK] test_flexmock_should_properly_restore_static_methods ... [OK] test_flexmock_should_properly_restore_undecorated_static_methods ... [OK] test_flexmock_should_replace_cannot_be_specified_twice ... [OK] test_flexmock_should_replace_method ... [OK] test_flexmock_should_return_value ... [OK] test_flexmock_should_revert_new_instances_on_teardown ... [OK] test_flexmock_should_set_expectation_call_numbers ... [OK] test_flexmock_should_support_mocking_new_style_classes_as_functions ... [OK] test_flexmock_should_support_mocking_old_style_classes_as_functions ... [OK] test_flexmock_should_verify_correct_spy_regexp_return_values ... [OK] test_flexmock_should_verify_correct_spy_return_values ... [OK] test_flexmock_should_verify_spy_matches_exception_message ... [OK] test_flexmock_should_verify_spy_matches_exception_regexp ... [OK] test_flexmock_should_verify_spy_matches_exception_regexp_mismatch ... [OK] test_flexmock_should_verify_spy_raises_correct_exception_class ... [OK] test_flexmock_spy_should_not_clobber_original_method ... [OK] test_flexmock_teardown_does_not_verify_stubs ... [OK] test_flexmock_teardown_verifies_mocks ... [OK] test_flexmock_treats_once_as_times_one ... [OK] test_flexmock_treats_twice_as_times_two ... [OK] test_flexmock_works_with_never_when_false ... [OK] test_flexmock_works_with_never_when_true ... [OK] test_format_args_supports_tuples ... [OK] test_isproperty ... [OK] test_mock_chained_method_calls_works_with_more_than_one_level ... [OK] test_mock_chained_method_calls_works_with_one_level ... [OK] test_mock_chained_method_supports_args_and_mocks ... [OK] test_mock_property_with_attribute_on_class ... [OK] test_mock_property_with_attribute_on_instance ... [OK] test_mocking_down_the_inheritance_chain_class_to_class ... [OK] test_mocking_subclass_of_str ... [OK] test_module_level_function_with_kwargs ... [OK] test_new_instances_raises_error_when_not_a_class ... [OK] test_new_instances_should_be_a_method ... [OK] test_new_instances_should_blow_up_on_should_receive ... [OK] test_new_instances_works_with_multiple_return_values ... [OK] test_non_callable_attributes_fail_to_set_expectations ... [OK] test_ordered_on_different_methods ... [OK] test_pass_thru_should_call_original_method_only_once ... [OK] test_proper_reset_of_subclass_methods ... [OK] test_replace_non_callable_class_attributes ... [OK] test_replace_non_callable_instance_attributes ... [OK] test_replace_non_callable_module_attributes ... [OK] test_return_value_should_not_explode_on_unicode_values ... [OK] test_should_call_alias_should_create_a_spy ... [OK] test_should_call_fails_properly_for_same_method_with_different_args ... [OK] test_should_call_on_class_mock ... [OK] test_should_call_works_for_same_method_with_different_args ... [OK] test_should_chain_attributes ... [OK] test_should_give_reasonable_error_for_builtins ... [OK] test_should_give_reasonable_error_for_instances_of_builtins ... [OK] test_should_receive_should_not_replace_flexmock_methods ... [OK] test_should_replace_attributes_that_are_instances_of_classes ... [OK] test_spy_should_match_return_value_class ... [OK] test_spy_should_not_match_falsy_stuff ... [OK] test_state_machine ... [OK] test_support_at_least_and_at_most_together ... [OK] test_type_flexmock_with_unicode_string_in_should_receive ... [OK] test_unittest ... [OK] test_use_replace_with_for_callable_shortcut_kwargs ... [OK] test_verifying_methods_when_mocking_module ... [OK] test_with_args_blows_up_on_invalid_kwarg ... [OK] test_with_args_blows_up_on_kwarg_overlapping_positional ... [OK] test_with_args_blows_up_on_too_few_args ... [OK] test_with_args_blows_up_on_too_few_args_with_kwargs ... [OK] test_with_args_blows_up_on_too_many_args ... [OK] test_with_args_does_compensate_for_cls_on_class_methods ... [OK] test_with_args_does_not_compensate_for_self_on_static_class_methods ... [OK] test_with_args_does_not_compensate_for_self_on_static_instance_methods ... [OK] test_with_args_doesnt_set_max_when_using_kwargs ... [OK] test_with_args_doesnt_set_max_when_using_varargs ... [OK] test_with_args_for_single_named_arg_with_optional_args ... [OK] test_with_args_ignores_invalid_args_on_flexmock_instances ... [OK] ------------------------------------------------------------------------------- Ran 165 tests in 0.211s PASSED (successes=165) + exit 0 Processing files: python3-flexmock-0.10.4-10.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Yf243T + umask 022 + cd /builddir/build/BUILD + cd flexmock-0.10.4 + DOCDIR=/builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/doc/python3-flexmock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/doc/python3-flexmock + cp -pr README.rst /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/doc/python3-flexmock + cp -pr CHANGELOG /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/doc/python3-flexmock + cp -pr docs/ /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/doc/python3-flexmock + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JJVmDJ + umask 022 + cd /builddir/build/BUILD + cd flexmock-0.10.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/licenses/python3-flexmock + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/licenses/python3-flexmock + cp -pr LICENSE /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64/usr/share/licenses/python3-flexmock + exit 0 Provides: python3-flexmock = 0.10.4-10.el8 python3.6dist(flexmock) = 0.10.4 python3dist(flexmock) = 0.10.4 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.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64 Wrote: /builddir/build/RPMS/python3-flexmock-0.10.4-10.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0cVSGC + umask 022 + cd /builddir/build/BUILD + cd flexmock-0.10.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-flexmock-0.10.4-10.el8.x86_64 + exit 0 Child return code was: 0