Building python-flake8-pyi.spec for openSUSE_Tumbleweed/x86_64 Getting buildinfo from server and store to /home/matej/build/work/python-flake8-pyi/.osc/_buildinfo-openSUSE_Tumbleweed-x86_64.xml Getting buildconfig from server and store to /home/matej/build/work/python-flake8-pyi/.osc/_buildconfig-openSUSE_Tumbleweed-x86_64 Updating cache of required packages 0.0% cache miss. 148/148 dependencies cached. Verifying integrity of cached packages using keys from openSUSE:Factory, home:mcepl Writing build configuration Running build logging output to /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/.build.log... [ 0s] Memory limit set to 21733604KB [ 0s] Using BUILD_ROOT=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 0s] [ 0s] stitny started "build python-flake8-pyi.spec" at Tue Oct 23 10:04:24 UTC 2018. [ 0s] [ 0s] [ 0s] processing recipe /home/matej/build/work/python-flake8-pyi/python-flake8-pyi.spec ... [ 0s] running changelog2spec --target rpm --file /home/matej/build/work/python-flake8-pyi/python-flake8-pyi.spec [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --rpmlist /tmp/rpmlist.amme3857 /home/matej/build/work/python-flake8-pyi/python-flake8-pyi.spec ... [ 0s] reordering...cycle: libncurses6 -> terminfo-base [ 0s] breaking dependency terminfo-base -> libncurses6 [ 0s] cycle: libcrack2 -> cracklib [ 0s] breaking dependency cracklib -> libcrack2 [ 0s] cycle: libdw1 -> libelf1 -> libebl-plugins [ 0s] breaking dependency libebl-plugins -> libdw1 [ 0s] cycle: libelf1 -> libebl-plugins [ 0s] breaking dependency libelf1 -> libebl-plugins [ 0s] cycle: rpm -> rpm-config-SUSE [ 0s] breaking dependency rpm -> rpm-config-SUSE [ 0s] done [ 0s] querying package ids... [ 1s] [1/148] keeping file-magic-5.33-2.1 [ 1s] [2/148] keeping kernel-obs-build-4.18.14-1.5 [ 1s] [3/148] keeping libtirpc-netconfig-1.0.3-2.1 [ 1s] [4/148] keeping python-rpm-macros-2017.12.22.d9968ab-1.2 [ 1s] [5/148] keeping system-user-root-20170617-1.12 [ 1s] [6/148] keeping vim-data-common-8.1.0451-1.1 [ 1s] [7/148] keeping filesystem-15.5-26.1 [ 1s] [8/148] keeping glibc-2.27-6.1 [ 1s] [9/148] keeping fdupes-1.61-1.15 [ 1s] [10/148] keeping fillup-1.42-274.2 [ 1s] [11/148] keeping hostname-3.20-2.2 [ 1s] [12/148] keeping libatomic1-8.2.1+r264010-1.1 [ 1s] [13/148] keeping libattr1-2.4.48-2.1 [ 1s] [14/148] keeping libaudit1-2.8.4-1.4 [ 1s] [15/148] keeping libbz2-1-1.0.6-43.1 [ 1s] [16/148] keeping libcap-ng0-0.7.9-1.5 [ 1s] [17/148] keeping libcap2-2.25-4.5 [ 1s] [18/148] keeping libcom_err2-1.44.4-1.1 [ 1s] [19/148] keeping libexpat1-2.2.6-1.1 [ 1s] [20/148] keeping libffi7-3.2.1.git259-6.2 [ 1s] [21/148] keeping libgcc_s1-8.2.1+r264010-1.1 [ 1s] [22/148] keeping libgdbm5-1.14.1-1.6 [ 1s] [23/148] keeping libgmp10-6.1.2-3.5 [ 1s] [24/148] keeping libgomp1-8.2.1+r264010-1.1 [ 1s] [25/148] keeping libitm1-8.2.1+r264010-1.1 [ 1s] [26/148] keeping libkeyutils1-1.5.10-3.5 [ 1s] [27/148] keeping liblua5_3-5-5.3.4-1.9 [ 1s] [28/148] keeping liblzma5-5.2.4-1.1 [ 1s] [29/148] keeping libmnl0-1.0.4-1.6 [ 1s] [30/148] keeping libmpx2-8.2.1+r264010-1.1 [ 1s] [31/148] keeping libmpxwrappers2-8.2.1+r264010-1.1 [ 1s] [32/148] keeping libpcre1-8.42-1.1 [ 1s] [33/148] keeping libpopt0-1.16-30.6 [ 1s] [34/148] keeping libpython3_6m1_0-3.6.5-3.3 [ 1s] [35/148] keeping libpython3_7m1_0-3.7.1-262.1 [ 1s] [36/148] keeping libsepol1-2.7-1.5 [ 1s] [37/148] keeping libsmartcols1-2.32.1-1.1 [ 1s] [38/148] keeping libsqlite3-0-3.25.2-1.1 [ 1s] [39/148] keeping libustr-1_0-1-1.0.4-35.5 [ 1s] [40/148] keeping libuuid1-2.32.1-1.1 [ 1s] [41/148] keeping libverto1-0.2.6-7.6 [ 1s] [42/148] keeping libz1-1.2.11-5.1 [ 1s] [43/148] keeping patch-2.7.6-3.5 [ 1s] [44/148] keeping perl-base-5.26.2-1.4 [ 1s] [45/148] keeping brp-extract-appdata-2016.05.04-2.1 [ 1s] [46/148] keeping build-mkbaselibs-20180830-1.1 [ 1s] [47/148] keeping attr-2.4.48-2.1 [ 1s] [48/148] keeping libacl1-2.2.52-13.10 [ 1s] [49/148] keeping libblkid1-2.32.1-1.1 [ 1s] [50/148] keeping libgdbm_compat4-1.14.1-1.6 [ 1s] [51/148] keeping libisl19-0.20-1.1 [ 1s] [52/148] keeping libmpfr6-4.0.1-3.5 [ 1s] [53/148] keeping libopenssl1_1-1.1.0h-4.2 [ 1s] [54/148] keeping libselinux1-2.6-2.5 [ 1s] [55/148] keeping libstdc++6-8.2.1+r264010-1.1 [ 1s] [56/148] keeping libmagic1-5.33-2.1 [ 1s] [57/148] keeping libzio1-1.06-3.8 [ 1s] [58/148] keeping file-5.33-2.1 [ 1s] [59/148] keeping libasan5-8.2.1+r264010-1.1 [ 1s] [60/148] keeping libdb-4_8-4.8.30-36.5 [ 1s] [61/148] keeping libfdisk1-2.32.1-1.1 [ 1s] [62/148] keeping liblsan0-8.2.1+r264010-1.1 [ 1s] [63/148] keeping libmount1-2.32.1-1.1 [ 1s] [64/148] keeping libmpc3-1.1.0-1.5 [ 1s] [65/148] keeping libtsan0-8.2.1+r264010-1.1 [ 1s] [66/148] keeping libubsan1-8.2.1+r264010-1.1 [ 1s] [67/148] keeping libsemanage1-2.6-1.9 [ 1s] [68/148] keeping cpp8-8.2.1+r264010-1.1 [ 1s] [69/148] keeping perl-5.26.2-1.4 [ 1s] [70/148] keeping brp-check-suse-84.87+git20180809.3335364-1.1 [ 1s] [71/148] keeping terminfo-base-6.1-7.1 [ 1s] [72/148] keeping libelf1-0.174-1.1 [ 1s] [73/148] keeping dwz-0.12-5.5 [ 1s] [74/148] keeping libebl-plugins-0.174-1.1 [ 1s] [75/148] keeping libncurses6-6.1-7.1 [ 1s] [76/148] keeping libdw1-0.174-1.1 [ 1s] [77/148] keeping libreadline7-7.0-3.1 [ 1s] [78/148] keeping ncurses-utils-6.1-7.1 [ 1s] [79/148] keeping bash-4.4-107.1 [ 1s] [80/148] keeping cpp-8-2.1 [ 1s] [81/148] keeping bzip2-1.0.6-43.1 [ 1s] [82/148] keeping cracklib-2.9.6-2.5 [ 1s] [83/148] keeping gettext-runtime-mini-0.19.8.1-9.1 [ 1s] [84/148] keeping xz-5.2.4-1.1 [ 1s] [85/148] keeping info-6.5-4.6 [ 1s] [86/148] keeping less-530-1.2 [ 1s] [87/148] keeping strace-4.24-1.1 [ 1s] [88/148] keeping iproute2-4.18-1.1 [ 1s] [89/148] keeping python3-base-3.7.1-262.1 [ 1s] [90/148] keeping python3-appdirs-1.4.3-24.1 [ 1s] [91/148] keeping python3-atomicwrites-1.1.5-11.1 [ 1s] [92/148] keeping python3-attrs-18.2.0-17.1 [ 1s] [93/148] keeping python3-mccabe-0.6.1-24.1 [ 1s] [94/148] keeping python3-more-itertools-4.2.0-10.1 [ 1s] [95/148] keeping python3-pluggy-0.7.1-5.1 [ 1s] [96/148] keeping python3-py-1.5.4-6.1 [ 1s] [97/148] keeping python3-pycodestyle-2.4.0-17.1 [ 1s] [98/148] keeping python3-pyparsing-2.2.0-48.1 [ 1s] [99/148] keeping python3-six-1.11.0-78.1 [ 1s] [100/148] keeping cpio-2.12-6.1 [ 1s] [101/148] keeping diffutils-3.6-2.3 [ 1s] [102/148] keeping gzip-1.9-3.1 [ 1s] [103/148] keeping libcrack2-2.9.6-2.5 [ 1s] [104/148] keeping make-4.2.1-7.1 [ 1s] [105/148] keeping which-2.21-4.5 [ 1s] [106/148] keeping findutils-4.6.0-4.1 [ 1s] [107/148] keeping grep-3.1-3.1 [ 1s] [108/148] keeping tar-1.30-1.2 [ 1s] [109/148] keeping gettext-tools-mini-0.19.8.1-9.1 [ 1s] [110/148] keeping python3-3.7.1-260.1 [ 1s] [111/148] keeping sed-4.5-2.2 [ 1s] [112/148] keeping coreutils-8.30-1.2 [ 1s] [113/148] keeping systemd-rpm-macros-3-14.6 [ 1s] [114/148] keeping linux-glibc-devel-4.18-1.1 [ 1s] [115/148] keeping glibc-locale-2.27-6.1 [ 1s] [116/148] keeping python3-packaging-17.1-22.1 [ 1s] [117/148] keeping update-alternatives-1.19.0.5-1.1 [ 1s] [118/148] keeping permissions-20180827-1.1 [ 1s] [119/148] keeping gdb-8.2-1.2 [ 1s] [120/148] keeping krb5-mini-1.15.3-2.1 [ 1s] [121/148] keeping glibc-devel-2.27-6.1 [ 1s] [122/148] keeping libtirpc3-1.0.3-2.1 [ 1s] [123/148] keeping gawk-4.2.1-1.7 [ 1s] [124/148] keeping binutils-2.31-1.2 [ 1s] [125/148] keeping python3-setuptools-40.4.3-138.1 [ 1s] [126/148] keeping vim-8.1.0451-1.1 [ 1s] [127/148] keeping libnsl2-1.2.0-2.5 [ 1s] [128/148] keeping python3-pyflakes-2.0.0-52.1 [ 1s] [129/148] keeping python3-pytest-3.8.1-22.1 [ 1s] [130/148] keeping gcc8-8.2.1+r264010-1.1 [ 1s] [131/148] keeping rpm-4.14.1-11.1 [ 1s] [132/148] keeping gcc-8-2.1 [ 1s] [133/148] keeping rpm-config-SUSE-0.g5-1.1 [ 1s] [134/148] keeping python3-flake8-3.5.0-52.1 [ 1s] [135/148] keeping rpmlint-mini-1.10-6.6 [ 1s] [136/148] keeping build-compare-20180706T160151.66224a8-1.2 [ 1s] [137/148] keeping pam-1.3.0-10.1 [ 1s] [138/148] keeping gcc-PIE-8-2.1 [ 1s] [139/148] keeping rpmlint-Factory-1.0-94.1 [ 1s] [140/148] keeping shadow-4.6-1.6 [ 1s] [141/148] keeping sysuser-shadow-2.0-2.9 [ 1s] [142/148] keeping system-group-hardware-20170617-6.5 [ 1s] [143/148] keeping libutempter0-1.1.6-10.5 [ 1s] [144/148] keeping util-linux-2.32.1-1.1 [ 1s] [145/148] keeping aaa_base-84.87+git20180409.04c9dae-1.3 [ 1s] [146/148] keeping rpm-build-4.14.1-11.1 [ 1s] [147/148] keeping aaa_base-malloccheck-84.87+git20180409.04c9dae-1.3 [ 1s] [148/148] keeping post-build-checks-84.88+git20180920.ef3d8cb-1.1 [ 1s] removing nis flags from /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/etc/nsswitch.conf... [ 1s] now finalizing build dir... [ 1s] cp: -r not specified; omitting directory '/home/matej/build/work/python-flake8-pyi/flake8-pyi-18.3.1' [ 2s] ----------------------------------------------------------------- [ 2s] I have the following modifications for python-flake8-pyi.spec: [ 2s] ----------------------------------------------------------------- [ 2s] ----- building python-flake8-pyi.spec (user abuild) [ 2s] ----------------------------------------------------------------- [ 2s] ----------------------------------------------------------------- [ 2s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-flake8-pyi.spec [ 2s] sh: python2: command not found [ 2s] setting SOURCE_DATE_EPOCH=1540296000 [ 2s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MMElkf [ 2s] + umask 022 [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + rm -rf flake8-pyi-18.3.1 [ 2s] + /usr/bin/gzip -dc /home/abuild/rpmbuild/SOURCES/flake8-pyi-18.3.1.tar.gz [ 2s] + /usr/bin/tar -xof - [ 2s] + STATUS=0 [ 2s] + '[' 0 -ne 0 ']' [ 2s] + cd flake8-pyi-18.3.1 [ 2s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 2s] + sed -i '1{\,^#!/usr/bin/env python,d}' pyi.py [ 2s] + exit 0 [ 2s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Mz7w23 [ 2s] + umask 022 [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64 [ 2s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64 [ 2s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 2s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64 [ 2s] + cd flake8-pyi-18.3.1 [ 2s] ++ '[' -f _current_flavor ']' [ 2s] ++ true [ 2s] + python_flavor= [ 2s] + '[' -z '' ']' [ 2s] + python_flavor=tmp [ 2s] + '[' tmp '!=' python3 ']' [ 2s] + '[' -d build ']' [ 2s] + '[' -d _build.python3 ']' [ 2s] + echo python3 [ 2s] + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' [ 2s] running build [ 2s] running build_py [ 2s] creating build [ 2s] creating build/lib [ 2s] copying pyi.py -> build/lib [ 2s] + exit 0 [ 2s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WTyGqT [ 2s] + umask 022 [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + cd flake8-pyi-18.3.1 [ 2s] ++ '[' -f _current_flavor ']' [ 2s] ++ cat _current_flavor [ 2s] + python_flavor=python3 [ 2s] + '[' -z python3 ']' [ 2s] + '[' python3 '!=' python3 ']' [ 2s] + echo python3 [ 2s] + /usr/bin/python3 setup.py install -O1 --skip-build --force --root /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64 --prefix /usr [ 2s] running install [ 2s] running install_lib [ 2s] creating /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr [ 2s] creating /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib [ 2s] creating /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7 [ 2s] creating /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages [ 2s] copying build/lib/pyi.py -> /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages [ 2s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/pyi.py to pyi.cpython-37.pyc [ 2s] writing byte-compilation script '/tmp/tmpqx3e2qwm.py' [ 2s] /usr/bin/python3 /tmp/tmpqx3e2qwm.py [ 2s] removing /tmp/tmpqx3e2qwm.py [ 2s] running install_egg_info [ 2s] running egg_info [ 2s] writing flake8_pyi.egg-info/PKG-INFO [ 2s] writing dependency_links to flake8_pyi.egg-info/dependency_links.txt [ 2s] writing entry points to flake8_pyi.egg-info/entry_points.txt [ 2s] writing requirements to flake8_pyi.egg-info/requires.txt [ 2s] writing top-level names to flake8_pyi.egg-info/top_level.txt [ 2s] reading manifest file 'flake8_pyi.egg-info/SOURCES.txt' [ 2s] reading manifest template 'MANIFEST.in' [ 2s] writing manifest file 'flake8_pyi.egg-info/SOURCES.txt' [ 2s] Copying flake8_pyi.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/flake8_pyi-18.3.1-py3.7.egg-info [ 2s] running install_scripts [ 2s] + _target= [ 2s] + _symlinks=0 [ 2s] + fdupes -q -p -n -H -o name -r /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages [ 2s] + read _file [ 2s] + test -z '' [ 2s] + _target=/home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/flake8_pyi-18.3.1-py3.7.egg-info/dependency_links.txt [ 2s] + read _file [ 2s] + test -z /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/flake8_pyi-18.3.1-py3.7.egg-info/dependency_links.txt [ 2s] + test -z /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/flake8_pyi-18.3.1-py3.7.egg-info/not-zip-safe [ 2s] + test 0 = 1 [ 2s] + ln -f /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/flake8_pyi-18.3.1-py3.7.egg-info/dependency_links.txt /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/flake8_pyi-18.3.1-py3.7.egg-info/not-zip-safe [ 2s] + read _file [ 2s] + test -z /home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages/flake8_pyi-18.3.1-py3.7.egg-info/dependency_links.txt [ 2s] + test -z '' [ 2s] + _target= [ 2s] + continue [ 2s] + read _file [ 2s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 18.3.1-0 --unique-debug-suffix -18.3.1-0.x86_64 --unique-debug-src-base python-flake8-pyi-18.3.1-0.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/flake8-pyi-18.3.1 [ 2s] + /usr/lib/rpm/brp-compress [ 2s] + /usr/lib/rpm/brp-suse [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 2s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 2s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 3s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GvASJK [ 3s] + umask 022 [ 3s] + cd /home/abuild/rpmbuild/BUILD [ 3s] + cd flake8-pyi-18.3.1 [ 3s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-flake8-pyi-18.3.1-0.x86_64/usr/lib/python3.7/site-packages [ 3s] + py.test3 -v -k 'not ()' tests [ 3s] ============================= test session starts ============================== [ 3s] platform linux -- Python 3.7.1, pytest-3.8.1, py-1.5.4, pluggy-0.7.1 -- /usr/bin/python3 [ 3s] cachedir: .pytest_cache [ 3s] rootdir: /home/abuild/rpmbuild/BUILD/flake8-pyi-18.3.1, inifile: [ 3s] collecting ... collected 11 items [ 3s] [ 4s] tests/test_pyi.py::PyiTestCase::test_comparisons PASSED [ 9%] [ 4s] tests/test_pyi.py::PyiTestCase::test_defaults FAILED [ 18%] [ 5s] tests/test_pyi.py::PyiTestCase::test_empty_init PASSED [ 27%] [ 5s] tests/test_pyi.py::PyiTestCase::test_function_def FAILED [ 36%] [ 6s] tests/test_pyi.py::PyiTestCase::test_patched_flake8_clean_del PASSED [ 45%] [ 6s] tests/test_pyi.py::PyiTestCase::test_patched_flake8_clean_forward_refs PASSED [ 54%] [ 6s] tests/test_pyi.py::PyiTestCase::test_sys_platform PASSED [ 63%] [ 7s] tests/test_pyi.py::PyiTestCase::test_sys_versioninfo PASSED [ 72%] [ 7s] tests/test_pyi.py::PyiTestCase::test_typevar PASSED [ 81%] [ 7s] tests/test_pyi.py::PyiTestCase::test_vanilla_flake8_not_clean_del PASSED [ 90%] [ 8s] tests/test_pyi.py::PyiTestCase::test_vanilla_flake8_not_clean_forward_refs PASSED [100%] [ 8s] [ 8s] =================================== FAILURES =================================== [ 8s] __________________________ PyiTestCase.test_defaults ___________________________ [ 8s] [ 8s] self = [ 8s] [ 8s] def test_defaults(self) -> None: [ 8s] stdout_lines = ( [ 8s] '3:17: Y011 Default values for typed arguments must be "..."', [ 8s] '7:20: Y011 Default values for typed arguments must be "..."', [ 8s] '13:20: Y011 Default values for typed arguments must be "..."', [ 8s] ) [ 8s] > self.checkFileOutput('defaults.pyi', stdout_lines=stdout_lines) [ 8s] [ 8s] tests/test_pyi.py:141: [ 8s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 8s] tests/test_pyi.py:46: in checkFileOutput [ 8s] self.assertMultiLineEqual(expected, actual) [ 8s] E AssertionError: 'defaults.pyi:3:17: Y011 Default values for typed argument[160 chars]..."' != 'defaults.pyi:3:1: E302 expected 2 blank lines, found 0\nd[555 chars]nd 0' [ 8s] E + defaults.pyi:3:1: E302 expected 2 blank lines, found 0 [ 8s] E defaults.pyi:3:17: Y011 Default values for typed arguments must be "..." [ 8s] E + defaults.pyi:5:1: E302 expected 2 blank lines, found 0 [ 8s] E + defaults.pyi:7:1: E302 expected 2 blank lines, found 0 [ 8s] E defaults.pyi:7:20: Y011 Default values for typed arguments must be "..." [ 8s] E + defaults.pyi:9:1: E302 expected 2 blank lines, found 0 [ 8s] E + defaults.pyi:11:1: E302 expected 2 blank lines, found 0 [ 8s] E + defaults.pyi:13:1: E302 expected 2 blank lines, found 0 [ 8s] E - defaults.pyi:13:20: Y011 Default values for typed arguments must be "..."+ defaults.pyi:13:20: Y011 Default values for typed arguments must be "..." [ 8s] E ? + [ 8s] E + defaults.pyi:15:1: E302 expected 2 blank lines, found 0 [ 8s] ________________________ PyiTestCase.test_function_def _________________________ [ 8s] [ 8s] self = [ 8s] [ 8s] def test_function_def(self) -> None: [ 8s] stdout_lines = ( [ 8s] '5:5: Y009 Empty body should contain "...", not "pass"', [ 8s] '19:5: Y010 Function body must contain only "..."', [ 8s] '23:5: Y010 Function body must contain only "..."', [ 8s] ) [ 8s] > self.checkFileOutput('emptyfunctions.pyi', stdout_lines=stdout_lines) [ 8s] [ 8s] tests/test_pyi.py:124: [ 8s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 8s] tests/test_pyi.py:46: in checkFileOutput [ 8s] self.assertMultiLineEqual(expected, actual) [ 8s] E AssertionError: 'emptyfunctions.pyi:5:5: Y009 Empty body should contain "..."[146 chars]..."' != 'emptyfunctions.pyi:4:1: E302 expected 2 blank lines, found 1[522 chars]..."' [ 8s] E + emptyfunctions.pyi:4:1: E302 expected 2 blank lines, found 1 [ 8s] E emptyfunctions.pyi:5:5: Y009 Empty body should contain "...", not "pass" [ 8s] E + emptyfunctions.pyi:7:1: E302 expected 2 blank lines, found 1 [ 8s] E + emptyfunctions.pyi:10:1: E302 expected 2 blank lines, found 1 [ 8s] E + emptyfunctions.pyi:14:1: E302 expected 2 blank lines, found 1 [ 8s] E + emptyfunctions.pyi:18:1: E302 expected 2 blank lines, found 1 [ 8s] E emptyfunctions.pyi:19:5: Y010 Function body must contain only "..." [ 8s] E + emptyfunctions.pyi:21:1: E302 expected 2 blank lines, found 1 [ 8s] E emptyfunctions.pyi:23:5: Y010 Function body must contain only "..." [ 8s] ====================== 2 failed, 9 passed in 4.55 seconds ====================== [ 8s] error: Bad exit status from /var/tmp/rpm-tmp.GvASJK (%check) [ 8s] [ 8s] [ 8s] RPM build errors: [ 8s] Bad exit status from /var/tmp/rpm-tmp.GvASJK (%check) [ 8s] [ 8s] stitny failed "build python-flake8-pyi.spec" at Tue Oct 23 10:04:32 UTC 2018. [ 8s] The buildroot was: /var/tmp/build-root/openSUSE_Tumbleweed-x86_64