Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-mock.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pL5KxA:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '01feb079fe5f489fb5ac20464d6a4a3a', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pL5KxA:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-mock.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-mock-1.0.1-10.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-mock.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pL5KxA:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2171aeed169040e39c54b02c5603b19b', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pL5KxA:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-mock.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WAvX5Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-1.0.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/LICENSE.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AWx9Hv + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib copying mock.py -> build/lib + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1me7Ee + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386 + cd mock-1.0.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386 running install running install_lib creating /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr creating /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/lib creating /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/lib/python2.7/site-packages copying build/lib/mock.py -> /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/lib/python2.7/site-packages/mock.py to mock.pyc writing byte-compilation script '/tmp/tmpujP1LV.py' /usr/bin/python2 -O /tmp/tmpujP1LV.py removing /tmp/tmpujP1LV.py running install_egg_info running egg_info writing mock.egg-info/PKG-INFO writing top-level names to mock.egg-info/top_level.txt writing dependency_links to mock.egg-info/dependency_links.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no files found matching '*.png' under directory 'docs' BUILDSTDERR: warning: no files found matching '*.css' under directory 'docs' BUILDSTDERR: warning: no files found matching '*.html' under directory 'docs' BUILDSTDERR: warning: no files found matching '*.js' under directory 'docs' writing manifest file 'mock.egg-info/SOURCES.txt' Copying mock.egg-info to /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/mock-1.0.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hlAX6Y + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + /usr/bin/python2 setup.py test running test running egg_info writing mock.egg-info/PKG-INFO writing top-level names to mock.egg-info/top_level.txt writing dependency_links to mock.egg-info/dependency_links.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no files found matching '*.png' under directory 'docs' BUILDSTDERR: warning: no files found matching '*.css' under directory 'docs' BUILDSTDERR: warning: no files found matching '*.html' under directory 'docs' BUILDSTDERR: warning: no files found matching '*.js' under directory 'docs' writing manifest file 'mock.egg-info/SOURCES.txt' running build_ext BUILDSTDERR: test_attributes (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_create_autopsec (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_create_autospec_instance (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_heirarchy (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_non_callable (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_patch_spec (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_patch_spec_callable_class (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_patch_spec_instance (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_patch_spec_set (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_patch_spec_set_instance (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_subclasses (tests.testcallable.TestCallable) ... ok BUILDSTDERR: test_any (tests.testhelpers.AnyTest) ... ok BUILDSTDERR: test_any_and_datetime (tests.testhelpers.AnyTest) ... ok BUILDSTDERR: test_any_mock_calls_comparison_order (tests.testhelpers.AnyTest) ... ok BUILDSTDERR: test_repr (tests.testhelpers.AnyTest) ... ok BUILDSTDERR: test_attribute_call (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_any (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_list (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_ne (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_non_tuples (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_with_args (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_with_args_call_empty_name (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_with_call (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_call_with_kwargs (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_empty__Call (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_extended_call (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_named_call_with_args (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_named_call_with_kwargs (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_named_empty_call (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_repr (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_two_args_call (tests.testhelpers.CallTest) ... ok BUILDSTDERR: test_attributes (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_autospec_functions_with_self_in_odd_place (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_autospec_property (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_autospec_reset_mock (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_autospec_slots (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_basic (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_builtin_functions_types (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_builtins (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_class_with_no_init (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_create_autospec_keyword_arguments (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_create_autospec_keyword_only_arguments (tests.testhelpers.SpecSignatureTest) ... skipped 'Keyword only arguments Python 3 specific' BUILDSTDERR: test_create_autospec_none (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_create_autospec_return_value (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_create_autospec_unbound_methods (tests.testhelpers.SpecSignatureTest) ... expected failure BUILDSTDERR: test_descriptors (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_function (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_function_as_instance_attribute (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_inherit (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_magic_methods (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_method_calls (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_mocking_unbound_methods (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_old_style_class_with_no_init (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_old_style_classes (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_recursive (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_signature_callable (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_signature_class (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_signature_noncallable (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_signature_old_style_class (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_skip_attributeerrors (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_spec_as_list (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_spec_inheritance_for_classes (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_spec_set (tests.testhelpers.SpecSignatureTest) ... ok BUILDSTDERR: test_args_list_contains_call_list (tests.testhelpers.TestCallList) ... ok BUILDSTDERR: test_call_list_str (tests.testhelpers.TestCallList) ... ok BUILDSTDERR: test_propertymock (tests.testhelpers.TestCallList) ... ok BUILDSTDERR: test_propertymock_returnvalue (tests.testhelpers.TestCallList) ... ok BUILDSTDERR: test_attributes_and_return_value (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_bound_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_comparison (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_deleting_magic_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_descriptor_from_class (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_dict_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_dir (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_equality (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_hash (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_iterable_as_iter_return_value (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_len_contains_iter (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_method_reset_mock (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_method_type (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_method_wrapping (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_methods_and_spec (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_methods_and_spec_set (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_methods_are_magic_mocks (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_methods_isolated_between_mocks (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magic_mock_equality (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magicmock (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magicmock_defaults (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_magicmock_del (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_no_truediv (tests.testmagicmethods.TestMockingMagicMethods) ... skipped 'truediv is available in Python 2' BUILDSTDERR: test_non_default_magic_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_nonzero (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_numeric (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_repr (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_setting_unsupported_magic_method (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_str (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_truediv (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test_unicode (tests.testmagicmethods.TestMockingMagicMethods) ... ok BUILDSTDERR: test__name__ (tests.testmock.MockTest) ... ok BUILDSTDERR: test_adding_child_mock (tests.testmock.MockTest) ... ok BUILDSTDERR: test_adding_return_value_mock (tests.testmock.MockTest) ... ok BUILDSTDERR: test_all (tests.testmock.MockTest) ... ok BUILDSTDERR: test_arg_lists (tests.testmock.MockTest) ... ok BUILDSTDERR: test_assert_any_call (tests.testmock.MockTest) ... ok BUILDSTDERR: test_assert_called_once_with (tests.testmock.MockTest) ... ok BUILDSTDERR: test_assert_called_with (tests.testmock.MockTest) ... ok BUILDSTDERR: test_assert_called_with_failure_message (tests.testmock.MockTest) ... ok BUILDSTDERR: test_assert_called_with_message (tests.testmock.MockTest) ... ok BUILDSTDERR: test_assert_has_calls (tests.testmock.MockTest) ... ok BUILDSTDERR: test_assert_has_calls_any_order (tests.testmock.MockTest) ... ok BUILDSTDERR: test_attach_mock (tests.testmock.MockTest) ... ok BUILDSTDERR: test_attach_mock_return_value (tests.testmock.MockTest) ... ok BUILDSTDERR: test_attribute_access_returns_mocks (tests.testmock.MockTest) ... ok BUILDSTDERR: test_attribute_deletion (tests.testmock.MockTest) ... ok BUILDSTDERR: test_attributes_have_name_and_parent_set (tests.testmock.MockTest) ... ok BUILDSTDERR: test_baseexceptional_side_effect (tests.testmock.MockTest) ... ok BUILDSTDERR: test_call (tests.testmock.MockTest) ... ok BUILDSTDERR: test_call_args_comparison (tests.testmock.MockTest) ... ok BUILDSTDERR: test_call_args_two_tuple (tests.testmock.MockTest) ... ok BUILDSTDERR: test_class_assignable (tests.testmock.MockTest) ... ok BUILDSTDERR: test_configure_mock (tests.testmock.MockTest) ... ok BUILDSTDERR: test_constructor (tests.testmock.MockTest) ... ok BUILDSTDERR: test_copy (tests.testmock.MockTest) ... ok BUILDSTDERR: test_dir (tests.testmock.MockTest) ... ok BUILDSTDERR: test_dir_from_spec (tests.testmock.MockTest) ... ok BUILDSTDERR: test_exceptional_side_effect (tests.testmock.MockTest) ... ok BUILDSTDERR: test_filter_dir (tests.testmock.MockTest) ... ok BUILDSTDERR: test_from_spec (tests.testmock.MockTest) ... ok BUILDSTDERR: test_java_exception_side_effect (tests.testmock.MockTest) ... skipped 'This test only applies to Jython' BUILDSTDERR: test_magic_methods_mock_calls (tests.testmock.MockTest) ... ok BUILDSTDERR: test_manager_mock (tests.testmock.MockTest) ... ok BUILDSTDERR: test_method_calls_compare_easily (tests.testmock.MockTest) ... ok BUILDSTDERR: test_method_calls_recorded (tests.testmock.MockTest) ... ok BUILDSTDERR: test_mock_add_spec (tests.testmock.MockTest) ... ok BUILDSTDERR: test_mock_add_spec_magic_methods (tests.testmock.MockTest) ... ok BUILDSTDERR: test_mock_calls (tests.testmock.MockTest) ... ok BUILDSTDERR: test_mock_calls_create_autospec (tests.testmock.MockTest) ... ok BUILDSTDERR: test_mock_parents (tests.testmock.MockTest) ... ok BUILDSTDERR: test_only_allowed_methods_exist (tests.testmock.MockTest) ... ok BUILDSTDERR: test_pickle (tests.testmock.MockTest) ... expected failure BUILDSTDERR: test_repr (tests.testmock.MockTest) ... ok BUILDSTDERR: test_repr_with_spec (tests.testmock.MockTest) ... ok BUILDSTDERR: test_reset_mock (tests.testmock.MockTest) ... ok BUILDSTDERR: test_reset_mock_recursion (tests.testmock.MockTest) ... ok BUILDSTDERR: test_return_value_in_constructor (tests.testmock.MockTest) ... ok BUILDSTDERR: test_setting_attribute_with_spec_set (tests.testmock.MockTest) ... ok BUILDSTDERR: test_setting_call (tests.testmock.MockTest) ... ok BUILDSTDERR: test_side_effect (tests.testmock.MockTest) ... ok BUILDSTDERR: test_side_effect_iterator (tests.testmock.MockTest) ... ok BUILDSTDERR: test_side_effect_iterator_exceptions (tests.testmock.MockTest) ... ok BUILDSTDERR: test_side_effect_setting_iterator (tests.testmock.MockTest) ... ok BUILDSTDERR: test_spec_class (tests.testmock.MockTest) ... ok BUILDSTDERR: test_spec_list_subclass (tests.testmock.MockTest) ... ok BUILDSTDERR: test_spec_old_style_classes (tests.testmock.MockTest) ... ok BUILDSTDERR: test_spec_set_old_style_classes (tests.testmock.MockTest) ... ok BUILDSTDERR: test_subclass_with_properties (tests.testmock.MockTest) ... ok BUILDSTDERR: test_subclassing (tests.testmock.MockTest) ... ok BUILDSTDERR: test_unicode_not_broken (tests.testmock.MockTest) ... ok BUILDSTDERR: test_wraps_attributes (tests.testmock.MockTest) ... ok BUILDSTDERR: test_wraps_call_with_nondefault_return_value (tests.testmock.MockTest) ... ok BUILDSTDERR: test_wraps_calls (tests.testmock.MockTest) ... ok BUILDSTDERR: test_autospec (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_autospec_function (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_autospec_inherits (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_autospec_keywords (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_autospec_name (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_autospec_with_new (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_autospec_with_object (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_callable_spec_as_list (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_create_and_specs (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_falsey_spec (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_get_only_proxy (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_get_set_delete_proxy (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_mock_calls_with_patch (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_multiple_patchobject (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_multiple_specs (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_name_preserved (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_nested_patch_failure (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_nested_patch_with_spec_as_list (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_class_decorating (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_create (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_failure (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_incompatible_with_autospec (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_incompatible_with_new (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_inherit_for_mocks (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_inherit_non_mock (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_keyword_arguments (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_patch (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_patch_object (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_new_callable_spec (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_not_callable_spec_as_list (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_object_lookup_is_quite_lazy (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_class_acts_with_spec_is_inherited (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_class_attribute (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_class_decorator (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_descriptor (tests.testpatch.PatchTest) ... expected failure BUILDSTDERR: test_patch_dict (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_class_decorator (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_keyword_args (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_start_stop (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_test_prefix (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_with_clear (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_with_container_object (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_with_container_object_and_clear (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_dict_with_string (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_imports_lazily (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_keyword_args (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_local (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_create (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_create_mocks (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_create_mocks_different_order (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_create_mocks_patcher (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_decorating_class (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_failure (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_new_callable (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_new_callable_failure (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_no_kwargs (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_spec_set (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_stacked_decorators (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_multiple_string_subclasses (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_nested_autospec_repr (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_object_keyword_args (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_object_with_spec_as_boolean (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_propogrates_exc_on_exit (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_slots (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_spec_set (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_start_stop (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_stopall (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_test_prefix (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_with_create_mocks_non_existent_attributes (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_with_exception (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_with_spec (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_with_spec_as_boolean (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_with_spec_as_list (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_with_spec_mock_repr (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_with_static_methods (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patch_wont_create_by_default (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_class_decorator (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_start_stop (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_twice (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_with_create_mocks_non_existent_attributes (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_with_default_mock (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_with_none (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_with_spec (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_with_spec_as_list (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_patchobject_wont_create_by_default (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_single_patchobject (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_spec_set_inherit (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_spec_set_true (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_specs_false_instead_of_none (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_stop_without_start (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_tracebacks (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_wrapped_patch (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_wrapped_patch_dict (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_wrapped_patch_multiple (tests.testpatch.PatchTest) ... ok BUILDSTDERR: test_wrapped_patch_object (tests.testpatch.PatchTest) ... ok BUILDSTDERR: testBases (tests.testsentinel.SentinelTest) ... ok BUILDSTDERR: testDEFAULT (tests.testsentinel.SentinelTest) ... ok BUILDSTDERR: testSentinelName (tests.testsentinel.SentinelTest) ... ok BUILDSTDERR: testSentinels (tests.testsentinel.SentinelTest) ... ok BUILDSTDERR: test_explicit_mock (tests._testwith.TestMockOpen) ... ok BUILDSTDERR: test_mock_open (tests._testwith.TestMockOpen) ... ok BUILDSTDERR: test_mock_open_context_manager (tests._testwith.TestMockOpen) ... ok BUILDSTDERR: test_read_data (tests._testwith.TestMockOpen) ... ok BUILDSTDERR: testContextManagerMocking (tests._testwith.WithTest) ... ok BUILDSTDERR: test_context_manager_with_magic_mock (tests._testwith.WithTest) ... ok BUILDSTDERR: test_dict_context_manager (tests._testwith.WithTest) ... ok BUILDSTDERR: test_patch_object_with_statement (tests._testwith.WithTest) ... ok BUILDSTDERR: test_with_statement (tests._testwith.WithTest) ... ok BUILDSTDERR: test_with_statement_as (tests._testwith.WithTest) ... ok BUILDSTDERR: test_with_statement_exception (tests._testwith.WithTest) ... ok BUILDSTDERR: test_with_statement_imbricated (tests._testwith.WithTest) ... ok BUILDSTDERR: test_with_statement_nested (tests._testwith.WithTest) ... ok BUILDSTDERR: test_with_statement_same_attribute (tests._testwith.WithTest) ... ok BUILDSTDERR: test_with_statement_specified (tests._testwith.WithTest) ... ok BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 278 tests in 0.418s BUILDSTDERR: OK (skipped=3, expected failures=3) + exit 0 Processing files: python2-mock-1.0.1-10.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.91DFVL + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/doc/python2-mock-1.0.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/doc/python2-mock-1.0.1 + cp -pr docs/changelog.txt docs/compare.txt docs/conf.py docs/examples.txt docs/getting-started.txt docs/helpers.txt docs/index.txt docs/magicmock.txt docs/mock.txt docs/patch.txt docs/sentinel.txt /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/doc/python2-mock-1.0.1 + cp -pr README.txt /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/doc/python2-mock-1.0.1 + cp -pr PKG-INFO /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/doc/python2-mock-1.0.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.C5RQMy + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/licenses/python2-mock-1.0.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/licenses/python2-mock-1.0.1 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386/usr/share/licenses/python2-mock-1.0.1 + exit 0 Provides: python-mock = 1.0.1-10.el7 python2-mock = 1.0.1-10.el7 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) = 2.7 Obsoletes: python-mock < 1.0.1-10.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386 Wrote: /builddir/build/RPMS/python2-mock-1.0.1-10.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OJuEDa + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-mock-1.0.1-10.el7.i386 + exit 0 Child return code was: 0