Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-puppetserver-ca.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1591104413.412071/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.dnjj2r4z:/etc/resolv.conf', '--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.dnjj2r4z:/etc/resolv.conf', '--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', '4001b226743043298b8ed5adc4bb421f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1591104413.412071/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dnjj2r4z:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-puppetserver-ca.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 setting SOURCE_DATE_EPOCH=1590969600 Wrote: /builddir/build/SRPMS/rubygem-puppetserver-ca-1.8.0-1.fc33.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/rubygem-puppetserver-ca.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1591104413.412071/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.dnjj2r4z:/etc/resolv.conf', '--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.dnjj2r4z:/etc/resolv.conf', '--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', '39a8a65d12f040e89ddf15a529c077ca', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1591104413.412071/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dnjj2r4z:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-puppetserver-ca.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 setting SOURCE_DATE_EPOCH=1590969600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jXADHu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf puppetserver-ca-1.8.0 + /usr/bin/tar -xof /builddir/build/SOURCES/puppetserver-ca-1.8.0-tests.txz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gem unpack /builddir/build/SOURCES/puppetserver-ca-1.8.0.gem Unpacked gem: '/builddir/build/BUILD/puppetserver-ca-1.8.0' + /usr/bin/gem spec /builddir/build/SOURCES/puppetserver-ca-1.8.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd puppetserver-ca-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + read -d '' gemspec_remove_dep_script + : + ruby + echo 'gemspec_file = '\''../puppetserver-ca-1.8.0.gemspec'\'' name = '\''facter'\'' requirements = nil type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep if requirements requirements = Gem::Requirement.create(requirements).requirements requirements.each do |r| unless dep.requirement.requirements.reject! { |dependency_requirements| dependency_requirements == r } abort("Requirement '\''#{r.first} #{r.last}'\'' was not possible to remove for dependency '\''#{dep}'\''!") end end spec.dependencies.delete dep if dep.requirement.requirements.empty? else spec.dependencies.delete dep end else abort("Dependency '\''#{name}'\'' was not found!") end File.write gemspec_file, spec.to_ruby' + unset -v gemspec_remove_dep_script + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C57yyw + umask 022 + cd /builddir/build/BUILD + cd puppetserver-ca-1.8.0 + gem build ../puppetserver-ca-1.8.0.gemspec WARNING: open-ended dependency on bundler (>= 1.16, development) is not recommended if bundler is semantically versioned, use: add_development_dependency 'bundler', '~> 1.16' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: puppetserver-ca Version: 1.8.0 File: puppetserver-ca-1.8.0.gem + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fZNhiw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64 + cd puppetserver-ca-1.8.0 + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc puppetserver-ca-1.8.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/puppetserver-ca-1.8.0 Bin dir: /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/bin Gem home: /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/.gitignore /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/.rspec /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/.travis.yml /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/CODEOWNERS /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/CODE_OF_CONDUCT.md /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/CONTRIBUTING.md /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/Gemfile /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/LICENSE /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/README.md /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/Rakefile /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/bin/console /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/bin/setup /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/exe/puppetserver-ca /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/clean.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/enable.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/generate.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/import.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/list.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/revoke.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/setup.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/action/sign.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/certificate_authority.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/cli.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/config/puppet.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/config/puppetserver.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/errors.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/host.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/local_certificate_authority.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/logger.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/stub.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/utils/cli_parsing.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/utils/config.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/utils/file_system.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/utils/http_client.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/utils/signing_digest.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/version.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver/ca/x509_loader.rb /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0/puppetserver-ca.gemspec /builddir/build/BUILD/puppetserver-ca-1.8.0/usr/bin/puppetserver-ca Successfully installed puppetserver-ca-1.8.0 Parsing documentation for puppetserver-ca-1.8.0 Parsing sources... 4% [ 1/25] lib/puppetserver/ca.rb 8% [ 2/25] lib/puppetserver/ca/action/clean.rb 12% [ 3/25] lib/puppetserver/ca/action/enable.rb 16% [ 4/25] lib/puppetserver/ca/action/generate.rb 20% [ 5/25] lib/puppetserver/ca/action/import.rb 24% [ 6/25] lib/puppetserver/ca/action/list.rb 28% [ 7/25] lib/puppetserver/ca/action/revoke.rb 32% [ 8/25] lib/puppetserver/ca/action/setup.rb 36% [ 9/25] lib/puppetserver/ca/action/sign.rb 40% [10/25] lib/puppetserver/ca/certificate_authority.rb 44% [11/25] lib/puppetserver/ca/cli.rb 48% [12/25] lib/puppetserver/ca/config/puppet.rb 52% [13/25] lib/puppetserver/ca/config/puppetserver.rb 56% [14/25] lib/puppetserver/ca/errors.rb 60% [15/25] lib/puppetserver/ca/host.rb 64% [16/25] lib/puppetserver/ca/local_certificate_authority.rb 68% [17/25] lib/puppetserver/ca/logger.rb 72% [18/25] lib/puppetserver/ca/stub.rb 76% [19/25] lib/puppetserver/ca/utils/cli_parsing.rb 80% [20/25] lib/puppetserver/ca/utils/config.rb 84% [21/25] lib/puppetserver/ca/utils/file_system.rb 88% [22/25] lib/puppetserver/ca/utils/http_client.rb 92% [23/25] lib/puppetserver/ca/utils/signing_digest.rb 96% [24/25] lib/puppetserver/ca/version.rb 100% [25/25] lib/puppetserver/ca/x509_loader.rb Installing ri documentation for puppetserver-ca-1.8.0 Installing darkfish documentation for puppetserver-ca-1.8.0 Done installing documentation for puppetserver-ca after 0 seconds 1 gem installed + mkdir -p /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/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/specifications /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/bin + cp -a ./usr/bin/puppetserver-ca /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/bin/ + rm -rf /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/share/gems/gems/puppetserver-ca-1.8.0/.gitignore /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/share/gems/gems/puppetserver-ca-1.8.0/.travis.yml + sed -i -r 's/^require\ '\''bundler\/setup.*//g' /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/share/gems/gems/puppetserver-ca-1.8.0/exe/puppetserver-ca + sed -i -r 's/^require\ '\''bundler\/setup.*//g' /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/share/gems/gems/puppetserver-ca-1.8.0/bin/console + sed -i -r 's/^Bundler\.require\(\:default\)$//g' /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64/usr/share/gems/gems/puppetserver-ca-1.8.0/exe/puppetserver-ca + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.8.0-1.fc33 --unique-debug-suffix -1.8.0-1.fc33.x86_64 --unique-debug-src-base rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/puppetserver-ca-1.8.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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/puppetserver-ca-1.8.0/exe/puppetserver-ca from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/puppetserver-ca-1.8.0/bin/console from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/puppetserver-ca-1.8.0/bin/setup from /usr/bin/env bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.3shrUw + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/puppetserver-ca-1.8.0/usr/share/gems/gems/puppetserver-ca-1.8.0 ~/build/BUILD/puppetserver-ca-1.8.0 + cd puppetserver-ca-1.8.0 + pushd ./usr/share/gems/gems/puppetserver-ca-1.8.0 + ln -s /builddir/build/BUILD/spec . + sed -i -r 's/^require\ \"bundler\/setup.*//g' spec/spec_helper.rb + sed -i -r 's/^Bundler\.require.*//g' spec/spec_helper.rb + sed -i -r 's/.*\.add(_runtime)?_dependency.*facter.*//g' /builddir/build/BUILD/puppetserver-ca-1.8.0//usr/share/gems/gems/puppetserver-ca-1.8.0/puppetserver-ca.gemspec + sed -i -r 's/^gem\s.*pry.*//g' /builddir/build/BUILD/puppetserver-ca-1.8.0//usr/share/gems/gems/puppetserver-ca-1.8.0/Gemfile + sed -i -r 's/.*\.add(_development)?_dependency.*rake.*//g' /builddir/build/BUILD/puppetserver-ca-1.8.0//usr/share/gems/gems/puppetserver-ca-1.8.0/puppetserver-ca.gemspec + sed -i '/it '\''correctly\ reads\ server_list/,/end/ s/^/#/' spec/puppetserver/ca/config/puppet_spec.rb + rspec spec Puppetserver::Ca::Action::Clean flags takes a single certname takes a comma separated list of certnames takes a custom puppet.conf location validation requires at least one certname cannot clean certs with the names of flags clean logs success and returns zero if revoked and cleaned logs success and returns zero if cleaned but already revoked fails and does not attempt to clean if revocation fails logs an error and returns 1 if some did not exist logs an error and returns 24 if some were unsigned logs returns 1 if some were unsigned and not found prints an error and returns 1 if an unknown error occurs Puppetserver::Ca::Action::Enable prints the help output & returns 1 if invalid flags are given infracrl does not print the help output if called correctly requires an inventory file to be present generates infra CRL refuses to overwrite existing files Puppetserver::Ca::Action::Generate flags takes a single certname takes a comma separated list of certnames takes a custom puppet.conf location takes an optional ttl value validation prints the help output & returns 1 if invalid flags are given requires at least one certname cannot create certs with the names of flags requires certnames to be in all lowercase characters downloading logs success and returns zero if downloaded converts the ttl value of 1y to seconds in the request to sign the certificate converts the ttl value without units as seconds in the request to sign the certificate errors if there is an invalid ttl logs an error if any could not be downloaded prints an error if an unknown error occurs refuses to overwrite existing cert files with autosigning enabled does not request that the cert be signed if the CA already autosigned it with a csr_attributes file adds attributes and extensions to the csr adds puppet short name attributes and extensions to the csr return nil for csr if extension is incorrect return nil for csr if extension name provided is subjectAltName return nil for csr if attribute name provided isn't correct return nil for csr if attribute name provided is private logs an error if csr attributes were incorrect logs an error if csr attributes are not in hash format subject alternative names accepts unprefixed alt names ignores the subject_alt_names setting adds an attribute to csr if subject_alt_names are passed correctly encodes subject alt names ca-client flag returns false if nothing is listening on the port dies if there are other issues with the connection refuses to generate a cert if the server is running does not contact the CA API when a ca-client cert is requested adds the auth extension to the cert updates the serial file Puppetserver::Ca::Action::Import prints the help output & returns 1 if invalid flags are given prints the help output & returns 1 if no input is given does not print the help output if called correctly creates all files with correct permissions accepts unprefixed alt names accepts DNS and IP alt names adds default subject alt names to the master cert adds custom subject alt names to the master cert will not overwrite existing CA files honors existing master key pair when generating masters cert fails if only one of masters public, private keys are present validation requires the --cert-bundle requires the --private-key requires the --crl-chain requires cert-bundle, private-key, and crl-chain to be readable validates all certs in bundle are parseable validates that there are certs in the bundle validates the private key validates the private key and leaf cert match validates all crls in chain are parseable validates that there are crls in the chain, if given chain generates a leaf crl if none is provided validates the root crl is present after generating a leaf crl validates that leaf cert is valid wrt the provided chain/bundle validates config from cli is readable Puppetserver::Ca::Action::List error handling logs when no certs are found logs requested certs logs requested, signed, and revoked certs with --all flag logs requested certs with --certs flag logs a non-existent cert as missing when requested with --certs flag errors when any requested certs are missing with --certs flag Puppetserver::Ca::Action::Revoke flags takes a single certname takes a comma separated list of certnames takes a custom puppet.conf location validation requires at least one certname cannot revoke certs with the names of flags revocation logs success and returns zero if revoked logs an error and returns 1 if any could not be revoked logs an error and returns 24 if any were certificate requests rather than certs returns 1 if any erred, regardless of if some were unsigned prints an error and returns 1 if an unknown error occurs Puppetserver::Ca::Action::Setup prints the help output & returns 1 if invalid flags are given does not print the help output if called correctly creates all files with correct permissions accepts unprefixed alt names accepts DNS and IP alt names adds default subject alt names to the master cert adds custom subject alt names to the master cert will not overwrite existing CA files honors existing master key pair when generating masters cert fails if only one of masters public, private keys are present command line name overrides uses the ca_name as specified on the command line uses the default ca_name if none specified Puppetserver::Ca::SignAction validation does not expect an argument does not allow --all with a valid certname call errors without any arguments errors without a certname does not allow --certname and --all works with a single cert works with a comma separated list of certs works with a single cert and ttl error handling logs and exits with zero with successful PUT logs and exits with zero with successful PUT with a custom ttl fails when an invalid ttl is specified logs and exits with zero with successful GET and PUT fails when GET request errors returns 24 when no pending certs continues signing certs after failed request Puppetserver::Ca::Cli general options responds to a --help flag prints the version the clean action responds to a --help flag prints the version the enable action responds to a --help flag prints the version the generate action responds to a --help flag prints the version the setup action responds to a --help flag prints the version the import action responds to a --help flag prints the version the list action responds to a --help flag prints the version the revoke action responds to a --help flag prints the version the sign action responds to a --help flag prints the version Puppetserver::Ca::Config::Puppet parses basic inifile discards weird file metadata info resolves dependent settings properly uses server_list for default ca_server and ca_port combines agent, main, and master sections properly converts ca_ttl setting correctly into seconds errs if it cannot resolve dependent settings properly when dns_alt_names are provided prepends "DNS" to unprefixed alt names and includes default certname when dns_alt_names are NOT provided it returns an empty string for subject_alt_names Puppetserver::Ca::Config::PuppetServer overrides defaults with settings from the config file logs errors that occur during HOCON parsing Puppetserver::Ca::Error can wrap an exception Puppetserver::Ca::Errors handle with usage logs errors at error level returns true if errors have been handled optionally prints a usage, if given Puppetserver::Ca::LocalCertificateAuthority #initialize loads ssl assets if they exist when an ssl asset is missing does not load ssl assets if they are not found with a malformed certificate adds an error to the ca object #create_master_cert without a csr_attributes file adds only MA extensions to the csr with a csr_attributes file adds extensions from csr_attributes yaml to the csr #sign_authorized_cert has the special auth extension does not add default subject alt names adds subject alt names if specified hex serial file converts the hex serial to integer on read converts the hex serial to integer on write Puppetserver::Ca::Utils::CliParsing parse_without_raising separates out flags called without required arguments separates out unknown flags and their arguments spearates out non flag parameters saves items in the order they were passed parse_with_errors returns meaningful errors Puppetserver::Ca::Utils::HttpClient creates a store that can validate connections to CA Puppetserver::Ca has a version number Finished in 1.74 seconds (files took 0.27305 seconds to load) 169 examples, 0 failures + popd ~/build/BUILD/puppetserver-ca-1.8.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-puppetserver-ca-1.8.0-1.fc33.noarch Provides: rubygem(puppetserver-ca) = 1.8.0 rubygem-puppetserver-ca = 1.8.0-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/ruby ruby(rubygems) Processing files: rubygem-puppetserver-ca-doc-1.8.0-1.fc33.noarch Provides: rubygem-puppetserver-ca-doc = 1.8.0-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64 Wrote: /builddir/build/RPMS/rubygem-puppetserver-ca-1.8.0-1.fc33.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-puppetserver-ca-doc-1.8.0-1.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1vQHhv + umask 022 + cd /builddir/build/BUILD + cd puppetserver-ca-1.8.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-puppetserver-ca-1.8.0-1.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0