Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dex-autostart.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611923561.750860/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pu55_yht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pu55_yht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0f8f5a9ac2c44b4ebb14496bd4aea402', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611923561.750860/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pu55_yht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dex-autostart.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/dex-autostart-0.9.0-2.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dex-autostart.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611923561.750860/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pu55_yht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pu55_yht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ba738e8e5e6e450692869c504d9117cb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611923561.750860/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pu55_yht:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dex-autostart.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r9NZjY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dex-0.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/dex-autostart-0.9.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dex-0.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fthDF8 + umask 022 + cd /builddir/build/BUILD + cd dex-0.9.0 + /usr/bin/make -O -j2 V=1 VERBOSE=1 VERSION=0.9.0 building the manpage in man/ Running Sphinx v3.4.3 building [mo]: targets for 0 po files that are specified building [man]: 1 source files given on command line updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] dex looking for now-outdated files... none found pickling environment... done checking consistency... done writing... dex.1 { } done build succeeded. The manual pages are in .. + sed -i s/dex/dex-autostart/g dex.1 + sed -i s/DEX/DEX-AUTOSTART/g dex.1 + sed -i s/dex/dex-autostart/g README.rst + sed -i s/DEX/DEX-AUTOSTART/g README.rst + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KKy7Rw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64 + cd dex-0.9.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr MANPREFIX=/usr/share/man NAME=dex-autostart VERSION=0.9.0 installing executable file to /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64/usr/bin installing docs to /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64/usr/share/doc/dex-autostart installing manual page to /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64/usr/share/man/man1 + rm /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64//usr/share/doc/dex-autostart/LICENSE + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.9.0-2.fc34 --unique-debug-suffix -0.9.0-2.fc34.x86_64 --unique-debug-src-base dex-autostart-0.9.0-2.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/dex-0.9.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/dex-autostart from /usr/bin/env python3 to #!/usr/bin/python3 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ElzMwU + umask 022 + cd /builddir/build/BUILD + cd dex-0.9.0 + /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64//usr/bin/dex-autostart --test -v Trying: Application._build_cmd('gvim') Expecting: ['gvim'] ok Trying: Application._build_cmd('gvim test') Expecting: ['gvim', 'test'] ok Trying: Application._build_cmd('"gvim" test') Expecting: ['gvim', 'test'] ok Trying: Application._build_cmd('"gvim test"') Expecting: ['gvim test'] ok Trying: Application._build_cmd('"gvim test" test2 "test \\" 3"') Expecting: ['gvim test', 'test2', 'test " 3'] ********************************************************************** File "/builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64//usr/bin/dex-autostart", line 389, in __main__.Application._build_cmd Failed example: Application._build_cmd('"gvim test" test2 "test \\" 3"') Exception raised: Traceback (most recent call last): File "/usr/lib64/python3.9/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "", line 1, in Application._build_cmd('"gvim test" test2 "test \\" 3"') File "/builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64//usr/bin/dex-autostart", line 501, in _build_cmd raise ApplicationExecException('Exec value contains an unbalanced number of quote characters.') ApplicationExecException: 'Exec value contains an unbalanced number of quote characters.' Trying: Application._build_cmd(r'"test \\\\ \" moin" test') Expecting: ['test \\ " moin', 'test'] ********************************************************************** File "/builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64//usr/bin/dex-autostart", line 391, in __main__.Application._build_cmd Failed example: Application._build_cmd(r'"test \\\\ \" moin" test') Exception raised: Traceback (most recent call last): File "/usr/lib64/python3.9/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "", line 1, in Application._build_cmd(r'"test \\\\ \" moin" test') File "/builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64//usr/bin/dex-autostart", line 501, in _build_cmd raise ApplicationExecException('Exec value contains an unbalanced number of quote characters.') ApplicationExecException: 'Exec value contains an unbalanced number of quote characters.' Trying: Application._build_cmd(r'"gvim \\\\ \`test\$"') Expecting: ['gvim \\ `test$'] ********************************************************************** File "/builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64//usr/bin/dex-autostart", line 393, in __main__.Application._build_cmd Failed example: Application._build_cmd(r'"gvim \\\\ \`test\$"') Expected: ['gvim \\ `test$'] Got: ['gvim \\\\ \\`test\\$'] Trying: Application._build_cmd(r'vim ~/.vimrc', True) Expecting: ['x-terminal-emulator', '-e', 'vim', '~/.vimrc'] ok Trying: Application._build_cmd('vim ~/.vimrc', False) Expecting: ['vim', '~/.vimrc'] ok Trying: Application._build_cmd("vim '~/.vimrc test'", False) Expecting: ['vim', '~/.vimrc test'] ok Trying: Application._build_cmd('vim \'~/.vimrc " test\'', False) Expecting: ['vim', '~/.vimrc " test'] ok Trying: Application._build_cmd('sh -c \'vim ~/.vimrc " test\'', False) Expecting: ['sh', '-c', 'vim ~/.vimrc " test'] ok Trying: Application._build_cmd("sh -c 'vim ~/.vimrc \" test\"'", False) Expecting: ['sh', '-c', 'vim ~/.vimrc " test"'] ok Trying: Application._build_cmd("vim %u", False) Expecting: ['vim'] ok Trying: Application._build_cmd("vim ~/.vimrc %u", False) Expecting: ['vim', '~/.vimrc'] ok Trying: Application._build_cmd("vim '%u' ~/.vimrc", False) Expecting: ['vim', '%u', '~/.vimrc'] ok Trying: Application._build_cmd("vim %u ~/.vimrc", False) Expecting: ['vim', '~/.vimrc'] ok Trying: Application._build_cmd("vim /%u/.vimrc", False) Expecting: ['vim', '//.vimrc'] ok Trying: Application._build_cmd("vim %u/.vimrc", False) Expecting: ['vim', '/.vimrc'] ok Trying: Application._build_cmd("vim %U/.vimrc", False) Expecting: ['vim', '/.vimrc'] ok Trying: Application._build_cmd("vim /%U/.vimrc", False) Expecting: ['vim', '//.vimrc'] ok Trying: Application._build_cmd("vim %U .vimrc", False) Expecting: ['vim', '.vimrc'] ok Trying: Application._build_cmd("vim \\%u ~/.vimrc", False) Expecting: ['vim', '%u', '~/.vimrc'] ok Trying: Application._build_cmd("vim %x .vimrc", False) Expecting: ['vim', '%x', '.vimrc'] ok Trying: Application._build_cmd("vim %x/.vimrc", False) Expecting: ['vim', '%x/.vimrc'] ok 59 items had no tests: __main__ __main__.Application __main__.Application.__cmp__ __main__.Application.__eq__ __main__.Application.__init__ __main__.Application.basename __main__.Application.execute __main__.ApplicationExecException __main__.ApplicationExecException.__init__ __main__.ApplicationExecException.__str__ __main__.AutostartFile __main__.AutostartFile.__init__ __main__.DesktopEntry __main__.DesktopEntry.Categories __main__.DesktopEntry.Comment __main__.DesktopEntry.Exec __main__.DesktopEntry.GenericName __main__.DesktopEntry.Hidden __main__.DesktopEntry.Icon __main__.DesktopEntry.MimeType __main__.DesktopEntry.Name __main__.DesktopEntry.NoDisplay __main__.DesktopEntry.NotShowIn __main__.DesktopEntry.OnlyShowIn __main__.DesktopEntry.Path __main__.DesktopEntry.StartupNotify __main__.DesktopEntry.StartupWMClass __main__.DesktopEntry.Terminal __main__.DesktopEntry.TryExec __main__.DesktopEntry.Type __main__.DesktopEntry.URL __main__.DesktopEntry.Version __main__.DesktopEntry.__init__ __main__.DesktopEntry.__lt__ __main__.DesktopEntry.__str__ __main__.DesktopEntry._get_value __main__.DesktopEntry.filename __main__.DesktopEntry.fromfile __main__.DesktopEntry.get_boolean __main__.DesktopEntry.get_list __main__.DesktopEntry.get_localestring __main__.DesktopEntry.get_numeric __main__.DesktopEntry.get_string __main__.DesktopEntry.get_strings __main__.DesktopEntry.load __main__.DesktopEntry.set_value __main__.DesktopEntry.write __main__.DesktopEntryTypeException __main__.DesktopEntryTypeException.__init__ __main__.DesktopEntryTypeException.__str__ __main__.EmptyAutostartFile __main__.EmptyAutostartFile.__init__ __main__._autostart __main__._create __main__._run __main__._test __main__.get_autostart_directories __main__.get_autostart_files __main__.which ********************************************************************** 1 items had failures: 3 of 25 in __main__.Application._build_cmd 25 tests in 60 items. 22 passed and 3 failed. ***Test Failed*** 3 failures. Processing files: dex-autostart-0.9.0-2.fc34.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ysHrzt + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd dex-0.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64/usr/share/licenses/dex-autostart + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64/usr/share/licenses/dex-autostart + cp -pr LICENSE /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64/usr/share/licenses/dex-autostart + RPM_EC=0 ++ jobs -p + exit 0 Provides: dex-autostart = 0.9.0-2.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64 Wrote: /builddir/build/RPMS/dex-autostart-0.9.0-2.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pkSkIJ + umask 022 + cd /builddir/build/BUILD + cd dex-0.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dex-autostart-0.9.0-2.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0