Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-6230/root'printOutput=Falsetimeout=0uid=1001user='mockbuild'logger=nspawn_args=[]gid=135env={'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mock.spec'] with env {'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mock-1.4.1-1.git.20.e60d26c.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-6230/root'printOutput=Falsetimeout=0uid=1001user='mockbuild'logger=nspawn_args=[]gid=135env={'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mock.spec'] with env {'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BT20Jx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-git-20.e60d26c + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-git-20.e60d26c.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-git-20.e60d26c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in py/mock.py py/mockchain.py + sed -i '1s|#!/usr/bin/python |#!/usr/bin/python3 |' py/mock.py + for file in py/mock.py py/mockchain.py + sed -i '1s|#!/usr/bin/python |#!/usr/bin/python3 |' py/mockchain.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f9Ws1D + umask 022 + cd /builddir/build/BUILD + cd mock-git-20.e60d26c + for i in py/mock.py py/mockchain.py + perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="1.4.1"|' py/mock.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mock.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.6/site-packages"|' py/mock.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.6/site-packages/mockbuild"|' py/mock.py + for i in py/mock.py py/mockchain.py + perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="1.4.1"|' py/mockchain.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mockchain.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.6/site-packages"|' py/mockchain.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.6/site-packages/mockbuild"|' py/mockchain.py + for i in docs/mockchain.1 docs/mock.1 + perl -p -i -e 's|@VERSION@|1.4.1"|' docs/mockchain.1 + for i in docs/mockchain.1 docs/mock.1 + perl -p -i -e 's|@VERSION@|1.4.1"|' docs/mock.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JjSioK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64 + cd mock-git-20.e60d26c + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/libexec/mock + install py/mockchain.py /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/bin/mockchain + install py/mock.py /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/libexec/mock/mock + ln -s consolehelper /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/bin/mock + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/pam.d + cp -a etc/pam/mock /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/pam.d/ + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/mock + cp -a etc/mock/custom-1-aarch64.cfg etc/mock/custom-1-armhfp.cfg etc/mock/custom-1-i386.cfg etc/mock/custom-1-ppc64.cfg etc/mock/custom-1-ppc64le.cfg etc/mock/custom-1-s390.cfg etc/mock/custom-1-s390x.cfg etc/mock/custom-1-x86_64.cfg etc/mock/epel-5-i386.cfg etc/mock/epel-5-x86_64.cfg etc/mock/epel-6-i386.cfg etc/mock/epel-6-ppc64.cfg etc/mock/epel-6-x86_64.cfg etc/mock/epel-7-aarch64.cfg etc/mock/epel-7-ppc64le.cfg etc/mock/epel-7-x86_64.cfg etc/mock/fedora-24-aarch64.cfg etc/mock/fedora-24-armhfp.cfg etc/mock/fedora-24-i386.cfg etc/mock/fedora-24-ppc64.cfg etc/mock/fedora-24-ppc64le.cfg etc/mock/fedora-24-s390.cfg etc/mock/fedora-24-s390x.cfg etc/mock/fedora-24-x86_64.cfg etc/mock/fedora-25-aarch64.cfg etc/mock/fedora-25-armhfp.cfg etc/mock/fedora-25-i386.cfg etc/mock/fedora-25-ppc64.cfg etc/mock/fedora-25-ppc64le.cfg etc/mock/fedora-25-s390x.cfg etc/mock/fedora-25-x86_64.cfg etc/mock/fedora-26-aarch64.cfg etc/mock/fedora-26-armhfp.cfg etc/mock/fedora-26-i386.cfg etc/mock/fedora-26-ppc64.cfg etc/mock/fedora-26-ppc64le.cfg etc/mock/fedora-26-s390x.cfg etc/mock/fedora-26-x86_64.cfg etc/mock/fedora-rawhide-aarch64.cfg etc/mock/fedora-rawhide-armhfp.cfg etc/mock/fedora-rawhide-i386.cfg etc/mock/fedora-rawhide-ppc64.cfg etc/mock/fedora-rawhide-ppc64le.cfg etc/mock/fedora-rawhide-s390x.cfg etc/mock/fedora-rawhide-x86_64.cfg etc/mock/logging.ini etc/mock/mageia-6-armv5tl.cfg etc/mock/mageia-6-armv7hl.cfg etc/mock/mageia-6-i586.cfg etc/mock/mageia-6-x86_64.cfg etc/mock/mageia-cauldron-armv5tl.cfg etc/mock/mageia-cauldron-armv7hl.cfg etc/mock/mageia-cauldron-i586.cfg etc/mock/mageia-cauldron-x86_64.cfg etc/mock/site-defaults.cfg /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/mock/ + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/security/console.apps/ + cp -a etc/consolehelper/mock /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/security/console.apps/mock + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/share/bash-completion/completions/ + cp -a etc/bash_completion.d/mock /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/share/bash-completion/completions/ + ln -s mock /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/share/bash-completion/completions/mockchain + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/pki/mock + cp -a etc/pki/README.txt /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/pki/mock/ + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/lib/python3.6/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/lib/python3.6/site-packages/ + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/share/man/man1 + cp -a docs/mockchain.1 docs/mock.1 /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/share/man/man1/ + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/var/cache/mock + echo '%defattr(0644, root, mock)' + find /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/mock -name '*.cfg' + sed -e 's|^/builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64|%config(noreplace) |' + ln -s fedora-rawhide-x86_64.cfg /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/etc/mock/default.cfg + '[' -d /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/share/bash-completion ']' + echo /usr/share/bash-completion/completions/mock + echo /usr/share/bash-completion/completions/mockchain + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --ver-rel 1.4.1-1.git.20.e60d26c.fc27 --unique-debug-arch x86_64 --unique-debug-src-base mock --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/mock-git-20.e60d26c find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64/usr/lib/python3.6 using /usr/bin/python3.6 Python detected LC_CTYPE=C: LC_CTYPE & LANG coerced to C.UTF-8 (set another locale or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior). Python detected LC_CTYPE=C: LC_CTYPE & LANG coerced to C.UTF-8 (set another locale or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior). + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NqSIET + umask 022 + cd /builddir/build/BUILD + cd mock-git-20.e60d26c + pylint-3 py/mockbuild/ py/mock.py py/mockchain.py py/mockbuild/plugins/bind_mount.py py/mockbuild/plugins/ccache.py py/mockbuild/plugins/chroot_scan.py py/mockbuild/plugins/compress_logs.py py/mockbuild/plugins/hw_info.py py/mockbuild/plugins/lvm_root.py py/mockbuild/plugins/mount.py py/mockbuild/plugins/package_state.py py/mockbuild/plugins/pm_request.py py/mockbuild/plugins/root_cache.py py/mockbuild/plugins/selinux.py py/mockbuild/plugins/sign.py py/mockbuild/plugins/tmpfs.py py/mockbuild/plugins/yum_cache.py Python detected LC_CTYPE=C: LC_CTYPE & LANG coerced to C.UTF-8 (set another locale or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior). ************* Module mockbuild.util E: 36, 0: Unable to import 'distro' (import-error) R:138, 4: Too many nested blocks (6/5) (too-many-nested-blocks) C:218,15: Do not use `len(SEQUENCE)` as condition value (len-as-condition) E:234, 4: Unable to import 'rpm' (import-error) W:236,13: Access to a protected member _RPMVSF_NOSIGNATURES of a client class (protected-access) W:236,40: Access to a protected member _RPMVSF_NODIGESTS of a client class (protected-access) E:266, 4: Unable to import 'rpm' (import-error) E:281, 4: Unable to import 'rpm' (import-error) R:402, 4: Too many nested blocks (6/5) (too-many-nested-blocks) W:486, 4: No exception type(s) specified (bare-except) W:561, 8: No exception type(s) specified (bare-except) R:595, 0: Too few public methods (0/1) (too-few-public-methods) R:662, 4: Unnecessary "else" after "return" (no-else-return) W:1029, 8: No exception type(s) specified (bare-except) W:1135, 8: No exception type(s) specified (bare-except) R:1241, 8: Unnecessary "else" after "return" (no-else-return) W:1272,11: Catching too general exception Exception (broad-except) ************* Module mockbuild.trace_decorator E:160,15: No value for argument 'arg1' in function call (no-value-for-parameter) ************* Module mockbuild.state C: 16,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C: 27,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C: 35,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) ************* Module mockbuild.scm E:181, 0: Bad option value 'redefined-variable-type' (bad-option-value) E:130, 8: Unable to import 'rpm' (import-error) ************* Module mockbuild.package_manager E: 9, 0: Unable to import 'distro' (import-error) ************* Module mockbuild.backend C: 67,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) ************* Module mock C:347,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C:767,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C:773,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C:781,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C:788,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C:797,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) C:809,11: Do not use `len(SEQUENCE)` as condition value (len-as-condition) ************* Module mockchain E: 40, 0: Unable to import 'requests' (import-error) W:354,23: Catching too general exception Exception (broad-except) R:329, 4: Too many nested blocks (7/5) (too-many-nested-blocks) C:407,15: Do not use `len(SEQUENCE)` as condition value (len-as-condition) ************* Module lvm_root R:270,11: Too many boolean expressions in if statement (7/5) (too-many-boolean-expressions) ************* Module root_cache C: 83,16: Consider changing "not str(self.config['plugin_conf']['tmpfs_opts']['keep_mounted']) == 'True'" to "str(self.config['plugin_conf']['tmpfs_opts']['keep_mounted']) != 'True'" (unneeded-not) ************* Module tmpfs W: 86, 8: No exception type(s) specified (bare-except) W: 95,12: No exception type(s) specified (bare-except) ----------------------------------- Your code has been rated at 9.81/10 Processing files: mock-1.4.1-1.git.20.e60d26c.fc27.noarch + : + exit 0 Provides: config(mock) = 1.4.1-1.git.20.e60d26c.fc27 mock = 1.4.1-1.git.20.e60d26c.fc27 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh coreutils system-release Requires: /usr/bin/python3 python(abi) = 3.6 Recommends: btrfs-progs Suggests: yum Processing files: mock-scm-1.4.1-1.git.20.e60d26c.fc27.noarch Provides: mock-scm = 1.4.1-1.git.20.e60d26c.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Processing files: mock-lvm-1.4.1-1.git.20.e60d26c.fc27.noarch Provides: mock-lvm = 1.4.1-1.git.20.e60d26c.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64 Wrote: /builddir/build/RPMS/mock-1.4.1-1.git.20.e60d26c.fc27.noarch.rpm Wrote: /builddir/build/RPMS/mock-scm-1.4.1-1.git.20.e60d26c.fc27.noarch.rpm Wrote: /builddir/build/RPMS/mock-lvm-1.4.1-1.git.20.e60d26c.fc27.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JK0EPn + umask 022 + cd /builddir/build/BUILD + cd mock-git-20.e60d26c + /usr/bin/rm -rf /builddir/build/BUILDROOT/mock-1.4.1-1.git.20.e60d26c.fc27.x86_64 + exit 0 Child return code was: 0