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 noarch --nodeps /builddir/build/SPECS/rubygem-thread_order.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-295540-28690/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-6.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='/var/lib/mock/dist-ocs23-rebuild-test-0-build-295540-28690/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.77M0m2 + 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.bn6qLQ + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 WARNING: expected RubyGems version 3.5.16, was 2.7.6 WARNING: make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute WARNING: See https://guides.rubygems.org/specification-reference/ for help 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.xRpb7j + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 1 gem installed + mkdir -p /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.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-6.ocs23.noarch/usr/share/gems/ + pushd /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.ocs23.noarch ~/build/BUILDROOT/rubygem-thread_order-1.1.1-6.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-6.ocs23.noarch/usr/share/gems/gems/thread_order-1.1.1 ~/build/BUILDROOT/rubygem-thread_order-1.1.1-6.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-6.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-6.ocs23 --unique-debug-suffix -1.1.1-6.ocs23.noarch --unique-debug-src-base rubygem-thread_order-1.1.1-6.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.1w1H0f + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 ~/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1 ~/build/BUILD/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 1.68 seconds (files took 0.07829 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.86 seconds (files took 0.08166 seconds to load) 24 examples, 0 failures + popd ~/build/BUILD/thread_order-1.1.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-thread_order-1.1.1-6.ocs23.noarch error: File not found: /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.ocs23.noarch/usr/share/gems/doc/thread_order-1.1.1 File not found: /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-6.ocs23.noarch/usr/share/gems/doc/thread_order-1.1.1 RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-thread_order.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-thread_order.spec