Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rubygem-puppetdb_foreman.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1633320138.975170/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0cp__t7:/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.s0cp__t7:/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', 'bf68177e1edc41d9a88326bfe3807e58', '-D', '/var/lib/mock/fedora-rawhide-i686-1633320138.975170/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0cp__t7:/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 i686 --nodeps /builddir/build/SPECS/rubygem-puppetdb_foreman.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1631577600 Wrote: /builddir/build/SRPMS/rubygem-puppetdb_foreman-5.0.0-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rubygem-puppetdb_foreman.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1633320138.975170/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0cp__t7:/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.s0cp__t7:/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', '396f3e7e67d342ffa69652bdeeae9efc', '-D', '/var/lib/mock/fedora-rawhide-i686-1633320138.975170/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0cp__t7:/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 i686 --nodeps /builddir/build/SPECS/rubygem-puppetdb_foreman.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1631577600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eZ2hfv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf puppetdb_foreman-5.0.0 + /usr/bin/gem unpack /builddir/build/SOURCES/puppetdb_foreman-5.0.0.gem Unpacked gem: '/builddir/build/BUILD/puppetdb_foreman-5.0.0' + /usr/bin/gem spec /builddir/build/SOURCES/puppetdb_foreman-5.0.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd puppetdb_foreman-5.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YIQjw9 + umask 022 + cd /builddir/build/BUILD + cd puppetdb_foreman-5.0.0 + gem build ../puppetdb_foreman-5.0.0.gemspec WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rdoc (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on webmock (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: puppetdb_foreman Version: 5.0.0 File: puppetdb_foreman-5.0.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc puppetdb_foreman-5.0.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/puppetdb_foreman-5.0.0 Bin dir: /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/bin Gem home: /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems Plugins dir: /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/plugins /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/LICENSE /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/README.md /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/Rakefile /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/controllers/api/v2/puppetdb_nodes_controller.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/controllers/puppetdb_foreman/nodes_controller.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/helpers/concerns/puppetdb_foreman/hosts_helper_extensions.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/models/concerns/orchestration/puppetdb.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/models/puppetdb_foreman/host_extensions.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/models/setting/puppetdb.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/services/puppetdb.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/services/puppetdb_client/base.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/services/puppetdb_client/v1.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/services/puppetdb_client/v3.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/services/puppetdb_client/v4.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/services/puppetdb_host.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/views/api/v2/puppetdb_nodes/import.json.rabl /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/views/api/v2/puppetdb_nodes/index.json.rabl /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/views/api/v2/puppetdb_nodes/unknown.json.rabl /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/views/puppetdb_foreman/nodes/index.html.erb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/app/views/puppetdb_foreman/nodes/show.html.erb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/config/routes.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/db/migrate/20170717140010_migrate_puppetdb_api_version_setting.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/db/migrate/20181001113836_remove_puppetdb_dashboard_address_setting.puppetdb_foreman.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/lib/puppetdb_foreman.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/lib/puppetdb_foreman/engine.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/lib/puppetdb_foreman/version.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/lib/tasks/puppetdb_foreman_tasks.rake /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/controllers/api/v2/puppetdb_nodes_controller_test.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/controllers/nodes_controller_test.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/models/host_test.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/static_fixtures/facts.json /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/static_fixtures/query_nodes.json /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/static_fixtures/query_nodes_v3_4.json /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/static_fixtures/resources.json /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/test_plugin_helper.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/unit/puppetdb_host_test.rb /builddir/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0/test/unit/puppetdb_test.rb Successfully installed puppetdb_foreman-5.0.0 Parsing documentation for puppetdb_foreman-5.0.0 Parsing sources... 25% [ 1/ 4] lib/puppetdb_foreman.rb 50% [ 2/ 4] lib/puppetdb_foreman/engine.rb 75% [ 3/ 4] lib/puppetdb_foreman/version.rb 100% [ 4/ 4] lib/tasks/puppetdb_foreman_tasks.rake Installing ri documentation for puppetdb_foreman-5.0.0 Installing darkfish documentation for puppetdb_foreman-5.0.0 Done installing documentation for puppetdb_foreman after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qUJQoq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386 ++ dirname /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386 + cd puppetdb_foreman-5.0.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386/usr/share/gems/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 5.0.0-1.fc36 --unique-debug-suffix -5.0.0-1.fc36.i386 --unique-debug-src-base rubygem-puppetdb_foreman-5.0.0-1.fc36.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/puppetdb_foreman-5.0.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/puppetdb_foreman-5.0.0/Rakefile from /usr/bin/env rake to #!/usr/bin/rake + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.m9egLd + umask 022 + cd /builddir/build/BUILD + cd puppetdb_foreman-5.0.0 + pushd ./usr/share/gems/gems/puppetdb_foreman-5.0.0 ~/build/BUILD/puppetdb_foreman-5.0.0/usr/share/gems/gems/puppetdb_foreman-5.0.0 ~/build/BUILD/puppetdb_foreman-5.0.0 + popd ~/build/BUILD/puppetdb_foreman-5.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-puppetdb_foreman-5.0.0-1.fc36.noarch Provides: rubygem(puppetdb_foreman) = 5.0.0 rubygem-puppetdb_foreman = 5.0.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Processing files: rubygem-puppetdb_foreman-doc-5.0.0-1.fc36.noarch Provides: rubygem-puppetdb_foreman-doc = 5.0.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/rake Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386 Wrote: /builddir/build/RPMS/rubygem-puppetdb_foreman-5.0.0-1.fc36.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-puppetdb_foreman-doc-5.0.0-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gSInK5 + umask 022 + cd /builddir/build/BUILD + cd puppetdb_foreman-5.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-puppetdb_foreman-5.0.0-1.fc36.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0