Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-parallel.spec'], chrootPath='/var/lib/mock/f40-build-2034233-47865/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=864000uid=996gid=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-parallel.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/rubygem-parallel-1.12.1-13.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-parallel.spec'], chrootPath='/var/lib/mock/f40-build-2034233-47865/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=864000uid=996gid=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-parallel.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1hwo3X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf parallel-1.12.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/parallel-1.12.1.gem Unpacked gem: '/builddir/build/BUILD/parallel-1.12.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd parallel-1.12.1 + rm -rf /builddir/build/BUILD/parallel-1.12.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/parallel-1.12.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf parallel-1.12.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/parallel-1.12.1.gem Unpacked gem: '/builddir/build/BUILD/parallel-1.12.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd parallel-1.12.1 + rm -rf /builddir/build/BUILD/parallel-1.12.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/parallel-1.12.1-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/parallel-1.12.1-spec.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (00-disable-broken-tests.patch):' Patch #0 (00-disable-broken-tests.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/parallel_spec.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HRPZNS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 -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 parallel-1.12.1 + gem build ../parallel-1.12.1.gemspec Successfully built RubyGem Name: parallel Version: 1.12.1 File: parallel-1.12.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer'\'' --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 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc parallel-1.12.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/parallel-1.12.1 Bin dir: /builddir/build/BUILD/parallel-1.12.1/usr/bin Gem home: /builddir/build/BUILD/parallel-1.12.1/usr/share/gems Plugins dir: /builddir/build/BUILD/parallel-1.12.1/usr/share/gems/plugins /builddir/build/BUILD/parallel-1.12.1/usr/share/gems/gems/parallel-1.12.1/MIT-LICENSE.txt /builddir/build/BUILD/parallel-1.12.1/usr/share/gems/gems/parallel-1.12.1/lib/parallel.rb /builddir/build/BUILD/parallel-1.12.1/usr/share/gems/gems/parallel-1.12.1/lib/parallel/processor_count.rb /builddir/build/BUILD/parallel-1.12.1/usr/share/gems/gems/parallel-1.12.1/lib/parallel/version.rb Successfully installed parallel-1.12.1 Parsing documentation for parallel-1.12.1 Parsing sources... 33% [ 1/ 3] lib/parallel.rb 66% [ 2/ 3] lib/parallel/processor_count.rb 100% [ 3/ 3] lib/parallel/version.rb Installing ri documentation for parallel-1.12.1 Installing darkfish documentation for parallel-1.12.1 Done installing documentation for parallel after 5 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oEfOYW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-parallel-1.12.1-13.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-parallel-1.12.1-13.fc40.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-parallel-1.12.1-13.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-parallel-1.12.1-13.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 -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 parallel-1.12.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-parallel-1.12.1-13.fc40.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-parallel-1.12.1-13.fc40.noarch/usr/share/gems/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.12.1-13.fc40 --unique-debug-suffix -1.12.1-13.fc40.noarch --unique-debug-src-base rubygem-parallel-1.12.1-13.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/parallel-1.12.1 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /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 + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Mxubwl + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 -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 parallel-1.12.1 + export GEM_PATH=/builddir/build/BUILDROOT/rubygem-parallel-1.12.1-13.fc40.noarch//usr/share/gems:/usr/share/gems + GEM_PATH=/builddir/build/BUILDROOT/rubygem-parallel-1.12.1-13.fc40.noarch//usr/share/gems:/usr/share/gems + rspec -Ilib spec .........FFFFFF..F...........F...................................................F.......................... Failures: 1) Parallel.in_processes kills the processes when the main process gets killed through ctrl+c Failure/Error: time_taken { result = execute_start_and_kill "PROCESS", 0 result.should_not include "FINISHED" }.should be <= 3 expected: <= 3 got: 3.658292770385742 # ./spec/parallel_spec.rb:96:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 2) Parallel.in_processes kills the processes when the main process gets killed through a custom interrupt Failure/Error: time_taken { execute_start_and_kill "PROCESS SIGTERM", 0, "TERM" }.should be <= 3 expected: <= 3 got: 3.5767176151275635 # ./spec/parallel_spec.rb:103:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 3) Parallel.in_processes kills the threads when the main process gets killed through ctrl+c Failure/Error: time_taken { result = execute_start_and_kill "THREAD", 0 result.should_not include "FINISHED" }.should be <= 3 expected: <= 3 got: 3.5795738697052 # ./spec/parallel_spec.rb:109:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 4) Parallel.in_processes does not kill processes when the main process gets sent an interrupt besides the custom interrupt Failure/Error: lambda { t = Thread.new { `ruby spec/cases/parallel_start_and_kill.rb #{command} 2>&1 && echo "FINISHED"` } sleep 1.5 kill_process_with_name('spec/cases/parallel_start_and_kill.rb', signal) sleep 1 }.should change { `ps`.split("\n").size }.by amount expected ``ps`.split("\n").size` to have changed by 4, but was changed by 0 # ./spec/parallel_spec.rb:23:in `execute_start_and_kill' # ./spec/parallel_spec.rb:117:in `block (4 levels) in ' # ./spec/parallel_spec.rb:10:in `time_taken' # ./spec/parallel_spec.rb:116:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 5) Parallel.in_processes does not kill threads when the main process gets sent an interrupt besides the custom interrupt Failure/Error: lambda { t = Thread.new { `ruby spec/cases/parallel_start_and_kill.rb #{command} 2>&1 && echo "FINISHED"` } sleep 1.5 kill_process_with_name('spec/cases/parallel_start_and_kill.rb', signal) sleep 1 }.should change { `ps`.split("\n").size }.by amount expected ``ps`.split("\n").size` to have changed by 2, but was changed by 0 # ./spec/parallel_spec.rb:23:in `execute_start_and_kill' # ./spec/parallel_spec.rb:126:in `block (4 levels) in ' # ./spec/parallel_spec.rb:10:in `time_taken' # ./spec/parallel_spec.rb:125:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 6) Parallel.in_processes does not kill anything on ctrl+c when everything has finished Failure/Error: result.should_not include("Parallel execution interrupted") expected "I finished...\nI finished...\nI finished...\nParallel execution interrupted, exiting ...\n/builddir/...rallel-1.12.1/lib/parallel.rb:264:in `map'\n\tfrom spec/cases/parallel_fast_exit.rb:3:in `
'\n" not to include "Parallel execution interrupted" # ./spec/parallel_spec.rb:141:in `block (4 levels) in ' # ./spec/parallel_spec.rb:10:in `time_taken' # ./spec/parallel_spec.rb:134:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 7) Parallel.in_processes saves time Failure/Error: time_taken{ `ruby spec/cases/parallel_sleeping_2.rb` }.should < 3.5 expected: < 3.5 got: 4.479884386062622 # ./spec/parallel_spec.rb:162:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 8) Parallel.map starts new process imediatly when old exists Failure/Error: time_taken{ `ruby spec/cases/parallel_map_uneven.rb` }.should <= 3.5 expected: <= 3.5 got: 4.3876307010650635 # ./spec/parallel_spec.rb:237:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' 9) Parallel.each does not slow down with lots of GC work in threads Failure/Error: Benchmark.realtime { `ruby spec/cases/no_gc_with_each.rb 2>&1` }.should <= (ENV["TRAVIS"] ? 15 : 10) expected: <= 10 got: 21.962670309003443 # ./spec/parallel_spec.rb:486:in `block (3 levels) in ' # ./spec/spec_helper.rb:8:in `block (2 levels) in ' Finished in 4 minutes 27.3 seconds (files took 2.09 seconds to load) 108 examples, 9 failures Failed examples: rspec ./spec/parallel_spec.rb:95 # Parallel.in_processes kills the processes when the main process gets killed through ctrl+c rspec ./spec/parallel_spec.rb:102 # Parallel.in_processes kills the processes when the main process gets killed through a custom interrupt rspec ./spec/parallel_spec.rb:108 # Parallel.in_processes kills the threads when the main process gets killed through ctrl+c rspec ./spec/parallel_spec.rb:115 # Parallel.in_processes does not kill processes when the main process gets sent an interrupt besides the custom interrupt rspec ./spec/parallel_spec.rb:124 # Parallel.in_processes does not kill threads when the main process gets sent an interrupt besides the custom interrupt rspec ./spec/parallel_spec.rb:133 # Parallel.in_processes does not kill anything on ctrl+c when everything has finished rspec ./spec/parallel_spec.rb:159 # Parallel.in_processes saves time rspec ./spec/parallel_spec.rb:234 # Parallel.map starts new process imediatly when old exists rspec ./spec/parallel_spec.rb:485 # Parallel.each does not slow down with lots of GC work in threads + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-parallel-1.12.1-13.fc40.noarch Provides: rubygem(parallel) = 1.12.1 rubygem-parallel = 1.12.1-13.fc40 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-parallel-doc-1.12.1-13.fc40.noarch Provides: rubygem-parallel-doc = 1.12.1-13.fc40 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-parallel-1.12.1-13.fc40.noarch Wrote: /builddir/build/RPMS/rubygem-parallel-1.12.1-13.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-parallel-doc-1.12.1-13.fc40.noarch.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0