Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-thread_order.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191966-12928/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-thread_order.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'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rubygem-thread_order-1.1.1-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-thread_order.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-191966-12928/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-thread_order.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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FJVc4O + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/thread_order-1.1.1.gem Unpacked gem: '/builddir/build/BUILD/thread_order-1.1.1' + cd /builddir/build/BUILD + cd thread_order-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/thread_order-1.1.1.gem -l --ruby + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FCsH62 + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd thread_order-1.1.1 + gem build thread_order.gemspec Successfully built RubyGem Name: thread_order Version: 1.1.1 File: thread_order-1.1.1.gem + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MjVI2l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch + cd thread_order-1.1.1 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc thread_order-1.1.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/thread_order-1.1.1 Bin dir: /builddir/build/BUILD/thread_order-1.1.1/usr/bin Gem home: /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems Plugins dir: /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/plugins /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/.gitignore /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/.travis.yml /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/Gemfile /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/License.txt /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/Readme.md /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order/mutex.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order/version.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/run /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/thread_order.gemspec Successfully installed thread_order-1.1.1 Parsing documentation for thread_order-1.1.1 Parsing sources... 33% [ 1/ 3] lib/thread_order.rb 66% [ 2/ 3] lib/thread_order/mutex.rb 100% [ 3/ 3] lib/thread_order/version.rb Installing ri documentation for thread_order-1.1.1 Installing darkfish documentation for thread_order-1.1.1 Done installing documentation for thread_order after 0 seconds 1 gem installed + mkdir -p /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch/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-thread_order-1.1.1-4.ocs23.noarch/usr/share/gems/ + pushd /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch ~/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch ~/build/BUILD/thread_order-1.1.1 + rm -f ./usr/share/gems/cache/thread_order-1.1.1.gem + pushd ./usr/share/gems/gems/thread_order-1.1.1 ~/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch/usr/share/gems/gems/thread_order-1.1.1 ~/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch ~/build/BUILD/thread_order-1.1.1 + rm -rf .gitignore .travis.yml Gemfile spec/ thread_order.gemspec + popd ~/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch ~/build/BUILD/thread_order-1.1.1 ~/build/BUILD/thread_order-1.1.1 + popd + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.1-4.ocs23 --unique-debug-suffix -1.1.1-4.ocs23.noarch --unique-debug-src-base rubygem-thread_order-1.1.1-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/thread_order-1.1.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.q9AsxM + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS ~/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1 ~/build/BUILD/thread_order-1.1.1 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd thread_order-1.1.1 + FAILFILE=() + FAILTEST=() + FAILFILE+=("spec/thread_order_spec.rb") + FAILTEST+=("is implemented without depending on the stdlib") + pushd ./usr/share/gems/gems/thread_order-1.1.1 + (( i = 0 )) + (( i < 1 )) + sed -i -e '\@is implemented without depending on the stdlib@s|do$|, :broken => true do|' spec/thread_order_spec.rb + (( i++ )) + (( i < 1 )) + rspec spec/ ....F........# terminated with exception (report_on_exception is true): ./builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:88:in `sleep': the roof (RuntimeError) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:88:in `block (4 levels) in ' from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' # terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:102:in `block (5 levels) in ': to the rules (Exception) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' .# terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:109:in `sleep': to the rules (Exception) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:109:in `block (4 levels) in ' . from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' ......... Failures: 1) ThreadOrder is implemented without depending on the stdlib Failure/Error: expect(loaded_filenames).to_not include filename expected ["enumerator.so", "thread.rb", "fiber.so", "rational.so", "complex.so", "ruby2_keywords.rb", "encdb.s...so", "base_formatter.rb", "base_text_formatter.rb", "progress_formatter.rb", "profiler.rb", "eq.rb"] not to include "monitor.rb" # ./spec/thread_order_spec.rb:153:in `block (2 levels) in ' # ./spec/thread_order_spec.rb:158:in `block (2 levels) in ' Finished in 0.75632 seconds (files took 0.12516 seconds to load) 25 examples, 1 failure Failed examples: rspec ./spec/thread_order_spec.rb:156 # ThreadOrder is implemented without depending on the stdlib + rspec spec/ --tag '~broken' Run options: exclude {:broken=>true} ............# terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:88:in `sleep': the roof (RuntimeError) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:88:in `block (4 levels) in ' from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' .# terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:102:in `block (5 levels) in ': to the rules (Exception) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' .# terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:109:in `sleep': to the rules (Exception) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:109:in `block (4 levels) in ' from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' .......... Finished in 1.74 seconds (files took 0.15604 seconds to load) 24 examples, 0 failures ~/build/BUILD/thread_order-1.1.1 + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-thread_order-1.1.1-4.ocs23.noarch Provides: rubygem(thread_order) = 1.1.1 rubygem-thread_order = 1.1.1-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-4.ocs23.noarch Wrote: /builddir/build/RPMS/rubygem-thread_order-1.1.1-4.ocs23.noarch.rpm Child return code was: 0