[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_2 [ 0s] Using BUILD_ARCH=aarch64:aarch64_ilp32:armv8l [ 0s] [ 0s] [ 0s] obsnw18 started "build _service:gbs:python-mock.spec" at Tue Jan 19 21:09:25 UTC 2021. [ 0s] [ 0s] Building python-mock for project 'Tizen:Unified' repository 'standard' arch 'aarch64' srcmd5 '1fa31de12f0c43a5d8b494c83470df46' [ 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 ... [ 0s] copying qemu [ 0s] /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 [ 0s] [ 0s] registering binfmt handlers for cross build [ 0s] /var/run/obs/worker/2/build/qemu-reg: line 12: extra fields, ignoring. Content: :ppc64:M::i\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff::/usr/bin/qemu-ppc64-binfmt:P [ 0s] /var/run/obs/worker/2/build/qemu-reg: line 13: extra fields, ignoring. Content: :ppc64le:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff::/usr/bin/qemu-ppc64le-binfmt:P [ 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... [ 1s] [6/41] preinstalling bash... [ 1s] [7/41] preinstalling diffutils... [ 1s] [8/41] preinstalling grep... [ 1s] [9/41] preinstalling libattr... [ 1s] [10/41] preinstalling libblkid... [ 1s] [11/41] preinstalling libbz2... [ 1s] [12/41] preinstalling libcap... [ 1s] [13/41] preinstalling libfreebl3... [ 1s] [14/41] preinstalling libgcc... [ 1s] [15/41] preinstalling liblua... [ 1s] [16/41] preinstalling liblzma... [ 1s] [17/41] preinstalling libpopt... [ 1s] [18/41] preinstalling libreadline... [ 1s] [19/41] preinstalling libsmack... [ 1s] [20/41] preinstalling libsqlite... [ 1s] [21/41] preinstalling libuuid... [ 1s] [22/41] preinstalling libzstd1... [ 1s] [23/41] preinstalling nspr... [ 1s] [24/41] preinstalling sed... [ 1s] [25/41] preinstalling zlib... [ 1s] [26/41] preinstalling qemu-accel-x86_64-aarch64... [ 7s] [27/41] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [28/41] preinstalling coreutils... [ 7s] [29/41] preinstalling libacl... [ 7s] [30/41] preinstalling libelf... [ 7s] [31/41] preinstalling libmount... [ 7s] [32/41] preinstalling smack... [ 7s] [33/41] preinstalling bzip2... [ 7s] [34/41] preinstalling libmagic... [ 7s] [35/41] preinstalling libxml2... [ 8s] [36/41] preinstalling tar... [ 8s] [37/41] preinstalling util-linux... [ 8s] [38/41] preinstalling util-linux-su... [ 8s] [39/41] preinstalling nss... [ 8s] [40/41] preinstalling libsoftokn3... [ 8s] [41/41] preinstalling rpm... [ 8s] [ 8s] running qemu-linux-user-x86_64-cross postinstall script [ 8s] running qemu-accel-x86_64-aarch64 postinstall script [ 8s] running setup postinstall script [ 8s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 8s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 8s] initializing rpm db... [ 9s] reordering...cycle: libsoftokn3 -> nss [ 9s] breaking dependency nss -> libsoftokn3 [ 9s] done [ 9s] [1/111] installing libmagic-data-5.39-4.57 [ 10s] [2/111] installing setup-0.9-4.18 [ 10s] [3/111] installing filesystem-3.1-3.3 [ 10s] [4/111] installing glibc-2.30-5.39 [ 11s] [5/111] installing bash-3.2.57-4.3 [ 11s] [6/111] installing cpio-2.11-3.2 [ 11s] [7/111] installing diffutils-3.3-3.2 [ 11s] [8/111] installing findutils-4.3.8-3.124 [ 11s] [9/111] installing gdbm-1.8.3-3.139 [ 11s] [10/111] installing hostname-3.23-3.2 [ 11s] [11/111] installing libatomic-9.2.0-7.29 [ 12s] [12/111] installing libattr-2.4.48-4.68 [ 12s] [13/111] installing libblkid-2.36-7.11 [ 12s] [14/111] installing libbz2-1.0.8-4.84 [ 13s] [15/111] installing libcap-2.24-3.133 [ 13s] [16/111] installing libext2fs-1.43.4-3.2 [ 13s] [17/111] installing libfreebl3-3.34.1-3.97 [ 14s] [18/111] installing libgcc-9.2.0-7.29 [ 15s] [19/111] installing libgomp-9.2.0-7.29 [ 15s] [20/111] installing libitm-9.2.0-7.29 [ 15s] [21/111] installing libltdl-2.4.2-3.91 [ 16s] [22/111] installing liblua-5.1.5-3.104 [ 16s] [23/111] installing liblzma-5.2.5-4.27 [ 17s] [24/111] installing libopenssl11-1.1.1g-3.87 [ 17s] [25/111] installing libpcre-8.44-4.9 [ 17s] [26/111] installing libpopt-1.16-3.132 [ 18s] [27/111] installing libpython-2.7.18-4.22 [ 18s] [28/111] installing libsmack-1.3.1-3.128 [ 18s] [29/111] installing libsmartcols-2.36-7.11 [ 19s] [30/111] installing libsqlite-3.33.0-4.55 [ 19s] [31/111] installing libuuid-2.36-7.11 [ 20s] [32/111] installing libzstd1-1.4.5-1.27 [ 20s] [33/111] installing m4-1.4.17-2.2 [ 20s] [34/111] installing net-tools-2.0_20121208git-4.2 [ 20s] [35/111] installing nspr-4.12-3.132 [ 21s] [36/111] installing patch-2.7-3.124 [ 21s] [37/111] installing pkg-config-0.28-3.121 [ 21s] [38/111] installing sed-4.1c-3.2 [ 21s] [39/111] installing update-alternatives-1.20.5-3.2 [ 21s] [40/111] installing which-2.17-4.2 [ 22s] [41/111] installing zlib-1.2.11-3.130 [ 22s] [42/111] installing build-compare-2015.04.28-3.47 [ 22s] [43/111] installing qemu-linux-user-x86_64-cross-2.7.0.1-1.2.1 [ 27s] [44/111] installing terminfo-base-full-6.2-5.49 [ 27s] [45/111] installing coreutils-6.9-4.33 [ 28s] [46/111] installing cpp-9.2.0-7.29 [ 29s] [47/111] installing gawk-3.1.5-4.2 [ 29s] [48/111] installing gcc-c++-9.2.0-7.29 [ 31s] [49/111] installing grep-2.5.2-3.2 [ 31s] [50/111] installing libacl-2.2.53-4.70 [ 32s] [51/111] installing libelf-0.178-3.43 [ 34s] [52/111] installing libgfortran-9.2.0-7.29 [ 35s] [53/111] installing libmount-2.36-7.11 [ 36s] [54/111] installing libstdc++-9.2.0-7.29 [ 37s] [55/111] installing make-4.0-2.32 [ 38s] [56/111] installing nss-certs-3.34.1-3.97 [ 38s] [57/111] installing smack-1.3.1-3.128 [ 39s] [58/111] installing bzip2-1.0.8-4.84 [ 39s] [59/111] installing libfdisk-2.36-7.11 [ 41s] [60/111] installing libmagic-5.39-4.57 [ 42s] [61/111] installing libxml2-2.9.10-3.80 [ 44s] [62/111] installing perl-5.32.0-4.18 [ 49s] [63/111] installing xz-5.2.5-4.27 [ 49s] [64/111] installing build-mkbaselibs-20120927-3.3 [ 50s] [65/111] installing libstdc++-devel-9.2.0-7.29 [ 51s] [66/111] installing file-5.39-4.57 [ 51s] [67/111] installing linux-glibc-devel-3.10-3.138 [ 53s] [68/111] installing tar-1.17-2.4 [ 53s] [69/111] installing autoconf-2.69-3.75 [ 54s] [70/111] installing binutils-2.33.1-7.38 [ 55s] [71/111] installing db4-4.8.30.NC-3.124 [ 56s] [72/111] installing glibc-locale-2.30-5.39 [ 56s] [73/111] installing gzip-1.3.12-3.132 [ 57s] [74/111] installing libcc1-9.2.0-7.29 [ 57s] [75/111] installing libubsan-9.2.0-7.29 [ 57s] [76/111] installing pam-1.1.6-3.2 [ 58s] [77/111] installing libncurses6-6.2-5.49 [ 58s] [78/111] installing tzdata-2020a-3.2 [ 58s] [79/111] installing libdw-0.178-3.43 [ 59s] [80/111] installing libarchive-3.4.0-1.23 [ 59s] [81/111] installing libncurses-6.2-5.49 [ 59s] [82/111] installing glibc-devel-2.30-5.39 [ 59s] [83/111] installing less-466-3.2 [ 59s] [84/111] installing libreadline-5.2-3.29 [ 60s] [85/111] installing procps-ng-3.3.16-3.2 [ 62s] [86/111] installing automake-1.15.1-3.84 [ 64s] [87/111] installing libasm-0.178-3.43 [ 64s] [88/111] installing build-20120927-3.3 [ 65s] [89/111] installing gcc-9.2.0-7.29 [ 67s] [90/111] installing qemu-accel-x86_64-aarch64-0.4-4.1 [ 80s] [91/111] installing libtool-2.4.2-3.91 [ 81s] [92/111] installing elfutils-0.178-3.43 [ 81s] [93/111] installing python-2.7.18-4.22 [ 83s] [94/111] installing util-linux-2.36-7.11 [ 84s] [95/111] installing python-argparse-1.4.0-5.4 [ 84s] [96/111] installing python-funcsigs-1.0.2-4.4 [ 84s] [97/111] installing python-pyparsing-2.2.0-1.3 [ 84s] [98/111] installing python-six-1.15.0-3.3 [ 85s] [99/111] installing python-appdirs-1.4.0-1.3 [ 85s] [100/111] installing python-xml-2.7.18-4.22 [ 85s] [101/111] installing util-linux-su-2.36-7.11 [ 86s] [102/111] installing python-packaging-20.8-2.3 [ 86s] [103/111] installing python-setuptools-44.1.1-2.5 [ 86s] [104/111] installing python-pbr-5.5.1-7.4 [ 87s] [105/111] installing python-linecache2-1.0.0-5.4 [ 87s] [106/111] installing python-traceback2-1.4.0-5.4 [ 87s] [107/111] installing python-unittest2-1.1.0-4.4 [ 87s] [108/111] installing nss-3.34.1-3.97 [ 88s] [109/111] installing libsoftokn3-3.34.1-3.97 [ 89s] [110/111] installing rpm-4.14.1.1-5.19 [ 90s] [111/111] installing rpm-build-4.14.1.1-5.19 [ 90s] removing nis flags from /var/cache/build/root_2/etc/nsswitch.conf... [ 90s] now finalizing build dir... [ 91s] Running build time source services... [ 91s] build target is aarch64-tizen-linux [ 91s] ----------------------------------------------------------------- [ 91s] I have the following modifications for python-mock.spec: [ 91s] 21c21 [ 91s] < Release: 0 [ 91s] --- [ 91s] > Release: 5.4 [ 91s] ----------------------------------------------------------------- [ 91s] ----- building python-mock.spec (user abuild) [ 91s] ----------------------------------------------------------------- [ 91s] ----------------------------------------------------------------- [ 91s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Unified/standard/1fa31de12f0c43a5d8b494c83470df46-python-mock' -ba /home/abuild/rpmbuild/SOURCES/python-mock.spec [ 92s] Building target platforms: aarch64-tizen-linux [ 92s] Building for target aarch64-tizen-linux [ 92s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EYgoA7 [ 92s] + umask 022 [ 92s] + cd /home/abuild/rpmbuild/BUILD [ 92s] + cd /home/abuild/rpmbuild/BUILD [ 92s] + rm -rf mock-3.0.5 [ 92s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/mock-3.0.5.tar.gz [ 92s] + /bin/tar -xof - [ 92s] + STATUS=0 [ 92s] + '[' 0 -ne 0 ']' [ 92s] + cd mock-3.0.5 [ 92s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 92s] + rm mock/tests/__main__.py [ 92s] + rm mock/tests/testhelpers_py3.py [ 92s] + exit 0 [ 92s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w4vBGa [ 92s] + umask 022 [ 92s] + cd /home/abuild/rpmbuild/BUILD [ 92s] + cd mock-3.0.5 [ 92s] ++ uname -m [ 92s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 92s] + ref=/usr/lib/rpm [ 92s] + for s in guess sub [ 92s] ++ find -maxdepth 8 -name config.guess [ 92s] + for s in guess sub [ 92s] ++ find -maxdepth 8 -name config.sub [ 92s] + LANG=C [ 92s] + export LANG [ 92s] + unset DISPLAY [ 92s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 92s] + export CFLAGS [ 92s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 92s] + export CXXFLAGS [ 92s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 92s] + export FFLAGS [ 92s] + LDFLAGS= [ 92s] + export LDFLAGS [ 92s] + cp /home/abuild/rpmbuild/SOURCES/python-mock.manifest . [ 92s] + python setup.py build [ 93s] running build [ 93s] running build_py [ 93s] creating build [ 93s] creating build/lib [ 93s] creating build/lib/mock [ 93s] copying mock/mock.py -> build/lib/mock [ 93s] copying mock/__init__.py -> build/lib/mock [ 94s] + exit 0 [ 94s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fEqzDa [ 94s] + umask 022 [ 94s] + cd /home/abuild/rpmbuild/BUILD [ 94s] + cd mock-3.0.5 [ 94s] + LANG=C [ 94s] + export LANG [ 94s] + unset DISPLAY [ 94s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64 [ 94s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64 [ 94s] + python setup.py install --prefix=/usr --root=/home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64 [ 95s] running install [ 95s] running build [ 95s] running build_py [ 96s] running install_lib [ 96s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr [ 96s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib [ 96s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7 [ 96s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7/site-packages [ 96s] creating /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7/site-packages/mock [ 96s] copying build/lib/mock/mock.py -> /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7/site-packages/mock [ 96s] copying build/lib/mock/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7/site-packages/mock [ 96s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7/site-packages/mock/mock.py to mock.pyc [ 96s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7/site-packages/mock/__init__.py to __init__.pyc [ 96s] running install_egg_info [ 96s] running egg_info [ 96s] creating mock.egg-info [ 96s] writing requirements to mock.egg-info/requires.txt [ 96s] writing mock.egg-info/PKG-INFO [ 96s] writing top-level names to mock.egg-info/top_level.txt [ 96s] writing dependency_links to mock.egg-info/dependency_links.txt [ 96s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 96s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 96s] reading manifest template 'MANIFEST.in' [ 96s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 96s] Copying mock.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/lib/python2.7/site-packages/mock-3.0.5-py2.7.egg-info [ 96s] running install_scripts [ 96s] + /usr/lib/rpm/find-debuginfo.sh -j4 --build-id-seed 3.0.5-5.4 --unique-debug-src-base python-mock-3.0.5-5.4.aarch64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/mock-3.0.5 [ 96s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-3.0.5/python-mock-debuginfo.manifest [ 96s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-3.0.5/python-mock-debugsource.manifest [ 96s] + /usr/lib/rpm/check-buildroot [ 96s] + /usr/lib/rpm//brp-compress [ 96s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 96s] + /usr/lib/rpm/brp-python-hardlink [ 96s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64 [ 96s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hI9Jx8 [ 96s] + umask 022 [ 96s] + cd /home/abuild/rpmbuild/BUILD [ 96s] + cd mock-3.0.5 [ 96s] + python setup.py test [ 98s] running test [ 98s] 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. [ 98s] running egg_info [ 98s] writing requirements to mock.egg-info/requires.txt [ 98s] writing mock.egg-info/PKG-INFO [ 98s] writing top-level names to mock.egg-info/top_level.txt [ 98s] writing dependency_links to mock.egg-info/dependency_links.txt [ 98s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 98s] reading manifest template 'MANIFEST.in' [ 98s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 98s] running build_ext [ 99s] test_cant_uncache_sys (mock.tests.testsupport.TestUncache) ... ok [ 99s] test_uncache_non_existent (mock.tests.testsupport.TestUncache) ... ok [ 99s] test_attributes_and_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_bound_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_changing_magic_set_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_comparison (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_deleting_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_descriptor_from_class (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_dict_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_dir (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_division (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_divmod_and_rdivmod (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 99s] test_hash (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_iterable_as_iter_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_len_contains_iter (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_method_reset_mock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_method_type (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_method_wrapping (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_methods_and_spec (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_methods_and_spec_set (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_methods_are_magic_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_methods_fspath (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_methods_isolated_between_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magic_mock_equality (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magicmock (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magicmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_magicmock_del (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_matmul (mock.tests.testmagicmethods.TestMockingMagicMethods) ... skipped '@ added in Python 3.5' [ 100s] test_non_default_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_nonzero (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_numeric (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_repr (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_setting_unsupported_magic_method (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_str (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 100s] test_unicode (mock.tests.testmagicmethods.TestMockingMagicMethods) ... ok [ 101s] test_autospec (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_classmethod (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_function (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_inherits (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_keywords (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_name (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_staticmethod (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_with_new (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_autospec_with_object (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_cant_set_kwargs_when_passing_a_mock (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_create_and_specs (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_dotted_but_module_not_loaded (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_falsey_spec (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_get_only_proxy (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_get_set_delete_proxy (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_invalid_target (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_mock_calls_with_patch (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_multiple_patchobject (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_multiple_specs (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_name_preserved (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_nested_patch_failure (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_nested_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_class_decorating (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_create (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_incompatible_with_autospec (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_incompatible_with_new (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_inherit_for_mocks (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_inherit_non_mock (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_keyword_arguments (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_patch (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_patch_object (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_new_callable_spec (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_not_callable_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_object_lookup_is_quite_lazy (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_builtins_without_create (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_class_acts_with_spec_is_inherited (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_class_attribute (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_decorator_resolution (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_test_prefix (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_with_clear (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_with_container_object (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_with_container_object_and_clear (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_with_string (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_dict_with_unicode (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_imports_lazily (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_local (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_create (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_create_mocks (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_create_mocks_different_order (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_create_mocks_patcher (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_decorating_class (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_failure (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_new_callable (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_new_callable_failure (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_no_kwargs (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_spec_set (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_stacked_decorators (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_multiple_string_subclasses (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_nested_autospec_repr (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_object_keyword_args (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_object_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_propogrates_exc_on_exit (mock.tests.testpatch.PatchTest) ... ok [ 101s] test_patch_slots (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_spec_set (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_stopall (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_test_prefix (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_with_exception (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_with_spec (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_with_spec_as_boolean (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_with_spec_mock_repr (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_with_static_methods (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patch_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_class_decorator (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_start_stop (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_twice (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_with_default_mock (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_with_none (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_with_spec (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_with_spec_as_list (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_patchobject_wont_create_by_default (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_single_patchobject (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_spec_set_inherit (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_spec_set_true (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_special_attrs (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_specs_false_instead_of_none (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_stop_idempotent (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_stop_without_start (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_stopall_lifo (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_tracebacks (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_wrapped_patch (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_wrapped_patch_dict (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_wrapped_patch_multiple (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_wrapped_patch_object (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_wrapped_several_times_patch (mock.tests.testpatch.PatchTest) ... ok [ 102s] test_attribute_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_attributes_return_more_mocks_by_default (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_call_chain_is_maintained (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_call_on_defined_sealed_mock_succeeds (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_call_on_sealed_mock_fails (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_existing_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_existing_attributes_can_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_initialized_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_integration_with_spec_att_definition (mock.tests.testsealable.TestSealable) [ 102s] You are not restricted when using mock with spec ... ok [ 102s] test_integration_with_spec_method_definition (mock.tests.testsealable.TestSealable) [ 102s] You need to defin the methods, even if they are in the spec ... ok [ 102s] test_integration_with_spec_method_definition_respects_spec (mock.tests.testsealable.TestSealable) [ 102s] You cannot define methods out of the spec ... ok [ 102s] test_new_attributes_cannot_be_accessed_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_new_attributes_cannot_be_set_on_child_of_seal (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_new_attributes_cannot_be_set_on_seal (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_sealed_exception_has_attribute_name (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_seals_dont_recurse_on_manual_attributes (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_seals_recurse_on_added_attributes (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_seals_recurse_on_magic_methods (mock.tests.testsealable.TestSealable) ... ok [ 102s] test_attributes (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_create_autospec (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_create_autospec_instance (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_hierarchy (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_non_callable (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_patch_spec (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_patch_spec_callable_class (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_patch_spec_instance (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_patch_spec_set (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_patch_spec_set_instance (mock.tests.testcallable.TestCallable) ... ok [ 102s] test_subclasses (mock.tests.testcallable.TestCallable) ... ok [ 102s] test__name__ (mock.tests.testmock.MockTest) ... ok [ 102s] test_adding_child_mock (mock.tests.testmock.MockTest) ... ok [ 102s] test_adding_return_value_mock (mock.tests.testmock.MockTest) ... ok [ 102s] test_all (mock.tests.testmock.MockTest) ... ok [ 102s] test_arg_lists (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_any_call (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_any_call_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_once (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_once_message (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_once_message_not_called (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_once_with (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_once_with_call_list (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_once_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_once_with_message (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_with (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_with_any (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_with_failure_message (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_with_message (mock.tests.testmock.MockTest) ... ok [ 102s] test_assert_called_with_method_spec (mock.tests.testmock.MockTest) ... ok [ 103s] test_assert_has_calls (mock.tests.testmock.MockTest) ... ok [ 103s] test_assert_has_calls_any_order (mock.tests.testmock.MockTest) ... ok [ 103s] test_assert_has_calls_with_function_spec (mock.tests.testmock.MockTest) ... ok [ 103s] test_assert_not_called (mock.tests.testmock.MockTest) ... ok [ 103s] test_assert_not_called_message (mock.tests.testmock.MockTest) ... ok [ 103s] test_attach_mock (mock.tests.testmock.MockTest) ... ok [ 103s] test_attach_mock_return_value (mock.tests.testmock.MockTest) ... ok [ 103s] test_attribute_access_returns_mocks (mock.tests.testmock.MockTest) ... ok [ 103s] test_attribute_deletion (mock.tests.testmock.MockTest) ... ok [ 103s] test_attributes_have_name_and_parent_set (mock.tests.testmock.MockTest) ... ok [ 103s] test_autospec_side_effect (mock.tests.testmock.MockTest) ... ok [ 103s] test_autospec_side_effect_exception (mock.tests.testmock.MockTest) ... ok [ 103s] test_baseexceptional_side_effect (mock.tests.testmock.MockTest) ... ok [ 103s] test_call (mock.tests.testmock.MockTest) ... ok [ 103s] test_call_args_comparison (mock.tests.testmock.MockTest) ... ok [ 103s] test_call_args_two_tuple (mock.tests.testmock.MockTest) ... ok [ 103s] test_calls_equal_with_any (mock.tests.testmock.MockTest) ... ok [ 103s] test_change_return_value_via_delegate (mock.tests.testmock.MockTest) ... ok [ 103s] test_change_side_effect_via_delegate (mock.tests.testmock.MockTest) ... ok [ 103s] test_child_mock_call_equal (mock.tests.testmock.MockTest) ... ok [ 103s] test_class_assignable (mock.tests.testmock.MockTest) ... ok [ 103s] test_configure_mock (mock.tests.testmock.MockTest) ... ok [ 103s] test_constructor (mock.tests.testmock.MockTest) ... ok [ 103s] test_copy (mock.tests.testmock.MockTest) ... ok [ 103s] test_create_autospec_classmethod_and_staticmethod (mock.tests.testmock.MockTest) ... ok [ 103s] test_create_autospec_with_name (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_return_value (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_return_value_and_side_effect (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_return_value_and_side_effect2 (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_return_value_and_side_effect_default (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_side_effect_exception (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_side_effect_function (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_side_effect_iterable (mock.tests.testmock.MockTest) ... ok [ 103s] test_customize_wrapped_object_with_side_effect_iterable_with_default (mock.tests.testmock.MockTest) ... ok [ 103s] test_dir (mock.tests.testmock.MockTest) ... ok [ 103s] test_dir_does_not_include_deleted_attributes (mock.tests.testmock.MockTest) ... ok [ 103s] test_dir_from_spec (mock.tests.testmock.MockTest) ... ok [ 103s] test_exceptional_side_effect (mock.tests.testmock.MockTest) ... ok [ 103s] test_filter_dir (mock.tests.testmock.MockTest) ... ok [ 103s] test_from_spec (mock.tests.testmock.MockTest) ... ok [ 103s] test_isinstance_under_settrace (mock.tests.testmock.MockTest) ... ok [ 103s] test_magic_methods_mock_calls (mock.tests.testmock.MockTest) ... ok [ 103s] test_manager_mock (mock.tests.testmock.MockTest) ... ok [ 103s] test_method_calls_compare_easily (mock.tests.testmock.MockTest) ... ok [ 103s] test_method_calls_recorded (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_add_spec (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_add_spec_magic_methods (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_call_not_equal_leaf (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_call_not_equal_non_leaf (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_call_not_equal_non_leaf_attr (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_call_not_equal_non_leaf_call_versus_attr (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_call_not_equal_non_leaf_params_different (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_call_repr (mock.tests.testmock.MockTest) ... ok [ 103s] test_mock_call_repr_loop (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_calls (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_calls_contains (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_calls_create_autospec (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_does_not_raise_on_repeated_attribute_deletion (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_open_after_eof (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_open_alter_readline (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_open_dunder_iter_issue (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_open_reuse_issue_21750 (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_open_write (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_parents (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_raises_when_deleting_nonexistent_attribute (mock.tests.testmock.MockTest) ... ok [ 104s] test_mock_unsafe (mock.tests.testmock.MockTest) ... ok [ 104s] test_name_attribute_of_call (mock.tests.testmock.MockTest) ... ok [ 104s] test_only_allowed_methods_exist (mock.tests.testmock.MockTest) ... ok [ 104s] test_override_tuple_methods (mock.tests.testmock.MockTest) ... ok [ 104s] test_parent_attribute_of_call (mock.tests.testmock.MockTest) ... ok [ 104s] test_parent_propagation_with_create_autospec (mock.tests.testmock.MockTest) ... ok [ 104s] test_repr (mock.tests.testmock.MockTest) ... ok [ 104s] test_repr_with_spec (mock.tests.testmock.MockTest) ... ok [ 104s] test_reset_mock (mock.tests.testmock.MockTest) ... ok [ 104s] test_reset_mock_does_not_raise_on_attr_deletion (mock.tests.testmock.MockTest) ... ok [ 104s] test_reset_mock_on_mock_open_issue_18622 (mock.tests.testmock.MockTest) ... ok [ 104s] test_reset_mock_recursion (mock.tests.testmock.MockTest) ... ok [ 104s] test_reset_return (mock.tests.testmock.MockTest) ... ok [ 104s] test_reset_return_sideeffect (mock.tests.testmock.MockTest) ... ok [ 104s] test_reset_sideeffect (mock.tests.testmock.MockTest) ... ok [ 104s] test_return_value_in_constructor (mock.tests.testmock.MockTest) ... ok [ 104s] test_setting_attribute_with_spec_set (mock.tests.testmock.MockTest) ... ok [ 104s] test_setting_call (mock.tests.testmock.MockTest) ... ok [ 104s] test_side_effect (mock.tests.testmock.MockTest) ... ok [ 104s] test_side_effect_iterator (mock.tests.testmock.MockTest) ... ok [ 104s] test_side_effect_iterator_default (mock.tests.testmock.MockTest) ... ok [ 104s] test_side_effect_iterator_exceptions (mock.tests.testmock.MockTest) ... ok [ 104s] test_side_effect_setting_iterator (mock.tests.testmock.MockTest) ... ok [ 104s] test_sorted_call_signature (mock.tests.testmock.MockTest) ... ok [ 104s] test_spec_class (mock.tests.testmock.MockTest) ... ok [ 104s] test_spec_class_no_object_base (mock.tests.testmock.MockTest) ... ok [ 104s] test_spec_list_subclass (mock.tests.testmock.MockTest) ... ok [ 104s] test_spec_old_style_classes (mock.tests.testmock.MockTest) ... ok [ 104s] test_spec_set_old_style_classes (mock.tests.testmock.MockTest) ... ok [ 104s] test_subclass_with_properties (mock.tests.testmock.MockTest) ... ok [ 104s] test_subclassing (mock.tests.testmock.MockTest) ... ok [ 104s] test_wraps_attributes (mock.tests.testmock.MockTest) ... ok [ 104s] test_wraps_call_with_nondefault_return_value (mock.tests.testmock.MockTest) ... ok [ 104s] test_wraps_calls (mock.tests.testmock.MockTest) ... ok [ 104s] test_wraps_prevents_automatic_creation_of_mocks (mock.tests.testmock.MockTest) ... ok [ 104s] test_any (mock.tests.testhelpers.AnyTest) ... ok [ 104s] test_any_and_datetime (mock.tests.testhelpers.AnyTest) ... ok [ 104s] test_any_mock_calls_comparison_order (mock.tests.testhelpers.AnyTest) ... ok [ 104s] test_repr (mock.tests.testhelpers.AnyTest) ... ok [ 104s] test_attribute_call (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_any (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_list (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_ne (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_non_tuples (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_with_args (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_with_args_call_empty_name (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_with_call (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_call_with_name (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_empty__Call (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_extended_call (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_extended_not_equal (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_named_call_with_args (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_named_call_with_kwargs (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_named_empty_call (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_nested_calls_not_equal (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_repr (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_two_args_call (mock.tests.testhelpers.CallTest) ... ok [ 104s] test_attributes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 104s] test_autospec_data_descriptor (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 104s] test_autospec_functions_with_self_in_odd_place (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 104s] test_autospec_getattr_partial_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 104s] test_autospec_on_bound_builtin_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 104s] test_autospec_property (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 104s] test_autospec_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 104s] test_autospec_slots (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_autospec_socket (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_basic (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_builtin_functions_types (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_builtins (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_class_with_no_init (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_create_autospec_keyword_arguments (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_create_autospec_keyword_only_arguments (mock.tests.testhelpers.SpecSignatureTest) ... skipped 'Keyword only arguments Python 3 specific' [ 105s] test_create_autospec_none (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 105s] test_create_autospec_return_value (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_descriptors (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_function_as_instance_attribute (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_inherit (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_magic_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_method_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_mocking_unbound_methods (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_old_style_class_with_no_init (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_old_style_classes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_recursive (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 106s] test_signature_callable (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_signature_class (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_signature_noncallable (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_signature_old_style_class (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_skip_attributeerrors (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_as_list (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_function_assert_any_call (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_function_assert_has_calls (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_function_has_identifier_name (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_function_no_name (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_function_reset_mock (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_has_descriptor_returning_function (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_has_function_not_in_bases (mock.tests.testhelpers.SpecSignatureTest) ... skipped "object.__dir__ doesn't exist in Python 2" [ 107s] test_spec_inheritance_for_classes (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_inspect_signature (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_spec_set (mock.tests.testhelpers.SpecSignatureTest) ... ok [ 107s] test_args_list_contains_call_list (mock.tests.testhelpers.TestCallList) ... ok [ 107s] test_call_list_str (mock.tests.testhelpers.TestCallList) ... ok [ 107s] test_call_list_unicode (mock.tests.testhelpers.TestCallList) ... ok [ 107s] test_propertymock (mock.tests.testhelpers.TestCallList) ... ok [ 107s] test_propertymock_returnvalue (mock.tests.testhelpers.TestCallList) ... ok [ 107s] test_call_magic_method (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 107s] test_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 107s] test_non_callable_classmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 107s] test_non_callable_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 107s] test_staticmethod (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 107s] test_type (mock.tests.testhelpers.TestCallablePredicate) ... ok [ 107s] test_dunder_iter_data (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_explicit_mock (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_interleaved_reads (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_mock_open (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_mock_open_context_manager (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_mock_open_context_manager_multiple_times (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_mock_open_read_with_argument (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_overriding_return_values (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_read_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 107s] test_read_data (mock.tests.testwith.TestMockOpen) ... ok [ 108s] test_readline_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 108s] test_readline_data (mock.tests.testwith.TestMockOpen) ... ok [ 108s] test_readlines_bytes (mock.tests.testwith.TestMockOpen) ... ok [ 108s] test_readlines_data (mock.tests.testwith.TestMockOpen) ... ok [ 108s] testContextManagerMocking (mock.tests.testwith.WithTest) ... ok [ 108s] test_context_manager_with_magic_mock (mock.tests.testwith.WithTest) ... ok [ 108s] test_dict_context_manager (mock.tests.testwith.WithTest) ... ok [ 108s] test_double_patch_instance_method (mock.tests.testwith.WithTest) ... ok [ 108s] test_patch_object_with_statement (mock.tests.testwith.WithTest) ... ok [ 108s] test_with_statement (mock.tests.testwith.WithTest) ... ok [ 108s] test_with_statement_as (mock.tests.testwith.WithTest) ... ok [ 108s] test_with_statement_exception (mock.tests.testwith.WithTest) ... ok [ 108s] test_with_statement_imbricated (mock.tests.testwith.WithTest) ... ok [ 108s] test_with_statement_nested (mock.tests.testwith.WithTest) ... ok [ 108s] test_with_statement_same_attribute (mock.tests.testwith.WithTest) ... ok [ 108s] test_with_statement_specified (mock.tests.testwith.WithTest) ... ok [ 108s] testBases (mock.tests.testsentinel.SentinelTest) ... ok [ 108s] testCopy (mock.tests.testsentinel.SentinelTest) ... ok [ 108s] testDEFAULT (mock.tests.testsentinel.SentinelTest) ... ok [ 108s] testPickle (mock.tests.testsentinel.SentinelTest) ... ok [ 108s] testSentinelName (mock.tests.testsentinel.SentinelTest) ... ok [ 108s] testSentinels (mock.tests.testsentinel.SentinelTest) ... ok [ 108s] [ 108s] ---------------------------------------------------------------------- [ 108s] Ran 405 tests in 8.482s [ 108s] [ 108s] OK (skipped=3) [ 108s] + exit 0 [ 108s] Processing files: python-mock-3.0.5-5.4.noarch [ 108s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 108s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 108s] [ 108s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WhDUHb [ 108s] + umask 022 [ 108s] + cd /home/abuild/rpmbuild/BUILD [ 108s] + cd mock-3.0.5 [ 108s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/share/licenses/python-mock [ 108s] + export LC_ALL=C [ 108s] + LC_ALL=C [ 108s] + export LICENSEDIR [ 108s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/share/licenses/python-mock [ 108s] + cp -pr LICENSE.txt /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64/usr/share/licenses/python-mock [ 108s] + exit 0 [ 108s] Provides: python-mock = 3.0.5-5.4 [ 108s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 108s] Requires: python(abi) = 2.7 [ 108s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64 [ 108s] Wrote: /home/abuild/rpmbuild/SRPMS/python-mock-3.0.5-5.4.src.rpm [ 109s] Wrote: /home/abuild/rpmbuild/RPMS/noarch/python-mock-3.0.5-5.4.noarch.rpm [ 109s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1BJ7R9 [ 109s] + umask 022 [ 109s] + cd /home/abuild/rpmbuild/BUILD [ 109s] + cd mock-3.0.5 [ 109s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-mock-3.0.5-5.4.aarch64 [ 109s] + exit 0 [ 109s] ... checking for files with abuild user/group [ 109s] ... creating baselibs [ 109s] ... comparing built packages with the former built [ 109s] /usr/lib/build/pkg-diff.sh [ 109s] compare /.build.oldpackages/python-mock-3.0.5-5.3.src.rpm /home/abuild/rpmbuild/SRPMS/python-mock-3.0.5-5.4.src.rpm [ 110s] This is not a prerelease project. Compare the project name. [ 110s] comparing rpmtags [ 110s] comparing RELEASE [ 110s] comparing PROVIDES [ 110s] comparing scripts [ 110s] comparing filelist [ 110s] comparing file checksum [ 110s] RPM meta information is identical [ 110s] compare /.build.oldpackages/python-mock-3.0.5-5.3.noarch.rpm /home/abuild/rpmbuild/RPMS/noarch/python-mock-3.0.5-5.4.noarch.rpm [ 110s] Comparing python-mock-3.0.5-5.3.noarch.rpm to python-mock-3.0.5-5.4.noarch.rpm [ 110s] This is not a prerelease project. Compare the project name. [ 110s] comparing rpmtags [ 110s] --- /tmp/tmp.mfAZI38762/tmp.ExAnw38921 2021-01-19 21:11:15.558270458 +0000 [ 110s] +++ /tmp/tmp.mfAZI38762/tmp.oFReG38932 2021-01-19 21:11:15.566270251 +0000 [ 110s] @@ -8,7 +8,7 @@ [ 110s] tizen [ 110s] BSD-2-Clause BSD-2-Clause [ 110s] Development/Languages/Python http://www.voidspace.org.uk/python/mock/ (none) (none) (none) [ 110s] - (none) 4.11.0.1 noarch-tizen-linux [ 110s] + (none) 4.14.1 noarch-tizen-linux [ 110s] cpio xz 5T [ 110s] [ 110s] (none) (none) (none) [ 110s] RPM meta information is different [ 110s] [ 110s] obsnw18 finished "build python-mock.spec" at Tue Jan 19 21:11:15 UTC 2021. [ 110s] Retried build at Tue Jan 19 21:30:59 2021 returned same result, skipped Retried build at Wed Jan 20 06:00:22 2021 returned same result, skipped Retried build at Mon Jan 25 09:48:57 2021 returned same result, skipped Retried build at Mon Feb 1 02:21:20 2021 returned same result, skipped Retried build at Fri Feb 5 04:34:49 2021 returned same result, skipped Retried build at Tue Feb 16 02:34:30 2021 returned same result, skipped Retried build at Mon Feb 22 06:23:40 2021 returned same result, skipped Retried build at Tue Feb 23 10:00:17 2021 returned same result, skipped Retried build at Wed Mar 3 10:50:28 2021 returned same result, skipped Retried build at Sun Mar 7 11:50:36 2021 returned same result, skipped Retried build at Mon Mar 8 05:42:40 2021 returned same result, skipped Retried build at Mon Mar 8 05:50:10 2021 returned same result, skipped Retried build at Wed Mar 24 15:34:43 2021 returned same result, skipped Retried build at Wed Mar 31 10:51:38 2021 returned same result, skipped Retried build at Fri Apr 2 04:15:47 2021 returned same result, skipped Retried build at Mon May 3 17:17:26 2021 returned same result, skipped