Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-concurrent-ruby.spec'], chrootPath='/var/lib/mock/f42-build-53670217-6436648/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sxqi10_c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sxqi10_c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '7d3c104d99594935ac6940cda7e59699', '-D', '/var/lib/mock/f42-build-53670217-6436648/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sxqi10_c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-concurrent-ruby.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/rubygem-concurrent-ruby-1.1.9-7.fc42.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-concurrent-ruby.spec'], chrootPath='/var/lib/mock/f42-build-53670217-6436648/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sxqi10_c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sxqi10_c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '22d89e390eff4a40bb18aa10b0e3a32c', '-D', '/var/lib/mock/f42-build-53670217-6436648/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sxqi10_c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-concurrent-ruby.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.q8FySw + umask 022 + cd /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + test -d /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + /usr/bin/rm -rf /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZwiDbK + umask 022 + cd /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + cd /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + rm -rf concurrent-ruby-1.1.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/concurrent-ruby-1.1.9-specs.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/concurrent-ruby-1.1.9.gem Unpacked gem: '/builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9' + STATUS=0 + '[' 0 -ne 0 ']' + cd concurrent-ruby-1.1.9 + /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.OvgWs2 + umask 022 + cd /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + CFLAGS='-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 -m64 -march=z13 -mtune=z14 -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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -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 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 --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 concurrent-ruby-1.1.9 + gem build ../concurrent-ruby-1.1.9.gemspec WARNING: expected RubyGems version 3.5.16, was 3.2.3 WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: concurrent-ruby Version: 1.1.9 File: concurrent-ruby-1.1.9.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 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --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 concurrent-ruby-1.1.9.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9 Bin dir: /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/bin Gem home: /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems Plugins dir: /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/plugins /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/CHANGELOG.md /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/Gemfile /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/LICENSE.txt /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/README.md /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/Rakefile /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/ConcurrentRubyService.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent-ruby.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/agent.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/array.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/async.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atom.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/event.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/semaphore.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomics.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/deprecation.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/logging.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/obligation.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/observable.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concurrent_ruby.jar /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/configuration.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/constants.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/dataflow.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/delay.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/errors.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/exchanger.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/executor_service.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/timer_set.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executors.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/future.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/hash.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/immutable_struct.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/ivar.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/map.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/maybe.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mutable_struct.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mvar.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/options.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promises.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/re_include.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/scheduled_task.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/set.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/settable_struct.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/condition.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lock.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/volatile.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/timer_task.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tuple.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tvar.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/engine.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_integer.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/processor_counter.rb /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/version.rb Successfully installed concurrent-ruby-1.1.9 Parsing documentation for concurrent-ruby-1.1.9 Parsing sources... 0% [ 1/123] CHANGELOG.md 1% [ 2/123] LICENSE.txt 2% [ 3/123] README.md 3% [ 4/123] lib/concurrent-ruby/concurrent-ruby.rb 4% [ 5/123] lib/concurrent-ruby/concurrent.rb 4% [ 6/123] lib/concurrent-ruby/concurrent/agent.rb 5% [ 7/123] lib/concurrent-ruby/concurrent/array.rb 6% [ 8/123] lib/concurrent-ruby/concurrent/async.rb 7% [ 9/123] lib/concurrent-ruby/concurrent/atom.rb 8% [10/123] lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb 8% [11/123] lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb 9% [12/123] lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb 10% [13/123] lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb 11% [14/123] lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb 12% [15/123] lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb 13% [16/123] lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb 13% [17/123] lib/concurrent-ruby/concurrent/atomic/event.rb 14% [18/123] lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb 15% [19/123] lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb 16% [20/123] lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb 17% [21/123] lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb 17% [22/123] lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb 18% [23/123] lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb 19% [24/123] lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb 20% [25/123] lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb 21% [26/123] lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb 21% [27/123] lib/concurrent-ruby/concurrent/atomic/semaphore.rb 22% [28/123] lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb 23% [29/123] lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb 24% [30/123] lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb 25% [31/123] lib/concurrent-ruby/concurrent/atomics.rb 26% [32/123] lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb 26% [33/123] lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb 27% [34/123] lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb 28% [35/123] lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb 29% [36/123] lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb 30% [37/123] lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb 30% [38/123] lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb 31% [39/123] lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb 32% [40/123] lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb 33% [41/123] lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb 34% [42/123] lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb 34% [43/123] lib/concurrent-ruby/concurrent/concern/deprecation.rb 35% [44/123] lib/concurrent-ruby/concurrent/concern/dereferenceable.rb 36% [45/123] lib/concurrent-ruby/concurrent/concern/logging.rb 37% [46/123] lib/concurrent-ruby/concurrent/concern/obligation.rb 38% [47/123] lib/concurrent-ruby/concurrent/concern/observable.rb 39% [48/123] lib/concurrent-ruby/concurrent/configuration.rb 39% [49/123] lib/concurrent-ruby/concurrent/constants.rb 40% [50/123] lib/concurrent-ruby/concurrent/dataflow.rb 41% [51/123] lib/concurrent-ruby/concurrent/delay.rb 42% [52/123] lib/concurrent-ruby/concurrent/errors.rb 43% [53/123] lib/concurrent-ruby/concurrent/exchanger.rb 43% [54/123] lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb 44% [55/123] lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb 45% [56/123] lib/concurrent-ruby/concurrent/executor/executor_service.rb 46% [57/123] lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb 47% [58/123] lib/concurrent-ruby/concurrent/executor/immediate_executor.rb 47% [59/123] lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb 48% [60/123] lib/concurrent-ruby/concurrent/executor/java_executor_service.rb 49% [61/123] lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb 50% [62/123] lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb 51% [63/123] lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb 52% [64/123] lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb 52% [65/123] lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb 53% [66/123] lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb 54% [67/123] lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb 55% [68/123] lib/concurrent-ruby/concurrent/executor/serialized_execution.rb 56% [69/123] lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb 56% [70/123] lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb 57% [71/123] lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb 58% [72/123] lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb 59% [73/123] lib/concurrent-ruby/concurrent/executor/timer_set.rb 60% [74/123] lib/concurrent-ruby/concurrent/executors.rb 60% [75/123] lib/concurrent-ruby/concurrent/future.rb 61% [76/123] lib/concurrent-ruby/concurrent/hash.rb 62% [77/123] lib/concurrent-ruby/concurrent/immutable_struct.rb 63% [78/123] lib/concurrent-ruby/concurrent/ivar.rb 64% [79/123] lib/concurrent-ruby/concurrent/map.rb 65% [80/123] lib/concurrent-ruby/concurrent/maybe.rb 65% [81/123] lib/concurrent-ruby/concurrent/mutable_struct.rb 66% [82/123] lib/concurrent-ruby/concurrent/mvar.rb 67% [83/123] lib/concurrent-ruby/concurrent/options.rb 68% [84/123] lib/concurrent-ruby/concurrent/promise.rb 69% [85/123] lib/concurrent-ruby/concurrent/promises.rb 69% [86/123] lib/concurrent-ruby/concurrent/re_include.rb 70% [87/123] lib/concurrent-ruby/concurrent/scheduled_task.rb 71% [88/123] lib/concurrent-ruby/concurrent/set.rb 72% [89/123] lib/concurrent-ruby/concurrent/settable_struct.rb 73% [90/123] lib/concurrent-ruby/concurrent/synchronization.rb 73% [91/123] lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb 74% [92/123] lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb 75% [93/123] lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb 76% [94/123] lib/concurrent-ruby/concurrent/synchronization/condition.rb 77% [95/123] lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb 78% [96/123] lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb 78% [97/123] lib/concurrent-ruby/concurrent/synchronization/lock.rb 79% [98/123] lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb 80% [99/123] lib/concurrent-ruby/concurrent/synchronization/mri_object.rb 81% [100/123] lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb 82% [101/123] lib/concurrent-ruby/concurrent/synchronization/object.rb 82% [102/123] lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb 83% [103/123] lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb 84% [104/123] lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb 85% [105/123] lib/concurrent-ruby/concurrent/synchronization/volatile.rb 86% [106/123] lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb 86% [107/123] lib/concurrent-ruby/concurrent/thread_safe/util.rb 87% [108/123] lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb 88% [109/123] lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb 89% [110/123] lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb 90% [111/123] lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb 91% [112/123] lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb 91% [113/123] lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb 92% [114/123] lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb 93% [115/123] lib/concurrent-ruby/concurrent/timer_task.rb 94% [116/123] lib/concurrent-ruby/concurrent/tuple.rb 95% [117/123] lib/concurrent-ruby/concurrent/tvar.rb 95% [118/123] lib/concurrent-ruby/concurrent/utility/engine.rb 96% [119/123] lib/concurrent-ruby/concurrent/utility/monotonic_time.rb 97% [120/123] lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb 98% [121/123] lib/concurrent-ruby/concurrent/utility/native_integer.rb 99% [122/123] lib/concurrent-ruby/concurrent/utility/processor_counter.rb 100% [123/123] lib/concurrent-ruby/concurrent/version.rb Installing ri documentation for concurrent-ruby-1.1.9 Installing darkfish documentation for concurrent-ruby-1.1.9 Done installing documentation for concurrent-ruby after 4 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JWwjOG + umask 022 + cd /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + '[' /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT ++ dirname /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + mkdir /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT + CFLAGS='-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 -m64 -march=z13 -mtune=z14 -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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -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 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 --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 concurrent-ruby-1.1.9 + mkdir -p /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT/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/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT/usr/share/gems/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 *** WARNING: ./usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/gems/gems/concurrent-ruby-1.1.9/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j3 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j3 /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT Scanned 262 directories and 1800 files, processed 206 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vDTxlp ~/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9 ~/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9 + umask 022 + cd /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build + CFLAGS='-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 -m64 -march=z13 -mtune=z14 -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,-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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -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 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 --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 concurrent-ruby-1.1.9 + pushd ./usr/share/gems/gems/concurrent-ruby-1.1.9 + ln -s /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/spec spec + sed -i '/require.*concurrent-edge/ s/^/#/' spec/spec_helper.rb + sed -i '/allow_c_extensions?/,/^ end/ s/^/#/' spec/concurrent/atomic/atomic_reference_spec.rb + RUBYOPT=-Ilib/concurrent-ruby + rspec -rspec_helper -fd --exclude-pattern 'spec/concurrent/{actor_spec.rb,channel_spec.rb,lazy_register_spec.rb,channel/**/*,edge/**/*,promises_spec.rb,throttle_spec.rb,cancellation_spec.rb,scheduled_task_spec.rb,timer_task_spec.rb,executor/wrapping_executor_spec.rb}' spec Run options: exclude {:stress=>true} Randomized with seed 61110 #atomically retries on abort commits writes if the transaction succeeds nests raises the same exception that was raised in Concurrent::atomically undoes writes if the transaction is aborted raises an exception when no block given provides weak isolation is implemented with lazy writes provides atomicity reflects transactional writes from within the same transaction Concurrent::Delay #value only calls the block once no matter how often #value is called raises when called recursively does not call the block before #value is called can be called twice calls the block when #value is called #initialize raises an exception when no block given sets the state to :pending behavior it should behave like dereferenceable does not call #freeze when #freeze_on_deref is set and the value is nil supports dereference flags with observers calls #freeze when the :freeze_on_deref option is true does not call the #copy_on_deref block when the value is nil calls #dup when the :dup_on_deref option is true defaults :dup_on_deref to false calls the block when the :copy_on_deref option is passed a proc defaults :copy_on_deref to nil does not call #dup when #dup_on_deref is set and the value is nil defaults :freeze_on_deref to false calls the :copy block first followed by #dup followed by #freeze it should behave like obligation #value is nil when :rejected returns immediately when timeout is zero is nil when :pending returns nil when timeout reached is set to the return value of the block when :fulfilled returns nil when reaching the optional timeout value blocks the caller when :pending and timeout is nil returns the value when fulfilled before timeout #state is :pending when first created is :fulfilled when the handler completes is :rejected when the handler raises an exception #reason is set to error object of the exception when :rejected is nil when :pending is nil when :fulfilled #reconfigure returns false when process completed? returns value of block used in reconfiguration Concurrent::CountDownLatch inherits from MutexCountDownLatch Concurrent::Event #reset returns true when called on a set event sets the state of a set event to unset returns true when called on an unset event does not change the state of an unset event does not trigger an unset event #set? returns false if the event is unset returns true when the event has been set #wait blocks indefinitely when the timer is nil blocks indefinitely behaves appropriately if wait begins while #set is processing returns true once the event is set returns false when the timer expires triggers multiple waiting threads stops waiting when the timer expires returns immediately when the event has been set #set triggers the event sets the state to set #try? returns false if previously set returns true if not previously set triggers the event if not already set spurious wake ups should resist spurious wake ups with timeout should resist to spurious wake ups without timeout #initialize sets the state to unset Concurrent::ThreadLocalVar #value= does not modify the value for other threads does not modify the initial value for other threads returns the new value sets a new value #initialize can set a block to be called to get the initial value sets the same initial value for all threads can set an initial value extends RubyThreadLocalVar sets nil as a default initial value when attempting to set both an initial value and a block is expected to raise ArgumentError #value returns the value after modification returns the current value when using a block to initialize the value calls the block to initialize the value for each thread sets the block return value as the current value calls the block to initialize the value Concurrent::Concern::Observable delegates #add_observer delegates #with_observer does not initialize set by by default delegates #count_observers delegates #delete_observers delegates #delete_observer uses the given observer set Concurrent::Hash concurrency is expected to be empty .[] when initializing with an even number of arguments creates a hash using the odd position arguments as keys and even position arguments as values when initializing with another hash as an argument creates a hash with the same contents as the other hash creates a new hash creates a hash with the results of calling #to_hash on the other array when initializing with an array of pairs creates a hash using each pair as a (key, value) pair when initializing with no arguments is expected to be empty .new when initializing with no arguments is expected to be empty when initialized with a block returns the results of calling the block for non-existing key calls the block for non-existing keys when initialized with a default object uses the default object for non-existing keys Concurrent::Atom construction sets the initial value to the given value observable behaves like observable first notification does not notify any observers removed with #delete_observer calls the proc for all observers added as a block calls the appropriate function on all observers which specified a :func does not notify any observers after #delete_observers called calls the #update method on all observers without a specified :func #delete_observers returns self deletes all observers when called before first notification #delete_observer deletes the given observer if called before first notification returns the given observer even when not found in the observer set returns the removed observer if found in the observer set #count_observers returns zero after #delete_observers has been called returns a count of registered observers if called before first notification returns zero for a new observable object #add_observer adds an observer if called before first notification creates an observer from a block if called before first notification raises an exception if not given an observer or a block raises an exception when given both an observer and a block adds an observer with :func if called before first notification #reset returns the new value on success sets the new value returns the old value if the validator returns false returns the new value on success returns the old value if the validator raises an exception #swap returns the new value on success reraises the exception from block sets the new value to the result of the block rejects the new value if the validator returns false passes all arguments to the block rejects the new value if the validator raises an exception raises an exception when no block is given calls the block more than once if the value changes underneath returns the old value if the validator raises an exception returns the old value if the validator returns false passes the current value to the block #compare_and_set sets the new value if the current value matches returns false if the validator raises an exception rejects the new value if the validator returns false returns false if the current value does not match rejects the new value if the current value does not match returns true if the current value matches returns false if the validator returns false rejects the new value if the validator raises an exception Concurrent::MVar #try_take! returns the value on a full MVar returns EMPTY an empty MVar sets a full MVar to be empty #modify raises an exception when no block given modifies a full MVar returns TIMEOUT on timeout on an empty MVar waits for another thread to #put returns the unmodified value is atomic #initialize accepts a nil initial value accepts an empty initial value accepts no initial value accepts an initial value #try_put! returns true an empty MVar returns false on a full MVar sets an empty MVar to be full #borrow returns the returned value of the block puts back value even if an exception is raised returns TIMEOUT on timeout on an empty MVar yields current value to the block and puts back value #full? returns true on a full MVar returns false on an empty MVar #empty? returns true on an empty MVar returns false on a full MVar spurious wake ups #take waits for another thread to #put returns TIMEOUT on timeout on an empty MVar #modify waits for another thread to #put returns TIMEOUT on timeout on an empty MVar #put waits for another thread to #take returns TIMEOUT on timeout on a full MVar behavior it should behave like dereferenceable calls #dup when the :dup_on_deref option is true calls the :copy block first followed by #dup followed by #freeze supports dereference flags with observers calls #freeze when the :freeze_on_deref option is true defaults :freeze_on_deref to false does not call the #copy_on_deref block when the value is nil does not call #freeze when #freeze_on_deref is set and the value is nil defaults :copy_on_deref to nil calls the block when the :copy_on_deref option is passed a proc does not call #dup when #dup_on_deref is set and the value is nil defaults :dup_on_deref to false #modify! returns the unmodified value raises an exception when no block given can be used to set a full MVar to empty can be used to set an empty MVar to empty modifies an empty MVar modifies a full MVar #set! sets an empty MVar to be full sets a full MVar to be full returns the original value on a full MVar returns EMPTY on an empty MVar #take returns the value on a full MVar waits for another thread to #put returns TIMEOUT on timeout on an empty MVar sets the MVar to empty #put waits for another thread to #take sets the MVar to be empty returns TIMEOUT on timeout on a full MVar sets a new value on an empty MVar returns the value Concurrent::Promise #execute pending does not post again sets the promise to :pending with children when called on the root should set all promises to :pending when called on child after parent completes sets state to :pending immediately when called on a child should set all promises to :pending unscheduled sets the promise to :pending posts the block given in construction on_success returns a new promise should have a block it should behave like ivar it should behave like observable #delete_observers deletes all observers when called before first notification returns self #count_observers returns zero after #delete_observers has been called returns a count of registered observers if called before first notification returns zero for a new observable object first notification calls the appropriate function on all observers which specified a :func does not notify any observers after #delete_observers called does not notify any observers removed with #delete_observer calls the #update method on all observers without a specified :func calls the proc for all observers added as a block #delete_observer deletes the given observer if called before first notification returns the removed observer if found in the observer set returns the given observer even when not found in the observer set #add_observer raises an exception when given both an observer and a block raises an exception if not given an observer or a block adds an observer if called before first notification creates an observer from a block if called before first notification adds an observer with :func if called before first notification #set fulfils when given a block which executes successfully sets the value returns self raises an exception when given a value and a block rejects when given a block which raises an exception raises an exception when given neither a value nor a block raises an exception if set more than once sets the state to be fulfilled initialization sets the state to incomplete #try_set when rejected returns false does not assign the block result has a nil value does not assign the value when unset assigns the block result returns true assigns the value when fulfilled does not assign the block result returns false does not assign the value it should behave like dereferenceable does not call #freeze when #freeze_on_deref is set and the value is nil calls the block when the :copy_on_deref option is passed a proc does not call the #copy_on_deref block when the value is nil calls the :copy block first followed by #dup followed by #freeze defaults :copy_on_deref to nil calls #freeze when the :freeze_on_deref option is true supports dereference flags with observers does not call #dup when #dup_on_deref is set and the value is nil defaults :dup_on_deref to false calls #dup when the :dup_on_deref option is true defaults :freeze_on_deref to false #fail defaults the reason to a StandardError sets the value to be nil returns self sets the reason to the given exception raises an exception if set more than once sets the state to be rejected it should behave like obligation #value returns nil when reaching the optional timeout value returns immediately when timeout is zero returns the value when fulfilled before timeout is set to the return value of the block when :fulfilled is nil when :rejected blocks the caller when :pending and timeout is nil returns nil when timeout reached is nil when :pending #state is :rejected when the handler raises an exception is :pending when first created is :fulfilled when the handler completes #reason is set to error object of the exception when :rejected is nil when :fulfilled is nil when :pending .zip executes the returned Promise when execute is true preserves ordering of the executed promises does not execute the returned Promise when execute is false yields the results as an array executes the returned Promise by default fails if one component fails allows setting executor for Promise chain #rescue returns a new promise rejection passes the reason to all its children rejects on Exception sets the promise state to :rejected if the block completes uses reason as rejection reason when a promise has no rescue callable sets the promise value to the result if its block aggregators .any? executes the #then condition when any components succeed executes the #then condition when no promises are given returns a new Promise does not execute the returned Promise executes the #rescue handler if all componenst fail .all? returns a new Promise executes the #then condition when no promises are given executes the #rescue handler if even one component fails executes the #then condition when all components succeed does not execute the returned Promise #flat_map fails if the right promise fails fails if the left promise fails returns a promise succeeds if both promises succeed fails if the generating block fails fulfillment sets the promise value to the result if its block passes the last result through when a promise has no block uses result as fulfillment value when a promise has no block can manage long chain passes the result of each block to all its children sets the promise state to :fulfilled if the block completes #fail rejects children can only be called on the root promise #set can be called with a block #can only be called on the root promise triggers children #zip preserves ordering of the executed promises executes the returned Promise by default yields the results as an array does not execute the returned Promise when execute is false executes the returned Promise when execute is true fails if one component fails allows setting executor for Promise chain #then returns a new promise when a rescuer is passed supports setting the executor using a named parameter can be called more than once returns a new promise when a block, rescuer and executor are passed should have block or rescuers returns a new promise when a block and rescuer are passed returns a new promise when a block is passed fulfilled returns a new Promise notifies fulfillment to new child unscheduled returns an unscheduled promise returns a new promise rejected notifies rejection to new child returns a new Promise when :rejected pending returns a pending promise returns a new promise initializers .execute calls #execute on the new Promise creates a new Promise passes the block to the new Promise .fulfill should return a fulfilled Promise should return a Promise should return a Promise with set value .reject should return a Promise with set reason should return a rejected Promise should return a Promise .new should return an unscheduled Promise aliases aliases #realized? for #fulfilled? aliases #deref for #value aliases #on_error for #rescue aliases #catch for #rescue it should behave like thread_arguments passes an empty array when opts is an empty hash passes an empty array when the :args key has a nil value passes an empty array when there is no :args key passes a one-element array when the :args key has a non-array value passes an array when when the :args key has an array value passes the given array when the :args key has a complex array value passes an empty array when opts is not given allows the given arguments array to be dereferenced Concurrent::Maybe #or returns the value when something returns the other when nothing construction hides Maybe.new Maybe.just creates a new Just Maybe Maybe.from passes all arguments to the block raises an exception when no block is given creates a Just Maybe on success creates a Nothing Maybe on exception sets the value to the block result on success sets the reason to the error object on exception Maybe.nothing creates a new error object with the given string creates a new error object when given nothing uses the given Error object creates a new Nothing Maybe comparison something is not equal to a different value something is equal to the same value something is greater than a smaller value something is less than a bigger value nothing is not less than nothing nothing is not greater than nothing nothing is equal to nothing something is not equal to nothing when just #just? returns true #value returns the value #just returns the value #fulfilled? returns true #rejected? returns false #reason returns NONE #nothing returns NONE #nothing? returns false when nothing #value returns NONE #just returns NONE #reason returns the raised error #just? returns false #rejected? returns true #nothing returns the raised error #fulfilled? returns false #nothing? returns true Concurrent::Map #key? #get_and_set options validation falsy default proc is unfreezable #each_value #clear #each_key #replace_if_exists concurrency default proc #value? #delete_pair load factor options validation #dup,#clone #replace_pair #key #inspect #delete marshal dump does not work with default proc collision resistance retrieval #size marshal dump load initial capacity options validation #values collision resistance with arrays updates dont block reads #get_or_default #put_if_absent #keys #empty #compute with return exception common #fetch_or_store common with return falsy #each it should behave like collection_each pair iterator allows modification common when no block is given returns an enumerator returns an object which is enumerable #merge_pair exception with return common #each_pair it should behave like collection_each common pair iterator allows modification when no block is given returns an object which is enumerable returns an enumerator #fetch common with return falsy #compute_if_present common exception with return #compute_if_absent with return exception atomicity common Concurrent::SerializedExecutionDelegator it should behave like executor_service #kill stops accepting new tasks rejects all pending tasks #shutdown allows in-progress tasks to complete stops accepting new tasks allows pending tasks to complete it should behave like global_thread_pool #post returns true when the block is added to the queue calls the block with the given arguments aliases #<< raises an exception if no block is given #shutdown followed by #wait_for_termination stops accepting/running new tasks allows in-progress tasks to complete allows pending tasks to complete #post rejects the block while shutting down rejects the block once shutdown #wait_for_termination returns true after shutdown has complete immediately returns true when no operations are pending waits forever when no timeout value is given returns true when shutdown successfully completes before timeout returns false when shutdown fails to complete before timeout auto terminate does not stop shutdown #running? returns false when the thread pool is shutting down returns true when the thread pool is running returns false when the thread pool is killed returns false when the thread pool is shutdown #abort_transaction raises an exception outside an #atomically block Concurrent::TimerSet construction uses the global io executor be default uses the executor given at construction termination kills the monitor thread on #kill cancels all pending tasks on #shutdown rejects tasks once killed rejects tasks once shutdown #wait_for_termination returns false on timeout stops the monitor thread on #shutdown #wait_for_termination returns true if shutdown completes before timeout cancels all pending tasks on #kill task rescheduling reschdules a pending and unpost task when given a valid time does not change the current schedule when given an invalid time returns false once the task is processing returns false when not running returns false once the task has is complete raises an exception when given an invalid time returns false once the task has been post to the executor state is shutdown? after being killed is running? when first created is running? after tasks have been post is shutdown? after shutdown completes resolution sets the IVar value on success when given a delay sets the IVar reason on failure when delay is zero sets the IVar value on success when delay is zero sets the IVar reason on failure when given a delay execution continues to execute new tasks even after the queue is emptied executes a given task when given an interval in seconds returns an IVar when posting a task executes tasks with different times in schedule order executes all tasks scheduled for the same time executes tasks with different times in schedule time does not execute tasks early executes a given task when given an interval in seconds, even if longer tasks have been scheduled passes all arguments to the task on execution task resetting calls #reschedule with the original delay task cancellation returns false when not running fails to cancel the task once processing is complete cancels a pending task fails to cancel the task once processing has begun #post raises an exception when no block given immediately posts a task when the delay is zero raises an exception when given a task with a delay less than zero dataflow raises an exception when no block given accepts uncompleted dependencies raises an exception if any dependencies are not IVars #dataflow_with uses the given executor doesn't raise exceptions from dependencies, unless called with ! #dataflow uses the global fast executor accepts completed dependencies returns a Future #dataflow_with raises an exception when no executor given accepts zero or more dependencies passes the values of dependencies into the block if there is just one if there is more than one does not schedule the Future if no dependencies are completed if one dependency of two is completed module function can be called as Concurrent.dataflow and Concurrent.dataflow_with schedules the Future when all dependencies are available if there is just one if there is more than one counts already executed dependencies if there is more than one if there is just one Concurrent::RubySingleThreadExecutor it should behave like executor_service #kill rejects all pending tasks stops accepting new tasks #shutdown stops accepting new tasks allows pending tasks to complete allows in-progress tasks to complete #post rejects the block once shutdown rejects the block while shutting down auto terminate does not stop shutdown #wait_for_termination returns false when shutdown fails to complete before timeout returns true when shutdown successfully completes before timeout returns true after shutdown has complete immediately returns true when no operations are pending waits forever when no timeout value is given it should behave like global_thread_pool #post returns true when the block is added to the queue aliases #<< calls the block with the given arguments raises an exception if no block is given #shutdown followed by #wait_for_termination allows in-progress tasks to complete stops accepting/running new tasks allows pending tasks to complete #running? returns false when the thread pool is killed returns true when the thread pool is running returns false when the thread pool is shutting down returns false when the thread pool is shutdown Concurrent::Collection::CopyOnNotifyObserverSet behaves like an observer set #add_observer with a block should return the observer based on a block with arguments should return the observer #count_observers should be 1 after the first observer is added should be zero after initialization should be 1 if the same observer is added many times should be equal to the number of unique observers #delete_observers should return the observer set should remove all observers #delete_observer should not notify a deleted observer can delete a non added observer should return the observer #notify_observers should return the observer set with many observers should notify all observer using the chosen method with a single observer should update a registered observer without arguments should notify an observer once using the last added method can be called many times should notify an observer from a block should update a registered observer with arguments should notify an observer using the chosen method with a block accepts blocks returning a single value accepts block return values that include arrays raises an exception if given both arguments and a block calls the block once for every observer passes the block return value to the update method #notify_and_delete_observers should clear observers should return the observer set should notify all observers can be called many times without any other notification Concurrent::AtomicBoolean inherits from MutexAtomicBoolean #to_s and #inspect includes the value Concurrent::IndirectImmediateExecutor runs the task on a separate thread runs its tasks synchronously it should behave like executor_service #kill stops accepting new tasks rejects all pending tasks #running? returns true when the thread pool is running returns false when the thread pool is killed returns false when the thread pool is shutdown returns false when the thread pool is shutting down #shutdown stops accepting new tasks allows in-progress tasks to complete allows pending tasks to complete auto terminate does not stop shutdown #post rejects the block while shutting down rejects the block once shutdown #shutdown followed by #wait_for_termination stops accepting/running new tasks allows pending tasks to complete allows in-progress tasks to complete #wait_for_termination returns false when shutdown fails to complete before timeout returns true when shutdown successfully completes before timeout immediately returns true when no operations are pending returns true after shutdown has complete waits forever when no timeout value is given it should behave like global_thread_pool #post aliases #<< calls the block with the given arguments returns true when the block is added to the queue raises an exception if no block is given #processor_count retuns a positive integer Concurrent::FixedThreadPool worker creation and caching never creates more than :num_threads threads #largest_length returns :num_threads once shutdown returns zero on creation returns :num_threads while running #max_length returns :num_threads once shutdown returns :num_threads on creation returns :num_threads while running #kill attempts to kill all in-progress tasks runtime-specific implementation worker creation and caching creates new workers when there are none available exception handling restarts threads that experience exception it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown #post rejects the block once shutdown rejects the block while shutting down #wait_for_termination waits forever when no timeout value is given returns true when shutdown successfully completes before timeout returns true after shutdown has complete immediately returns true when no operations are pending returns false when shutdown fails to complete before timeout #shutdown followed by #wait_for_termination stops accepting/running new tasks allows in-progress tasks to complete allows pending tasks to complete #kill stops accepting new tasks rejects all pending tasks #running? returns false when the thread pool is shutting down returns false when the thread pool is shutdown returns false when the thread pool is killed returns true when the thread pool is running #shutdown allows in-progress tasks to complete stops accepting new tasks allows pending tasks to complete it should behave like global_thread_pool #post aliases #<< calls the block with the given arguments returns true when the block is added to the queue raises an exception if no block is given #scheduled_task_count returns the approximate number of tasks that have been post thus far returns the approximate number of tasks that were post returns zero on creation #length returns zero on creation returns zero once shut down #shutdown allows threads to exit normally #auto_terminate? returns true by default returns true when :enable_at_exit_handler is true returns false when :enable_at_exit_handler is false #completed_task_count returns zero on creation returns the approximate number of tasks that have been completed thus far fallback policy uses the calling thread for overflow under caller_runs raises an error when overflow on abort discards when fallback_policy is :discard #length returns :num_threads while running #initialize default values defaults :fallback_policy to :abort defaults :max_length correctly defaults :min_length correctly defaults default :max_queue to zero defaults :idletime correctly #min_length returns :num_threads while running returns :num_threads once shutdown returns :num_threads on creation #initialize explicit values correctly sets valid :idletime correctly sets valid :fallback_policy raises an exception if given an invalid :fallback_policy sets explicit :max_queue correctly raises an exception when the pool length is less than one Concurrent::CyclicBarrier spurious wake ups should resist to spurious wake ups with timeout should resist to spurious wake ups without timeout #wait with timeout timeout not expiring should release all threads when their number matches the desired one should block the thread returns true when released timeout expiring breaks the barrier and release all other threads 2 breaks the barrier and release all other threads returns false does not execute the block on timeout without timeout returns true when released can be reused should release all threads when their number matches the desired one should block the thread executes the block once return false if barrier has been reset #broken barrier should not accept new threads can be reset reset should release all waiting threads #parties should be the value passed to the constructor #number_waiting without any waiting thread should be equal to zero with waiting threads should be equal to the waiting threads count #broken? should not be broken when created should not be broken when reset is called without waiting thread #initialize raises an exception if the initial count is less than 1 raises an exception if the initial count is not an integer configuration global executors creates a global io executor creates a global fast executor creates a global timer set Concurrent::SimpleExecutorService #post creates a new thread for a call with arguments executes a call without arguments aliases #<< creates a new thread for a call without arguments executes a call with multiple arguments executes a call with one argument it should behave like executor_service #wait_for_termination returns false when shutdown fails to complete before timeout waits forever when no timeout value is given returns true when shutdown successfully completes before timeout immediately returns true when no operations are pending returns true after shutdown has complete #shutdown allows in-progress tasks to complete stops accepting new tasks allows pending tasks to complete #kill rejects all pending tasks stops accepting new tasks it should behave like global_thread_pool #post returns true when the block is added to the queue raises an exception if no block is given aliases #<< calls the block with the given arguments auto terminate does not stop shutdown #shutdown followed by #wait_for_termination stops accepting/running new tasks allows pending tasks to complete allows in-progress tasks to complete #post rejects the block while shutting down rejects the block once shutdown #running? returns false when the thread pool is shutting down returns false when the thread pool is shutdown returns false when the thread pool is killed returns true when the thread pool is running SimpleExecutorService.post aliases #<< creates a new thread for a call without arguments creates a new thread for a call with arguments executes a call with one argument executes a call without arguments executes a call with multiple arguments Concurrent::Synchronization Concurrent::Synchronization::LockableObject final field always visible #wait releases the lock on the current object puts the current thread to sleep allows the sleeping thread to be killed can be called from within a #synchronize block #synchronize allows only one thread to execute count signaling for now pending, tested pretty well by Event (PENDING: Not yet implemented) it should behave like attr_volatile older writes are always visible attr_atomic is expected to be == b Concurrent::Synchronization::Object does not ensure visibility when not needed does ensure visibility once when specified in child again does ensure visibility when specified in a parent does ensure visibility when specified it should behave like attr_volatile older writes are always visible Concurrent::Synchronization::Volatile module it should behave like attr_volatile older writes are always visible Concurrent::Async #await raises an error when passing too few arguments sets the reason on failure supports methods with blocks supports attribute accessors runs the future on the global executor raises an error when calling a method that does not exist returns a :fulfilled IVar sets the value on success raises an error when pasing too many arguments (arity >= 0) sets the reason when giving too many optional arguments returns the existence of the method fork safety does not hang when forked locking uses the same lock for both #async and #await #validate_argc does not raise an exception for correct negative arity raises an exception for too few args on a method with negative arity does not raise an exception for correct zero arity raises an exception for too many args on a method with positive arity raises an exception for too few args on a method with positive arity does not raise an exception for correct positive arity raises an exception for too many args on a zero arity method raises an exception when the method is not defined object creation initializes synchronization passes a given block to the original constructor delegates to the original constructor passes all args to the original constructor #async runs the future on the global executor sets the reason on failure raises an error when passing too few arguments returns the existence of the method sets the reason when giving too many optional arguments raises an error when calling a method that does not exist supports methods with blocks sets the value on success returns a :pending IVar raises an error when pasing too many arguments (arity >= 0) supports attribute accessors Concurrent::SynchronizedDelegator synchronizes access with block synchronizes access wraps array Concurrent::SafeTaskExecutor #execute happy execution should return success should return a nil reason protectes #execute with a mutex passes all arguments to #execute to the task should return task value failing execution should return the reason should return false success should return a nil value rescues StandardError by default rescues StandardError when :rescue_exception is false rescues Exception when :rescue_exception is true Concurrent::AtomicMarkableReference #set sets the value and mark #compare_and_set when objects have the different identity it does not set the value or mark when comparing Numeric objects Non-idepotent Float sets the value and mark Rational sets the value and mark BigNum sets the value and mark Rational is successful when objects have the same identity sets the value and mark #try_update! updates the value and mark raises ConcurrentUpdateError when attempting to set inside of block #update updates the value and mark retries until update succeeds .initialize constructs the object has sane defaults #try_update returns nil when attempting to set inside of block updates the value and mark Concurrent::AtomicReference #to_s and #inspect includes the value it should behave like atomic_reference test_try_update_fails test_update_retries test_try_update_bang_fails test_try_update test_construct test_swap test_numeric_cas test_try_update_bang test_value test_update Concurrent::CachedThreadPool #min_length returns zero once shutdown returns zero while running returns zero on creation #max_length returns :max_length once shutdown returns :max_length on creation returns :max_length while running runtime-specific implementation worker creation and caching creates new workers when there are none available uses existing idle threads garbage collection deals with dead threads removes from pool any thread that has been idle too long stress is expected to be <= 4 is expected to be <= 200 #largest_length returns a non-zero number after shutdown if tasks have been received returns zero on creation returns a non-zero number once tasks have been received it should behave like thread_pool #length returns zero once shut down returns zero on creation it should behave like executor_service #wait_for_termination returns true after shutdown has complete immediately returns true when no operations are pending waits forever when no timeout value is given returns false when shutdown fails to complete before timeout returns true when shutdown successfully completes before timeout #running? returns false when the thread pool is killed returns false when the thread pool is shutting down returns false when the thread pool is shutdown returns true when the thread pool is running it should behave like global_thread_pool #post calls the block with the given arguments returns true when the block is added to the queue aliases #<< raises an exception if no block is given #shutdown followed by #wait_for_termination stops accepting/running new tasks allows pending tasks to complete allows in-progress tasks to complete #post rejects the block once shutdown rejects the block while shutting down auto terminate does not stop shutdown #kill rejects all pending tasks stops accepting new tasks #shutdown allows in-progress tasks to complete stops accepting new tasks allows pending tasks to complete #scheduled_task_count returns the approximate number of tasks that were post returns zero on creation returns the approximate number of tasks that have been post thus far #auto_terminate? returns false when :enable_at_exit_handler is false returns true by default returns true when :enable_at_exit_handler is true #shutdown allows threads to exit normally #completed_task_count returns the approximate number of tasks that have been completed thus far returns zero on creation #idletime returns the thread idletime #initialize sets :idletime to DEFAULT_THREAD_IDLETIMEOUT sets :min_length to DEFAULT_MIN_POOL_SIZE sets :max_length to DEFAULT_MAX_POOL_SIZE sets :max_queue to DEFAULT_MAX_QUEUE_SIZE Concurrent::RubyExchanger Good: 9998, Bad (timeout): 2, Ugly: 0 stress test behaves like exchanger #exchange behaves like exchanger method with indefinite timeout blocks indefinitely receives the other value can be reused behaves like exchanger method with finite timeout blocks until timeout can be reused receives the other value behaves like exchanger method cross-thread interactions allows multiple firsts to cancel if necessary when first, waits for a second #try_exchange behaves like exchanger method cross-thread interactions when first, waits for a second allows multiple firsts to cancel if necessary behaves like exchanger method with finite timeout receives the other value can be reused blocks until timeout behaves like exchanger method with indefinite timeout blocks indefinitely can be reused receives the other value #exchange! behaves like exchanger method with indefinite timeout blocks indefinitely can be reused receives the other value behaves like exchanger method cross-thread interactions allows multiple firsts to cancel if necessary when first, waits for a second behaves like exchanger method with finite timeout receives the other value can be reused blocks until timeout Concurrent::IVar #initialize can set an initial value with a block can set an initial value does not have to set an initial value does not set an initial value if you pass NULL raises an exception if given both a value and a block it should behave like ivar it should behave like dereferenceable supports dereference flags with observers calls #freeze when the :freeze_on_deref option is true does not call #dup when #dup_on_deref is set and the value is nil does not call the #copy_on_deref block when the value is nil calls the :copy block first followed by #dup followed by #freeze defaults :freeze_on_deref to false does not call #freeze when #freeze_on_deref is set and the value is nil calls #dup when the :dup_on_deref option is true defaults :copy_on_deref to nil defaults :dup_on_deref to false calls the block when the :copy_on_deref option is passed a proc initialization sets the state to incomplete #try_set when fulfilled returns false does not assign the value does not assign the block result when rejected does not assign the value has a nil value returns false does not assign the block result when unset returns true assigns the value assigns the block result it should behave like observable #delete_observer returns the removed observer if found in the observer set returns the given observer even when not found in the observer set deletes the given observer if called before first notification #count_observers returns zero after #delete_observers has been called returns a count of registered observers if called before first notification returns zero for a new observable object #add_observer creates an observer from a block if called before first notification adds an observer with :func if called before first notification raises an exception when given both an observer and a block raises an exception if not given an observer or a block adds an observer if called before first notification first notification does not notify any observers removed with #delete_observer calls the proc for all observers added as a block calls the #update method on all observers without a specified :func does not notify any observers after #delete_observers called calls the appropriate function on all observers which specified a :func #delete_observers returns self deletes all observers when called before first notification it should behave like obligation #reason is nil when :fulfilled is nil when :pending is set to error object of the exception when :rejected #value is set to the return value of the block when :fulfilled returns nil when timeout reached returns the value when fulfilled before timeout returns nil when reaching the optional timeout value blocks the caller when :pending and timeout is nil is nil when :pending returns immediately when timeout is zero is nil when :rejected #state is :fulfilled when the handler completes is :rejected when the handler raises an exception is :pending when first created #set raises an exception if set more than once rejects when given a block which raises an exception fulfils when given a block which executes successfully returns self sets the value sets the state to be fulfilled raises an exception when given a value and a block raises an exception when given neither a value nor a block #fail defaults the reason to a StandardError sets the state to be rejected raises an exception if set more than once returns self sets the reason to the given exception sets the value to be nil observation notifies all observers on #set deadlock avoidance should notify observers outside mutex lock should notify a new observer added after fulfillment outside lock Concurrent::Collection::NonConcurrentPriorityQueue inherits from RubyNonConcurrentPriorityQueue Concurrent::MutexCountDownLatch it should behave like count_down_latch #initialize raises an exception if the initial count is less than zero defaults the count to 1 raises an exception if the initial count is not an integer #wait blocks indefinitely, and is kill-able blocks indefinitely with timeout, and is kill-able count set to zero should return true immediately should return true immediately with timeout non zero count should block until timeout and return false when counter is not set to zero should block thread until counter is set to zero should block until counter is set to zero with timeout #count should be decreased after every count down should not go below zero should be the value passed to the constructor spurious wake ups should resist to spurious wake ups without timeout should resist to spurious wake ups with timeout Concurrent::RubyThreadPoolExecutor it should behave like thread_pool #shutdown allows threads to exit normally #auto_terminate? returns false when :enable_at_exit_handler is false returns true by default returns true when :enable_at_exit_handler is true #scheduled_task_count returns zero on creation returns the approximate number of tasks that were post returns the approximate number of tasks that have been post thus far #length returns zero on creation returns zero once shut down it should behave like executor_service #post rejects the block once shutdown rejects the block while shutting down auto terminate does not stop shutdown #wait_for_termination immediately returns true when no operations are pending returns true when shutdown successfully completes before timeout returns true after shutdown has complete returns false when shutdown fails to complete before timeout waits forever when no timeout value is given #shutdown allows in-progress tasks to complete allows pending tasks to complete stops accepting new tasks #shutdown followed by #wait_for_termination allows pending tasks to complete allows in-progress tasks to complete stops accepting/running new tasks it should behave like global_thread_pool #post aliases #<< calls the block with the given arguments raises an exception if no block is given returns true when the block is added to the queue #kill stops accepting new tasks rejects all pending tasks #running? returns false when the thread pool is shutting down returns true when the thread pool is running returns false when the thread pool is shutdown returns false when the thread pool is killed #completed_task_count returns the approximate number of tasks that have been completed thus far returns zero on creation threads naming without pool name sets counted name with pool name sets counted name it should behave like thread_pool_executor #initialize defaults defaults :max_length to DEFAULT_MAX_POOL_SIZE defaults :fallback_policy to :abort defaults :max_queue to DEFAULT_MAX_QUEUE_SIZE defaults :min_length to DEFAULT_MIN_POOL_SIZE defaults :name to nil defaults :idletime to DEFAULT_THREAD_IDLETIMEOUT #synchronous executes fallback policy once max_threads has been reached cannot be set unless `max_queue` is zero #max_queue returns the set value when running returns the set value after stopping returns the set value on creation #fallback_policy :caller_runs #<< executes the task on the current thread when the queue is at capacity #<< executes the task on the current thread when the executor is shutting down #post does not create any new threads when the queue is at capacity #post executes the task on the current thread when the queue is at capacity #post executes the task on the current thread when the executor is shutting down :discard a #post task is never executed when the executor is shutting down a #<< task is never executed when the queue is at capacity a #post task is never executed when the queue is at capacity a #<< task is never executed when the executor is shutting down #post returns false when the executor is shutting down :abort a #<< task is never executed when the queue is at capacity #post raises an error when the executor is shutting down #<< raises an error when the executor is shutting down #post raises an error when the queue is at capacity a #post task is never executed when the queue is at capacity #<< raises an error when the queue is at capacity #initialize explicit values sets :min_threads raises an exception if :min_threads is less than zero raises an exception if :max_threads is less than :min_threads accepts all valid fallback policies sets :name sets :idletime sets :max_threads raises an exception if :max_threads is less than zero raises an exception if :max_threads greater than the max allowable doesn't allow max_threads < min_threads raises an exception if given an invalid :fallback_policy #queue_length returns the size of the queue when tasks are enqueued returns zero when stopped returns zero on creation returns zero when there are no enqueued tasks can never be greater than :max_queue #remaining_capacity returns -1 when :max_queue is set to zero returns :max_length when stopped returns :max_length on creation #remaining_capacity returns the remaining capacity when tasks are enqueued returns :max_length when no tasks are enqueued Concurrent::Future cancellation #cancel fails to cancel the task once processing is complete fails to cancel the task once processing has begun cancels a pending task #wait_or_cancel returns true if the operation completes before timeout cancels the task on timeout fulfillment sets the state to :processing while the task is executing sets the state to :fulfilled when the block completes sets the value to nil when the handler raises Exception sets the value to the result of the handler sets the reason to the Exception instance when the handler raises Exception passes all arguments to handler sets the value to nil when the handler raises an exception sets the state to :rejected when the handler raises an exception aliases aliases #realized? for #fulfilled? aliases #deref for #value instance #execute does nothing unless the state is :unscheduled posts the block given on construction returns self sets the state to :pending #initialize sets the state to :unscheduled uses the executor given with the :executor option raises an exception when no block given uses the global io executor by default observation notifies all observers on fulfillment notifies an observer added after fulfillment does not notify existing observers when a new observer added after rejection notifies an observer added after rejection notifies all observers on rejection does not notify existing observers when a new observer added after fulfillment deadlock avoidance should notify observers outside mutex lock should notify a new observer added after fulfillment outside lock it should behave like thread_arguments passes an array when when the :args key has an array value allows the given arguments array to be dereferenced passes an empty array when there is no :args key passes an empty array when opts is not given passes an empty array when opts is an empty hash passes the given array when the :args key has a complex array value passes a one-element array when the :args key has a non-array value passes an empty array when the :args key has a nil value it should behave like ivar it should behave like obligation #state is :rejected when the handler raises an exception is :fulfilled when the handler completes is :pending when first created #reason is set to error object of the exception when :rejected is nil when :fulfilled is nil when :pending #value is nil when :pending is set to the return value of the block when :fulfilled returns the value when fulfilled before timeout returns nil when reaching the optional timeout value returns nil when timeout reached is nil when :rejected returns immediately when timeout is zero blocks the caller when :pending and timeout is nil it should behave like dereferenceable defaults :copy_on_deref to nil does not call #freeze when #freeze_on_deref is set and the value is nil does not call the #copy_on_deref block when the value is nil supports dereference flags with observers does not call #dup when #dup_on_deref is set and the value is nil defaults :dup_on_deref to false defaults :freeze_on_deref to false calls #dup when the :dup_on_deref option is true calls the :copy block first followed by #dup followed by #freeze calls the block when the :copy_on_deref option is passed a proc calls #freeze when the :freeze_on_deref option is true #set raises an exception if set more than once sets the state to be fulfilled sets the value returns self raises an exception when given neither a value nor a block fulfils when given a block which executes successfully raises an exception when given a value and a block rejects when given a block which raises an exception #fail sets the state to be rejected sets the value to be nil defaults the reason to a StandardError returns self raises an exception if set more than once sets the reason to the given exception #try_set when rejected has a nil value does not assign the value returns false does not assign the block result when unset returns true assigns the value assigns the block result when fulfilled returns false does not assign the block result does not assign the value initialization sets the state to incomplete it should behave like observable first notification does not notify any observers after #delete_observers called calls the #update method on all observers without a specified :func does not notify any observers removed with #delete_observer calls the appropriate function on all observers which specified a :func calls the proc for all observers added as a block #delete_observer deletes the given observer if called before first notification returns the given observer even when not found in the observer set returns the removed observer if found in the observer set #delete_observers deletes all observers when called before first notification returns self #add_observer raises an exception when given both an observer and a block adds an observer with :func if called before first notification creates an observer from a block if called before first notification raises an exception if not given an observer or a block adds an observer if called before first notification #count_observers returns zero after #delete_observers has been called returns a count of registered observers if called before first notification returns zero for a new observable object class #execute creates a new Future calls #execute on the new Future passes the block to the new Future Concurrent::MutexAtomicReference it should behave like atomic_reference test_try_update_fails test_numeric_cas test_try_update test_update_retries test_try_update_bang test_construct test_update test_swap test_value test_try_update_bang_fails Concurrent::ReentrantReadWriteLock can survive a torture test #with_write_lock WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/spec/concurrent/atomic/reentrant_read_write_lock_spec.rb:327:in `block (3 levels) in '. releases write lock if an exception is raised in block acquires write block before yielding, then releases it #try_read_lock returns false immediately if read lock cannot be obtained acquires read lock and returns true if it can do so without blocking can acquire a read lock if a read lock is already held can acquire a read lock if a write lock is already held #try_write_lock can acquire a write lock if a write lock is already held can acquire a write lock if a read lock is already held acquires write lock and returns true if it can do so without blocking returns false immediately if write lock cannot be obtained write lock cannot be acquired when another thread holds a read lock wakes up waiting writers when the write lock is released wakes up waiting readers when the write lock is released can be downgraded to a read lock can be acquired more than once can be acquired while holding a read lock cannot be released more times than it was taken cannot be released when not held cannot be acquired when another thread holds a write lock read lock cannot be released more times than it was taken cannot be released when not held wakes up waiting writers when the last read lock is released allows other read locks to be acquired at the same time can be acquired while holding a write lock can be acquired more than once can be upgraded to a write lock #with_read_lock acquires read block before yielding, then releases it WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9/usr/share/gems/gems/concurrent-ruby-1.1.9/spec/concurrent/atomic/reentrant_read_write_lock_spec.rb:310:in `block (3 levels) in '. releases read lock if an exception is raised in block Concurrent::Collection::RubyNonConcurrentPriorityQueue it should behave like priority_queue #initialize sorts from low to high when :order is :min sorts from high to low when :order is :high sorts from low to high when :order is :low sorts from high to low when :order is :max sorts from high to low by default #empty? returns true for an empty queue returns false for a populated queue #length is aliased as #size returns the length of a populated queue returns zero when the queue is empty #include? returns false if the item is not found is aliased as #has_priority? returns true if the item is found returns false when the queue is empty #push is aliased as enq is expected to be truthy adds the item to the queue sorts the new item in priority order raises an exception when attempting to enqueue nil is aliased as << arbitrarily orders equal items with respect to each other .from_list creates an empty queue from an empty list creates a sorted, populated queue from a Hash creates a sorted, populated queue from an Array #clear is expected to be truthy removes all items from a populated queue has no effect on an empty queue #pop returns nil when called multiple times while empty is aliased as #deq returns the item at the head of the queue removes the item from the queue returns nil when the queue is empty is aliased as #shift #peek returns the item at the head of the queue does not remove the item from the queue returns nil when the queue is empty #delete deletes multiple matching items when present deletes the requested item when it is "smaller" than the last element deletes the requested item when it is the first element returns true when found returns false when called on an empty queue deletes the requested item when it is the last element deletes the requested item when found returns false when not found Concurrent::Semaphore inherits from MutexSemaphore Concurrent::AtomicFixnum inherits from MutexAtomicFixnum #to_s and #inspect includes the value Concurrent::Exchanger class hierarchy inherits from RubyExchanger Concurrent::MutableStruct it should behave like mergeable_struct #merge returns a new object calls the given block for each key in `other` raises an exception when given a hash with members not in the struct retains the value for all members not without values in the given hash updates all members with the new values from a given hash it should behave like struct conversion #to_a returns the to_a for this struct as an array #to_h returns a Hash containing the names and values in order #to_s includes the names of all members returns the same string as #inspect includes all values includes the name of the class when registered construction sets all absent members to nil raises an exception when extra members are given sets all given members in order copy #clone shallowly clones all members along with the struct retains frozen state copies the singleton class of members copies the singleton class #dup copies the singleton class of members discards singleton class discards frozen state of the struct shallowly duplicates all members along with the struct retains frozen state of members definition defines a getter for each member registers the class when given a class name which is defined in the ancestors evalues a given block against the new class raises an exception when given no members raises an exception when given an invalid class name registers the class when given a class name creates an anonymous class when given at least one member raise an exception when given an invalid member comparison #!= returns true if other has different struct subclass returns false if other has same struct subclass and equal values returns true if other has different values #== returns true if other has same struct subclass and equal values returns false if other has different values returns false if other has different struct subclass properties #members returns a different object than the array passed at definition returns the struct members as an array of symbols #values_at returns the values at multiple given offsets returns values for multiple ranges returns values for ranges and offsets returns values at offsets in a given range returns the value at the given offset #length returns the number of struct members #size returns the number of struct members #values returns the values of the struct as an array in order accessors #[index] retrieves the value when given a valid index raises an exception when given an out-of-bound index #[member] retrieves the value when given a valid symbol member raises an exception when given a non-existent string member raises an exception when given a non-existent symbol member retrieves the value when given a valid string member enumeration #each yields the value of each struct member in order returns an enumerator when no block is given #select yields each value returns an enumerator when no block is given returns an Array with the values from for which the block returns true #each_pair yields the name and value of each struct member in order returns an enumerator when no block is given synchronization protects getter methods protects #to_h protects #to_s protects #[member] protects #== protects #initialize_copy protects #[index] protects #values_at protects #each_pair protects #inspect protects #values protects getter methods protects #each protects #[member]= protects #select protects #merge protects #[index]= #[index]= sets the value when given a valid index raises an exception when given an out-of-bound index copy #dup mutates only the copy #clone mutates only the copy definition defines a setter for each member #[member]= raises an exception when given a non-existent string member sets the value when given a valid string member raises an exception when given a non-existent symbol member sets the value when given a valid symbol member Concurrent::AtomicReference inherits from MutexAtomicReference Concurrent::MutexAtomicFixnum it should behave like atomic_fixnum construction defaults the initial value to zero raises an exception if the initial value is not a Fixnum sets the initial value #increment returns the new value the given argument increases the value by the given argument increases the value by one when no argument is given is aliased as #up returns the new value when no argument is given #value returns the current value #compare_and_set sets if the value is found returns false if the value is not found returns true if the value is found does not set if the value is not found #update returns the new value atomically sets the value to the return value from the block passes the current value to the block #value= returns the new value sets the #value to the given `Fixnum` raises and exception if the value is not a `Fixnum` #decrement returns the new value when no argument is given decreases the value by one when no argument is given is aliased as #down returns the new value the given argument decreases the value by the given argument instance methods decrement is synchronized value is synchronized compare_and_set is synchronized increment is synchronized value= is synchronized construction raises an exception if the initial value is too small raises an exception if the initial value is too big Concurrent::Set concurrency #each force context switch #add and #delete .new when initializing with an enumerable object creates a set with the contents of the enumerable object when initializing with a block argument creates a set with the contents of the enumerable object when initializing with no arguments is expected to be empty .[] when initializing with no arguments is expected to be empty when initializing with arguments creates a set with the given objects #physical_processor_count retuns a positive integer Concurrent::Concern::Obligation #get_arguments_from returns the given array when the :args key has a complex array value returns an empty array when the :args key has a nil value returns an empty array when opts is not given returns a one-element array when the :args key has a non-array value returns an empty array when there is no :args key returns an empty array when opts is an empty hash returns an array when when the :args key has an array value unscheduled it should behave like incomplete should be incomplete should be not completed #no_error! should block on the event if timeout is not set should return immediately if timeout is zero should block on the event if timeout is not zero #value! should block on the event if timeout is not set should block on the event if timeout is not zero should return immediately if timeout is zero #value should block on the event if timeout is not zero should return immediately if timeout is zero should block on the event if timeout is not set pending it should behave like incomplete should be incomplete should be not completed #no_error! should return immediately if timeout is zero should block on the event if timeout is not zero should block on the event if timeout is not set #value should block on the event if timeout is not set should return immediately if timeout is zero should block on the event if timeout is not zero #value! should block on the event if timeout is not zero should return immediately if timeout is zero should block on the event if timeout is not set rejected should be not incomplete should be completed #no_error! should return immediately if timeout is not set should return immediately if timeout is not zero should return immediately if timeout is zero #value! should return immediately if timeout is not zero should return immediately if timeout is zero should return immediately if timeout is not set #value should return immediately if timeout is not set should return immediately if timeout is zero should return immediately if timeout is not zero fulfilled should be not incomplete should be completed #value should return immediately if timeout is not set should return immediately if timeout is not zero should return immediately if timeout is zero #no_error! should return immediately if timeout is not zero should return immediately if timeout is not set should return immediately if timeout is zero #value! should return immediately if timeout is zero should return immediately if timeout is not zero should return immediately if timeout is not set #if_state should return false if state is not expected should execute the block within the mutex should the block value if state is expected should raise without block #compare_and_set_state expected state should return true if state is the expected one should not change the state if current is not the expected one unexpected state should not change the state if current is not the expected one should return false if state is not the expected one Concurrent::ThreadPoolExecutor inherits from RubyThreadPoolExecutor Concurrent::MutexSemaphore it should behave like semaphore #acquire when acquiring negative permits is expected to raise ArgumentError permits available should return true immediately not enough permits available should block thread until permits are available #initialize raises an exception if the initial count is not an integer when initializing with 0 is expected not to equal nil when initializing with -1 is expected to eq 0 #release increases the number of available permits by one when a number of permits is specified increases the number of available permits by the specified value when permits is set to negative number is expected to raise ArgumentError #try_acquire without timeout acquires immediately if permits are available returns false immediately in no permits are available when trying to acquire negative permits is expected to raise ArgumentError with timeout acquires immediately if permits are available returns false on timeout acquires when permits are available within timeout #drain_permits drains nothing in no permits are available drains all available permits #reduce_permits raises ArgumentError if reducing by negative number reduces permits reduces zero permits reduces permits below zero Concurrent::MutexAtomicBoolean instance methods value is synchronized false? is synchronized make_true is synchronized true? is synchronized make_false is synchronized value= is synchronized it should behave like atomic_boolean #false? is expected to equal false is expected to equal true #true? is expected to equal true is expected to equal false #value returns the current value #make_true makes a false value true and returns true keeps a true value true and returns false #make_false keeps a false value false and returns false makes a true value false and returns true #value= evaluates the truthiness of a false value sets the #value to the given `Boolean` evaluates the truthiness of a true value returns the new value construction evaluates the truthiness of a false value defaults the initial value to false sets the initial value evaluates the truthiness of a true value Concurrent::Options .executor_from_options returns the given :executor returns the global io executor when :executor is :io returns the global fast executor when :executor is :fast returns an immediate executor when :executor is :immediate raises an exception when :executor is an unrecognized symbol Concurrent::SettableStruct copy #clone retains settability of members #dup retains settability of members #[member]= sets the value when given a valid symbol member sets the value when given a valid string member raises an exception when given a string member that has already been set raises an exception when given a non-existent symbol member raises an exception when given a symbol member that has already been set raises an exception when given a non-existent string member it should behave like mergeable_struct #merge raises an exception when given a hash with members not in the struct returns a new object calls the given block for each key in `other` updates all members with the new values from a given hash retains the value for all members not without values in the given hash synchronization protects #values protects #merge protects #each protects #inspect protects #[member]= protects #[index]= protects #to_s protects #select protects #values_at protects #[member] protects getter methods protects #[index] protects #to_h protects #initialize_copy protects getter methods protects #== protects #each_pair definition defines a setter for each member #[index]= raises an exception when given an index that has already been set sets the value when given a valid index raises an exception when given an out-of-bound index it should behave like struct accessors #[member] raises an exception when given a non-existent symbol member retrieves the value when given a valid symbol member raises an exception when given a non-existent string member retrieves the value when given a valid string member #[index] retrieves the value when given a valid index raises an exception when given an out-of-bound index copy #clone copies the singleton class of members retains frozen state copies the singleton class shallowly clones all members along with the struct #dup shallowly duplicates all members along with the struct discards singleton class copies the singleton class of members retains frozen state of members discards frozen state of the struct conversion #to_a returns the to_a for this struct as an array #to_s includes the name of the class when registered returns the same string as #inspect includes all values includes the names of all members #to_h returns a Hash containing the names and values in order comparison #!= returns true if other has different values returns false if other has same struct subclass and equal values returns true if other has different struct subclass #== returns false if other has different struct subclass returns true if other has same struct subclass and equal values returns false if other has different values properties #members returns the struct members as an array of symbols returns a different object than the array passed at definition #values_at returns values at offsets in a given range returns the value at the given offset returns values for multiple ranges returns the values at multiple given offsets returns values for ranges and offsets #size returns the number of struct members #values returns the values of the struct as an array in order #length returns the number of struct members definition /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/spec/concurrent/struct_shared.rb:15: warning: already initialized constant ValidClassName2 /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/spec/concurrent/struct_shared.rb:15: warning: previous definition of ValidClassName2 was here registers the class when given a class name which is defined in the ancestors creates an anonymous class when given at least one member raise an exception when given an invalid member evalues a given block against the new class raises an exception when given an invalid class name defines a getter for each member raises an exception when given no members registers the class when given a class name enumeration #each_pair yields the name and value of each struct member in order returns an enumerator when no block is given #each yields the value of each struct member in order returns an enumerator when no block is given #select yields each value returns an enumerator when no block is given returns an Array with the values from for which the block returns true construction sets all absent members to nil sets all given members in order raises an exception when extra members are given Concurrent::ImmediateExecutor it should behave like executor_service #running? returns false when the thread pool is killed returns false when the thread pool is shutting down returns true when the thread pool is running returns false when the thread pool is shutdown auto terminate does not stop shutdown #wait_for_termination waits forever when no timeout value is given immediately returns true when no operations are pending returns true after shutdown has complete returns true when shutdown successfully completes before timeout returns false when shutdown fails to complete before timeout #kill rejects all pending tasks stops accepting new tasks it should behave like global_thread_pool #post aliases #<< raises an exception if no block is given calls the block with the given arguments returns true when the block is added to the queue #shutdown followed by #wait_for_termination allows pending tasks to complete allows in-progress tasks to complete stops accepting/running new tasks #shutdown allows in-progress tasks to complete stops accepting new tasks allows pending tasks to complete #post rejects the block once shutdown rejects the block while shutting down #leave_transaction neither commits nor aborts a transaction raises an exception outside an #atomically block Concurrent::Array .new when initializing with another array as an argument creates an array with the same contents as the other array creates an array with the results of calling #to_ary on the other array creates a new array when initializing with a size argument creates an array with size elements set to nil when initializing with a default value argument creates an array with size elements set to the default value when initializing with a block argument creates an array with size elements set to the default value when initializing with no arguments is expected to be empty concurrency is expected to be empty #slice correctly initializes the monitor .[] when initializing with arguments creates an array with the given objects when initializing with no arguments is expected to be empty Concurrent::ReadWriteLock #with_write_lock releases the lock when an exception is raised raises an exception if no block is given releases the lock raises an exception if maximum lock limit is exceeded acquires the lock returns the value of the block operation #has_waiters? returns true when the write lock is held and there are waiting writers returns false when no locks are held returns false when there are readers but no writers returns true when the write lock is held and there are waiting readers #with_read_lock releases the lock releases the lock when an exception is raised returns the value of the block operation acquires the lock raises an exception if maximum lock limit is exceeded raises an exception if no block is given #acquire_read_lock does not wait for any running readers waits for a running writer to finish increments the lock count returns true if the lock is acquired raises an exception if maximum lock limit is exceeded #write_locked? returns false when the write lock is not held returns true when the write lock is held returns false when the write lock is not held but there are readers #acquire_write_lock waits for a running reader to finish raises an exception if maximum lock limit is exceeded returns true if the lock is acquired waits for a running writer to finish increments the lock count #release_read_lock returns true if the lock is released decrements the counter unblocks waiting writers returns true if the lock was never set #release_write_lock returns true if the lock was never set unblocks waiting writers unblocks waiting readers returns true if the lock is released decrements the counter Concurrent::ImmutableStruct it should behave like struct accessors #[index] retrieves the value when given a valid index raises an exception when given an out-of-bound index #[member] raises an exception when given a non-existent string member retrieves the value when given a valid string member raises an exception when given a non-existent symbol member retrieves the value when given a valid symbol member comparison #!= returns true if other has different struct subclass returns true if other has different values returns false if other has same struct subclass and equal values #== returns true if other has same struct subclass and equal values returns false if other has different struct subclass returns false if other has different values enumeration #each yields the value of each struct member in order returns an enumerator when no block is given #each_pair yields the name and value of each struct member in order returns an enumerator when no block is given #select yields each value returns an Array with the values from for which the block returns true returns an enumerator when no block is given properties #size returns the number of struct members #values returns the values of the struct as an array in order #members returns the struct members as an array of symbols returns a different object than the array passed at definition #length returns the number of struct members #values_at returns values for ranges and offsets returns the value at the given offset returns the values at multiple given offsets returns values at offsets in a given range returns values for multiple ranges construction sets all given members in order sets all absent members to nil raises an exception when extra members are given definition evalues a given block against the new class raises an exception when given no members defines a getter for each member raise an exception when given an invalid member raises an exception when given an invalid class name creates an anonymous class when given at least one member /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/spec/concurrent/struct_shared.rb:15: warning: already initialized constant ValidClassName2 /builddir/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/spec/concurrent/struct_shared.rb:15: warning: previous definition of ValidClassName2 was here registers the class when given a class name which is defined in the ancestors registers the class when given a class name copy #dup copies the singleton class of members discards singleton class discards frozen state of the struct shallowly duplicates all members along with the struct retains frozen state of members #clone shallowly clones all members along with the struct copies the singleton class retains frozen state copies the singleton class of members conversion #to_h returns a Hash containing the names and values in order #to_a returns the to_a for this struct as an array #to_s includes the names of all members includes all values includes the name of the class when registered returns the same string as #inspect it should behave like mergeable_struct #merge returns a new object retains the value for all members not without values in the given hash raises an exception when given a hash with members not in the struct updates all members with the new values from a given hash calls the given block for each key in `other` Concurrent::TVar #value gets the value #value= sets the value #initialize accepts an initial value Concurrent::Collection::CopyOnWriteObserverSet behaves like an observer set #add_observer with arguments should return the observer with a block should return the observer based on a block #notify_and_delete_observers should return the observer set should clear observers should notify all observers can be called many times without any other notification #delete_observers should return the observer set should remove all observers #count_observers should be 1 after the first observer is added should be 1 if the same observer is added many times should be equal to the number of unique observers should be zero after initialization #notify_observers should return the observer set with a block passes the block return value to the update method accepts blocks returning a single value accepts block return values that include arrays calls the block once for every observer raises an exception if given both arguments and a block with a single observer should notify an observer from a block can be called many times should update a registered observer with arguments should notify an observer once using the last added method should update a registered observer without arguments should notify an observer using the chosen method with many observers should notify all observer using the chosen method #delete_observer should not notify a deleted observer should return the observer can delete a non added observer Concurrent::SingleThreadExecutor inherits from RubySingleThreadExecutor Concurrent::Agent nested actions work with immediate execution occur in the order they ar post waiting with #wait returns false on timeout blocks indefinitely when timeout is nil returns true when all prior actions have processed blocks forever when timeout is nil and restarted with :clear_actions true (PENDING: the timing is nearly impossible) returns false when timeout is given and restarted with :clear_actions true (PENDING: the timing is nearly impossible) does not block on actions from other threads returns true when there are no pending actions and a timeout is given returns true when there are no pending actions and timeout is nil with #await_for returns false on timeout returns false if restarted with :clear_actions true (PENDING: the timing is nearly impossible) returns true when there are no pending actions returns true when all prior actions have processed does not block on actions from other threads with .await returns true when all prior actions on all agents have processed with #await does not block on actions from other threads returns self when there are no pending actions blocks indefinitely blocks forever if restarted with :clear_actions true (PENDING: the timing is nearly impossible) returns true when all prior actions have processed with #await_for! returns true when there are no pending actions returns true when all prior actions have processed raises an error if restarted with :clear_actions true (PENDING: the timing is nearly impossible) raises an error on timeout does not block on actions from other threads with await_for! returns true when there are no pending actions raises an exception on timeout returns true when all prior actions for all agents have processed with .await_for returns true when there are no pending actions returns true when all prior actions for all agents have processed returns false on timeout the await job does not trigger observers does not trigger the error mode does not change the value waits for nested actions error handling the agent will be passed to the handler the exception will be passed to the handler does not trigger observation observable behaves like observable #add_observer adds an observer with :func if called before first notification creates an observer from a block if called before first notification raises an exception when given both an observer and a block raises an exception if not given an observer or a block adds an observer if called before first notification #delete_observers deletes all observers when called before first notification returns self #delete_observer deletes the given observer if called before first notification returns the given observer even when not found in the observer set returns the removed observer if found in the observer set first notification calls the appropriate function on all observers which specified a :func calls the #update method on all observers without a specified :func calls the proc for all observers added as a block does not notify any observers after #delete_observers called does not notify any observers removed with #delete_observer #count_observers returns zero for a new observable object returns zero after #delete_observers has been called returns a count of registered observers if called before first notification action processing when the action raises an error the handler will be called the given block will be passed the current value upon validation the new value will be set to the block return value on success all observers will be notified when validation raises an error the handler will be called when validation fails the handler will be called when validation returns false the value will not change when the action raises an error the validator will not be called any recursive action dispatches will run after the value has been updated the given block will be passed any provided arguments the return value will be passed to the validator function when validation raises an error the value will not change when the action raises an error the value will not change initialization sets the initial value sets #failed? to false defaults the error mode to :continue when an error handler is given raises an error when given an invalid error mode defaults the error mode to :fail when no error handler is given sets the error mode when given a valid value sets the initial error to nil error mode :continue does not set an error when the action raises an error does not block further action processing sets #failed? to false does not set an error when the validator raises an error does not set an error when the validator returns false :fail sets #failed? to true sets the error when the validator returns false sets the error when the validator raises an error blocks all further action processing until a restart sets the error when the action raises an error posting with #<< returns self when #failed? does not wait for the action to process posts to the global io executor returns self when the job is post with #post returns false when #failed? posts to the global io executor returns true when the job is post does not wait for the action to process with #send! does not wait for the action to process returns true when the job is post raises an error when #failed? posts to the global fast executor with #send returns false when #failed? does not wait for the action to process returns true when the job is post posts to the global fast executor with #send_via returns true when the job is post posts to the given executor returns false when #failed? with #send_via! raises an error when #failed? posts to the given executor returns true when the job is post with #send_off! posts to the global io executor raises an error when #failed? does not wait for the action to process returns true when the job is post with #send_off does not wait for the action to process posts to the global io executor returns true when the job is post returns false when #failed? #restart when #failed? does not trigger observation sets #failed? to true clears the error does not clear the action queue when :clear_actions is not given removes all actions from the queue when :clear_actions is true does not clear the action queue when :clear_actions is false resumes action processing if actions are enqueued sets the new value raises an error if the new value is not valid when not #failed? raises an error validation does not set an error when the error mode is :continue and the validator raises an error rejects the new value when the validator returns false sets the error when the error mode is :fail and the validator raises an error rejects the new value when the validator raises an error sets the new value when the validator returns true sets the error when the error mode is :fail and the validator returns false does not set an error when the error mode is :continue and the validator returns false does not trigger observation when validation fails Pending: (Failures listed here are expected and do not affect your suite's status) 1) Concurrent::Synchronization Concurrent::Synchronization::LockableObject signaling for now pending, tested pretty well by Event # Not yet implemented # ./spec/concurrent/synchronization_spec.rb:179 2) Concurrent::Agent waiting with #wait blocks forever when timeout is nil and restarted with :clear_actions true # the timing is nearly impossible Failure/Error: pending('the timing is nearly impossible'); fail subject = Agent.new(0, error_mode: :fail) t = in_thread do subject.send_via(executor) { sleep(0.1) } subject.send_via(executor) { raise StandardError } subject.send_via(executor) { nil } in_thread { subject.restart(42, clear_actions: true) } subject.wait(nil) end RuntimeError: # ./spec/concurrent/agent_spec.rb:1087:in `block (4 levels) in ' 3) Concurrent::Agent waiting with #wait returns false when timeout is given and restarted with :clear_actions true # the timing is nearly impossible Failure/Error: pending('the timing is nearly impossible'); fail subject = Agent.new(0, error_mode: :fail) subject.send_via(executor) { sleep(0.1) } subject.send_via(executor) { raise StandardError } subject.send_via(executor) { nil } in_thread { subject.restart(42, clear_actions: true) } ok = subject.wait(0.2) RuntimeError: # ./spec/concurrent/agent_spec.rb:1120:in `block (4 levels) in ' 4) Concurrent::Agent waiting with #await_for returns false if restarted with :clear_actions true # the timing is nearly impossible Failure/Error: pending('the timing is nearly impossible'); fail subject = Agent.new(0, error_mode: :fail) subject.send_via(executor) { sleep(0.1) } subject.send_via(executor) { raise StandardError } subject.send_via(executor) { nil } in_thread { subject.restart(42, clear_actions: true) } ok = subject.await_for(0.2) RuntimeError: # ./spec/concurrent/agent_spec.rb:984:in `block (4 levels) in ' 5) Concurrent::Agent waiting with #await blocks forever if restarted with :clear_actions true # the timing is nearly impossible Failure/Error: pending('the timing is nearly impossible'); fail subject = Agent.new(0, error_mode: :fail) t = in_thread do subject.send_via(executor) { sleep(0.1) } subject.send_via(executor) { raise StandardError } subject.send_via(executor) { nil } in_thread { subject.restart(42, clear_actions: true) } subject.await end RuntimeError: # ./spec/concurrent/agent_spec.rb:931:in `block (4 levels) in ' 6) Concurrent::Agent waiting with #await_for! raises an error if restarted with :clear_actions true # the timing is nearly impossible Failure/Error: pending('the timing is nearly impossible'); fail subject = Agent.new(0, error_mode: :fail) subject.send_via(executor) { sleep(0.1) } subject.send_via(executor) { raise StandardError } subject.send_via(executor) { nil } in_thread { subject.restart(42, clear_actions: true) } expect { RuntimeError: # ./spec/concurrent/agent_spec.rb:1037:in `block (4 levels) in ' Finished in 2 minutes 7.4 seconds (files took 0.40369 seconds to load) 1928 examples, 0 failures, 6 pending Randomized with seed 61110 ~/build/BUILD/rubygem-concurrent-ruby-1.1.9-build/concurrent-ruby-1.1.9 + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-concurrent-ruby-1.1.9-7.fc42.noarch Provides: rubygem(concurrent-ruby) = 1.1.9 rubygem-concurrent-ruby = 1.1.9-7.fc42 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-concurrent-ruby-doc-1.1.9-7.fc42.noarch Provides: rubygem-concurrent-ruby-doc = 1.1.9-7.fc42 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/BUILD/rubygem-concurrent-ruby-1.1.9-build/BUILDROOT Wrote: /builddir/build/RPMS/rubygem-concurrent-ruby-1.1.9-7.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-concurrent-ruby-doc-1.1.9-7.fc42.noarch.rpm Child return code was: 0