Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-loofah.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1590720691.521363/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.pz1tl4jx:/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.pz1tl4jx:/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', '143b427a5f6c4754abb077c9b6b75431', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1590720691.521363/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pz1tl4jx:/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-loofah.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=1582243200 Wrote: /builddir/build/SRPMS/rubygem-loofah-2.4.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-loofah.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1590720691.521363/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.pz1tl4jx:/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.pz1tl4jx:/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', 'c36aa72ee02044c6bdba02e2f891e331', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1590720691.521363/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pz1tl4jx:/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-loofah.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=1582243200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rDGABt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf loofah-2.4.0 + /usr/bin/gem unpack /builddir/build/SOURCES/loofah-2.4.0.gem Unpacked gem: '/builddir/build/BUILD/loofah-2.4.0' + /usr/bin/gem spec /builddir/build/SOURCES/loofah-2.4.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd loofah-2.4.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.vea7lx + umask 022 + cd /builddir/build/BUILD + cd loofah-2.4.0 + gem build ../loofah-2.4.0.gemspec WARNING: open-ended dependency on nokogiri (>= 1.5.9) is not recommended if nokogiri is semantically versioned, use: add_runtime_dependency 'nokogiri', '~> 1.5', '>= 1.5.9' WARNING: open-ended dependency on concourse (>= 0.26.0, development) is not recommended if concourse is semantically versioned, use: add_development_dependency 'concourse', '~> 0.26', '>= 0.26.0' WARNING: open-ended dependency on rubocop (>= 0.76.0, development) is not recommended if rubocop is semantically versioned, use: add_development_dependency 'rubocop', '~> 0.76', '>= 0.76.0' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: loofah Version: 2.4.0 File: loofah-2.4.0.gem + 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 loofah-2.4.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/loofah-2.4.0 Bin dir: /builddir/build/BUILD/loofah-2.4.0/usr/bin Gem home: /builddir/build/BUILD/loofah-2.4.0/usr/share/gems /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/.gemtest /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/CHANGELOG.md /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/Gemfile /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/MIT-LICENSE.txt /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/Manifest.txt /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/README.md /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/Rakefile /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/SECURITY.md /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/benchmark/benchmark.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/benchmark/fragment.html /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/benchmark/helper.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/benchmark/www.slashdot.com.html /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/elements.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/helpers.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/html/document.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/html/document_fragment.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/html5/libxml2_workarounds.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/html5/safelist.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/html5/scrub.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/instance_methods.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/metahelpers.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/scrubber.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/scrubbers.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/xml/document.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/lib/loofah/xml/document_fragment.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/assets/msword.html /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/assets/testdata_sanitizer_tests1.dat /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/helper.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/html5/test_sanitizer.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/html5/test_scrub.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/integration/test_ad_hoc.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/integration/test_helpers.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/integration/test_html.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/integration/test_scrubbers.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/integration/test_xml.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/unit/test_api.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/unit/test_encoding.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/unit/test_helpers.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/unit/test_scrubber.rb /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/unit/test_scrubbers.rb Successfully installed loofah-2.4.0 Parsing documentation for loofah-2.4.0 Parsing sources... 5% [ 1/19] CHANGELOG.md 10% [ 2/19] MIT-LICENSE.txt 15% [ 3/19] Manifest.txt 21% [ 4/19] README.md 26% [ 5/19] SECURITY.md 31% [ 6/19] lib/loofah.rb 36% [ 7/19] lib/loofah/elements.rb 42% [ 8/19] lib/loofah/helpers.rb 47% [ 9/19] lib/loofah/html/document.rb 52% [10/19] lib/loofah/html/document_fragment.rb 57% [11/19] lib/loofah/html5/libxml2_workarounds.rb 63% [12/19] lib/loofah/html5/safelist.rb 68% [13/19] lib/loofah/html5/scrub.rb 73% [14/19] lib/loofah/instance_methods.rb 78% [15/19] lib/loofah/metahelpers.rb 84% [16/19] lib/loofah/scrubber.rb 89% [17/19] lib/loofah/scrubbers.rb 94% [18/19] lib/loofah/xml/document.rb 100% [19/19] lib/loofah/xml/document_fragment.rb Installing ri documentation for loofah-2.4.0 Installing darkfish documentation for loofah-2.4.0 Done installing documentation for loofah after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6NARax + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-loofah-2.4.0-1.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-loofah-2.4.0-1.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-loofah-2.4.0-1.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-loofah-2.4.0-1.fc33.x86_64 + cd loofah-2.4.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-loofah-2.4.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-loofah-2.4.0-1.fc33.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.4.0-1.fc33 --unique-debug-suffix -2.4.0-1.fc33.x86_64 --unique-debug-src-base rubygem-loofah-2.4.0-1.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/loofah-2.4.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 *** WARNING: ./usr/share/gems/gems/loofah-2.4.0/test/html5/test_sanitizer.rb is executable but has no shebang, removing executable bit mangling shebang in /usr/share/gems/gems/loofah-2.4.0/benchmark/benchmark.rb from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NHE8vx + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0 ~/build/BUILD/loofah-2.4.0 + cd loofah-2.4.0 + pushd ./usr/share/gems/gems/loofah-2.4.0 + ruby -Itest -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' Warning: you should require 'minitest/autorun' instead. Warning: or add 'gem "minitest"' before 'require "minitest/autorun"' From: /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/helper.rb:2:in `' /builddir/build/BUILD/loofah-2.4.0/usr/share/gems/gems/loofah-2.4.0/test/unit/test_scrubbers.rb:1:in `' -e:1:in `glob' -e:1:in `
' => testing with Nokogiri {"warnings"=>[], "nokogiri"=>"1.10.9", "ruby"=>{"version"=>"2.7.1", "platform"=>"x86_64-linux", "description"=>"ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]", "engine"=>"ruby"}, "libxml"=>{"binding"=>"extension", "source"=>"system", "compiled"=>"2.9.10", "loaded"=>"2.9.10"}} Run options: --seed 6861 # Running: .......S.................................................................S............................................................................................................................................................................................................................................................................................................................................................................S............................................................................................................................................................................................................................................................................................................................................................................................ Finished in 0.361757s, 2263.9505 runs/s, 2626.0720 assertions/s. 819 runs, 950 assertions, 0 failures, 0 errors, 3 skips You have skipped tests. Run with --verbose for details. + popd ~/build/BUILD/loofah-2.4.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-loofah-2.4.0-1.fc33.noarch Provides: rubygem(loofah) = 2.4.0 rubygem-loofah = 2.4.0-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(crass) >= 1.0.2 with rubygem(crass) < 1.1) ruby(rubygems) rubygem(nokogiri) >= 1.5.9 Processing files: rubygem-loofah-doc-2.4.0-1.fc33.noarch Provides: rubygem-loofah-doc = 2.4.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/ruby Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-loofah-2.4.0-1.fc33.x86_64 Wrote: /builddir/build/RPMS/rubygem-loofah-2.4.0-1.fc33.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-loofah-doc-2.4.0-1.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gGNcRv + umask 022 + cd /builddir/build/BUILD + cd loofah-2.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-loofah-2.4.0-1.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0