Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1668272628.885631/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.c564pale:/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.c564pale:/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', 'b3e78a1a36d14166816ff69957f4c3aa', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1668272628.885631/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c564pale:/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1668272628.885631/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.c564pale:/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.c564pale:/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', 'b2ac00436852478bb73e7fbaa79c469b', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1668272628.885631/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c564pale:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LdhUMF + 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.H5YKeW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64/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.aarch64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.0-4.el9 --unique-debug-suffix -2.0-4.el9.aarch64 --unique-debug-src-base rpkg-macros-2.0-4.el9.aarch64 --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.x3MHlf + 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.DSCOpDE2YX/.git/ > cat /tmp/tmp.DSCOpDE2YX/input | preproc -C /tmp/tmp.DSCOpDE2YX -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DSCOpDE2YX' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ToluW2bRqG/output | log_filter > /tmp/tmp.ToluW2bRqG/log > diff /tmp/tmp.DqptihLCfT/output /tmp/tmp.ToluW2bRqG/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ToluW2bRqG/log && die; } > diff log /tmp/tmp.ToluW2bRqG/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.vUwNU660QC/.git/ [master (root-commit) b8175c3] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 7d955f4] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 084530b] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.vUwNU660QC/input | preproc -C /tmp/tmp.vUwNU660QC -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.vUwNU660QC' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yMltBpIGtm/output | log_filter > /tmp/tmp.yMltBpIGtm/log > diff /tmp/tmp.DK2NGLyRfE/output /tmp/tmp.yMltBpIGtm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.yMltBpIGtm/log && die; } > diff log /tmp/tmp.yMltBpIGtm/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.ffACX1tbou/.git/ [master (root-commit) cd141a2] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.ffACX1tbou/input | preproc -C /tmp/tmp.ffACX1tbou -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ffACX1tbou' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.gCnhI6SMk1/output | log_filter > /tmp/tmp.gCnhI6SMk1/log > diff /tmp/tmp.AopTvUOTgD/output /tmp/tmp.gCnhI6SMk1/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.gCnhI6SMk1/log && die; } > diff log /tmp/tmp.gCnhI6SMk1/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.y5P8OVXb3O/input | preproc -C /tmp/tmp.y5P8OVXb3O -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.y5P8OVXb3O' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VLbA5E9MZt/output | log_filter > /tmp/tmp.VLbA5E9MZt/log > diff /tmp/tmp.FyB6BvDrBQ/output /tmp/tmp.VLbA5E9MZt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VLbA5E9MZt/log && die; } > diff log /tmp/tmp.VLbA5E9MZt/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.MNJxpwrKs3/.git/ [master (root-commit) 70f9892] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.MNJxpwrKs3/submodule'... done. [master c13bab7] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.MNJxpwrKs3/input | preproc -C /tmp/tmp.MNJxpwrKs3 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.MNJxpwrKs3' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.YIlhOc9uRc/output | log_filter > /tmp/tmp.YIlhOc9uRc/log > diff /tmp/tmp.45R8N6roi4/output /tmp/tmp.YIlhOc9uRc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.YIlhOc9uRc/log && die; } > diff log /tmp/tmp.YIlhOc9uRc/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.h8hQhFzvkK/.git/ > cat /tmp/tmp.h8hQhFzvkK/input | preproc -C /tmp/tmp.h8hQhFzvkK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.h8hQhFzvkK' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VVVH5hnQRs/output | log_filter > /tmp/tmp.VVVH5hnQRs/log > diff /tmp/tmp.ur8qqpBL2v/output /tmp/tmp.VVVH5hnQRs/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VVVH5hnQRs/log && die; } > diff log /tmp/tmp.VVVH5hnQRs/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.tAowPWoujL/.git/ > cat /tmp/tmp.tAowPWoujL/input | preproc -C /tmp/tmp.tAowPWoujL -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.tAowPWoujL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZxCt61JK13/output | log_filter > /tmp/tmp.ZxCt61JK13/log > diff /tmp/tmp.s3ckPFUZwS/output /tmp/tmp.ZxCt61JK13/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ZxCt61JK13/log && die; } > diff log /tmp/tmp.ZxCt61JK13/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.69M92gxgch/.git/ [master (root-commit) a70347c] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.69M92gxgch/input | preproc -C /tmp/tmp.69M92gxgch -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.69M92gxgch' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0GBpD6wEfd/output | log_filter > /tmp/tmp.0GBpD6wEfd/log > diff /tmp/tmp.6iTgh0004t/output_clean /tmp/tmp.0GBpD6wEfd/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0GBpD6wEfd/log && die; } > diff log /tmp/tmp.0GBpD6wEfd/log || die success. > cat /tmp/tmp.69M92gxgch/input | preproc -C /tmp/tmp.69M92gxgch -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.69M92gxgch' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0GBpD6wEfd/output | log_filter > /tmp/tmp.0GBpD6wEfd/log > diff /tmp/tmp.6iTgh0004t/output_dirty /tmp/tmp.0GBpD6wEfd/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0GBpD6wEfd/log && die; } > diff log /tmp/tmp.0GBpD6wEfd/log || die success. Updated 1 path from the index > cat /tmp/tmp.69M92gxgch/input | preproc -C /tmp/tmp.69M92gxgch -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.69M92gxgch' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0GBpD6wEfd/output | log_filter > /tmp/tmp.0GBpD6wEfd/log > diff /tmp/tmp.6iTgh0004t/output_dirty_manual /tmp/tmp.0GBpD6wEfd/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0GBpD6wEfd/log && die; } > diff log /tmp/tmp.0GBpD6wEfd/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.ki8KwYKWXv/.git/ > cat /tmp/tmp.ki8KwYKWXv/input | preproc -C /tmp/tmp.ki8KwYKWXv -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ki8KwYKWXv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QC8Z8iQ6W3/output | log_filter > /tmp/tmp.QC8Z8iQ6W3/log > diff /tmp/tmp.V2WAo7tEUr/output /tmp/tmp.QC8Z8iQ6W3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QC8Z8iQ6W3/log && die; } > diff log /tmp/tmp.QC8Z8iQ6W3/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.O6mTcgornw/.git/ > cat /tmp/tmp.O6mTcgornw/input | preproc -C /tmp/tmp.O6mTcgornw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.O6mTcgornw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.937Punhddt/output | log_filter > /tmp/tmp.937Punhddt/log > diff /tmp/tmp.N3ZDPeu42Y/output /tmp/tmp.937Punhddt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.937Punhddt/log && die; } > diff log /tmp/tmp.937Punhddt/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.kSGjTB5o3h/.git/ > cat /tmp/tmp.kSGjTB5o3h/input | preproc -C /tmp/tmp.kSGjTB5o3h -e OUTDIR=/tmp/tmp.naS1HfngiJ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kSGjTB5o3h' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.naS1HfngiJ/output | log_filter > /tmp/tmp.naS1HfngiJ/log > diff /tmp/tmp.f8DH1yLnu1/output /tmp/tmp.naS1HfngiJ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.naS1HfngiJ/log && die; } > diff log /tmp/tmp.naS1HfngiJ/log || die > custom_test > tar -C /tmp/tmp.naS1HfngiJ -xf /tmp/tmp.naS1HfngiJ/foo.tar.gz || die > diff /tmp/tmp.naS1HfngiJ/foo/cookie /tmp/tmp.kSGjTB5o3h/cookie || die > ls /tmp/tmp.naS1HfngiJ/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.naS1HfngiJ/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.BYSOTP28Gy/.git/ [master (root-commit) 0ae64d0] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.BYSOTP28Gy/input | preproc -C /tmp/tmp.BYSOTP28Gy -e OUTDIR=/tmp/tmp.YQ336sLkVW -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BYSOTP28Gy' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.YQ336sLkVW/output | log_filter > /tmp/tmp.YQ336sLkVW/log > diff /tmp/tmp.6pV9LZ9gOW/output /tmp/tmp.YQ336sLkVW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.YQ336sLkVW/log && die; } > diff log /tmp/tmp.YQ336sLkVW/log || die > custom_test > tar -C /tmp/tmp.YQ336sLkVW -xf /tmp/tmp.YQ336sLkVW/foo.tar.gz || die > diff /tmp/tmp.YQ336sLkVW/foo/cookie /tmp/tmp.BYSOTP28Gy/cookie || die > [ '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' = '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' ] || die > tar -C /tmp/tmp.YQ336sLkVW -xf /tmp/tmp.YQ336sLkVW/bar.tar.gz || die > diff /tmp/tmp.YQ336sLkVW/bar/cookie /tmp/tmp.BYSOTP28Gy/cookie || die > [ '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' = '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' ] || die success. > cat /tmp/tmp.BYSOTP28Gy/input | preproc -C /tmp/tmp.BYSOTP28Gy -e OUTDIR=/tmp/tmp.YQ336sLkVW -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BYSOTP28Gy' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.YQ336sLkVW/output | log_filter > /tmp/tmp.YQ336sLkVW/log > test_nonempty_git_status > tar -C /tmp/tmp.YQ336sLkVW -xf /tmp/tmp.YQ336sLkVW/foo.tar.gz || die > diff /tmp/tmp.YQ336sLkVW/foo/cookie /tmp/tmp.BYSOTP28Gy/cookie || die > [ '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' = '' ] && die > tar -C /tmp/tmp.YQ336sLkVW -xf /tmp/tmp.YQ336sLkVW/bar.tar.gz || die > diff /tmp/tmp.YQ336sLkVW/bar/cookie /tmp/tmp.BYSOTP28Gy/cookie || die > [ '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' = '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' ] || die success. > cat /tmp/tmp.BYSOTP28Gy/input | preproc -C /tmp/tmp.BYSOTP28Gy -e OUTDIR=/tmp/tmp.YQ336sLkVW -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BYSOTP28Gy' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.YQ336sLkVW/output | log_filter > /tmp/tmp.YQ336sLkVW/log > test_invalid_git_head > [ -f '/tmp/tmp.YQ336sLkVW/foo.tar.gz' ] && die > [ -f '/tmp/tmp.YQ336sLkVW/bar.tar.gz' ] && die success. > cat /tmp/tmp.BYSOTP28Gy/input | preproc -C /tmp/tmp.BYSOTP28Gy -e OUTDIR=/tmp/tmp.YQ336sLkVW -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BYSOTP28Gy' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.YQ336sLkVW/output | log_filter > /tmp/tmp.YQ336sLkVW/log > test_empty_git_head > tar -C /tmp/tmp.YQ336sLkVW -xf /tmp/tmp.YQ336sLkVW/foo.tar.gz || die > diff /tmp/tmp.YQ336sLkVW/foo/cookie /tmp/tmp.BYSOTP28Gy/cookie || die > [ '0ae64d03a7b504ef3e77ea8dbfbffa9ef1fa590c' = '' ] && die > [ -f '/tmp/tmp.YQ336sLkVW/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.PtZ7Xso7cX/.git/ [master (root-commit) c4ae88e] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.PtZ7Xso7cX/input | preproc -C /tmp/tmp.PtZ7Xso7cX -e OUTDIR=/tmp/tmp.WbUPcNaxed -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PtZ7Xso7cX' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.WbUPcNaxed/output | log_filter > /tmp/tmp.WbUPcNaxed/log > diff /tmp/tmp.pZCdKonfoS/output /tmp/tmp.WbUPcNaxed/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.WbUPcNaxed/log && die; } > diff log /tmp/tmp.WbUPcNaxed/log || die > custom_test > tar -C /tmp/tmp.WbUPcNaxed -xf /tmp/tmp.WbUPcNaxed/foo.tar.gz || die > diff /tmp/tmp.WbUPcNaxed/foo/cookie /tmp/tmp.PtZ7Xso7cX/cookie || die > [ 'c4ae88e2418b5286f0f079bdf2cc672eba70b449' = '' ] && die > tar -C /tmp/tmp.WbUPcNaxed -xf /tmp/tmp.WbUPcNaxed/bar.tar.gz || die > diff /tmp/tmp.WbUPcNaxed/bar/cookie /tmp/tmp.PtZ7Xso7cX/cookie >/dev/null && die > [ 'c4ae88e2418b5286f0f079bdf2cc672eba70b449' = 'c4ae88e2418b5286f0f079bdf2cc672eba70b449' ] || 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.YrQVoicr9i/.git/ [master (root-commit) 23373cd] 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.YrQVoicr9i/bar/input | preproc -C /tmp/tmp.YrQVoicr9i/foo -e OUTDIR=/tmp/tmp.FJawZqb9bV -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YrQVoicr9i/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FJawZqb9bV/output | log_filter > /tmp/tmp.FJawZqb9bV/log > diff /tmp/tmp.rHsCYEQyQz/output /tmp/tmp.FJawZqb9bV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FJawZqb9bV/log && die; } > diff log /tmp/tmp.FJawZqb9bV/log || die > custom_test > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/test-bar/cookie /tmp/tmp.YrQVoicr9i/bar/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/test-bar/cookie /tmp/tmp.YrQVoicr9i/bar/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/dir_pack_foo.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/foo/cookie /tmp/tmp.YrQVoicr9i/bar/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/dir_archive_bar.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/bar/cookie /tmp/tmp.YrQVoicr9i/bar/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/test-foo/cookie /tmp/tmp.YrQVoicr9i/foo/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/test-foo/cookie /tmp/tmp.YrQVoicr9i/foo/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/foo/cookie /tmp/tmp.YrQVoicr9i/foo/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/bar/cookie /tmp/tmp.YrQVoicr9i/foo/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/test-baz/cookie /tmp/tmp.YrQVoicr9i/baz/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/test-baz/cookie /tmp/tmp.YrQVoicr9i/baz/cookie || die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/baz_pack_foo.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/foo/cookie /tmp/tmp.YrQVoicr9i/baz/cookie || die > ls /tmp/tmp.FJawZqb9bV/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.FJawZqb9bV/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.FJawZqb9bV -xf /tmp/tmp.FJawZqb9bV/baz_archive_bar.tar.gz || die > diff /tmp/tmp.FJawZqb9bV/bar/cookie /tmp/tmp.YrQVoicr9i/baz/cookie || die > ls /tmp/tmp.FJawZqb9bV/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.FJawZqb9bV/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.Agg2YMqOv5/.git/ > cat /tmp/tmp.Agg2YMqOv5/bar/input | preproc -C /tmp/tmp.Agg2YMqOv5/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Agg2YMqOv5/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JkfGVbc5YM/output | log_filter > /tmp/tmp.JkfGVbc5YM/log > diff /tmp/tmp.zMmNjlW2Ub/output /tmp/tmp.JkfGVbc5YM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JkfGVbc5YM/log && die; } > diff log /tmp/tmp.JkfGVbc5YM/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.Pov7dhqr7y/.git/ [master (root-commit) cb4e47e] 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.Pov7dhqr7y/submodule'... done. [master 6377c01] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.Pov7dhqr7y/input | preproc -C /tmp/tmp.Pov7dhqr7y -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Pov7dhqr7y' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4J179ukSGR/output | log_filter > /tmp/tmp.4J179ukSGR/log > diff /tmp/tmp.Hzzs79GE7t/output /tmp/tmp.4J179ukSGR/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4J179ukSGR/log && die; } > diff log /tmp/tmp.4J179ukSGR/log || die success. > cat /tmp/tmp.Pov7dhqr7y/submodule/input_dir | preproc -C /tmp/tmp.Pov7dhqr7y -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Pov7dhqr7y/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4J179ukSGR/output | log_filter > /tmp/tmp.4J179ukSGR/log > diff /tmp/tmp.Hzzs79GE7t/output_dir /tmp/tmp.4J179ukSGR/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.4J179ukSGR/log && die; } > diff log_dir /tmp/tmp.4J179ukSGR/log || die success. > cat /tmp/tmp.Pov7dhqr7y/submodule/input_cwd | preproc -C /tmp/tmp.Pov7dhqr7y/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Pov7dhqr7y/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4J179ukSGR/output | log_filter > /tmp/tmp.4J179ukSGR/log > diff /tmp/tmp.Hzzs79GE7t/output_cwd /tmp/tmp.4J179ukSGR/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.4J179ukSGR/log && die; } > diff log_cwd /tmp/tmp.4J179ukSGR/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.5DhqAUGWza/.git/ [master (root-commit) 271f475] 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.5DhqAUGWza/submodule'... done. [master bceeeca] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.5DhqAUGWza/input_archive | preproc -C /tmp/tmp.5DhqAUGWza -e OUTDIR=/tmp/tmp.di05d00jVz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5DhqAUGWza' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.di05d00jVz/output | log_filter > /tmp/tmp.di05d00jVz/log > custom_test_archive_clean > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-bceeecae.tar.gz || die > [ -d /tmp/tmp.di05d00jVz/test/submodule/subdir ] && die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-subdir-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.5DhqAUGWza/input_pack | preproc -C /tmp/tmp.5DhqAUGWza -e OUTDIR=/tmp/tmp.di05d00jVz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5DhqAUGWza' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.di05d00jVz/output | log_filter > /tmp/tmp.di05d00jVz/log > custom_test_pack_clean > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test/submodule/subdir ] && die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-subdir-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie | grep -q 0 || die success. [master b0fa200] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.5DhqAUGWza/input_archive | preproc -C /tmp/tmp.5DhqAUGWza -e OUTDIR=/tmp/tmp.di05d00jVz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5DhqAUGWza' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.di05d00jVz/output | log_filter > /tmp/tmp.di05d00jVz/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-bceeecae.tar.gz || die > [ -d /tmp/tmp.di05d00jVz/test/submodule/subdir ] && die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-subdir-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.5DhqAUGWza/input_pack | preproc -C /tmp/tmp.5DhqAUGWza -e OUTDIR=/tmp/tmp.di05d00jVz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5DhqAUGWza' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.di05d00jVz/output | log_filter > /tmp/tmp.di05d00jVz/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-bceeecae-dirty.tar.gz || die > [ -d /tmp/tmp.di05d00jVz/test/submodule/subdir ] && die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-bceeecae-dirty.tar.gz || die > cat /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-subdir-bceeecae.tar.gz || die > cat /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.5DhqAUGWza/input_archive | preproc -C /tmp/tmp.5DhqAUGWza -e OUTDIR=/tmp/tmp.di05d00jVz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5DhqAUGWza' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.di05d00jVz/output | log_filter > /tmp/tmp.di05d00jVz/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-bceeecae.tar.gz || die > [ -d /tmp/tmp.di05d00jVz/test/submodule/subdir ] && die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-subdir-bceeecae.tar.gz || die > [ -f /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.di05d00jVz/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.5DhqAUGWza/input_pack | preproc -C /tmp/tmp.5DhqAUGWza -e OUTDIR=/tmp/tmp.di05d00jVz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5DhqAUGWza' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.di05d00jVz/output | log_filter > /tmp/tmp.di05d00jVz/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-bceeecae-dirty.tar.gz || die > [ -d /tmp/tmp.di05d00jVz/test/submodule/subdir ] && die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-bceeecae-dirty.tar.gz || die > cat /tmp/tmp.di05d00jVz/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.di05d00jVz -xf /tmp/tmp.di05d00jVz/test-submodule-subdir-bceeecae.tar.gz || die > cat /tmp/tmp.di05d00jVz/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.VmcADCtgom/.git/ [master (root-commit) 2a2301a] 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 5fbe76b] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.VmcADCtgom/input | preproc -C /tmp/tmp.VmcADCtgom -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VmcADCtgom' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.WzdiWnqAY1/output | log_filter > /tmp/tmp.WzdiWnqAY1/log > diff /tmp/tmp.a3dNeARgxR/output /tmp/tmp.WzdiWnqAY1/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.WzdiWnqAY1/log && die; } > diff log /tmp/tmp.WzdiWnqAY1/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.nob0M3s2XI/.git/ [master (root-commit) 473a60d] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 3c19b4c] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.nob0M3s2XI/input | preproc -C /tmp/tmp.nob0M3s2XI -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nob0M3s2XI' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.l6UbwcwVAm/output | log_filter > /tmp/tmp.l6UbwcwVAm/log > diff /tmp/tmp.qUGDyj6R3U/output /tmp/tmp.l6UbwcwVAm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.l6UbwcwVAm/log && die; } > diff log /tmp/tmp.l6UbwcwVAm/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.L7T7A4yQIF/input | preproc -C /tmp/tmp.L7T7A4yQIF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.L7T7A4yQIF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5MX6mC8HkE/output | log_filter > /tmp/tmp.5MX6mC8HkE/log > diff /tmp/tmp.wdwI0a2ATR/output /tmp/tmp.5MX6mC8HkE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.5MX6mC8HkE/log && die; } > diff log /tmp/tmp.5MX6mC8HkE/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.1ccw66 + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64/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.aarch64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64/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.aarch64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0-4.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7pmu78 + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0