Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1619801948.467108/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.s9cumajf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9cumajf:/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', '8daae42d8664481fa63f45ee490af1bd', '-D', '/var/lib/mock/epel-7-x86_64-1619801948.467108/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9cumajf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1619801948.467108/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.s9cumajf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9cumajf:/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', '9361aafd036c42789f220d6fc595225f', '-D', '/var/lib/mock/epel-7-x86_64-1619801948.467108/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9cumajf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qoNVWP + 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 -xvvf - drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/ -rw-rw-r-- root/root 18092 2021-01-17 23:13 rpkg-util-macros/LICENSE drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/bin/ -rwxrwxr-x root/root 1734 2021-01-17 23:13 rpkg-util-macros/bin/pack_sources drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/examples/ -rw-rw-r-- root/root 2432 2021-01-17 23:13 rpkg-util-macros/examples/git.spec.rpkg -rw-rw-r-- root/root 1180 2021-01-17 23:13 rpkg-util-macros/examples/git_cwd.spec.rpkg -rw-rw-r-- root/root 1309 2021-01-17 23:13 rpkg-util-macros/examples/git_dir.spec.rpkg -rw-rw-r-- root/root 1076 2021-01-17 23:13 rpkg-util-macros/examples/git_repo.spec.rpkg drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/macros.d/ -rw-rw-r-- root/root 313 2021-01-17 23:13 rpkg-util-macros/macros.d/all.bash -rw-rw-r-- root/root 27249 2021-01-17 23:13 rpkg-util-macros/macros.d/git.bash drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/ -rwxrwxr-x root/root 625 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git -rwxrwxr-x root/root 168 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_branch -rwxrwxr-x root/root 126 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_head -rwxrwxr-x root/root 151 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_head_short -rwxrwxr-x root/root 769 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_merged_tag_refs -rwxrwxr-x root/root 533 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_remote -rwxrwxr-x root/root 357 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_remote_url -rwxrwxr-x root/root 239 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_root -rwxrwxr-x root/root 199 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_status -rwxrwxr-x root/root 995 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_submodule_refs drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/macros.d/library/ -rw-rw-r-- root/root 876 2021-01-17 23:13 rpkg-util-macros/macros.d/library/log.bash -rw-rw-r-- root/root 606 2021-01-17 23:13 rpkg-util-macros/macros.d/library/output.bash -rw-rw-r-- root/root 1281 2021-01-17 23:13 rpkg-util-macros/macros.d/library/query.bash -rw-rw-r-- root/root 376 2021-01-17 23:13 rpkg-util-macros/macros.d/library/utils.bash drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/man/ -rw-rw-r-- root/root 28637 2021-01-17 23:13 rpkg-util-macros/man/rpkg-macros.1 -rw-rw-r-- root/root 2531 2021-01-17 23:13 rpkg-util-macros/rpkg-macros.spec.rpkg drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/ -rw-rw-r-- root/root 716 2021-01-17 23:13 rpkg-util-macros/tests/README -rw-rw-r-- root/root 2559 2021-01-17 23:13 rpkg-util-macros/tests/input -rw-rw-r-- root/root 3125 2021-01-17 23:13 rpkg-util-macros/tests/lib.bash -rwxrwxr-x root/root 246 2021-01-17 23:13 rpkg-util-macros/tests/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/ -rw-rw-r-- root/root 78 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/input -rw-rw-r-- root/root 96 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/log -rw-rw-r-- root/root 96 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/output -rwxrwxr-x root/root 408 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/log -rw-rw-r-- root/root 4164 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/output -rwxrwxr-x root/root 817 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/log -rw-rw-r-- root/root 4377 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/output -rwxrwxr-x root/root 668 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/ -rw-rw-r-- root/root 271 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/input -rw-rw-r-- root/root 465 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/log -rw-rw-r-- root/root 319 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/output -rwxrwxr-x root/root 351 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/ -rw-rw-r-- root/root 198 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/input -rw-rw-r-- root/root 234 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/log -rw-rw-r-- root/root 263 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/output -rwxrwxr-x root/root 627 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/ -rw-rw-r-- root/root 515 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/input -rw-rw-r-- root/root 581 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/log -rw-rw-r-- root/root 565 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/output -rwxrwxr-x root/root 408 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/ -rw-rw-r-- root/root 589 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/input -rw-rw-r-- root/root 655 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/log -rw-rw-r-- root/root 636 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/output -rwxrwxr-x root/root 408 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/ -rw-rw-r-- root/root 27 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/input -rw-rw-r-- root/root 33 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/log -rw-rw-r-- root/root 29 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/output_clean -rw-rw-r-- root/root 42 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/output_dirty -rw-rw-r-- root/root 35 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/output_dirty_manual -rwxrwxr-x root/root 1118 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/ -rw-rw-r-- root/root 8188 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/log -rw-rw-r-- root/root 2999 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/output -rwxrwxr-x root/root 500 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/ -rw-rw-r-- root/root 4643 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/log -rw-rw-r-- root/root 3558 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/output -rwxrwxr-x root/root 569 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/ -rw-rw-r-- root/root 127 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/input -rw-rw-r-- root/root 289 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/log -rw-rw-r-- root/root 141 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/output -rwxrwxr-x root/root 954 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/ -rw-rw-r-- root/root 127 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/input -rw-rw-r-- root/root 247 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/log -rw-rw-r-- root/root 151 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/output -rwxrwxr-x root/root 2998 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/ -rw-rw-r-- root/root 127 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/input -rw-rw-r-- root/root 193 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/log -rw-rw-r-- root/root 151 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/output -rwxrwxr-x root/root 1281 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/ -rw-rw-r-- root/root 763 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/input -rw-rw-r-- root/root 1478 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/log -rw-rw-r-- root/root 1069 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/output -rwxrwxr-x root/root 2682 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/ -rw-rw-r-- root/root 4643 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/log -rw-rw-r-- root/root 3588 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/output -rwxrwxr-x root/root 546 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/ -rw-rw-r-- root/root 451 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/input -rw-rw-r-- root/root 106 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/input_cwd -rw-rw-r-- root/root 106 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/input_dir -rw-rw-r-- root/root 523 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/log -rw-rw-r-- root/root 148 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/log_cwd -rw-rw-r-- root/root 148 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/log_dir -rw-rw-r-- root/root 1010 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/output -rw-rw-r-- root/root 385 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/output_cwd -rw-rw-r-- root/root 351 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/output_dir -rwxrwxr-x root/root 1438 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/ -rw-rw-r-- root/root 114 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/input_archive -rw-rw-r-- root/root 105 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/input_pack -rwxrwxr-x root/root 5980 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/log -rw-rw-r-- root/root 6953 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/output -rwxrwxr-x root/root 1676 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/log -rw-rw-r-- root/root 4436 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/output -rwxrwxr-x root/root 796 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/ -rw-rw-r-- root/root 10291 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/log -rw-rw-r-- root/root 2783 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/output -rwxrwxr-x root/root 355 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/run Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jZ4ZtK + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/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-1.el7.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/rpkg-util-macros /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.b3btgF + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + PATH=bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + tests/run ====================== test_bash ====================== Initialized empty Git repository in /tmp/tmp.WLL5WMHxy4/.git/ > cat /tmp/tmp.WLL5WMHxy4/input | preproc -C /tmp/tmp.WLL5WMHxy4 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.WLL5WMHxy4' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BniOTekCQP/output | log_filter > /tmp/tmp.BniOTekCQP/log > diff /tmp/tmp.pQrAqs6Ivj/output /tmp/tmp.BniOTekCQP/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BniOTekCQP/log && die; } > diff log /tmp/tmp.BniOTekCQP/log || die success. ====================== test_committed ====================== Initialized empty Git repository in /tmp/tmp.8raYLhX8WN/.git/ [master (root-commit) ab2b805] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master f474913] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 3e7d3c2] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.8raYLhX8WN/input | preproc -C /tmp/tmp.8raYLhX8WN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.8raYLhX8WN' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Kr0W1tNOfD/output | log_filter > /tmp/tmp.Kr0W1tNOfD/log > diff /tmp/tmp.WJchcx90t7/output /tmp/tmp.Kr0W1tNOfD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Kr0W1tNOfD/log && die; } > diff log /tmp/tmp.Kr0W1tNOfD/log || die success. ====================== test_dirty ====================== Initialized empty Git repository in /tmp/tmp.XTEuSFK9Rv/.git/ [master (root-commit) b14588f] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.XTEuSFK9Rv/input | preproc -C /tmp/tmp.XTEuSFK9Rv -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.XTEuSFK9Rv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.eQ1oSQq0Ba/output | log_filter > /tmp/tmp.eQ1oSQq0Ba/log > diff /tmp/tmp.bKIMlLXyy0/output /tmp/tmp.eQ1oSQq0Ba/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.eQ1oSQq0Ba/log && die; } > diff log /tmp/tmp.eQ1oSQq0Ba/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.fxxuyZYFiV/input | preproc -C /tmp/tmp.fxxuyZYFiV -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fxxuyZYFiV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yszwGLrZZu/output | log_filter > /tmp/tmp.yszwGLrZZu/log > diff /tmp/tmp.Dnf9s64JB0/output /tmp/tmp.yszwGLrZZu/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.yszwGLrZZu/log && die; } > diff log /tmp/tmp.yszwGLrZZu/log || die success. ====================== test_fn_git_prefix ====================== Initialized empty Git repository in /tmp/tmp.mQJ6DhEByu/.git/ [master (root-commit) e646ab3] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into 'submodule'... done. [master 84d2fc2] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.mQJ6DhEByu/input | preproc -C /tmp/tmp.mQJ6DhEByu -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mQJ6DhEByu' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.skBDOHUCFE/output | log_filter > /tmp/tmp.skBDOHUCFE/log > diff /tmp/tmp.5VZzBpvcAS/output /tmp/tmp.skBDOHUCFE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.skBDOHUCFE/log && die; } > diff log /tmp/tmp.skBDOHUCFE/log || die success. ====================== test_fn_is_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.hlgGDduZHN/.git/ > cat /tmp/tmp.hlgGDduZHN/input | preproc -C /tmp/tmp.hlgGDduZHN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hlgGDduZHN' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.iyZ1fY11vb/output | log_filter > /tmp/tmp.iyZ1fY11vb/log > diff /tmp/tmp.ClHIenU6Un/output /tmp/tmp.iyZ1fY11vb/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.iyZ1fY11vb/log && die; } > diff log /tmp/tmp.iyZ1fY11vb/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.XKuriGE6TV/.git/ > cat /tmp/tmp.XKuriGE6TV/input | preproc -C /tmp/tmp.XKuriGE6TV -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.XKuriGE6TV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.brRKCySzj1/output | log_filter > /tmp/tmp.brRKCySzj1/log > diff /tmp/tmp.Z61R4soB0D/output /tmp/tmp.brRKCySzj1/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.brRKCySzj1/log && die; } > diff log /tmp/tmp.brRKCySzj1/log || die success. ====================== test_fn_version_dirty_appendix ====================== Initialized empty Git repository in /tmp/tmp.j7ZklZ2vtx/.git/ [master (root-commit) e65727e] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.j7ZklZ2vtx/input | preproc -C /tmp/tmp.j7ZklZ2vtx -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.j7ZklZ2vtx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.g4KJ72IyZx/output | log_filter > /tmp/tmp.g4KJ72IyZx/log > diff /tmp/tmp.oG9cf7UurD/output_clean /tmp/tmp.g4KJ72IyZx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.g4KJ72IyZx/log && die; } > diff log /tmp/tmp.g4KJ72IyZx/log || die success. > cat /tmp/tmp.j7ZklZ2vtx/input | preproc -C /tmp/tmp.j7ZklZ2vtx -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.j7ZklZ2vtx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.g4KJ72IyZx/output | log_filter > /tmp/tmp.g4KJ72IyZx/log > diff /tmp/tmp.oG9cf7UurD/output_dirty /tmp/tmp.g4KJ72IyZx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.g4KJ72IyZx/log && die; } > diff log /tmp/tmp.g4KJ72IyZx/log || die success. > cat /tmp/tmp.j7ZklZ2vtx/input | preproc -C /tmp/tmp.j7ZklZ2vtx -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.j7ZklZ2vtx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.g4KJ72IyZx/output | log_filter > /tmp/tmp.g4KJ72IyZx/log > diff /tmp/tmp.oG9cf7UurD/output_dirty_manual /tmp/tmp.g4KJ72IyZx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.g4KJ72IyZx/log && die; } > diff log /tmp/tmp.g4KJ72IyZx/log || die success. ====================== test_inited ====================== Initialized empty Git repository in /tmp/tmp.qrN7bPflzT/.git/ > cat /tmp/tmp.qrN7bPflzT/input | preproc -C /tmp/tmp.qrN7bPflzT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.qrN7bPflzT' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KN0RVIBXva/output | log_filter > /tmp/tmp.KN0RVIBXva/log > diff /tmp/tmp.F2NWMLElBI/output /tmp/tmp.KN0RVIBXva/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KN0RVIBXva/log && die; } > diff log /tmp/tmp.KN0RVIBXva/log || die success. ====================== test_inited_origin_set ====================== Initialized empty Git repository in /tmp/tmp.yAnXoEy1Ky/.git/ > cat /tmp/tmp.yAnXoEy1Ky/input | preproc -C /tmp/tmp.yAnXoEy1Ky -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yAnXoEy1Ky' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fNwAbCT5yo/output | log_filter > /tmp/tmp.fNwAbCT5yo/log > diff /tmp/tmp.7mGVG6uq7h/output /tmp/tmp.fNwAbCT5yo/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.fNwAbCT5yo/log && die; } > diff log /tmp/tmp.fNwAbCT5yo/log || die success. ====================== test_sources ====================== Initialized empty Git repository in /tmp/tmp.BVf6YU7XjV/.git/ > cat /tmp/tmp.BVf6YU7XjV/input | preproc -C /tmp/tmp.BVf6YU7XjV -e OUTDIR=/tmp/tmp.RN3Z6dPDHX -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.BVf6YU7XjV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RN3Z6dPDHX/output | log_filter > /tmp/tmp.RN3Z6dPDHX/log > diff /tmp/tmp.BNPg1H6pqv/output /tmp/tmp.RN3Z6dPDHX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RN3Z6dPDHX/log && die; } > diff log /tmp/tmp.RN3Z6dPDHX/log || die > custom_test > tar -C /tmp/tmp.RN3Z6dPDHX -xf /tmp/tmp.RN3Z6dPDHX/foo.tar.gz || die > diff /tmp/tmp.RN3Z6dPDHX/foo/cookie /tmp/tmp.BVf6YU7XjV/cookie || die > ls /tmp/tmp.RN3Z6dPDHX/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.RN3Z6dPDHX/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== Initialized empty Git repository in /tmp/tmp.mNFDpDIuAx/.git/ [master (root-commit) 3958d0a] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.mNFDpDIuAx/input | preproc -C /tmp/tmp.mNFDpDIuAx -e OUTDIR=/tmp/tmp.Zzl66Q10xL -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mNFDpDIuAx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Zzl66Q10xL/output | log_filter > /tmp/tmp.Zzl66Q10xL/log > diff /tmp/tmp.1uJoIFuREF/output /tmp/tmp.Zzl66Q10xL/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Zzl66Q10xL/log && die; } > diff log /tmp/tmp.Zzl66Q10xL/log || die > custom_test > tar -C /tmp/tmp.Zzl66Q10xL -xf /tmp/tmp.Zzl66Q10xL/foo.tar.gz || die > diff /tmp/tmp.Zzl66Q10xL/foo/cookie /tmp/tmp.mNFDpDIuAx/cookie || die > [ '3958d0adc2af209639592e35c028529ec410b0f4' = '3958d0adc2af209639592e35c028529ec410b0f4' ] || die > tar -C /tmp/tmp.Zzl66Q10xL -xf /tmp/tmp.Zzl66Q10xL/bar.tar.gz || die > diff /tmp/tmp.Zzl66Q10xL/bar/cookie /tmp/tmp.mNFDpDIuAx/cookie || die > [ '3958d0adc2af209639592e35c028529ec410b0f4' = '3958d0adc2af209639592e35c028529ec410b0f4' ] || die success. > cat /tmp/tmp.mNFDpDIuAx/input | preproc -C /tmp/tmp.mNFDpDIuAx -e OUTDIR=/tmp/tmp.Zzl66Q10xL -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mNFDpDIuAx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Zzl66Q10xL/output | log_filter > /tmp/tmp.Zzl66Q10xL/log > test_nonempty_git_status > tar -C /tmp/tmp.Zzl66Q10xL -xf /tmp/tmp.Zzl66Q10xL/foo.tar.gz || die > diff /tmp/tmp.Zzl66Q10xL/foo/cookie /tmp/tmp.mNFDpDIuAx/cookie || die > [ '3958d0adc2af209639592e35c028529ec410b0f4' = '' ] && die > tar -C /tmp/tmp.Zzl66Q10xL -xf /tmp/tmp.Zzl66Q10xL/bar.tar.gz || die > diff /tmp/tmp.Zzl66Q10xL/bar/cookie /tmp/tmp.mNFDpDIuAx/cookie || die > [ '3958d0adc2af209639592e35c028529ec410b0f4' = '3958d0adc2af209639592e35c028529ec410b0f4' ] || die success. > cat /tmp/tmp.mNFDpDIuAx/input | preproc -C /tmp/tmp.mNFDpDIuAx -e OUTDIR=/tmp/tmp.Zzl66Q10xL -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mNFDpDIuAx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Zzl66Q10xL/output | log_filter > /tmp/tmp.Zzl66Q10xL/log > test_invalid_git_head > [ -f '/tmp/tmp.Zzl66Q10xL/foo.tar.gz' ] && die > [ -f '/tmp/tmp.Zzl66Q10xL/bar.tar.gz' ] && die success. > cat /tmp/tmp.mNFDpDIuAx/input | preproc -C /tmp/tmp.mNFDpDIuAx -e OUTDIR=/tmp/tmp.Zzl66Q10xL -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mNFDpDIuAx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Zzl66Q10xL/output | log_filter > /tmp/tmp.Zzl66Q10xL/log > test_empty_git_head > tar -C /tmp/tmp.Zzl66Q10xL -xf /tmp/tmp.Zzl66Q10xL/foo.tar.gz || die > diff /tmp/tmp.Zzl66Q10xL/foo/cookie /tmp/tmp.mNFDpDIuAx/cookie || die > [ '3958d0adc2af209639592e35c028529ec410b0f4' = '' ] && die > [ -f '/tmp/tmp.Zzl66Q10xL/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== Initialized empty Git repository in /tmp/tmp.y3DCLjd5A3/.git/ [master (root-commit) 3958d0a] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.y3DCLjd5A3/input | preproc -C /tmp/tmp.y3DCLjd5A3 -e OUTDIR=/tmp/tmp.A6LKW6ftzh -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.y3DCLjd5A3' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.A6LKW6ftzh/output | log_filter > /tmp/tmp.A6LKW6ftzh/log > diff /tmp/tmp.kdNHzPL8n8/output /tmp/tmp.A6LKW6ftzh/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.A6LKW6ftzh/log && die; } > diff log /tmp/tmp.A6LKW6ftzh/log || die > custom_test > tar -C /tmp/tmp.A6LKW6ftzh -xf /tmp/tmp.A6LKW6ftzh/foo.tar.gz || die > diff /tmp/tmp.A6LKW6ftzh/foo/cookie /tmp/tmp.y3DCLjd5A3/cookie || die > [ '3958d0adc2af209639592e35c028529ec410b0f4' = '' ] && die > tar -C /tmp/tmp.A6LKW6ftzh -xf /tmp/tmp.A6LKW6ftzh/bar.tar.gz || die > diff /tmp/tmp.A6LKW6ftzh/bar/cookie /tmp/tmp.y3DCLjd5A3/cookie >/dev/null && die > [ '3958d0adc2af209639592e35c028529ec410b0f4' = '3958d0adc2af209639592e35c028529ec410b0f4' ] || die success. ====================== test_sources_subdir ====================== Initialized empty Git repository in /tmp/tmp.QRzkPO2nRA/.git/ [master (root-commit) a189ef7] 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.QRzkPO2nRA/bar/input | preproc -C /tmp/tmp.QRzkPO2nRA/foo -e OUTDIR=/tmp/tmp.XJwg4hOTRh -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.QRzkPO2nRA/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XJwg4hOTRh/output | log_filter > /tmp/tmp.XJwg4hOTRh/log > diff /tmp/tmp.8PJAaTQYJj/output /tmp/tmp.XJwg4hOTRh/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XJwg4hOTRh/log && die; } > diff log /tmp/tmp.XJwg4hOTRh/log || die > custom_test > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/test-bar/cookie /tmp/tmp.QRzkPO2nRA/bar/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/test-bar/cookie /tmp/tmp.QRzkPO2nRA/bar/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/dir_pack_foo.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/foo/cookie /tmp/tmp.QRzkPO2nRA/bar/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/dir_archive_bar.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/bar/cookie /tmp/tmp.QRzkPO2nRA/bar/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/test-foo/cookie /tmp/tmp.QRzkPO2nRA/foo/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/test-foo/cookie /tmp/tmp.QRzkPO2nRA/foo/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/foo/cookie /tmp/tmp.QRzkPO2nRA/foo/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/bar/cookie /tmp/tmp.QRzkPO2nRA/foo/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/test-baz/cookie /tmp/tmp.QRzkPO2nRA/baz/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/test-baz/cookie /tmp/tmp.QRzkPO2nRA/baz/cookie || die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/baz_pack_foo.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/foo/cookie /tmp/tmp.QRzkPO2nRA/baz/cookie || die > ls /tmp/tmp.XJwg4hOTRh/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.XJwg4hOTRh/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.XJwg4hOTRh -xf /tmp/tmp.XJwg4hOTRh/baz_archive_bar.tar.gz || die > diff /tmp/tmp.XJwg4hOTRh/bar/cookie /tmp/tmp.QRzkPO2nRA/baz/cookie || die > ls /tmp/tmp.XJwg4hOTRh/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.XJwg4hOTRh/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== Initialized empty Git repository in /tmp/tmp.KTTmVNzIKf/.git/ > cat /tmp/tmp.KTTmVNzIKf/bar/input | preproc -C /tmp/tmp.KTTmVNzIKf/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KTTmVNzIKf/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.AUo1HHSqxL/output | log_filter > /tmp/tmp.AUo1HHSqxL/log > diff /tmp/tmp.c23vmfhcfs/output /tmp/tmp.AUo1HHSqxL/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.AUo1HHSqxL/log && die; } > diff log /tmp/tmp.AUo1HHSqxL/log || die success. ====================== test_submodule ====================== Initialized empty Git repository in /tmp/tmp.xaQeT03ztJ/.git/ [master (root-commit) d9d7e9f] 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 'submodule'... done. [master d4955bb] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.xaQeT03ztJ/input | preproc -C /tmp/tmp.xaQeT03ztJ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xaQeT03ztJ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.u1sjyHSsHY/output | log_filter > /tmp/tmp.u1sjyHSsHY/log > diff /tmp/tmp.AWcu4Cw9XI/output /tmp/tmp.u1sjyHSsHY/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.u1sjyHSsHY/log && die; } > diff log /tmp/tmp.u1sjyHSsHY/log || die success. > cat /tmp/tmp.xaQeT03ztJ/submodule/input_dir | preproc -C /tmp/tmp.xaQeT03ztJ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xaQeT03ztJ/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.u1sjyHSsHY/output | log_filter > /tmp/tmp.u1sjyHSsHY/log > diff /tmp/tmp.AWcu4Cw9XI/output_dir /tmp/tmp.u1sjyHSsHY/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.u1sjyHSsHY/log && die; } > diff log_dir /tmp/tmp.u1sjyHSsHY/log || die success. > cat /tmp/tmp.xaQeT03ztJ/submodule/input_cwd | preproc -C /tmp/tmp.xaQeT03ztJ/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xaQeT03ztJ/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.u1sjyHSsHY/output | log_filter > /tmp/tmp.u1sjyHSsHY/log > diff /tmp/tmp.AWcu4Cw9XI/output_cwd /tmp/tmp.u1sjyHSsHY/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.u1sjyHSsHY/log && die; } > diff log_cwd /tmp/tmp.u1sjyHSsHY/log || die success. ====================== test_submodule_sources ====================== Initialized empty Git repository in /tmp/tmp.G0EFffoKN5/.git/ [master (root-commit) fb1f346] initial commit 3 files changed, 7 insertions(+) create mode 100644 input_archive create mode 100644 input_pack create mode 100644 subdir/cookie Cloning into 'submodule'... done. [master ccf10b8] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.G0EFffoKN5/input_archive | preproc -C /tmp/tmp.G0EFffoKN5 -e OUTDIR=/tmp/tmp.kdyPzGJoTU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.G0EFffoKN5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kdyPzGJoTU/output | log_filter > /tmp/tmp.kdyPzGJoTU/log > custom_test_archive_clean > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-ccf10b8e.tar.gz || die > [ -d /tmp/tmp.kdyPzGJoTU/test/submodule/subdir ] && die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-subdir-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.G0EFffoKN5/input_pack | preproc -C /tmp/tmp.G0EFffoKN5 -e OUTDIR=/tmp/tmp.kdyPzGJoTU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.G0EFffoKN5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kdyPzGJoTU/output | log_filter > /tmp/tmp.kdyPzGJoTU/log > custom_test_pack_clean > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test/submodule/subdir ] && die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-subdir-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie | grep -q 0 || die success. [master 670d612] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.G0EFffoKN5/input_archive | preproc -C /tmp/tmp.G0EFffoKN5 -e OUTDIR=/tmp/tmp.kdyPzGJoTU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.G0EFffoKN5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kdyPzGJoTU/output | log_filter > /tmp/tmp.kdyPzGJoTU/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-ccf10b8e.tar.gz || die > [ -d /tmp/tmp.kdyPzGJoTU/test/submodule/subdir ] && die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-subdir-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.G0EFffoKN5/input_pack | preproc -C /tmp/tmp.G0EFffoKN5 -e OUTDIR=/tmp/tmp.kdyPzGJoTU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.G0EFffoKN5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kdyPzGJoTU/output | log_filter > /tmp/tmp.kdyPzGJoTU/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-ccf10b8e-dirty.tar.gz || die > [ -d /tmp/tmp.kdyPzGJoTU/test/submodule/subdir ] && die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-ccf10b8e-dirty.tar.gz || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-subdir-ccf10b8e.tar.gz || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.G0EFffoKN5/input_archive | preproc -C /tmp/tmp.G0EFffoKN5 -e OUTDIR=/tmp/tmp.kdyPzGJoTU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.G0EFffoKN5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kdyPzGJoTU/output | log_filter > /tmp/tmp.kdyPzGJoTU/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-ccf10b8e.tar.gz || die > [ -d /tmp/tmp.kdyPzGJoTU/test/submodule/subdir ] && die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-subdir-ccf10b8e.tar.gz || die > [ -f /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.G0EFffoKN5/input_pack | preproc -C /tmp/tmp.G0EFffoKN5 -e OUTDIR=/tmp/tmp.kdyPzGJoTU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.G0EFffoKN5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kdyPzGJoTU/output | log_filter > /tmp/tmp.kdyPzGJoTU/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-ccf10b8e-dirty.tar.gz || die > [ -d /tmp/tmp.kdyPzGJoTU/test/submodule/subdir ] && die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-ccf10b8e-dirty.tar.gz || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.kdyPzGJoTU -xf /tmp/tmp.kdyPzGJoTU/test-submodule-subdir-ccf10b8e.tar.gz || die > cat /tmp/tmp.kdyPzGJoTU/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== Initialized empty Git repository in /tmp/tmp.StzcNG6xFJ/.git/ [master (root-commit) bc183b7] 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 135b1bf] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.StzcNG6xFJ/input | preproc -C /tmp/tmp.StzcNG6xFJ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.StzcNG6xFJ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bUWRNbz6r6/output | log_filter > /tmp/tmp.bUWRNbz6r6/log > diff /tmp/tmp.ySpOoTtnXU/output /tmp/tmp.bUWRNbz6r6/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bUWRNbz6r6/log && die; } > diff log /tmp/tmp.bUWRNbz6r6/log || die success. ====================== test_tagged_committed ====================== Initialized empty Git repository in /tmp/tmp.wPIA9ikJzs/.git/ [master (root-commit) 96c5926] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master d0e666b] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.wPIA9ikJzs/input | preproc -C /tmp/tmp.wPIA9ikJzs -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wPIA9ikJzs' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.uFvqcXnUGW/output | log_filter > /tmp/tmp.uFvqcXnUGW/log > diff /tmp/tmp.7GTna33RyX/output /tmp/tmp.uFvqcXnUGW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.uFvqcXnUGW/log && die; } > diff log /tmp/tmp.uFvqcXnUGW/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.ueBznrEN9P/input | preproc -C /tmp/tmp.ueBznrEN9P -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ueBznrEN9P' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XxMVQesTIE/output | log_filter > /tmp/tmp.XxMVQesTIE/log > diff /tmp/tmp.agwUsCFlEV/output /tmp/tmp.XxMVQesTIE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XxMVQesTIE/log && die; } > diff log /tmp/tmp.XxMVQesTIE/log || die success. + exit 0 Processing files: rpkg-macros-2.0-1.el7.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.e2RMyX + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/usr/share/licenses/rpkg-macros-2.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/usr/share/licenses/rpkg-macros-2.0 + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64/usr/share/licenses/rpkg-macros-2.0 + exit 0 Provides: rpkg-macros = 2.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xzA1zy + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.x86_64 + exit 0 Child return code was: 0