Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/greenboot.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-287766-27955/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f116dae9190>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gi8lqz__:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gi8lqz__:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '2fbbc41231fc45c9b8001e9c6b992ab0', '-D', '/var/lib/mock/dist-ocs23-base-build-287766-27955/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gi8lqz__:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/greenboot.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/greenboot-0.15.4-4.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/greenboot.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-287766-27955/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f116dae9190>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gi8lqz__:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gi8lqz__:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '26b0e449048e45f6a13968e003efa8d7', '-D', '/var/lib/mock/dist-ocs23-base-build-287766-27955/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gi8lqz__:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/greenboot.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.556E5p
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf greenboot-0.15.4
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.15.4.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd greenboot-0.15.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JWHT3i
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd greenboot-0.15.4
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6uhwgk
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64
+ cd greenboot-0.15.4
+ mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/motd.d/
+ mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/libexec/greenboot
+ mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/etc/greenboot/check/required.d
+ mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/etc/greenboot/check/wanted.d
+ mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/etc/greenboot/green.d
+ mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/etc/greenboot/red.d
+ mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/greenboot/check/required.d
+ mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/greenboot/check/wanted.d
+ mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/greenboot/green.d
+ mkdir /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/greenboot/red.d
+ mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/systemd/system
+ mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/systemd/system/greenboot-healthcheck.service.d
+ mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/tmpfiles.d
+ install -DpZm 0755 usr/libexec/greenboot/greenboot usr/libexec/greenboot/greenboot-grub2-set-counter usr/libexec/greenboot/greenboot-loading-message usr/libexec/greenboot/greenboot-rpm-ostree-grub2-check-fallback usr/libexec/greenboot/greenboot-status usr/libexec/greenboot/redboot-auto-reboot /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/libexec/greenboot
+ install -DpZm 0644 usr/lib/motd.d/boot-status /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/motd.d/boot-status
+ install -DpZm 0644 usr/lib/systemd/system/greenboot-healthcheck.service.d/10-network-online.conf /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/systemd/system/greenboot-healthcheck.service.d/10-network-online.conf
+ install -DpZm 0644 usr/lib/systemd/system/redboot.target /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/systemd/system
+ install -DpZm 0644 usr/lib/systemd/system/greenboot-grub2-set-counter.service usr/lib/systemd/system/greenboot-grub2-set-success.service usr/lib/systemd/system/greenboot-healthcheck.service usr/lib/systemd/system/greenboot-loading-message.service usr/lib/systemd/system/greenboot-rpm-ostree-grub2-check-fallback.service usr/lib/systemd/system/greenboot-status.service usr/lib/systemd/system/greenboot-task-runner.service usr/lib/systemd/system/redboot-auto-reboot.service usr/lib/systemd/system/redboot-task-runner.service /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/systemd/system
+ install -DpZm 0644 usr/lib/tmpfiles.d/greenboot-status-motd.conf /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/tmpfiles.d/greenboot-status-motd.conf
+ install -DpZm 0755 usr/lib/greenboot/check/required.d/00_required_scripts_start.sh usr/lib/greenboot/check/required.d/01_repository_dns_check.sh usr/lib/greenboot/check/required.d/02_watchdog.sh /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/greenboot/check/required.d
+ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/00_wanted_scripts_start.sh usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/lib/greenboot/check/wanted.d
+ install -DpZm 0644 etc/greenboot/greenboot.conf /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/etc/greenboot/greenboot.conf
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
mangling shebang in /usr/lib/greenboot/check/required.d/01_repository_dns_check.sh from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/lib/greenboot/check/required.d/02_watchdog.sh from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/lib/greenboot/check/required.d/00_required_scripts_start.sh from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/lib/greenboot/check/wanted.d/00_wanted_scripts_start.sh from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/libexec/greenboot/greenboot-status from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/libexec/greenboot/greenboot-grub2-set-counter from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/libexec/greenboot/greenboot-loading-message from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/libexec/greenboot/redboot-auto-reboot from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/libexec/greenboot/greenboot-rpm-ostree-grub2-check-fallback from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/libexec/greenboot/greenboot from /bin/bash to #!/usr/bin/bash
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: greenboot-0.15.4-4.ocs23.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pSmc9U
+ umask 022
+ cd /builddir/build/BUILD
+ cd greenboot-0.15.4
+ DOCDIR=/builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/share/doc/greenboot
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/share/doc/greenboot
+ cp -pr README.md /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/share/doc/greenboot
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yHb9G5
+ umask 022
+ cd /builddir/build/BUILD
+ cd greenboot-0.15.4
+ LICENSEDIR=/builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/share/licenses/greenboot
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/share/licenses/greenboot
+ cp -pr LICENSE /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64/usr/share/licenses/greenboot
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: greenboot = 0.15.4-4.ocs23 greenboot(x86-64) = 0.15.4-4.ocs23 greenboot-auto-update-fallback greenboot-grub2 greenboot-reboot greenboot-rpm-ostree-grub2 greenboot-status
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh systemd
Requires(preun): /bin/sh systemd
Requires(postun): /bin/sh systemd
Requires: /usr/bin/bash
Recommends: openssh
Processing files: greenboot-default-health-checks-0.15.4-4.ocs23.x86_64
Provides: greenboot-default-health-checks = 0.15.4-4.ocs23 greenboot-default-health-checks(x86-64) = 0.15.4-4.ocs23 greenboot-update-platforms-check
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /usr/bin/bash
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/greenboot-0.15.4-4.ocs23.x86_64
Wrote: /builddir/build/RPMS/greenboot-default-health-checks-0.15.4-4.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/greenboot-0.15.4-4.ocs23.x86_64.rpm
Child return code was: 0