Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-ppc64le-1668272628.435831/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.pe6uzoe1:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pe6uzoe1:/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', '049b2310a62e49769aa191d336502c60', '-D', '/var/lib/mock/rhel+epel-9-ppc64le-1668272628.435831/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pe6uzoe1:/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 ppc64le --nodeps /builddir/build/SPECS/rpkg-macros.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-ppc64le-1668272628.435831/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.pe6uzoe1:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pe6uzoe1:/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', '7e9043a9dd154b8eb4ffb21373c1ddb9', '-D', '/var/lib/mock/rhel+epel-9-ppc64le-1668272628.435831/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pe6uzoe1:/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 ppc64le --nodeps /builddir/build/SPECS/rpkg-macros.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TSPFOX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-util-macros + /usr/bin/gzip -dc /builddir/build/SOURCES/rpkg-util-macros-28034317.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XY2Ozm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/lib/rpkg.macros.d + cp -ar macros.d/all.bash macros.d/git.bash macros.d/helpers macros.d/library /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j5 --strict-build-id -m -i --build-id-seed 2.0-4.el9 --unique-debug-suffix -2.0-4.el9.ppc64le --unique-debug-src-base rpkg-macros-2.0-4.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /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/pack_sources from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_submodule_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_root from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote_url from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_merged_tag_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head_short from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_branch from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PaR7Kd + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + PATH=bin/:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + tests/run ====================== test_bash ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.o8M4DsqH4O/.git/ > cat /tmp/tmp.o8M4DsqH4O/input | preproc -C /tmp/tmp.o8M4DsqH4O -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.o8M4DsqH4O' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.30l0rnDgFp/output | log_filter > /tmp/tmp.30l0rnDgFp/log > diff /tmp/tmp.c5A41O40rC/output /tmp/tmp.30l0rnDgFp/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.30l0rnDgFp/log && die; } > diff log /tmp/tmp.30l0rnDgFp/log || die success. ====================== test_committed ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.eWu84ZBngk/.git/ [master (root-commit) c33d691] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 7c83062] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 231b177] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.eWu84ZBngk/input | preproc -C /tmp/tmp.eWu84ZBngk -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eWu84ZBngk' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wcF8x2ZhyG/output | log_filter > /tmp/tmp.wcF8x2ZhyG/log > diff /tmp/tmp.iYHlbQMaNG/output /tmp/tmp.wcF8x2ZhyG/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wcF8x2ZhyG/log && die; } > diff log /tmp/tmp.wcF8x2ZhyG/log || die success. ====================== test_dirty ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.mONdEaIuin/.git/ [master (root-commit) df15c81] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.mONdEaIuin/input | preproc -C /tmp/tmp.mONdEaIuin -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mONdEaIuin' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.G6qp8UkdVl/output | log_filter > /tmp/tmp.G6qp8UkdVl/log > diff /tmp/tmp.CsNtcmqTeW/output /tmp/tmp.G6qp8UkdVl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.G6qp8UkdVl/log && die; } > diff log /tmp/tmp.G6qp8UkdVl/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.00XIiUcsYa/input | preproc -C /tmp/tmp.00XIiUcsYa -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.00XIiUcsYa' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RPfhDs8uC4/output | log_filter > /tmp/tmp.RPfhDs8uC4/log > diff /tmp/tmp.zar2OLAPJP/output /tmp/tmp.RPfhDs8uC4/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RPfhDs8uC4/log && die; } > diff log /tmp/tmp.RPfhDs8uC4/log || die success. ====================== test_fn_git_prefix ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.c9rBkj4lHd/.git/ [master (root-commit) 543d488] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.c9rBkj4lHd/submodule'... done. [master 131d9cb] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.c9rBkj4lHd/input | preproc -C /tmp/tmp.c9rBkj4lHd -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.c9rBkj4lHd' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RYnJSG2nXt/output | log_filter > /tmp/tmp.RYnJSG2nXt/log > diff /tmp/tmp.pGgRXEjHTL/output /tmp/tmp.RYnJSG2nXt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RYnJSG2nXt/log && die; } > diff log /tmp/tmp.RYnJSG2nXt/log || die success. ====================== test_fn_is_physical_subpath ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.weeutbi0Ah/.git/ > cat /tmp/tmp.weeutbi0Ah/input | preproc -C /tmp/tmp.weeutbi0Ah -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.weeutbi0Ah' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jVTMs1VEAM/output | log_filter > /tmp/tmp.jVTMs1VEAM/log > diff /tmp/tmp.kCxfXBSyvk/output /tmp/tmp.jVTMs1VEAM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jVTMs1VEAM/log && die; } > diff log /tmp/tmp.jVTMs1VEAM/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.9TiEbItwnm/.git/ > cat /tmp/tmp.9TiEbItwnm/input | preproc -C /tmp/tmp.9TiEbItwnm -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9TiEbItwnm' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mDOBg1qT2S/output | log_filter > /tmp/tmp.mDOBg1qT2S/log > diff /tmp/tmp.qeQcBCsEMA/output /tmp/tmp.mDOBg1qT2S/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.mDOBg1qT2S/log && die; } > diff log /tmp/tmp.mDOBg1qT2S/log || die success. ====================== test_fn_version_dirty_appendix ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.QvBCyBgeYE/.git/ [master (root-commit) f5b6ffb] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.QvBCyBgeYE/input | preproc -C /tmp/tmp.QvBCyBgeYE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.QvBCyBgeYE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.X8PZ5pcRIO/output | log_filter > /tmp/tmp.X8PZ5pcRIO/log > diff /tmp/tmp.W55v8UC1CX/output_clean /tmp/tmp.X8PZ5pcRIO/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.X8PZ5pcRIO/log && die; } > diff log /tmp/tmp.X8PZ5pcRIO/log || die success. > cat /tmp/tmp.QvBCyBgeYE/input | preproc -C /tmp/tmp.QvBCyBgeYE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.QvBCyBgeYE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.X8PZ5pcRIO/output | log_filter > /tmp/tmp.X8PZ5pcRIO/log > diff /tmp/tmp.W55v8UC1CX/output_dirty /tmp/tmp.X8PZ5pcRIO/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.X8PZ5pcRIO/log && die; } > diff log /tmp/tmp.X8PZ5pcRIO/log || die success. Updated 1 path from the index > cat /tmp/tmp.QvBCyBgeYE/input | preproc -C /tmp/tmp.QvBCyBgeYE -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.QvBCyBgeYE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.X8PZ5pcRIO/output | log_filter > /tmp/tmp.X8PZ5pcRIO/log > diff /tmp/tmp.W55v8UC1CX/output_dirty_manual /tmp/tmp.X8PZ5pcRIO/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.X8PZ5pcRIO/log && die; } > diff log /tmp/tmp.X8PZ5pcRIO/log || die success. ====================== test_inited ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.s0u7VJLpQW/.git/ > cat /tmp/tmp.s0u7VJLpQW/input | preproc -C /tmp/tmp.s0u7VJLpQW -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.s0u7VJLpQW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.WG9EHRlnCV/output | log_filter > /tmp/tmp.WG9EHRlnCV/log > diff /tmp/tmp.2vatW4lVLd/output /tmp/tmp.WG9EHRlnCV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.WG9EHRlnCV/log && die; } > diff log /tmp/tmp.WG9EHRlnCV/log || die success. ====================== test_inited_origin_set ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.6drYEdTEzi/.git/ > cat /tmp/tmp.6drYEdTEzi/input | preproc -C /tmp/tmp.6drYEdTEzi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.6drYEdTEzi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.GcqlPdQ7WI/output | log_filter > /tmp/tmp.GcqlPdQ7WI/log > diff /tmp/tmp.kl1r4v1jPl/output /tmp/tmp.GcqlPdQ7WI/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.GcqlPdQ7WI/log && die; } > diff log /tmp/tmp.GcqlPdQ7WI/log || die success. ====================== test_sources ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.S3JcfEMgKK/.git/ > cat /tmp/tmp.S3JcfEMgKK/input | preproc -C /tmp/tmp.S3JcfEMgKK -e OUTDIR=/tmp/tmp.kMnnB0vhZ8 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.S3JcfEMgKK' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kMnnB0vhZ8/output | log_filter > /tmp/tmp.kMnnB0vhZ8/log > diff /tmp/tmp.7bKC24Yp1e/output /tmp/tmp.kMnnB0vhZ8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.kMnnB0vhZ8/log && die; } > diff log /tmp/tmp.kMnnB0vhZ8/log || die > custom_test > tar -C /tmp/tmp.kMnnB0vhZ8 -xf /tmp/tmp.kMnnB0vhZ8/foo.tar.gz || die > diff /tmp/tmp.kMnnB0vhZ8/foo/cookie /tmp/tmp.S3JcfEMgKK/cookie || die > ls /tmp/tmp.kMnnB0vhZ8/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.kMnnB0vhZ8/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.nDbfG5vgHS/.git/ [master (root-commit) cf458a0] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.nDbfG5vgHS/input | preproc -C /tmp/tmp.nDbfG5vgHS -e OUTDIR=/tmp/tmp.nLP2dA3Nqg -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nDbfG5vgHS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nLP2dA3Nqg/output | log_filter > /tmp/tmp.nLP2dA3Nqg/log > diff /tmp/tmp.ag34b8ECmw/output /tmp/tmp.nLP2dA3Nqg/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.nLP2dA3Nqg/log && die; } > diff log /tmp/tmp.nLP2dA3Nqg/log || die > custom_test > tar -C /tmp/tmp.nLP2dA3Nqg -xf /tmp/tmp.nLP2dA3Nqg/foo.tar.gz || die > diff /tmp/tmp.nLP2dA3Nqg/foo/cookie /tmp/tmp.nDbfG5vgHS/cookie || die > [ 'cf458a05669feae6b57ee1b9f3318c914a5e3252' = 'cf458a05669feae6b57ee1b9f3318c914a5e3252' ] || die > tar -C /tmp/tmp.nLP2dA3Nqg -xf /tmp/tmp.nLP2dA3Nqg/bar.tar.gz || die > diff /tmp/tmp.nLP2dA3Nqg/bar/cookie /tmp/tmp.nDbfG5vgHS/cookie || die > [ 'cf458a05669feae6b57ee1b9f3318c914a5e3252' = 'cf458a05669feae6b57ee1b9f3318c914a5e3252' ] || die success. > cat /tmp/tmp.nDbfG5vgHS/input | preproc -C /tmp/tmp.nDbfG5vgHS -e OUTDIR=/tmp/tmp.nLP2dA3Nqg -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nDbfG5vgHS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nLP2dA3Nqg/output | log_filter > /tmp/tmp.nLP2dA3Nqg/log > test_nonempty_git_status > tar -C /tmp/tmp.nLP2dA3Nqg -xf /tmp/tmp.nLP2dA3Nqg/foo.tar.gz || die > diff /tmp/tmp.nLP2dA3Nqg/foo/cookie /tmp/tmp.nDbfG5vgHS/cookie || die > [ 'cf458a05669feae6b57ee1b9f3318c914a5e3252' = '' ] && die > tar -C /tmp/tmp.nLP2dA3Nqg -xf /tmp/tmp.nLP2dA3Nqg/bar.tar.gz || die > diff /tmp/tmp.nLP2dA3Nqg/bar/cookie /tmp/tmp.nDbfG5vgHS/cookie || die > [ 'cf458a05669feae6b57ee1b9f3318c914a5e3252' = 'cf458a05669feae6b57ee1b9f3318c914a5e3252' ] || die success. > cat /tmp/tmp.nDbfG5vgHS/input | preproc -C /tmp/tmp.nDbfG5vgHS -e OUTDIR=/tmp/tmp.nLP2dA3Nqg -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nDbfG5vgHS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nLP2dA3Nqg/output | log_filter > /tmp/tmp.nLP2dA3Nqg/log > test_invalid_git_head > [ -f '/tmp/tmp.nLP2dA3Nqg/foo.tar.gz' ] && die > [ -f '/tmp/tmp.nLP2dA3Nqg/bar.tar.gz' ] && die success. > cat /tmp/tmp.nDbfG5vgHS/input | preproc -C /tmp/tmp.nDbfG5vgHS -e OUTDIR=/tmp/tmp.nLP2dA3Nqg -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nDbfG5vgHS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nLP2dA3Nqg/output | log_filter > /tmp/tmp.nLP2dA3Nqg/log > test_empty_git_head > tar -C /tmp/tmp.nLP2dA3Nqg -xf /tmp/tmp.nLP2dA3Nqg/foo.tar.gz || die > diff /tmp/tmp.nLP2dA3Nqg/foo/cookie /tmp/tmp.nDbfG5vgHS/cookie || die > [ 'cf458a05669feae6b57ee1b9f3318c914a5e3252' = '' ] && die > [ -f '/tmp/tmp.nLP2dA3Nqg/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.w8n8UK4OL1/.git/ [master (root-commit) 8f9a0cd] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.w8n8UK4OL1/input | preproc -C /tmp/tmp.w8n8UK4OL1 -e OUTDIR=/tmp/tmp.Pn76EKtCPa -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.w8n8UK4OL1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Pn76EKtCPa/output | log_filter > /tmp/tmp.Pn76EKtCPa/log > diff /tmp/tmp.eCtJVsvpzg/output /tmp/tmp.Pn76EKtCPa/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Pn76EKtCPa/log && die; } > diff log /tmp/tmp.Pn76EKtCPa/log || die > custom_test > tar -C /tmp/tmp.Pn76EKtCPa -xf /tmp/tmp.Pn76EKtCPa/foo.tar.gz || die > diff /tmp/tmp.Pn76EKtCPa/foo/cookie /tmp/tmp.w8n8UK4OL1/cookie || die > [ '8f9a0cd912b39a4a5721a8444a7a42bac00ce814' = '' ] && die > tar -C /tmp/tmp.Pn76EKtCPa -xf /tmp/tmp.Pn76EKtCPa/bar.tar.gz || die > diff /tmp/tmp.Pn76EKtCPa/bar/cookie /tmp/tmp.w8n8UK4OL1/cookie >/dev/null && die > [ '8f9a0cd912b39a4a5721a8444a7a42bac00ce814' = '8f9a0cd912b39a4a5721a8444a7a42bac00ce814' ] || die success. ====================== test_sources_subdir ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.HnQCK665RL/.git/ [master (root-commit) 79f6aba] commit 1 5 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 bar/cookie create mode 100644 bar/input create mode 100644 baz/cookie create mode 100644 foo/cookie > cat /tmp/tmp.HnQCK665RL/bar/input | preproc -C /tmp/tmp.HnQCK665RL/foo -e OUTDIR=/tmp/tmp.aw9t8SrKDx -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HnQCK665RL/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.aw9t8SrKDx/output | log_filter > /tmp/tmp.aw9t8SrKDx/log > diff /tmp/tmp.peEK7Wi7hw/output /tmp/tmp.aw9t8SrKDx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.aw9t8SrKDx/log && die; } > diff log /tmp/tmp.aw9t8SrKDx/log || die > custom_test > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/test-bar/cookie /tmp/tmp.HnQCK665RL/bar/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/test-bar/cookie /tmp/tmp.HnQCK665RL/bar/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/dir_pack_foo.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/foo/cookie /tmp/tmp.HnQCK665RL/bar/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/dir_archive_bar.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/bar/cookie /tmp/tmp.HnQCK665RL/bar/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/test-foo/cookie /tmp/tmp.HnQCK665RL/foo/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/test-foo/cookie /tmp/tmp.HnQCK665RL/foo/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/foo/cookie /tmp/tmp.HnQCK665RL/foo/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/bar/cookie /tmp/tmp.HnQCK665RL/foo/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/test-baz/cookie /tmp/tmp.HnQCK665RL/baz/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/test-baz/cookie /tmp/tmp.HnQCK665RL/baz/cookie || die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/baz_pack_foo.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/foo/cookie /tmp/tmp.HnQCK665RL/baz/cookie || die > ls /tmp/tmp.aw9t8SrKDx/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.aw9t8SrKDx/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.aw9t8SrKDx -xf /tmp/tmp.aw9t8SrKDx/baz_archive_bar.tar.gz || die > diff /tmp/tmp.aw9t8SrKDx/bar/cookie /tmp/tmp.HnQCK665RL/baz/cookie || die > ls /tmp/tmp.aw9t8SrKDx/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.aw9t8SrKDx/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.trHw43WO4V/.git/ > cat /tmp/tmp.trHw43WO4V/bar/input | preproc -C /tmp/tmp.trHw43WO4V/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.trHw43WO4V/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3bowFCHYAc/output | log_filter > /tmp/tmp.3bowFCHYAc/log > diff /tmp/tmp.8yznU66DQm/output /tmp/tmp.3bowFCHYAc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.3bowFCHYAc/log && die; } > diff log /tmp/tmp.3bowFCHYAc/log || die success. ====================== test_submodule ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.dUKdPjEX8S/.git/ [master (root-commit) f2d2a6b] initial commit 4 files changed, 26 insertions(+) create mode 100644 input create mode 100644 input_cwd create mode 100644 input_dir create mode 100644 subdir/file Cloning into '/tmp/tmp.dUKdPjEX8S/submodule'... done. [master cb9f270] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.dUKdPjEX8S/input | preproc -C /tmp/tmp.dUKdPjEX8S -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.dUKdPjEX8S' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JxfTzmPsR0/output | log_filter > /tmp/tmp.JxfTzmPsR0/log > diff /tmp/tmp.KxIb2rtFwl/output /tmp/tmp.JxfTzmPsR0/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JxfTzmPsR0/log && die; } > diff log /tmp/tmp.JxfTzmPsR0/log || die success. > cat /tmp/tmp.dUKdPjEX8S/submodule/input_dir | preproc -C /tmp/tmp.dUKdPjEX8S -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.dUKdPjEX8S/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JxfTzmPsR0/output | log_filter > /tmp/tmp.JxfTzmPsR0/log > diff /tmp/tmp.KxIb2rtFwl/output_dir /tmp/tmp.JxfTzmPsR0/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.JxfTzmPsR0/log && die; } > diff log_dir /tmp/tmp.JxfTzmPsR0/log || die success. > cat /tmp/tmp.dUKdPjEX8S/submodule/input_cwd | preproc -C /tmp/tmp.dUKdPjEX8S/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.dUKdPjEX8S/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JxfTzmPsR0/output | log_filter > /tmp/tmp.JxfTzmPsR0/log > diff /tmp/tmp.KxIb2rtFwl/output_cwd /tmp/tmp.JxfTzmPsR0/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.JxfTzmPsR0/log && die; } > diff log_cwd /tmp/tmp.JxfTzmPsR0/log || die success. ====================== test_submodule_sources ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.BsscCtuVOY/.git/ [master (root-commit) a5288e5] initial commit 3 files changed, 7 insertions(+) create mode 100644 input_archive create mode 100644 input_pack create mode 100644 subdir/cookie Cloning into '/tmp/tmp.BsscCtuVOY/submodule'... done. [master dfc913a] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.BsscCtuVOY/input_archive | preproc -C /tmp/tmp.BsscCtuVOY -e OUTDIR=/tmp/tmp.i13O6PO4A2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BsscCtuVOY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i13O6PO4A2/output | log_filter > /tmp/tmp.i13O6PO4A2/log > custom_test_archive_clean > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-dfc913ab.tar.gz || die > [ -d /tmp/tmp.i13O6PO4A2/test/submodule/subdir ] && die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-subdir-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.BsscCtuVOY/input_pack | preproc -C /tmp/tmp.BsscCtuVOY -e OUTDIR=/tmp/tmp.i13O6PO4A2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BsscCtuVOY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i13O6PO4A2/output | log_filter > /tmp/tmp.i13O6PO4A2/log > custom_test_pack_clean > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test/submodule/subdir ] && die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-subdir-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie | grep -q 0 || die success. [master 852652f] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.BsscCtuVOY/input_archive | preproc -C /tmp/tmp.BsscCtuVOY -e OUTDIR=/tmp/tmp.i13O6PO4A2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BsscCtuVOY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i13O6PO4A2/output | log_filter > /tmp/tmp.i13O6PO4A2/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-dfc913ab.tar.gz || die > [ -d /tmp/tmp.i13O6PO4A2/test/submodule/subdir ] && die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-subdir-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.BsscCtuVOY/input_pack | preproc -C /tmp/tmp.BsscCtuVOY -e OUTDIR=/tmp/tmp.i13O6PO4A2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BsscCtuVOY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i13O6PO4A2/output | log_filter > /tmp/tmp.i13O6PO4A2/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-dfc913ab-dirty.tar.gz || die > [ -d /tmp/tmp.i13O6PO4A2/test/submodule/subdir ] && die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-dfc913ab-dirty.tar.gz || die > cat /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-subdir-dfc913ab.tar.gz || die > cat /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.BsscCtuVOY/input_archive | preproc -C /tmp/tmp.BsscCtuVOY -e OUTDIR=/tmp/tmp.i13O6PO4A2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BsscCtuVOY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i13O6PO4A2/output | log_filter > /tmp/tmp.i13O6PO4A2/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-dfc913ab.tar.gz || die > [ -d /tmp/tmp.i13O6PO4A2/test/submodule/subdir ] && die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-subdir-dfc913ab.tar.gz || die > [ -f /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.BsscCtuVOY/input_pack | preproc -C /tmp/tmp.BsscCtuVOY -e OUTDIR=/tmp/tmp.i13O6PO4A2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BsscCtuVOY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i13O6PO4A2/output | log_filter > /tmp/tmp.i13O6PO4A2/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-dfc913ab-dirty.tar.gz || die > [ -d /tmp/tmp.i13O6PO4A2/test/submodule/subdir ] && die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-dfc913ab-dirty.tar.gz || die > cat /tmp/tmp.i13O6PO4A2/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.i13O6PO4A2 -xf /tmp/tmp.i13O6PO4A2/test-submodule-subdir-dfc913ab.tar.gz || die > cat /tmp/tmp.i13O6PO4A2/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.tmuOYDOKkO/.git/ [master (root-commit) c74462c] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input Switched to a new branch 'side_branch' [side_branch 5829247] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.tmuOYDOKkO/input | preproc -C /tmp/tmp.tmuOYDOKkO -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.tmuOYDOKkO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.iFz1nfNj0W/output | log_filter > /tmp/tmp.iFz1nfNj0W/log > diff /tmp/tmp.Pi0DANYFrQ/output /tmp/tmp.iFz1nfNj0W/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.iFz1nfNj0W/log && die; } > diff log /tmp/tmp.iFz1nfNj0W/log || die success. ====================== test_tagged_committed ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.ItTqT0OtVG/.git/ [master (root-commit) ddac00a] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 7b68c4d] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.ItTqT0OtVG/input | preproc -C /tmp/tmp.ItTqT0OtVG -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ItTqT0OtVG' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.L51GsnnwrS/output | log_filter > /tmp/tmp.L51GsnnwrS/log > diff /tmp/tmp.4Vxe7p1oMF/output /tmp/tmp.L51GsnnwrS/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.L51GsnnwrS/log && die; } > diff log /tmp/tmp.L51GsnnwrS/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.iHW7H4iJnN/input | preproc -C /tmp/tmp.iHW7H4iJnN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.iHW7H4iJnN' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.EysvHkIUbl/output | log_filter > /tmp/tmp.EysvHkIUbl/log > diff /tmp/tmp.tsGkPdyqVI/output /tmp/tmp.EysvHkIUbl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.EysvHkIUbl/log && die; } > diff log /tmp/tmp.EysvHkIUbl/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-4.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ywpJIj + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/share/licenses/rpkg-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le Wrote: /builddir/build/RPMS/rpkg-macros-2.0-4.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.q4yRkY + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0