[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_2 [ 0s] Using BUILD_ARCH=armv7hl:armv7l:armv6hl:armv6l:armv5tel [ 0s] [ 0s] [ 0s] obspw23 started "build _service:gbs:python-mock.spec" at Sat Dec 4 14:21:12 UTC 2021. [ 0s] [ 0s] Building python-mock for project 'Tizen:Base' repository 'standard' arch 'armv7hl' srcmd5 '632df9d24a254edea2d4c791f8b46a9a' [ 0s] [ 0s] processing recipe /var/cache/build/root_2/.build-srcdir/_service:gbs:python-mock.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_2/.build-srcdir/_service:gbs:python-mock.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/2/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_2/.build.rpmlist /var/cache/build/root_2/.build-srcdir/_service:gbs:python-mock.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 1s] [ 1s] registering binfmt handlers for cross build [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/2/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 1s] [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] /usr/lib/build/qemu-reg: No such file or directory [ 1s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/41] preinstalling libmagic-data... [ 1s] [2/41] preinstalling libncurses... [ 1s] [3/41] preinstalling setup... [ 1s] [4/41] preinstalling filesystem... [ 1s] [5/41] preinstalling glibc... [ 2s] [6/41] preinstalling libgcc... [ 2s] [7/41] preinstalling libzstd1... [ 2s] [8/41] preinstalling bash... [ 2s] [9/41] preinstalling diffutils... [ 2s] [10/41] preinstalling grep... [ 2s] [11/41] preinstalling libattr... [ 2s] [12/41] preinstalling libblkid... [ 2s] [13/41] preinstalling libbz2... [ 2s] [14/41] preinstalling libcap... [ 2s] [15/41] preinstalling libfreebl3... [ 2s] [16/41] preinstalling liblua... [ 2s] [17/41] preinstalling liblzma... [ 2s] [18/41] preinstalling libpopt... [ 2s] [19/41] preinstalling libreadline... [ 2s] [20/41] preinstalling libsmack... [ 2s] [21/41] preinstalling libsqlite... [ 3s] [22/41] preinstalling libuuid... [ 3s] [23/41] preinstalling nspr... [ 3s] [24/41] preinstalling sed... [ 3s] [25/41] preinstalling zlib... [ 3s] [26/41] preinstalling qemu-accel-x86_64-armv7hl... [ 8s] [27/41] preinstalling qemu-linux-user-x86_64-cross... [ 9s] [28/41] preinstalling coreutils... [ 9s] [29/41] preinstalling libacl... [ 9s] [30/41] preinstalling libelf... [ 9s] [31/41] preinstalling libmount... [ 9s] [32/41] preinstalling smack... [ 9s] [33/41] preinstalling bzip2... [ 9s] [34/41] preinstalling libmagic... [ 9s] [35/41] preinstalling libxml2... [ 9s] [36/41] preinstalling tar... [ 10s] [37/41] preinstalling util-linux... [ 10s] [38/41] preinstalling util-linux-su... [ 10s] [39/41] preinstalling nss... [ 10s] [40/41] preinstalling libsoftokn3... [ 10s] [41/41] preinstalling rpm... [ 10s] [ 10s] running qemu-linux-user-x86_64-cross postinstall script [ 10s] running qemu-accel-x86_64-armv7hl postinstall script [ 10s] running setup postinstall script [ 10s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 11s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 11s] initializing rpm db... [ 11s] reordering...cycle: libsoftokn3 -> nss [ 11s] breaking dependency nss -> libsoftokn3 [ 11s] done [ 11s] [1/111] installing libmagic-data-5.39-1.214 [ 11s] [2/111] installing setup-0.9-1.10 [ 11s] [3/111] installing filesystem-3.1-1.1 [ 11s] [4/111] installing glibc-2.30-1.105 [ 12s] [5/111] installing libatomic-9.2.0-1.34 [ 13s] [6/111] installing libgcc-9.2.0-1.34 [ 13s] [7/111] installing libzstd1-1.4.5-1.211 [ 14s] [8/111] installing bash-3.2.57-1.4 [ 14s] [9/111] installing cpio-2.8-1.2 [ 14s] [10/111] installing diffutils-3.3-1.2 [ 14s] [11/111] installing findutils-4.3.8-1.333 [ 14s] [12/111] installing gdbm-1.8.3-1.364 [ 14s] [13/111] installing hostname-3.23-1.2 [ 14s] [14/111] installing libattr-2.4.48-1.327 [ 15s] [15/111] installing libblkid-2.36-1.12 [ 15s] [16/111] installing libbz2-1.0.8-1.351 [ 15s] [17/111] installing libcap-2.24-1.357 [ 16s] [18/111] installing libext2fs-1.46.0-1.14 [ 16s] [19/111] installing libfreebl3-3.34.1-1.209 [ 16s] [20/111] installing libgfortran-9.2.0-1.34 [ 17s] [21/111] installing libgomp-9.2.0-1.34 [ 17s] [22/111] installing libitm-9.2.0-1.34 [ 18s] [23/111] installing libltdl-2.4.2-1.287 [ 18s] [24/111] installing liblua-5.1.5-1.135 [ 18s] [25/111] installing liblzma-5.2.5-1.256 [ 19s] [26/111] installing libopenssl11-1.1.1k-1.115 [ 19s] [27/111] installing libpcre-8.44-1.9 [ 20s] [28/111] installing libpopt-1.16-1.360 [ 20s] [29/111] installing libpython-2.7.18-1.56 [ 21s] [30/111] installing libsmack-1.3.1-1.328 [ 21s] [31/111] installing libsmartcols-2.36-1.12 [ 21s] [32/111] installing libsqlite-3.33.0-1.254 [ 22s] [33/111] installing libstdc++-9.2.0-1.34 [ 23s] [34/111] installing libuuid-2.36-1.12 [ 23s] [35/111] installing m4-1.4.17-1.2 [ 23s] [36/111] installing net-tools-2.0_20121208git-1.2 [ 23s] [37/111] installing nspr-4.12-1.339 [ 23s] [38/111] installing patch-2.7-1.345 [ 24s] [39/111] installing pkg-config-0.28-1.305 [ 24s] [40/111] installing sed-4.1c-1.2 [ 24s] [41/111] installing update-alternatives-1.20.5-1.2 [ 24s] [42/111] installing which-2.17-1.2 [ 24s] [43/111] installing zlib-1.2.11-1.355 [ 24s] [44/111] installing build-compare-2015.04.28-1.76 [ 24s] [45/111] installing libstdc++-devel-9.2.0-1.34 [ 24s] [46/111] installing qemu-linux-user-x86_64-cross-2.7.0.1-1.6.1 [ 26s] [47/111] installing terminfo-base-full-6.2-1.202 [ 27s] [48/111] installing cpp-9.2.0-1.34 [ 27s] [49/111] installing gcc-c++-9.2.0-1.34 [ 28s] [50/111] installing binutils-2.33.1-1.59 [ 29s] [51/111] installing coreutils-6.9-1.43 [ 29s] [52/111] installing db4-4.8.30.NC-1.329 [ 30s] [53/111] installing gawk-3.1.5-1.2 [ 30s] [54/111] installing grep-2.5.2-1.2 [ 30s] [55/111] installing libacl-2.2.53-1.329 [ 30s] [56/111] installing libcc1-9.2.0-1.34 [ 31s] [57/111] installing libelf-0.178-1.158 [ 31s] [58/111] installing libmount-2.36-1.12 [ 32s] [59/111] installing libubsan-9.2.0-1.34 [ 32s] [60/111] installing make-4.0-1.41 [ 32s] [61/111] installing nss-certs-3.34.1-1.209 [ 32s] [62/111] installing smack-1.3.1-1.328 [ 32s] [63/111] installing bzip2-1.0.8-1.351 [ 32s] [64/111] installing libfdisk-2.36-1.12 [ 33s] [65/111] installing libmagic-5.39-1.214 [ 33s] [66/111] installing libxml2-2.9.12-1.25 [ 34s] [67/111] installing perl-5.32.0-1.129 [ 36s] [68/111] installing xz-5.2.5-1.256 [ 36s] [69/111] installing build-mkbaselibs-20120927-1.1 [ 36s] [70/111] installing linux-glibc-devel-3.10-1.378 [ 37s] [71/111] installing autoconf-2.69-1.150 [ 37s] [72/111] installing file-5.39-1.214 [ 37s] [73/111] installing glibc-locale-2.30-1.105 [ 38s] [74/111] installing tar-1.17-1.2 [ 38s] [75/111] installing gzip-1.3.12-1.360 [ 38s] [76/111] installing libncurses6-6.2-1.202 [ 39s] [77/111] installing pam-1.1.6-1.2 [ 39s] [78/111] installing tzdata-2020a-1.1 [ 40s] [79/111] installing libdw-0.178-1.158 [ 40s] [80/111] installing libarchive-3.5.1-1.151 [ 41s] [81/111] installing gcc-9.2.0-1.34 [ 41s] [82/111] installing libncurses-6.2-1.202 [ 41s] [83/111] installing glibc-devel-2.30-1.105 [ 42s] [84/111] installing qemu-accel-x86_64-armv7hl-0.4-9.1 [ 50s] [85/111] installing automake-1.15.1-1.213 [ 50s] [86/111] installing less-466-1.2 [ 50s] [87/111] installing libreadline-5.2-1.117 [ 50s] [88/111] installing procps-ng-3.3.16-1.2 [ 51s] [89/111] installing libasm-0.178-1.158 [ 51s] [90/111] installing build-20120927-1.1 [ 51s] [91/111] installing libtool-2.4.2-1.287 [ 51s] [92/111] installing elfutils-0.178-1.158 [ 51s] [93/111] installing python-2.7.18-1.56 [ 52s] [94/111] installing util-linux-2.36-1.12 [ 53s] [95/111] installing python-argparse-1.4.0-1.1 [ 53s] [96/111] installing python-funcsigs-1.0.2-1.1 [ 53s] [97/111] installing python-pyparsing-2.2.0-1.1 [ 53s] [98/111] installing python-six-1.15.0-1.1 [ 53s] [99/111] installing python-appdirs-1.4.0-1.1 [ 53s] [100/111] installing python-xml-2.7.18-1.56 [ 53s] [101/111] installing util-linux-su-2.36-1.12 [ 53s] [102/111] installing python-packaging-20.8-1.1 [ 54s] [103/111] installing python-setuptools-44.1.1-1.9 [ 54s] [104/111] installing python-pbr-5.5.1-1.1 [ 54s] [105/111] installing python-linecache2-1.0.0-1.1 [ 54s] [106/111] installing python-traceback2-1.4.0-1.1 [ 54s] [107/111] installing python-unittest2-1.1.0-1.1 [ 54s] [108/111] installing nss-3.34.1-1.209 [ 55s] [109/111] installing libsoftokn3-3.34.1-1.209 [ 55s] [110/111] installing rpm-4.14.1.1-1.144 [ 56s] [111/111] installing rpm-build-4.14.1.1-1.144 [ 56s] removing nis flags from /var/cache/build/root_2/etc/nsswitch.conf... [ 56s] now finalizing build dir... [ 56s] Running build time source services... [ 56s] build target is armv7hl-tizen-linux [ 56s] ----------------------------------------------------------------- [ 56s] I have the following modifications for python-mock.spec: [ 56s] 21c21 [ 56s] < Release: 0 [ 56s] --- [ 56s] > Release: 1.1 [ 56s] ----------------------------------------------------------------- [ 56s] ----- building python-mock.spec (user abuild) [ 56s] ----------------------------------------------------------------- [ 56s] ----------------------------------------------------------------- [ 57s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=armv7hl-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Base/standard/632df9d24a254edea2d4c791f8b46a9a-python-mock' -ba /home/abuild/rpmbuild/SOURCES/python-mock.spec [ 57s] Building target platforms: armv7hl-tizen-linux [ 57s] Building for target armv7hl-tizen-linux [ 57s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xNUwHi [ 57s] + umask 022 [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + rm -rf mock-3.0.5 [ 57s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/mock-3.0.5.tar.gz [ 57s] + /bin/tar -xof - [ 57s] + STATUS=0 [ 57s] + '[' 0 -ne 0 ']' [ 57s] + cd mock-3.0.5 [ 57s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 57s] + rm mock/tests/__main__.py [ 57s] + rm mock/tests/testhelpers_py3.py [ 57s] + exit 0 [ 57s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.88SOei [ 57s] + umask 022 [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + cd mock-3.0.5 [ 57s] ++ uname -m [ 57s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 57s] + LANG=C [ 57s] + export LANG [ 57s] + unset DISPLAY [ 57s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 57s] + export CFLAGS [ 57s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 57s] + export CXXFLAGS [ 57s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 57s] + export FFLAGS [ 57s] + LDFLAGS= [ 57s] + export LDFLAGS [ 57s] + cp /home/abuild/rpmbuild/SOURCES/python-mock.manifest . [ 57s] + python setup.py build [ 60s] running build [ 60s] running build_py [ 60s] creating build [ 60s] creating build/lib [ 60s] creating build/lib/mock [ 60s] copying mock/mock.py -> build/lib/mock [ 60s] copying mock/__init__.py -> build/lib/mock [ 60s] + exit 0 [ 60s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8BdJ3i [ 60s] + umask 022 [ 60s] + cd /home/abuild/rpmbuild/BUILD [ 60s] + cd mock-3.0.5 [ 60s] + LANG=C [ 60s] + export LANG [ 60s] + unset DISPLAY [ 60s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm [ 60s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm [ 60s] + python setup.py install --prefix=/usr --root=/home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm [ 63s] running install [ 63s] running build [ 63s] running build_py [ 63s] running install_lib [ 63s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr [ 63s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib [ 63s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7 [ 63s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7/site-packages [ 63s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7/site-packages/mock [ 63s] copying build/lib/mock/mock.py -> /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7/site-packages/mock [ 63s] copying build/lib/mock/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7/site-packages/mock [ 63s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7/site-packages/mock/mock.py to mock.pyc [ 64s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7/site-packages/mock/__init__.py to __init__.pyc [ 64s] running install_egg_info [ 64s] running egg_info [ 64s] creating mock.egg-info [ 64s] writing requirements to mock.egg-info/requires.txt [ 64s] writing mock.egg-info/PKG-INFO [ 64s] writing top-level names to mock.egg-info/top_level.txt [ 64s] writing dependency_links to mock.egg-info/dependency_links.txt [ 64s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 64s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 64s] reading manifest template 'MANIFEST.in' [ 64s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 64s] Copying mock.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/lib/python2.7/site-packages/mock-3.0.5-py2.7.egg-info [ 64s] running install_scripts [ 64s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 3.0.5-1.1 --unique-debug-src-base python-mock-3.0.5-1.1.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/mock-3.0.5 [ 64s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-3.0.5/python-mock-debuginfo.manifest [ 64s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-3.0.5/python-mock-debugsource.manifest [ 64s] + /usr/lib/rpm/check-buildroot [ 64s] + /usr/lib/rpm//brp-compress [ 64s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 64s] + /usr/lib/rpm/brp-python-hardlink [ 65s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm [ 65s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Uw4nqh [ 65s] + umask 022 [ 65s] + cd /home/abuild/rpmbuild/BUILD [ 65s] + cd mock-3.0.5 [ 65s] + python setup.py test [ 68s] running test [ 68s] 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. [ 68s] running egg_info [ 68s] writing requirements to mock.egg-info/requires.txt [ 68s] writing mock.egg-info/PKG-INFO [ 68s] writing top-level names to mock.egg-info/top_level.txt [ 68s] writing dependency_links to mock.egg-info/dependency_links.txt [ 68s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 68s] reading manifest template 'MANIFEST.in' [ 68s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 68s] running build_ext [ 69s] test_cant_uncache_sys (mock.tests.testsupport.TestUncache) ... ok [ 69s] test_uncache_non_existent (mock.tests.testsupport.TestUncache) ... ok [ 69s] test_attributes_and_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_bound_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_changing_magic_set_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_comparison (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_deleting_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_descriptor_from_class (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_dict_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_dir (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_division (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_divmod_and_rdivmod (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_hash (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_iterable_as_iter_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_len_contains_iter (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_magic_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_magic_method_reset_mock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_magic_method_type (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_magic_method_wrapping (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_magic_methods_and_spec (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 69s] test_magic_methods_and_spec_set (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_magic_methods_are_magic_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_magic_methods_fspath (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_magic_methods_isolated_between_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_magic_mock_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_magicmock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_magicmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_magicmock_del (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_matmul (mock.tests.testmagicmethods.TestMockingMagicMethods) ... skipped '@ added in Python 3.5' [ 70s] test_non_default_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_nonzero (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_numeric (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_repr (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_setting_unsupported_magic_method (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_str (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 70s] test_unicode (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 71s] test_autospec (mock.tests.testpatch.PatchTest) ... ok [ 71s] test_autospec_classmethod (mock.tests.testpatch.PatchTest) ... ok [ 71s] test_autospec_function (mock.tests.testpatch.PatchTest) ... ok [ 71s] test_autospec_inherits (mock.tests.testpatch.PatchTest) ... ok [ 71s] test_autospec_keywords (mock.tests.testpatch.PatchTest) ... ok [ 71s] test_autospec_name (mock.tests.testpatch.PatchTest) ... ok [ 71s] test_autospec_staticmethod (mock.tests.testpatch.PatchTest) ... ok [ 71s] test_autospec_with_new (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_autospec_with_object (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_cant_set_kwargs_when_passing_a_mock (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_create_and_specs (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_dotted_but_module_not_loaded (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_falsey_spec (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_get_only_proxy (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_get_set_delete_proxy (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_invalid_target (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_mock_calls_with_patch (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_multiple_patchobject (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_multiple_specs (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_name_preserved (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_nested_patch_failure (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_nested_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_class_decorating (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_create (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_incompatible_with_autospec (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_incompatible_with_new (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_inherit_for_mocks (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_inherit_non_mock (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_keyword_arguments (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_patch (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_patch_object (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_new_callable_spec (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_not_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_object_lookup_is_quite_lazy (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_builtins_without_create (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_class_acts_with_spec_is_inherited (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_class_attribute (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_decorator_resolution (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_test_prefix (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_with_clear (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_with_container_object (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_with_container_object_and_clear (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_with_string (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_dict_with_unicode (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_imports_lazily (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_local (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_create (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_create_mocks (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_create_mocks_different_order (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_create_mocks_patcher (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_decorating_class (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_failure (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_new_callable (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_no_kwargs (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_spec_set (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_stacked_decorators (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_multiple_string_subclasses (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_nested_autospec_repr (mock.tests.testpatch.PatchTest) ... ok [ 72s] test_patch_object_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_object_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_propogrates_exc_on_exit (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_slots (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_spec_set (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_stopall (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_test_prefix (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_with_exception (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_with_spec (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_with_spec_mock_repr (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_with_static_methods (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patch_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_twice (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_with_default_mock (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_with_none (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_with_spec (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_patchobject_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_single_patchobject (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_spec_set_inherit (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_spec_set_true (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_special_attrs (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_specs_false_instead_of_none (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_stop_idempotent (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_stop_without_start (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_stopall_lifo (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_tracebacks (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_wrapped_patch (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_wrapped_patch_dict (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_wrapped_patch_multiple (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_wrapped_patch_object (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_wrapped_several_times_patch (mock.tests.testpatch.PatchTest) ... ok [ 73s] test_attribute_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_attributes_return_more_mocks_by_default (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_call_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_call_on_defined_sealed_mock_succeeds (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_call_on_sealed_mock_fails (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_existing_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_existing_attributes_can_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_initialized_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_integration_with_spec_att_definition (mock.tests.testsealable.TestSealable) [ 73s] You are not restricted when using mock with spec ... ok [ 73s] test_integration_with_spec_method_definition (mock.tests.testsealable.TestSealable) [ 73s] You need to defin the methods, even if they are in the spec ... ok [ 73s] test_integration_with_spec_method_definition_respects_spec (mock.tests.testsealable.TestSealable) [ 73s] You cannot define methods out of the spec ... ok [ 73s] test_new_attributes_cannot_be_accessed_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_new_attributes_cannot_be_set_on_child_of_seal (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_new_attributes_cannot_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_sealed_exception_has_attribute_name (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_seals_dont_recurse_on_manual_attributes (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_seals_recurse_on_added_attributes (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_seals_recurse_on_magic_methods (mock.tests.testsealable.TestSealable) ... ok [ 73s] test_attributes (mock.tests.testcallable.TestCallable) ... ok [ 73s] test_create_autospec (mock.tests.testcallable.TestCallable) ... ok [ 73s] test_create_autospec_instance (mock.tests.testcallable.TestCallable) ... ok [ 73s] test_hierarchy (mock.tests.testcallable.TestCallable) ... ok [ 73s] test_non_callable (mock.tests.testcallable.TestCallable) ... ok [ 73s] test_patch_spec (mock.tests.testcallable.TestCallable) ... ok [ 73s] test_patch_spec_callable_class (mock.tests.testcallable.TestCallable) ... ok [ 73s] test_patch_spec_instance (mock.tests.testcallable.TestCallable) ... ok [ 74s] test_patch_spec_set (mock.tests.testcallable.TestCallable) ... ok [ 74s] test_patch_spec_set_instance (mock.tests.testcallable.TestCallable) ... ok [ 74s] test_subclasses (mock.tests.testcallable.TestCallable) ... ok [ 74s] test__name__ (mock.tests.testmock.MockTest) ... ok [ 74s] test_adding_child_mock (mock.tests.testmock.MockTest) ... ok [ 74s] test_adding_return_value_mock (mock.tests.testmock.MockTest) ... ok [ 74s] test_all (mock.tests.testmock.MockTest) ... ok [ 74s] test_arg_lists (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_any_call (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_any_call_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_once (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_once_message (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_once_message_not_called (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_once_with (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_once_with_call_list (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_once_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_once_with_message (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_with (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_with_any (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_with_failure_message (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_with_message (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_called_with_method_spec (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_has_calls (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_has_calls_any_order (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_has_calls_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_not_called (mock.tests.testmock.MockTest) ... ok [ 74s] test_assert_not_called_message (mock.tests.testmock.MockTest) ... ok [ 75s] test_attach_mock (mock.tests.testmock.MockTest) ... ok [ 75s] test_attach_mock_return_value (mock.tests.testmock.MockTest) ... ok [ 75s] test_attribute_access_returns_mocks (mock.tests.testmock.MockTest) ... ok [ 75s] test_attribute_deletion (mock.tests.testmock.MockTest) ... ok [ 75s] test_attributes_have_name_and_parent_set (mock.tests.testmock.MockTest) ... ok [ 75s] test_autospec_side_effect (mock.tests.testmock.MockTest) ... ok [ 75s] test_autospec_side_effect_exception (mock.tests.testmock.MockTest) ... ok [ 75s] test_baseexceptional_side_effect (mock.tests.testmock.MockTest) ... ok [ 75s] test_call (mock.tests.testmock.MockTest) ... ok [ 75s] test_call_args_comparison (mock.tests.testmock.MockTest) ... ok [ 75s] test_call_args_two_tuple (mock.tests.testmock.MockTest) ... ok [ 75s] test_calls_equal_with_any (mock.tests.testmock.MockTest) ... ok [ 75s] test_change_return_value_via_delegate (mock.tests.testmock.MockTest) ... ok [ 75s] test_change_side_effect_via_delegate (mock.tests.testmock.MockTest) ... ok [ 75s] test_child_mock_call_equal (mock.tests.testmock.MockTest) ... ok [ 75s] test_class_assignable (mock.tests.testmock.MockTest) ... ok [ 75s] test_configure_mock (mock.tests.testmock.MockTest) ... ok [ 75s] test_constructor (mock.tests.testmock.MockTest) ... ok [ 75s] test_copy (mock.tests.testmock.MockTest) ... ok [ 75s] test_create_autospec_classmethod_and_staticmethod (mock.tests.testmock.MockTest) ... ok [ 75s] test_create_autospec_with_name (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_return_value (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_return_value_and_side_effect (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_return_value_and_side_effect2 (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_return_value_and_side_effect_default (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_side_effect_exception (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_side_effect_function (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_side_effect_iterable (mock.tests.testmock.MockTest) ... ok [ 75s] test_customize_wrapped_object_with_side_effect_iterable_with_default (mock.tests.testmock.MockTest) ... ok [ 75s] test_dir (mock.tests.testmock.MockTest) ... ok [ 75s] test_dir_does_not_include_deleted_attributes (mock.tests.testmock.MockTest) ... ok [ 75s] test_dir_from_spec (mock.tests.testmock.MockTest) ... ok [ 75s] test_exceptional_side_effect (mock.tests.testmock.MockTest) ... ok [ 75s] test_filter_dir (mock.tests.testmock.MockTest) ... ok [ 75s] test_from_spec (mock.tests.testmock.MockTest) ... ok [ 75s] test_isinstance_under_settrace (mock.tests.testmock.MockTest) ... ok [ 75s] test_magic_methods_mock_calls (mock.tests.testmock.MockTest) ... ok [ 75s] test_manager_mock (mock.tests.testmock.MockTest) ... ok [ 75s] test_method_calls_compare_easily (mock.tests.testmock.MockTest) ... ok [ 75s] test_method_calls_recorded (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_add_spec (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_add_spec_magic_methods (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_call_not_equal_leaf (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_call_not_equal_non_leaf (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_call_not_equal_non_leaf_attr (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_call_not_equal_non_leaf_call_versus_attr (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_call_not_equal_non_leaf_params_different (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_call_repr (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_call_repr_loop (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_calls (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_calls_contains (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_calls_create_autospec (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_does_not_raise_on_repeated_attribute_deletion (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_open_after_eof (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_open_alter_readline (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_open_dunder_iter_issue (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_open_reuse_issue_21750 (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_open_write (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_parents (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_raises_when_deleting_nonexistent_attribute (mock.tests.testmock.MockTest) ... ok [ 76s] test_mock_unsafe (mock.tests.testmock.MockTest) ... ok [ 76s] test_name_attribute_of_call (mock.tests.testmock.MockTest) ... ok [ 76s] test_only_allowed_methods_exist (mock.tests.testmock.MockTest) ... ok [ 76s] test_override_tuple_methods (mock.tests.testmock.MockTest) ... ok [ 76s] test_parent_attribute_of_call (mock.tests.testmock.MockTest) ... ok [ 76s] test_parent_propagation_with_create_autospec (mock.tests.testmock.MockTest) ... ok [ 76s] test_repr (mock.tests.testmock.MockTest) ... ok [ 76s] test_repr_with_spec (mock.tests.testmock.MockTest) ... ok [ 76s] test_reset_mock (mock.tests.testmock.MockTest) ... ok [ 76s] test_reset_mock_does_not_raise_on_attr_deletion (mock.tests.testmock.MockTest) ... ok [ 76s] test_reset_mock_on_mock_open_issue_18622 (mock.tests.testmock.MockTest) ... ok [ 76s] test_reset_mock_recursion (mock.tests.testmock.MockTest) ... ok [ 76s] test_reset_return (mock.tests.testmock.MockTest) ... ok [ 76s] test_reset_return_sideeffect (mock.tests.testmock.MockTest) ... ok [ 76s] test_reset_sideeffect (mock.tests.testmock.MockTest) ... ok [ 76s] test_return_value_in_constructor (mock.tests.testmock.MockTest) ... ok [ 76s] test_setting_attribute_with_spec_set (mock.tests.testmock.MockTest) ... ok [ 76s] test_setting_call (mock.tests.testmock.MockTest) ... ok [ 76s] test_side_effect (mock.tests.testmock.MockTest) ... ok [ 76s] test_side_effect_iterator (mock.tests.testmock.MockTest) ... ok [ 76s] test_side_effect_iterator_default (mock.tests.testmock.MockTest) ... ok [ 76s] test_side_effect_iterator_exceptions (mock.tests.testmock.MockTest) ... ok [ 76s] test_side_effect_setting_iterator (mock.tests.testmock.MockTest) ... ok [ 76s] test_sorted_call_signature (mock.tests.testmock.MockTest) ... ok [ 76s] test_spec_class (mock.tests.testmock.MockTest) ... ok [ 76s] test_spec_class_no_object_base (mock.tests.testmock.MockTest) ... ok [ 76s] test_spec_list_subclass (mock.tests.testmock.MockTest) ... ok [ 76s] test_spec_old_style_classes (mock.tests.testmock.MockTest) ... ok [ 76s] test_spec_set_old_style_classes (mock.tests.testmock.MockTest) ... ok [ 76s] test_subclass_with_properties (mock.tests.testmock.MockTest) ... ok [ 76s] test_subclassing (mock.tests.testmock.MockTest) ... ok [ 76s] test_wraps_attributes (mock.tests.testmock.MockTest) ... ok [ 76s] test_wraps_call_with_nondefault_return_value (mock.tests.testmock.MockTest) ... ok [ 76s] test_wraps_calls (mock.tests.testmock.MockTest) ... ok [ 76s] test_wraps_prevents_automatic_creation_of_mocks (mock.tests.testmock.MockTest) ... ok [ 76s] test_any (mock.tests.testhelpers.AnyTest) ... ok [ 76s] test_any_and_datetime (mock.tests.testhelpers.AnyTest) ... ok [ 76s] test_any_mock_calls_comparison_order (mock.tests.testhelpers.AnyTest) ... ok [ 76s] test_repr (mock.tests.testhelpers.AnyTest) ... ok [ 76s] test_attribute_call (mock.tests.testhelpers.CallTest) ... ok [ 76s] test_call (mock.tests.testhelpers.CallTest) ... ok [ 76s] test_call_any (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_list (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_ne (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_non_tuples (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_with_args (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_with_args_call_empty_name (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_with_call (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_call_with_name (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_empty__Call (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_extended_call (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_extended_not_equal (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_named_call_with_args (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_named_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_named_empty_call (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_nested_calls_not_equal (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_repr (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_two_args_call (mock.tests.testhelpers.CallTest) ... ok [ 77s] test_attributes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 77s] test_autospec_data_descriptor (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 77s] test_autospec_functions_with_self_in_odd_place (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 77s] test_autospec_getattr_partial_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 77s] test_autospec_on_bound_builtin_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 77s] test_autospec_property (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 77s] test_autospec_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 77s] test_autospec_slots (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_autospec_socket (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_basic (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_builtin_functions_types (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_builtins (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_class_with_no_init (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_create_autospec_keyword_arguments (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_create_autospec_keyword_only_arguments (mock.tests.testhelpers.SpecSignatureTest) ... skipped 'Keyword only arguments Python 3 specific' [ 78s] test_create_autospec_none (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 78s] test_create_autospec_return_value (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_descriptors (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_function_as_instance_attribute (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_inherit (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_magic_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_method_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_mocking_unbound_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 79s] test_old_style_class_with_no_init (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_old_style_classes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_recursive (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_signature_callable (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_signature_class (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_signature_noncallable (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_signature_old_style_class (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_skip_attributeerrors (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_as_list (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_function_assert_any_call (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_function_assert_has_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_function_has_identifier_name (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_function_no_name (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_function_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_has_descriptor_returning_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_has_function_not_in_bases (mock.tests.testhelpers.SpecSignatureTest) ... skipped "object.__dir__ doesn't exist in Python 2" [ 80s] test_spec_inheritance_for_classes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 80s] test_spec_inspect_signature (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 81s] test_spec_set (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 81s] test_args_list_contains_call_list (mock.tests.testhelpers.TestCallList) ... ok [ 81s] test_call_list_str (mock.tests.testhelpers.TestCallList) ... ok [ 81s] test_call_list_unicode (mock.tests.testhelpers.TestCallList) ... ok [ 81s] test_propertymock (mock.tests.testhelpers.TestCallList) ... ok [ 81s] test_propertymock_returnvalue (mock.tests.testhelpers.TestCallList) ... ok [ 81s] test_call_magic_method (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 81s] test_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 81s] test_non_callable_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 81s] test_non_callable_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 81s] test_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 81s] test_type (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 81s] test_dunder_iter_data (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_explicit_mock (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_interleaved_reads (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_mock_open (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_mock_open_context_manager (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_mock_open_context_manager_multiple_times (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_mock_open_read_with_argument (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_overriding_return_values (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_read_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_read_data (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_readline_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_readline_data (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_readlines_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 81s] test_readlines_data (mock.tests.testwith.TestMockOpen) ... ok [ 81s] testContextManagerMocking (mock.tests.testwith.WithTest) ... ok [ 81s] test_context_manager_with_magic_mock (mock.tests.testwith.WithTest) ... ok [ 81s] test_dict_context_manager (mock.tests.testwith.WithTest) ... ok [ 81s] test_double_patch_instance_method (mock.tests.testwith.WithTest) ... ok [ 81s] test_patch_object_with_statement (mock.tests.testwith.WithTest) ... ok [ 81s] test_with_statement (mock.tests.testwith.WithTest) ... ok [ 81s] test_with_statement_as (mock.tests.testwith.WithTest) ... ok [ 81s] test_with_statement_exception (mock.tests.testwith.WithTest) ... ok [ 81s] test_with_statement_imbricated (mock.tests.testwith.WithTest) ... ok [ 82s] test_with_statement_nested (mock.tests.testwith.WithTest) ... ok [ 82s] test_with_statement_same_attribute (mock.tests.testwith.WithTest) ... ok [ 82s] test_with_statement_specified (mock.tests.testwith.WithTest) ... ok [ 82s] testBases (mock.tests.testsentinel.SentinelTest) ... ok [ 82s] testCopy (mock.tests.testsentinel.SentinelTest) ... ok [ 82s] testDEFAULT (mock.tests.testsentinel.SentinelTest) ... ok [ 82s] testPickle (mock.tests.testsentinel.SentinelTest) ... ok [ 82s] testSentinelName (mock.tests.testsentinel.SentinelTest) ... ok [ 82s] testSentinels (mock.tests.testsentinel.SentinelTest) ... ok [ 82s] [ 82s] ---------------------------------------------------------------------- [ 82s] Ran 405 tests in 12.213s [ 82s] [ 82s] OK (skipped=3) [ 82s] + exit 0 [ 82s] Processing files: python-mock-3.0.5-1.1.noarch [ 82s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 82s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 82s] [ 82s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N5vFWj [ 82s] + umask 022 [ 82s] + cd /home/abuild/rpmbuild/BUILD [ 82s] + cd mock-3.0.5 [ 82s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/share/licenses/python-mock [ 82s] + export LC_ALL=C [ 82s] + LC_ALL=C [ 82s] + export LICENSEDIR [ 82s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/share/licenses/python-mock [ 82s] + cp -pr LICENSE.txt /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm/usr/share/licenses/python-mock [ 82s] + exit 0 [ 82s] Provides: python-mock = 3.0.5-1.1 [ 82s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 82s] Requires: python(abi) = 2.7 [ 82s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm [ 83s] Wrote: /home/abuild/rpmbuild/SRPMS/python-mock-3.0.5-1.1.src.rpm [ 83s] Wrote: /home/abuild/rpmbuild/RPMS/noarch/python-mock-3.0.5-1.1.noarch.rpm [ 83s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e2K8Wg [ 83s] + umask 022 [ 83s] + cd /home/abuild/rpmbuild/BUILD [ 83s] + cd mock-3.0.5 [ 83s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-1.1.arm [ 83s] + exit 0 [ 83s] ... checking for files with abuild user/group [ 83s] ... creating baselibs [ 84s] [ 84s] obspw23 finished "build python-mock.spec" at Sat Dec 4 14:22:36 UTC 2021. [ 84s] Retried build at Sat Dec 4 15:39:46 2021 returned same result, skipped Retried build at Wed Dec 8 10:51:16 2021 returned same result, skipped Retried build at Wed Dec 15 23:46:14 2021 returned same result, skipped Retried build at Sat Dec 18 04:50:53 2021 returned same result, skipped Retried build at Thu Dec 30 15:31:08 2021 returned same result, skipped Retried build at Fri Dec 31 22:32:25 2021 returned same result, skipped Retried build at Thu Jan 13 07:54:21 2022 returned same result, skipped Retried build at Mon Jan 24 17:57:51 2022 returned same result, skipped Retried build at Fri Jan 28 13:36:47 2022 returned same result, skipped Retried build at Wed Feb 23 17:48:36 2022 returned same result, skipped Retried build at Thu Mar 3 02:15:46 2022 returned same result, skipped Retried build at Thu Mar 10 07:02:53 2022 returned same result, skipped Retried build at Tue Mar 22 09:35:53 2022 returned same result, skipped Retried build at Sat Apr 9 15:26:36 2022 returned same result, skipped Retried build at Tue Apr 19 07:27:07 2022 returned same result, skipped Retried build at Tue May 17 06:56:39 2022 returned same result, skipped