0s autopkgtest [07:26:38]: starting date and time: 2026-02-08 07:26:38+0000 0s autopkgtest [07:26:38]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [07:26:38]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._v2spva_/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby3.3 --apt-upgrade ruby-concurrent --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby3.3/3.3.8-2ubuntu3 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-s390x-5.secgroup --name adt-resolute-s390x-ruby-concurrent-20260208-072637-juju-7f2275-prod-proposed-migration-environment-20-84d30347-0584-4609-ba15-c6d85d67bb66 --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-s390x-ruby-concurrent-20260208-072637-juju-7f2275-prod-proposed-migration-environment-20-84d30347-0584-4609-ba15-c6d85d67bb66 from image adt/ubuntu-resolute-s390x-server-20260208.img (UUID bf8d2066-816d-4293-b7d1-06f39d3d29cb)... 161s autopkgtest [07:29:19]: testbed dpkg architecture: s390x 162s autopkgtest [07:29:20]: testbed apt version: 3.1.15 164s autopkgtest [07:29:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 164s autopkgtest [07:29:22]: testbed release detected to be: None 167s autopkgtest [07:29:25]: updating testbed package index (apt update) 168s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 169s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 169s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 169s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 169s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [177 kB] 169s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.2 kB] 169s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1554 kB] 170s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [204 kB] 170s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [1358 kB] 170s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [7384 B] 173s Fetched 3453 kB in 5s (763 kB/s) 179s Reading package lists... 181s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 181s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 181s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 182s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 182s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1523 kB] 182s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [175 kB] 182s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [202 kB] 182s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [1342 kB] 183s Get:9 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [311 kB] 183s Get:10 http://ftpmaster.internal/ubuntu resolute/main Sources [1398 kB] 183s Get:11 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 185s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x Packages [1398 kB] 185s Get:13 http://ftpmaster.internal/ubuntu resolute/universe s390x Packages [15.0 MB] 186s Get:14 http://ftpmaster.internal/ubuntu resolute/multiverse s390x Packages [173 kB] 217s Fetched 43.1 MB in 36s (1212 kB/s) 222s Reading package lists... 222s Reading package lists... 224s Building dependency tree... 224s Reading state information... 225s Calculating upgrade... 227s The following packages will be upgraded: 227s libxau6 libxkbcommon0 ubuntu-kernel-accessories ubuntu-standard 227s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 227s Need to get 199 kB of archives. 227s After this operation, 4096 B of additional disk space will be used. 227s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libxau6 s390x 1:1.0.11-1build2 [7410 B] 227s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxkbcommon0 s390x 1.13.1-1 [165 kB] 227s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x ubuntu-standard s390x 1.564 [13.3 kB] 227s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x ubuntu-kernel-accessories s390x 1.564 [13.1 kB] 230s dpkg-preconfigure: unable to re-open stdin: No such file or directory 230s Fetched 199 kB in 0s (950 kB/s) 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 88711 files and directories currently installed.) 234s Preparing to unpack .../libxau6_1%3a1.0.11-1build2_s390x.deb ... 234s Unpacking libxau6:s390x (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 236s Preparing to unpack .../libxkbcommon0_1.13.1-1_s390x.deb ... 236s Unpacking libxkbcommon0:s390x (1.13.1-1) over (1.12.3-1) ... 236s Preparing to unpack .../ubuntu-standard_1.564_s390x.deb ... 236s Unpacking ubuntu-standard (1.564) over (1.563) ... 237s Preparing to unpack .../ubuntu-kernel-accessories_1.564_s390x.deb ... 237s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 238s Setting up libxau6:s390x (1:1.0.11-1build2) ... 240s Setting up ubuntu-kernel-accessories (1.564) ... 240s Setting up ubuntu-standard (1.564) ... 241s Setting up libxkbcommon0:s390x (1.13.1-1) ... 242s Processing triggers for libc-bin (2.42-2ubuntu4) ... 245s autopkgtest [07:30:43]: upgrading testbed (apt dist-upgrade and autopurge) 246s Reading package lists... 247s Building dependency tree... 247s Reading state information... 248s Calculating upgrade... 249s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 249s Reading package lists... 251s Building dependency tree... 251s Reading state information... 251s Solving dependencies... 252s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 262s autopkgtest [07:31:00]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP Fri Jan 23 19:02:49 UTC 2026 263s autopkgtest [07:31:01]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-concurrent 274s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-concurrent 1.3.4-1 (dsc) [1707 B] 274s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-concurrent 1.3.4-1 (tar) [1005 kB] 274s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-concurrent 1.3.4-1 (diff) [6016 B] 276s gpgv: Signature made Tue Feb 4 18:01:40 2025 UTC 276s gpgv: using EDDSA key 84CFFDC21520F88306EC29D152699AB63F9F2BC3 276s gpgv: Can't check signature: No public key 276s dpkg-source: warning: cannot verify inline signature for ./ruby-concurrent_1.3.4-1.dsc: no acceptable signature found 278s autopkgtest [07:31:16]: testing package ruby-concurrent version 1.3.4-1 279s autopkgtest [07:31:17]: build not needed 280s autopkgtest [07:31:18]: test ruby: preparing testbed 281s Reading package lists... 283s Building dependency tree... 283s Reading state information... 283s Solving dependencies... 284s The following NEW packages will be installed: 285s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-concurrent 285s ruby-concurrent-ext ruby-csv ruby-did-you-mean ruby-diff-lcs ruby-minitest 285s ruby-net-telnet ruby-power-assert ruby-rspec ruby-rspec-core 285s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 285s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-timecop ruby-webrick 285s ruby-xmlrpc ruby3.3 rubygems-integration 285s 0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. 285s Need to get 7312 kB of archives. 285s After this operation, 36.5 MB of additional disk space will be used. 285s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x rubygems-integration all 1.19build1 [5666 B] 285s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-csv all 3.3.4-1 [43.0 kB] 285s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-did-you-mean all 1.6.3-2build1 [14.9 kB] 285s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-net-telnet all 0.2.0-1build1 [13.5 kB] 285s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-ruby2-keywords all 0.0.5-1build1 [4398 B] 285s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-webrick all 1.9.1-1build1 [60.9 kB] 285s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-xmlrpc all 0.3.3-2build1 [24.9 kB] 285s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libruby3.3 s390x 3.3.8-2ubuntu3 [5868 kB] 286s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x ruby3.3 s390x 3.3.8-2ubuntu3 [49.1 kB] 286s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libruby s390x 1:3.3 [5162 B] 286s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-rubygems all 3.6.7-2ubuntu2 [332 kB] 286s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x ruby s390x 1:3.3 [3668 B] 286s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x rake all 13.2.1-1build1 [45.9 kB] 286s Get:14 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-minitest all 5.26.1-1 [49.3 kB] 286s Get:15 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-power-assert all 2.0.5-1 [12.0 kB] 286s Get:16 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-test-unit all 3.6.2-1 [67.0 kB] 286s Get:17 http://ftpmaster.internal/ubuntu resolute/universe s390x gem2deb-test-runner s390x 2.2.5 [18.3 kB] 286s Get:18 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-concurrent all 1.3.4-1 [283 kB] 286s Get:19 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-concurrent-ext s390x 1.3.4-1 [8950 B] 286s Get:20 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-diff-lcs all 1.5.1-1 [22.8 kB] 286s Get:21 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 286s Get:22 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 286s Get:23 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 286s Get:24 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 286s Get:25 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 286s Get:26 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-timecop all 0.9.10-1.1 [11.5 kB] 288s Fetched 7312 kB in 1s (5524 kB/s) 288s Selecting previously unselected package rubygems-integration. 289s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 88711 files and directories currently installed.) 289s Preparing to unpack .../00-rubygems-integration_1.19build1_all.deb ... 289s Unpacking rubygems-integration (1.19build1) ... 289s Selecting previously unselected package ruby-csv. 289s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 289s Unpacking ruby-csv (3.3.4-1) ... 289s Selecting previously unselected package ruby-did-you-mean. 289s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2build1_all.deb ... 289s Unpacking ruby-did-you-mean (1.6.3-2build1) ... 289s Selecting previously unselected package ruby-net-telnet. 289s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1build1_all.deb ... 289s Unpacking ruby-net-telnet (0.2.0-1build1) ... 290s Selecting previously unselected package ruby-ruby2-keywords. 290s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1build1_all.deb ... 290s Unpacking ruby-ruby2-keywords (0.0.5-1build1) ... 290s Selecting previously unselected package ruby-webrick. 290s Preparing to unpack .../05-ruby-webrick_1.9.1-1build1_all.deb ... 290s Unpacking ruby-webrick (1.9.1-1build1) ... 290s Selecting previously unselected package ruby-xmlrpc. 290s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2build1_all.deb ... 290s Unpacking ruby-xmlrpc (0.3.3-2build1) ... 290s Selecting previously unselected package libruby3.3:s390x. 290s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu3_s390x.deb ... 290s Unpacking libruby3.3:s390x (3.3.8-2ubuntu3) ... 295s Selecting previously unselected package ruby3.3. 295s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu3_s390x.deb ... 295s Unpacking ruby3.3 (3.3.8-2ubuntu3) ... 295s Selecting previously unselected package libruby:s390x. 295s Preparing to unpack .../09-libruby_1%3a3.3_s390x.deb ... 295s Unpacking libruby:s390x (1:3.3) ... 295s Selecting previously unselected package ruby-rubygems. 295s Preparing to unpack .../10-ruby-rubygems_3.6.7-2ubuntu2_all.deb ... 295s Unpacking ruby-rubygems (3.6.7-2ubuntu2) ... 295s Selecting previously unselected package ruby. 295s Preparing to unpack .../11-ruby_1%3a3.3_s390x.deb ... 295s Unpacking ruby (1:3.3) ... 295s Selecting previously unselected package rake. 295s Preparing to unpack .../12-rake_13.2.1-1build1_all.deb ... 295s Unpacking rake (13.2.1-1build1) ... 295s Selecting previously unselected package ruby-minitest. 295s Preparing to unpack .../13-ruby-minitest_5.26.1-1_all.deb ... 295s Unpacking ruby-minitest (5.26.1-1) ... 295s Selecting previously unselected package ruby-power-assert. 295s Preparing to unpack .../14-ruby-power-assert_2.0.5-1_all.deb ... 295s Unpacking ruby-power-assert (2.0.5-1) ... 295s Selecting previously unselected package ruby-test-unit. 295s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 295s Unpacking ruby-test-unit (3.6.2-1) ... 295s Selecting previously unselected package gem2deb-test-runner. 295s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_s390x.deb ... 295s Unpacking gem2deb-test-runner (2.2.5) ... 295s Selecting previously unselected package ruby-concurrent. 296s Preparing to unpack .../17-ruby-concurrent_1.3.4-1_all.deb ... 296s Unpacking ruby-concurrent (1.3.4-1) ... 296s Selecting previously unselected package ruby-concurrent-ext. 296s Preparing to unpack .../18-ruby-concurrent-ext_1.3.4-1_s390x.deb ... 296s Unpacking ruby-concurrent-ext (1.3.4-1) ... 296s Selecting previously unselected package ruby-diff-lcs. 296s Preparing to unpack .../19-ruby-diff-lcs_1.5.1-1_all.deb ... 296s Unpacking ruby-diff-lcs (1.5.1-1) ... 296s Selecting previously unselected package ruby-rspec-support. 296s Preparing to unpack .../20-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 296s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 296s Selecting previously unselected package ruby-rspec-core. 296s Preparing to unpack .../21-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 296s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 296s Selecting previously unselected package ruby-rspec-expectations. 296s Preparing to unpack .../22-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 296s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 296s Selecting previously unselected package ruby-rspec-mocks. 296s Preparing to unpack .../23-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 296s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 296s Selecting previously unselected package ruby-rspec. 296s Preparing to unpack .../24-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 296s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 296s Selecting previously unselected package ruby-timecop. 296s Preparing to unpack .../25-ruby-timecop_0.9.10-1.1_all.deb ... 296s Unpacking ruby-timecop (0.9.10-1.1) ... 297s Setting up ruby-ruby2-keywords (0.0.5-1build1) ... 297s Setting up ruby-power-assert (2.0.5-1) ... 297s Setting up rubygems-integration (1.19build1) ... 297s Setting up ruby-concurrent (1.3.4-1) ... 297s Setting up ruby-timecop (0.9.10-1.1) ... 297s Setting up ruby-minitest (5.26.1-1) ... 297s Setting up ruby-test-unit (3.6.2-1) ... 297s Setting up ruby-net-telnet (0.2.0-1build1) ... 297s Setting up ruby-csv (3.3.4-1) ... 297s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 297s Setting up ruby-webrick (1.9.1-1build1) ... 297s Setting up ruby-did-you-mean (1.6.3-2build1) ... 297s Setting up ruby-xmlrpc (0.3.3-2build1) ... 297s Setting up rake (13.2.1-1build1) ... 297s Setting up libruby3.3:s390x (3.3.8-2ubuntu3) ... 297s Setting up ruby3.3 (3.3.8-2ubuntu3) ... 297s Setting up libruby:s390x (1:3.3) ... 297s Setting up ruby (1:3.3) ... 297s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 297s Setting up ruby-diff-lcs (1.5.1-1) ... 297s Setting up ruby-rubygems (3.6.7-2ubuntu2) ... 297s Setting up gem2deb-test-runner (2.2.5) ... 297s Setting up ruby-concurrent-ext (1.3.4-1) ... 297s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 297s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 297s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 297s Processing triggers for libc-bin (2.42-2ubuntu4) ... 297s Processing triggers for man-db (2.13.1-1build1) ... 313s autopkgtest [07:31:51]: test ruby: ruby -e "gem 'concurrent-ruby'" \ && ruby -e "gem 'concurrent-ruby-ext'" \ && ruby -e "gem 'concurrent-ruby-edge'" \ && DH_RUBY_GEMSPEC=concurrent-ruby.gemspec gem2deb-test-runner --autopkgtest 2>&1 313s autopkgtest [07:31:51]: test ruby: [----------------------- 316s 316s ┌──────────────────────────────────────────────────────────────────────────────┐ 316s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 316s └──────────────────────────────────────────────────────────────────────────────┘ 316s 316s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 316s mv lib ./.gem2deb.lib 316s mv ext ./.gem2deb.ext 317s /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/concurrent/\*_spec.rb --color --backtrace --format documentation --seed 1 321s Run options: exclude {:stress=>true} 321s 321s Randomized with seed 1 321s 321s Concurrent::IVar 321s #initialize 321s can set an initial value 321s does not have to set an initial value 321s can set an initial value with a block 321s does not set an initial value if you pass NULL 321s raises an exception if given both a value and a block 321s observation 321s notifies all observers on #set 321s deadlock avoidance 321s should notify observers outside mutex lock 321s should notify a new observer added after fulfillment outside lock 321s it should behave like ivar 321s initialization 321s sets the state to incomplete 321s it should behave like dereferenceable 321s does not call #freeze when #freeze_on_deref is set and the value is nil 321s defaults :copy_on_deref to nil 321s defaults :dup_on_deref to false 321s supports dereference flags with observers 321s calls #freeze when the :freeze_on_deref option is true 321s defaults :freeze_on_deref to false 321s does not call #dup when #dup_on_deref is set and the value is nil 321s calls #dup when the :dup_on_deref option is true 321s calls the block when the :copy_on_deref option is passed a proc 321s does not call the #copy_on_deref block when the value is nil 321s calls the :copy block first followed by #dup followed by #freeze 321s it should behave like obligation 321s #value 321s returns nil when reaching the optional timeout value 321s is nil when :pending 321s blocks the caller when :pending and timeout is nil 321s returns the value when fulfilled before timeout 321s is set to the return value of the block when :fulfilled 321s is nil when :rejected 321s returns nil when timeout reached 321s returns immediately when timeout is zero 321s #state 321s is :pending when first created 321s is :fulfilled when the handler completes 321s is :rejected when the handler raises an exception 321s #reason 321s is nil when :fulfilled 321s is set to error object of the exception when :rejected 321s is nil when :pending 321s it should behave like observable 321s #delete_observer 321s deletes the given observer if called before first notification 321s returns the given observer even when not found in the observer set 321s returns the removed observer if found in the observer set 321s #add_observer 321s raises an exception if not given an observer or a block 321s adds an observer if called before first notification 321s raises an exception when given both an observer and a block 321s creates an observer from a block if called before first notification 321s adds an observer with :func if called before first notification 321s first notification 323s does not notify any observers after #delete_observers called 323s calls the appropriate function on all observers which specified a :func 324s does not notify any observers removed with #delete_observer 324s calls the proc for all observers added as a block 324s calls the #update method on all observers without a specified :func 324s #count_observers 324s returns zero for a new observable object 324s returns a count of registered observers if called before first notification 324s returns zero after #delete_observers has been called 324s #delete_observers 324s deletes all observers when called before first notification 324s returns self 324s #set 324s raises an exception when given neither a value nor a block 324s raises an exception if set more than once 324s rejects when given a block which raises an exception 324s returns self 324s sets the state to be fulfilled 324s fulfils when given a block which executes successfully 324s raises an exception when given a value and a block 324s sets the value 324s #fail 324s sets the reason to the given exception 324s raises an exception if set more than once 324s sets the value to be nil 324s returns self 324s defaults the reason to a StandardError 324s sets the state to be rejected 324s #try_set 324s when unset 324s assigns the value 324s assigns the block result 324s returns true 324s when rejected 324s does not assign the block result 324s returns false 324s has a nil value 324s does not assign the value 324s when fulfilled 324s does not assign the value 324s returns false 324s does not assign the block result 324s 324s Concurrent::LazyRegister 324s example at ./spec/concurrent/lazy_register_spec.rb:6 (PENDING: Not yet implemented) 324s 324s dataflow 324s #dataflow uses the global fast executor 324s #dataflow_with raises an exception when no executor given 324s raises an exception when no block given 324s accepts completed dependencies 324s doesn't raise exceptions from dependencies, unless called with ! 324s returns a Future 324s accepts zero or more dependencies 324s accepts uncompleted dependencies 324s #dataflow_with uses the given executor 324s raises an exception if any dependencies are not IVars 324s passes the values of dependencies into the block 324s if there is more than one 324s if there is just one 324s does not schedule the Future 324s if no dependencies are completed 324s if one dependency of two is completed 324s module function 324s can be called as Concurrent.dataflow and Concurrent.dataflow_with 324s counts already executed dependencies 324s if there is more than one 324s if there is just one 324s schedules the Future when all dependencies are available 324s if there is more than one 324s if there is just one 324s 324s Concurrent::MutableStruct 324s #[member]= 324s sets the value when given a valid string member 324s sets the value when given a valid symbol member 324s raises an exception when given a non-existent symbol member 324s raises an exception when given a non-existent string member 324s synchronization 324s protects #[member] 324s protects #values 324s protects #to_h 324s protects getter methods 324s protects #each_pair 324s protects getter methods 324s protects #inspect 324s protects #[member]= 324s protects #to_s 324s protects #values_at 324s protects #merge 324s protects #initialize_copy 324s protects #[index]= 324s protects #== 324s protects #each 324s protects #[index] 324s protects #select 324s definition 324s defines a setter for each member 324s copy 324s #clone 324s mutates only the copy 324s #dup 324s mutates only the copy 324s #[index]= 324s sets the value when given a valid index 324s raises an exception when given an out-of-bound index 324s it should behave like struct 324s properties 324s #members 324s returns a different object than the array passed at definition 324s returns the struct members as an array of symbols 324s #size 324s returns the number of struct members 324s #values 324s returns the values of the struct as an array in order 324s #values_at 324s returns values for ranges and offsets 324s returns the values at multiple given offsets 324s returns values at offsets in a given range 324s returns the value at the given offset 324s returns values for multiple ranges 324s #length 324s returns the number of struct members 324s comparison 324s #!= 324s returns false if other has same struct subclass and equal values 324s returns true if other has different values 324s returns true if other has different struct subclass 324s #== 324s returns true if other has same struct subclass and equal values 324s returns false if other has different struct subclass 324s returns false if other has different values 324s definition 324s registers the class when given a class name which is defined in the ancestors 324s raises an exception when given an invalid class name 324s raises an exception when given no members 324s raise an exception when given an invalid member 324s defines a getter for each member 324s registers the class when given a class name 324s evalues a given block against the new class 324s creates an anonymous class when given at least one member 324s conversion 324s #to_a 324s returns the to_a for this struct as an array 324s #to_s 324s returns the same string as #inspect 324s includes the name of the class when registered 324s includes the names of all members 324s includes all values 324s #to_h 324s returns a Hash containing the names and values in order 324s accessors 324s #[index] 324s retrieves the value when given a valid index 324s raises an exception when given an out-of-bound index 324s #[member] 324s retrieves the value when given a valid string member 324s raises an exception when given a non-existent string member 324s raises an exception when given a non-existent symbol member 324s retrieves the value when given a valid symbol member 324s enumeration 324s #select 324s yields each value 324s returns an enumerator when no block is given 324s returns an Array with the values from for which the block returns true 324s #each 324s returns an enumerator when no block is given 324s yields the value of each struct member in order 324s #each_pair 324s returns an enumerator when no block is given 324s yields the name and value of each struct member in order 324s construction 324s raises an exception when extra members are given 324s sets all absent members to nil 324s sets all given members in order 324s copy 324s #dup 324s discards singleton class 324s shallowly duplicates all members along with the struct 324s discards frozen state of the struct 324s retains frozen state of members 324s copies the singleton class of members 324s #clone 324s retains frozen state 324s copies the singleton class 324s copies the singleton class of members 324s shallowly clones all members along with the struct 324s it should behave like mergeable_struct 324s #merge 324s calls the given block for each key in `other` 324s raises an exception when given a hash with members not in the struct 324s returns a new object 324s retains the value for all members not without values in the given hash 324s updates all members with the new values from a given hash 324s 324s Concurrent 324s Cancellation 324s basic 324s is expected to be falsey 324s is expected to be truthy 324s #join 324s is expected to eq 2 324s is expected to be falsey 324s 324s #atomically 324s provides atomicity 324s raises an exception when no block given 324s reflects transactional writes from within the same transaction 324s undoes writes if the transaction is aborted 324s commits writes if the transaction succeeds 324s retries on abort 324s nests 324s raises the same exception that was raised in Concurrent::atomically 324s 324s Concurrent::Set 324s .[] 324s when initializing with arguments 324s creates a set with the given objects 324s when initializing with no arguments 324s is expected to be empty 324s .new 324s when initializing with no arguments 324s is expected to be empty 324s when initializing with an enumerable object 324s creates a set with the contents of the enumerable object 324s when initializing with a block argument 324s creates a set with the contents of the enumerable object 324s concurrency 327s #each 327s force context switch 334s #add and #delete 334s 334s Concurrent::Delay 334s #reconfigure 334s returns value of block used in reconfiguration 334s returns false when process completed? 334s #value 334s can be called twice 334s calls the block when #value is called 334s raises when called recursively 334s does not call the block before #value is called 334s only calls the block once no matter how often #value is called 334s behavior 334s it should behave like dereferenceable 334s calls the block when the :copy_on_deref option is passed a proc 334s defaults :copy_on_deref to nil 334s does not call #freeze when #freeze_on_deref is set and the value is nil 334s calls #dup when the :dup_on_deref option is true 334s does not call #dup when #dup_on_deref is set and the value is nil 334s defaults :dup_on_deref to false 334s supports dereference flags with observers 334s does not call the #copy_on_deref block when the value is nil 334s calls the :copy block first followed by #dup followed by #freeze 334s defaults :freeze_on_deref to false 334s calls #freeze when the :freeze_on_deref option is true 334s it should behave like obligation 334s #reason 334s is nil when :pending 334s is nil when :fulfilled 334s is set to error object of the exception when :rejected 334s #value 334s is nil when :rejected 334s is set to the return value of the block when :fulfilled 334s returns immediately when timeout is zero 334s blocks the caller when :pending and timeout is nil 334s returns nil when reaching the optional timeout value 334s returns nil when timeout reached 334s returns the value when fulfilled before timeout 334s is nil when :pending 334s #state 334s is :pending when first created 334s is :rejected when the handler raises an exception 334s is :fulfilled when the handler completes 334s #initialize 334s raises an exception when no block given 334s sets the state to :pending 334s 334s Concurrent::Promise 334s #rescue 334s returns a new promise 334s it should behave like thread_arguments 334s passes a one-element array when the :args key has a non-array value 334s passes an empty array when opts is not given 334s passes an empty array when the :args key has a nil value 334s passes an empty array when opts is an empty hash 334s allows the given arguments array to be dereferenced 334s passes the given array when the :args key has a complex array value 334s passes an array when when the :args key has an array value 334s passes an empty array when there is no :args key 334s aliases 334s aliases #realized? for #fulfilled? 334s aliases #catch for #rescue 334s aliases #deref for #value 334s aliases #on_error for #rescue 334s fulfillment 334s can manage long chain 334s sets the promise state to :fulfilled if the block completes 334s passes the result of each block to all its children 334s sets the promise value to the result if its block 334s uses result as fulfillment value when a promise has no block 334s passes the last result through when a promise has no block 334s #fail 334s can only be called on the root promise 334s rejects children 334s #set 334s triggers children 334s can be called with a block 334s #can only be called on the root promise 334s rejection 335s sets the promise value to the result if its block 335s passes the reason to all its children 335s rejects on Exception 335s sets the promise state to :rejected if the block completes 335s uses reason as rejection reason when a promise has no rescue callable 335s .zip 335s does not execute the returned Promise when execute is false 335s preserves ordering of the executed promises 335s executes the returned Promise by default 335s allows setting executor for Promise chain 335s fails if one component fails 335s executes the returned Promise when execute is true 335s yields the results as an array 335s aggregators 335s .any? 335s executes the #then condition when any components succeed 335s executes the #rescue handler if all componenst fail 335s does not execute the returned Promise 335s returns a new Promise 335s executes the #then condition when no promises are given 335s .all? 335s executes the #then condition when all components succeed 335s executes the #rescue handler if even one component fails 335s returns a new Promise 335s does not execute the returned Promise 335s executes the #then condition when no promises are given 335s initializers 335s .execute 335s passes the block to the new Promise 335s calls #execute on the new Promise 335s creates a new Promise 335s .fulfill 335s should return a Promise with set value 335s should return a fulfilled Promise 335s should return a Promise 335s .reject 335s should return a Promise with set reason 335s should return a Promise 335s should return a rejected Promise 335s .new 335s should return an unscheduled Promise 335s #then 335s should have block or rescuers 335s returns a new promise when a block and rescuer are passed 335s returns a new promise when a block is passed 335s returns a new promise when a rescuer is passed 335s can be called more than once 335s supports setting the executor using a named parameter 335s returns a new promise when a block, rescuer and executor are passed 335s fulfilled 335s returns a new Promise 335s notifies fulfillment to new child 335s rejected 335s returns a new Promise when :rejected 335s notifies rejection to new child 335s pending 335s returns a new promise 335s returns a pending promise 335s unscheduled 335s returns a new promise 335s returns an unscheduled promise 335s on_success 335s returns a new promise 335s should have a block 335s #execute 335s with children 335s when called on a child 336s should set all promises to :pending 336s when called on child after parent completes 336s sets state to :pending immediately 336s when called on the root 337s should set all promises to :pending 337s pending 337s does not post again 337s sets the promise to :pending 337s unscheduled 337s posts the block given in construction 338s sets the promise to :pending 338s #flat_map 338s returns a promise 338s fails if the left promise fails 338s fails if the right promise fails 338s fails if the generating block fails 338s succeeds if both promises succeed 338s #zip 338s allows setting executor for Promise chain 338s fails if one component fails 338s executes the returned Promise when execute is true 338s does not execute the returned Promise when execute is false 338s executes the returned Promise by default 339s preserves ordering of the executed promises 339s yields the results as an array 339s it should behave like ivar 339s #set 339s raises an exception if set more than once 339s returns self 339s raises an exception when given neither a value nor a block 339s raises an exception when given a value and a block 339s rejects when given a block which raises an exception 339s sets the state to be fulfilled 339s sets the value 339s fulfils when given a block which executes successfully 339s #try_set 339s when fulfilled 339s returns false 339s does not assign the value 339s does not assign the block result 339s when rejected 339s returns false 339s does not assign the block result 339s has a nil value 339s does not assign the value 339s when unset 339s returns true 339s assigns the value 339s assigns the block result 339s it should behave like observable 339s #add_observer 339s adds an observer with :func if called before first notification 339s raises an exception if not given an observer or a block 339s creates an observer from a block if called before first notification 339s adds an observer if called before first notification 339s raises an exception when given both an observer and a block 339s #count_observers 339s returns zero for a new observable object 339s returns a count of registered observers if called before first notification 339s returns zero after #delete_observers has been called 339s first notification 340s does not notify any observers removed with #delete_observer 341s does not notify any observers after #delete_observers called 341s calls the proc for all observers added as a block 341s calls the appropriate function on all observers which specified a :func 341s calls the #update method on all observers without a specified :func 341s #delete_observer 341s returns the given observer even when not found in the observer set 341s returns the removed observer if found in the observer set 341s deletes the given observer if called before first notification 341s #delete_observers 341s returns self 341s deletes all observers when called before first notification 341s initialization 341s sets the state to incomplete 341s #fail 341s sets the state to be rejected 341s sets the value to be nil 341s raises an exception if set more than once 341s defaults the reason to a StandardError 341s sets the reason to the given exception 341s returns self 341s it should behave like dereferenceable 342s calls the block when the :copy_on_deref option is passed a proc 342s defaults :copy_on_deref to nil 342s does not call #freeze when #freeze_on_deref is set and the value is nil 343s calls #dup when the :dup_on_deref option is true 343s supports dereference flags with observers 344s calls #freeze when the :freeze_on_deref option is true 344s calls the :copy block first followed by #dup followed by #freeze 344s defaults :dup_on_deref to false 345s defaults :freeze_on_deref to false 345s does not call #dup when #dup_on_deref is set and the value is nil 345s does not call the #copy_on_deref block when the value is nil 345s it should behave like obligation 345s #value 350s blocks the caller when :pending and timeout is nil 350s returns nil when reaching the optional timeout value 350s is set to the return value of the block when :fulfilled 350s is nil when :pending 350s returns nil when timeout reached 350s returns immediately when timeout is zero 350s is nil when :rejected 355s returns the value when fulfilled before timeout 355s #reason 355s is nil when :fulfilled 355s is nil when :pending 355s is set to error object of the exception when :rejected 355s #state 355s is :pending when first created 355s is :fulfilled when the handler completes 355s is :rejected when the handler raises an exception 355s 355s Concurrent::TVar 355s #value 355s gets the value 355s #initialize 355s accepts an initial value 355s #value= 355s sets the value 355s 355s Concurrent::Async 355s object creation 355s initializes synchronization 355s passes all args to the original constructor 355s delegates to the original constructor 355s passes a given block to the original constructor 355s #await 355s raises an error when calling a method that does not exist 355s raises an error when passing too few arguments 355s sets the reason when giving too many optional arguments 355s supports methods with blocks 355s sets the value on success 355s supports attribute accessors 355s returns a :fulfilled IVar 355s runs the future on the global executor 355s returns the existence of the method 355s raises an error when pasing too many arguments (arity >= 0) 355s sets the reason on failure 355s #validate_argc 355s raises an exception for too many args on a method with positive arity 355s raises an exception for too many args on a zero arity method 355s does not raise an exception for correct negative arity 355s raises an exception for too few args on a method with negative arity 355s raises an exception when the method is not defined 355s raises an exception for too few args on a method with positive arity 355s does not raise an exception for correct positive arity 355s does not raise an exception for correct zero arity 355s fork safety 355s does not hang when forked 355s locking 356s uses the same lock for both #async and #await 356s #async 356s sets the reason on failure 356s raises an error when calling a method that does not exist 356s supports methods with blocks 356s returns the existence of the method 356s raises an error when passing too few arguments 356s raises an error when pasing too many arguments (arity >= 0) 356s supports attribute accessors 356s runs the future on the global executor 356s returns a :pending IVar 356s sets the value on success 356s sets the reason when giving too many optional arguments 356s 356s Concurrent::MVar 356s #take 356s returns TIMEOUT on timeout on an empty MVar 356s waits for another thread to #put 356s returns the value on a full MVar 356s sets the MVar to empty 356s spurious wake ups 356s #put 356s returns TIMEOUT on timeout on a full MVar 357s waits for another thread to #take 357s #modify 358s waits for another thread to #put 358s returns TIMEOUT on timeout on an empty MVar 358s #take 359s waits for another thread to #put 359s returns TIMEOUT on timeout on an empty MVar 359s #empty? 359s returns false on a full MVar 359s returns true on an empty MVar 359s #set! 359s sets a full MVar to be full 359s returns EMPTY on an empty MVar 359s sets an empty MVar to be full 359s returns the original value on a full MVar 359s #modify! 359s raises an exception when no block given 359s modifies an empty MVar 359s returns the unmodified value 359s can be used to set an empty MVar to empty 359s can be used to set a full MVar to empty 359s modifies a full MVar 359s #initialize 359s accepts an initial value 359s accepts a nil initial value 359s accepts no initial value 359s accepts an empty initial value 359s #try_take! 359s returns EMPTY an empty MVar 359s returns the value on a full MVar 359s sets a full MVar to be empty 359s #borrow 359s returns TIMEOUT on timeout on an empty MVar 359s yields current value to the block and puts back value 359s returns the returned value of the block 359s puts back value even if an exception is raised 359s #put 359s returns the value 359s sets a new value on an empty MVar 360s waits for another thread to #take 360s sets the MVar to be empty 360s returns TIMEOUT on timeout on a full MVar 360s #full? 360s returns true on a full MVar 360s returns false on an empty MVar 360s #try_put! 360s returns false on a full MVar 360s returns true an empty MVar 360s sets an empty MVar to be full 360s #modify 360s waits for another thread to #put 360s returns TIMEOUT on timeout on an empty MVar 361s is atomic 361s raises an exception when no block given 361s modifies a full MVar 361s returns the unmodified value 361s behavior 361s it should behave like dereferenceable 361s calls the block when the :copy_on_deref option is passed a proc 361s defaults :copy_on_deref to nil 361s supports dereference flags with observers 361s does not call #freeze when #freeze_on_deref is set and the value is nil 361s defaults :dup_on_deref to false 361s does not call #dup when #dup_on_deref is set and the value is nil 361s calls the :copy block first followed by #dup followed by #freeze 361s defaults :freeze_on_deref to false 361s calls #freeze when the :freeze_on_deref option is true 361s does not call the #copy_on_deref block when the value is nil 361s calls #dup when the :dup_on_deref option is true 361s 361s configuration 361s global executors 361s creates a global fast executor 361s creates a global timer set 361s creates a global io executor 361s 361s Concurrent::TimerTask 361s execution 361s uses a custom executor when given 361s waits for :execution_interval seconds when the :run_now option is not given 362s uses a fixed rate when set 362s uses a fixed delay when set 362s passes a "self" reference to the block as the sole argument 362s uses the global executor by default 363s waits for :execution_interval seconds when the :run_now option is false 363s runs the block immediately when the :run_now option is true 363s arguments 363s TimeTask timeouts are now ignored as these were not able to be implemented correctly 363s #timeout_interval being written produces a warning 363s TimeTask timeouts are now ignored as these were not able to be implemented correctly 363s #execution_interval is writeable 363s raises an exception if no block given 363s raises on invalid interval_type 363s observation 363s notifies all observers on error 363s notifies all observers on success 363s dereferenceable 363s it should behave like dereferenceable 364s defaults :freeze_on_deref to false 364s defaults :copy_on_deref to nil 364s calls #freeze when the :freeze_on_deref option is true 365s does not call the #copy_on_deref block when the value is nil 365s does not call #freeze when #freeze_on_deref is set and the value is nil 365s does not call #dup when #dup_on_deref is set and the value is nil 365s calls the block when the :copy_on_deref option is passed a proc 366s defaults :dup_on_deref to false 366s calls the :copy block first followed by #dup followed by #freeze 367s calls #dup when the :dup_on_deref option is true 367s supports dereference flags with observers 367s created with #new 367s #kill 367s returns true on success 367s #shutdown 367s returns true on success 367s #initialize 367s uses the default execution interval when no interval is given 367s uses the given execution interval 367s raises an exception if :execution_interval is not greater than zero 367s uses the default :interval_type when no type is given 367s raises an exception if :execution_interval is not an integer 367s raises an exception if :interval_type is not a valid value 367s uses the given interval type 367s raises an exception if no block given 367s observable 367s it should behave like observable 367s #delete_observer 367s deletes the given observer if called before first notification 367s returns the given observer even when not found in the observer set 367s returns the removed observer if found in the observer set 367s #count_observers 367s returns zero after #delete_observers has been called 367s returns a count of registered observers if called before first notification 367s returns zero for a new observable object 367s #delete_observers 367s returns self 367s deletes all observers when called before first notification 367s first notification 367s calls the #update method on all observers without a specified :func 368s calls the appropriate function on all observers which specified a :func 368s calls the proc for all observers added as a block 369s does not notify any observers removed with #delete_observer 370s does not notify any observers after #delete_observers called 370s #add_observer 370s creates an observer from a block if called before first notification 370s raises an exception if not given an observer or a block 370s raises an exception when given both an observer and a block 370s adds an observer with :func if called before first notification 370s adds an observer if called before first notification 370s 370s Concurrent::Hash 370s .[] 370s when initializing with another hash as an argument 370s creates a hash with the results of calling #to_hash on the other array 370s creates a new hash 370s creates a hash with the same contents as the other hash 370s when initializing with an array of pairs 370s creates a hash using each pair as a (key, value) pair 370s when initializing with no arguments 370s is expected to be empty 370s when initializing with an even number of arguments 370s creates a hash using the odd position arguments as keys and even position arguments as values 370s .new 370s when initialized with a block 370s calls the block for non-existing keys 370s returns the results of calling the block for non-existing key 370s when initializing with no arguments 370s is expected to be empty 370s when initialized with a default object 370s uses the default object for non-existing keys 370s concurrency 375s is expected to be empty 375s 375s Concurrent::SettableStruct 375s it should behave like mergeable_struct 375s #merge 375s raises an exception when given a hash with members not in the struct 375s calls the given block for each key in `other` 375s retains the value for all members not without values in the given hash 375s updates all members with the new values from a given hash 375s returns a new object 375s definition 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s defines a setter for each member 375s #[index]= 375s raises an exception when given an out-of-bound index 375s raises an exception when given an index that has already been set 375s sets the value when given a valid index 375s it should behave like struct 375s construction 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s sets all absent members to nil 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s raises an exception when extra members are given 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s sets all given members in order 375s accessors 375s #[member] 375s raises an exception when given a non-existent string member 375s retrieves the value when given a valid string member 375s raises an exception when given a non-existent symbol member 375s retrieves the value when given a valid symbol member 375s #[index] 375s retrieves the value when given a valid index 375s raises an exception when given an out-of-bound index 375s definition 375s evalues a given block against the new class 375s raises an exception when given an invalid class name 375s raises an exception when given no members 375s creates an anonymous class when given at least one member 375s raise an exception when given an invalid member 375s registers the class when given a class name 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/settable_struct.rb:121: warning: method redefined; discarding old baz 375s /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:161: warning: previous definition of baz was here 375s defines a getter for each member 375s /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/struct_shared.rb:15: warning: already initialized constant ValidClassName2 375s /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/struct_shared.rb:15: warning: previous definition of ValidClassName2 was here 375s registers the class when given a class name which is defined in the ancestors 375s conversion 375s #to_h 375s returns a Hash containing the names and values in order 375s #to_a 375s returns the to_a for this struct as an array 375s #to_s 375s includes all values 375s returns the same string as #inspect 375s includes the name of the class when registered 375s includes the names of all members 375s copy 375s #clone 375s shallowly clones all members along with the struct 375s copies the singleton class 375s copies the singleton class of members 375s retains frozen state 375s #dup 375s shallowly duplicates all members along with the struct 375s retains frozen state of members 375s discards singleton class 375s discards frozen state of the struct 375s copies the singleton class of members 375s properties 375s #values_at 375s returns values at offsets in a given range 375s returns values for multiple ranges 375s returns the values at multiple given offsets 375s returns the value at the given offset 375s returns values for ranges and offsets 375s #size 375s returns the number of struct members 375s #members 375s returns the struct members as an array of symbols 375s returns a different object than the array passed at definition 375s #values 375s returns the values of the struct as an array in order 375s #length 375s returns the number of struct members 375s enumeration 375s #each_pair 375s returns an enumerator when no block is given 375s yields the name and value of each struct member in order 375s #select 375s yields each value 375s returns an Array with the values from for which the block returns true 375s returns an enumerator when no block is given 375s #each 375s yields the value of each struct member in order 375s returns an enumerator when no block is given 375s comparison 375s #!= 375s returns true if other has different values 375s returns true if other has different struct subclass 375s returns false if other has same struct subclass and equal values 375s #== 375s returns true if other has same struct subclass and equal values 375s returns false if other has different values 375s returns false if other has different struct subclass 375s #[member]= 375s raises an exception when given a string member that has already been set 375s sets the value when given a valid string member 375s raises an exception when given a non-existent string member 375s raises an exception when given a symbol member that has already been set 375s raises an exception when given a non-existent symbol member 375s sets the value when given a valid symbol member 375s synchronization 375s protects getter methods 375s protects #select 375s protects #each_pair 375s protects #inspect 375s protects #[index] 375s protects getter methods 375s protects #to_h 375s protects #initialize_copy 375s protects #[member]= 375s protects #each 375s protects #[index]= 375s protects #values 375s protects #== 375s protects #[member] 375s protects #values_at 375s protects #to_s 375s protects #merge 375s copy 375s #clone 375s retains settability of members 375s #dup 375s retains settability of members 375s 375s Concurrent::ImmutableStruct 375s it should behave like struct 375s accessors 375s #[member] 375s retrieves the value when given a valid string member 375s retrieves the value when given a valid symbol member 375s raises an exception when given a non-existent string member 375s raises an exception when given a non-existent symbol member 375s #[index] 375s retrieves the value when given a valid index 375s raises an exception when given an out-of-bound index 375s definition 375s evalues a given block against the new class 375s raise an exception when given an invalid member 375s defines a getter for each member 375s creates an anonymous class when given at least one member 375s /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/struct_shared.rb:15: warning: already initialized constant ValidClassName2 375s /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/struct_shared.rb:15: warning: previous definition of ValidClassName2 was here 375s registers the class when given a class name which is defined in the ancestors 375s raises an exception when given an invalid class name 375s raises an exception when given no members 375s registers the class when given a class name 375s conversion 375s #to_s 375s returns the same string as #inspect 375s includes the names of all members 375s includes the name of the class when registered 375s includes all values 375s #to_a 375s returns the to_a for this struct as an array 375s #to_h 375s returns a Hash containing the names and values in order 375s properties 375s #values_at 375s returns values for multiple ranges 375s returns the values at multiple given offsets 375s returns values for ranges and offsets 375s returns values at offsets in a given range 375s returns the value at the given offset 375s #members 375s returns the struct members as an array of symbols 375s returns a different object than the array passed at definition 375s #size 375s returns the number of struct members 375s #length 375s returns the number of struct members 375s #values 375s returns the values of the struct as an array in order 375s comparison 375s #!= 375s returns false if other has same struct subclass and equal values 376s returns true if other has different struct subclass 376s returns true if other has different values 376s #== 376s returns true if other has same struct subclass and equal values 376s returns false if other has different struct subclass 376s returns false if other has different values 376s copy 376s #dup 376s shallowly duplicates all members along with the struct 376s discards frozen state of the struct 376s retains frozen state of members 376s discards singleton class 376s copies the singleton class of members 376s #clone 376s copies the singleton class 376s retains frozen state 376s copies the singleton class of members 376s shallowly clones all members along with the struct 376s construction 376s raises an exception when extra members are given 376s sets all given members in order 376s sets all absent members to nil 376s enumeration 376s #each_pair 376s yields the name and value of each struct member in order 376s returns an enumerator when no block is given 376s #each 376s returns an enumerator when no block is given 376s yields the value of each struct member in order 376s #select 376s returns an enumerator when no block is given 376s yields each value 376s returns an Array with the values from for which the block returns true 376s it should behave like mergeable_struct 376s #merge 376s raises an exception when given a hash with members not in the struct 376s returns a new object 376s updates all members with the new values from a given hash 376s retains the value for all members not without values in the given hash 376s calls the given block for each key in `other` 376s 376s Concurrent::Array 376s concurrency 376s is expected to be empty 376s .new 376s when initializing with a size argument 376s creates an array with size elements set to nil 376s when initializing with a block argument 376s creates an array with size elements set to the default value 376s when initializing with a default value argument 376s creates an array with size elements set to the default value 376s when initializing with no arguments 376s is expected to be empty 376s when initializing with another array as an argument 376s creates an array with the results of calling #to_ary on the other array 376s creates an array with the same contents as the other array 376s creates a new array 376s .[] 376s when initializing with no arguments 376s is expected to be empty 376s when initializing with arguments 376s creates an array with the given objects 376s #slice 376s correctly initializes the monitor 376s 376s Concurrent::Channel 376s #next? 376s returns a just Maybe, true when there are multiple items 376s returns a nothing Maybe and false on failure 376s returns a just Maybe and true when there is one item 376s #take! 376s raises an exception on failure 376s takes the next item when not empty 376s #take? 376s returns a nothing Maybe on failure 376s returns a just Maybe on success 376s #next 376s returns , true when closed and last item 376s returns nil, false when closed and no items remain 376s returns , true when there are multiple items 376s returns nil, false when empty and closed 376s returns , true when there is one item 376s #take 376s returns nil on failure 376s takes the next item when not empty 376s #offer 376s returns true on success 376s rejects nil 376s rejects when the validator raises an exception 376s returns false on failure 376s rejects when the validator returns false 376s put? 376s returns a nothing Maybe on failure 376s rejects when the validator raises an exception 376s accepts nil 376s rejects when the validator returns false 376s returns a just Maybe on success 376s #poll? 376s returns a nothing Maybe immediately if no item is available 376s returns a just Maybe immediately if available 376s returns a nothing Maybe on failure 376s offer? 377s returns a just Maybe on success 377s accepts nil 377s rejects when the validator raises an exception 377s rejects when the validator returns false 377s returns a nothing Maybe on failure 377s offer! 377s returns true on success 377s rejects when the validator raises an exception 377s raises an exception on failure 377s rejects nil 377s rejects when the validator returns false 377s #poll! 377s raises an exception on failure 377s returns the next item immediately if available 377s raises an exception immediately if no item is available 377s #poll 377s returns nil on failure 377s returns nil immediately if no item is available 377s returns the next item immediately if available 377s .each 377s iterates until the channel is closed 377s raises and exception when no block is given 377s put! 377s raises an exception on failure 377s returns true on success 377s rejects when the validator raises an exception 377s rejects nil 377s rejects when the validator returns false 377s factories 377s is expected to receive new(10) 1 time 377s is expected to receive new(10) 1 time 377s goroutines 377s .go_via 377s raises an exception when no block is given 377s is expected to receive post(1, 2, 3) 1 time 377s .go 377s raises an exception when no block is given 377s is expected to receive post(1, 2, 3) 1 time 377s .go_loop 377s loops until the block returns false 377s raises an exception when no block is given 377s .go_loop_via 377s raises an exception when no block is given 377s loops until the block returns false 377s select 377s is expected to be truthy 377s raises an exception when no block is given 377s passes a selector to the block 377s #put 377s rejects when the validator returns false 377s rejects nil 377s rejects when the validator raises an exception 377s returns false on failure 377s returns true on success 377s initialization 377s raises an exception when the :buffer is invalid 377s raises an exception when :dropping given without :capacity 377s is :buffered when :capacity > 0 and no :buffer given 377s is :unbuffered when neither :buffer nore :capacity is given 377s raises an exception when :buffered given without :capacity 377s is :sliding when :sliding and :capacity > 0 377s raises an exception when :buffered and :capacity < 0 377s is :buffered when :buffered given 377s is :dropping when :dropping and :capacity > 0 377s raises an exception when :sliding given without :capacity 377s is :unbuffered when :buffered and capacity: 0 377s raises an exception when :sliding and :capacity < 1 377s raises an exception when both :unbuffered and :capacity are given 377s is :unbuffered when :unbuffered is given 377s uses the given buffer 377s raises an exception when :dropping and :capacity < 1 377s 377s Concurrent::Exchanger 377s class hierarchy 377s inherits from RubyExchanger 377s 377s Concurrent::ProcessingActor 377s is expected to eq "ab" 377s 377s Concurrent::Promises 377s zip_futures_over 377s .event 377s is expected to equal true 377s .zip_events 377s waits for all and returns event 377s Future 377s can be risen when rejected 377s has sync and async callbacks 377s chains with correct arguments 377s runs 377s value! supports setting timeout 377s result supports setting timeout 377s wait! supports setting timeout 377s chains 377s wait supports setting timeout 377s value supports setting timeout 377s constructs promise like tree 377s resolves future when Exception raised 377s allows graphs 377s reason supports setting timeout 377s #flat 377s it propagates rejection of the future which was suppose to provide inner future 377s propagates requests for values to delayed futures 377s rejects if inner value is not a future 377s accepts inner event 378s returns value of inner future 378s propagates rejection of inner future 378s has shortcuts 378s ResolvableEvent 378s #resolve(raise_on_reassign = true) 378s #wait 378s #resolve(raise_on_reassign = false) 378s reservation 378s .any_fulfilled 378s continues on first result 378s treats a resolved Event as a fulfilled Future 378s treats a pending Event as a pending Future 378s .rejected_future 378s raises the correct error when passed an unraised error 378s chain_resolvable 378s future 378s event 378s .future without block 378s is expected to eq 0 378s .zip 378s waits for all results 378s when a future raises an error 378s raises a concurrent error 378s when deeply nested 378s raises the original error 378s value! 378s does not return spuriously without timeout 378s does not return spuriously with timeout 378s .future 378s executes 378s executes with args 378s .any_resolved 378s continues on first result 378s .delay 378s is expected to eq 2 378s ResolvableFuture 378s #wait! 378s result 378s #wait 378s atomic_resolution 378s #value! 378s #value 378s reservation 378s #reason 378s interoperability 378s with erlang actor 378s with channel 378s with processing actor 378s .schedule 378s scheduled execution in graph 379s scheduled execution 379s 379s Concurrent::Atom 379s #compare_and_set 379s returns true if the current value matches 379s returns false if the current value does not match 379s rejects the new value if the current value does not match 379s returns false if the validator returns false 379s sets the new value if the current value matches 379s returns false if the validator raises an exception 379s rejects the new value if the validator returns false 379s rejects the new value if the validator raises an exception 379s #reset 379s returns the new value on success 379s returns the new value on success 379s returns the old value if the validator returns false 379s returns the old value if the validator raises an exception 379s sets the new value 379s #swap 379s rejects the new value if the validator returns false 379s rejects the new value if the validator raises an exception 379s reraises the exception from block 379s returns the new value on success 379s calls the block more than once if the value changes underneath 379s sets the new value to the result of the block 379s returns the old value if the validator returns false 379s raises an exception when no block is given 379s passes all arguments to the block 379s returns the old value if the validator raises an exception 379s passes the current value to the block 379s observable 379s behaves like observable 379s first notification 380s does not notify any observers removed with #delete_observer 380s calls the appropriate function on all observers which specified a :func 381s does not notify any observers after #delete_observers called 381s calls the proc for all observers added as a block 381s calls the #update method on all observers without a specified :func 381s #add_observer 381s creates an observer from a block if called before first notification 381s adds an observer with :func if called before first notification 381s adds an observer if called before first notification 381s raises an exception if not given an observer or a block 381s raises an exception when given both an observer and a block 381s #delete_observer 381s returns the given observer even when not found in the observer set 381s returns the removed observer if found in the observer set 381s deletes the given observer if called before first notification 381s #count_observers 381s returns a count of registered observers if called before first notification 381s returns zero after #delete_observers has been called 381s returns zero for a new observable object 381s #delete_observers 381s deletes all observers when called before first notification 381s returns self 381s construction 381s sets the initial value to the given value 381s 381s Concurrent::Future 381s it should behave like thread_arguments 381s passes an empty array when there is no :args key 381s allows the given arguments array to be dereferenced 381s passes an array when when the :args key has an array value 381s passes the given array when the :args key has a complex array value 381s passes an empty array when opts is not given 381s passes a one-element array when the :args key has a non-array value 381s passes an empty array when opts is an empty hash 381s passes an empty array when the :args key has a nil value 381s class #execute 381s calls #execute on the new Future 381s creates a new Future 381s passes the block to the new Future 381s #initialize 381s raises an exception when no block given 381s sets the state to :unscheduled 381s uses the executor given with the :executor option 381s uses the global io executor by default 381s cancellation 381s #wait_or_cancel 381s returns true if the operation completes before timeout 381s cancels the task on timeout 381s #cancel 381s fails to cancel the task once processing has begun 381s fails to cancel the task once processing is complete 381s cancels a pending task 381s instance #execute 381s posts the block given on construction 381s returns self 381s does nothing unless the state is :unscheduled 381s sets the state to :pending 381s fulfillment 381s sets the state to :rejected when the handler raises an exception 381s sets the value to nil when the handler raises Exception 381s sets the value to nil when the handler raises an exception 381s sets the reason to the Exception instance when the handler raises Exception 381s sets the value to the result of the handler 381s passes all arguments to handler 381s sets the state to :processing while the task is executing 381s sets the state to :fulfilled when the block completes 381s aliases 381s aliases #deref for #value 381s aliases #realized? for #fulfilled? 381s it should behave like ivar 381s #try_set 381s when unset 381s assigns the value 381s returns true 381s assigns the block result 381s when fulfilled 381s does not assign the block result 381s does not assign the value 381s returns false 381s when rejected 381s does not assign the value 381s has a nil value 381s does not assign the block result 381s returns false 381s #fail 381s sets the state to be rejected 381s defaults the reason to a StandardError 381s sets the value to be nil 381s sets the reason to the given exception 381s raises an exception if set more than once 381s returns self 381s it should behave like obligation 381s #reason 381s is nil when :fulfilled 381s is set to error object of the exception when :rejected 381s is nil when :pending 381s #value 381s returns nil when timeout reached 381s is nil when :pending 381s is nil when :rejected 381s returns nil when reaching the optional timeout value 386s returns the value when fulfilled before timeout 391s blocks the caller when :pending and timeout is nil 391s is set to the return value of the block when :fulfilled 391s returns immediately when timeout is zero 391s #state 391s is :fulfilled when the handler completes 391s is :pending when first created 391s is :rejected when the handler raises an exception 391s it should behave like dereferenceable 392s calls #dup when the :dup_on_deref option is true 392s supports dereference flags with observers 393s defaults :copy_on_deref to nil 393s does not call the #copy_on_deref block when the value is nil 393s calls the :copy block first followed by #dup followed by #freeze 393s does not call #freeze when #freeze_on_deref is set and the value is nil 393s calls #freeze when the :freeze_on_deref option is true 393s calls the block when the :copy_on_deref option is passed a proc 394s defaults :freeze_on_deref to false 394s does not call #dup when #dup_on_deref is set and the value is nil 394s defaults :dup_on_deref to false 395s it should behave like observable 395s #delete_observers 395s returns self 395s deletes all observers when called before first notification 395s #add_observer 395s adds an observer with :func if called before first notification 395s raises an exception if not given an observer or a block 395s creates an observer from a block if called before first notification 395s raises an exception when given both an observer and a block 395s adds an observer if called before first notification 395s #count_observers 395s returns zero after #delete_observers has been called 395s returns zero for a new observable object 395s returns a count of registered observers if called before first notification 395s first notification 395s calls the appropriate function on all observers which specified a :func 396s does not notify any observers removed with #delete_observer 396s calls the proc for all observers added as a block 398s does not notify any observers after #delete_observers called 398s calls the #update method on all observers without a specified :func 398s #delete_observer 398s returns the removed observer if found in the observer set 398s deletes the given observer if called before first notification 398s returns the given observer even when not found in the observer set 398s #set 398s fulfils when given a block which executes successfully 398s raises an exception when given neither a value nor a block 398s sets the state to be fulfilled 398s raises an exception if set more than once 398s raises an exception when given a value and a block 398s sets the value 398s returns self 398s rejects when given a block which raises an exception 398s initialization 398s sets the state to incomplete 398s observation 398s notifies an observer added after fulfillment 398s does not notify existing observers when a new observer added after fulfillment 398s notifies all observers on fulfillment 398s does not notify existing observers when a new observer added after rejection 398s notifies an observer added after rejection 398s notifies all observers on rejection 398s deadlock avoidance 398s should notify observers outside mutex lock 398s should notify a new observer added after fulfillment outside lock 398s 398s #leave_transaction 398s neither commits nor aborts a transaction 398s raises an exception outside an #atomically block 398s 398s Concurrent::Actor 398s forbids Immediate executor 398s links atomically 398s links 398s dead letter routing 398s logs by deafault 398s messaging 399s is expected to eq 4 399s termination 399s terminates with all its children 399s spawning 399s terminates on failed initialization and raises with spawn! 399s terminates on failed initialization 399s terminates on failed message processing 399s Actor#spawn! 399s spawn 399s executor should be global 399s returns arg 399s #name 399s is expected to eq "ping" 399s #path 399s is expected to eq "/ping" 399s #reference 399s is expected to eq # 399s #parent 399s is expected to eq # 399s context_spawn_by_hash 399s executor should be global 399s returns arg 399s #reference 399s is expected to eq # 399s #path 399s is expected to eq "/ping" 399s #parent 399s is expected to eq # 399s #name 399s is expected to eq "ping" 399s context_spawn 399s executor should be global 399s returns arg 399s #reference 399s is expected to eq # 399s #parent 399s is expected to eq # 399s #path 399s is expected to eq "/ping" 399s #name 399s is expected to eq "ping" 399s spawn_by_hash 399s returns arg 399s executor should be global 399s #name 399s is expected to eq "ping" 399s #parent 399s is expected to eq # 399s #path 399s is expected to eq "/ping" 399s #reference 399s is expected to eq # 399s pausing 399s pauses on error and resets 399s pauses on error and resumes 399s pauses on error and restarts 399s envelope 399s is expected to eq # 399s pool 399s supports asks 399s message redirecting 399s is evaluated by child 399s children 399s has children set after a child is created 399s 399s monotonic_time 399s behavior 399s returns a Float when unit = :float_second 399s returns seconds as float 399s returns an Integer when unit = :millisecond 399s returns an Integer when unit = :nanosecond 399s returns an Integer when unit = :microsecond 399s raises ArgumentError on unknown units 399s returns a Float when unit = :float_microsecond 399s returns a Float when unit = :float_millisecond 399s returns an Integer when unit = :second 399s 399s #abort_transaction 399s raises an exception outside an #atomically block 399s 399s Concurrent 399s Throttle 400s capacity limited 400s acquiring 400s #to_s 400s #on 400s 400s Concurrent::Maybe 400s comparison 400s something is less than a bigger value 400s nothing is not greater than nothing 400s something is not equal to nothing 400s something is not equal to a different value 400s something is greater than a smaller value 400s nothing is equal to nothing 400s something is equal to the same value 400s nothing is not less than nothing 400s construction 400s hides Maybe.new 400s Maybe.nothing 400s creates a new Nothing Maybe 400s creates a new error object when given nothing 400s creates a new error object with the given string 400s uses the given Error object 400s Maybe.just 400s creates a new Just Maybe 400s Maybe.from 400s creates a Just Maybe on success 400s passes all arguments to the block 400s sets the reason to the error object on exception 400s creates a Nothing Maybe on exception 400s sets the value to the block result on success 400s raises an exception when no block is given 400s when just 400s #nothing returns NONE 400s #fulfilled? returns true 400s #nothing? returns false 400s #reason returns NONE 400s #rejected? returns false 400s #just? returns true 400s #value returns the value 400s #just returns the value 400s when nothing 400s #nothing returns the raised error 400s #rejected? returns true 400s #just returns NONE 400s #value returns NONE 401s #nothing? returns true 401s #reason returns the raised error 401s #just? returns false 401s #fulfilled? returns false 401s #or 401s returns the other when nothing 401s returns the value when something 401s 401s Concurrent::Options 401s .executor_from_options 401s raises an exception when :executor is an unrecognized symbol 401s returns the global io executor when :executor is :io 401s returns an immediate executor when :executor is :immediate 401s returns the global fast executor when :executor is :fast 401s returns the given :executor 401s 401s Concurrent::RubyExchanger 403s Good: 10000, Bad (timeout): 0, Ugly: 0 403s stress test 403s behaves like exchanger 403s #try_exchange 403s behaves like exchanger method with indefinite timeout 403s blocks indefinitely 403s receives the other value 403s can be reused 403s behaves like exchanger method with finite timeout 403s can be reused 404s receives the other value 404s blocks until timeout 404s behaves like exchanger method cross-thread interactions 404s allows multiple firsts to cancel if necessary 404s when first, waits for a second 404s #exchange 404s behaves like exchanger method with finite timeout 405s blocks until timeout (FAILED - 1) 405s can be reused 405s receives the other value 405s behaves like exchanger method cross-thread interactions 406s allows multiple firsts to cancel if necessary 406s when first, waits for a second 406s behaves like exchanger method with indefinite timeout 406s receives the other value 406s can be reused 406s blocks indefinitely 406s #exchange! 406s behaves like exchanger method with indefinite timeout 406s blocks indefinitely 406s receives the other value 406s can be reused 406s behaves like exchanger method cross-thread interactions 406s allows multiple firsts to cancel if necessary 406s when first, waits for a second 406s behaves like exchanger method with finite timeout 407s blocks until timeout 407s receives the other value 407s can be reused 407s 407s Concurrent::ScheduledTask 407s #initialize 407s raises an exception when no block given 407s sets the initial state to :unscheduled 407s raises an exception when seconds is less than zero 407s accepts a number of seconds (from now) as the schedule time 407s behavior 407s it should behave like obligation 407s #reason 407s is set to error object of the exception when :rejected 407s is nil when :pending 407s is nil when :fulfilled 407s #value 407s is set to the return value of the block when :fulfilled 407s returns nil when timeout reached 407s returns nil when reaching the optional timeout value 408s blocks the caller when :pending and timeout is nil 408s returns immediately when timeout is zero 409s returns the value when fulfilled before timeout 409s is nil when :pending 409s is nil when :rejected 409s #state 409s is :fulfilled when the handler completes 409s is :pending when first created 409s is :rejected when the handler raises an exception 409s it should behave like dereferenceable 409s calls #dup when the :dup_on_deref option is true 409s calls #freeze when the :freeze_on_deref option is true 409s defaults :freeze_on_deref to false 409s defaults :dup_on_deref to false 409s calls the :copy block first followed by #dup followed by #freeze 409s calls the block when the :copy_on_deref option is passed a proc 409s supports dereference flags with observers 409s does not call the #copy_on_deref block when the value is nil 409s does not call #freeze when #freeze_on_deref is set and the value is nil 409s does not call #dup when #dup_on_deref is set and the value is nil 409s defaults :copy_on_deref to nil 409s it should behave like observable 409s first notification 410s does not notify any observers after #delete_observers called 410s calls the appropriate function on all observers which specified a :func 411s calls the proc for all observers added as a block 412s does not notify any observers removed with #delete_observer 412s calls the #update method on all observers without a specified :func 412s #count_observers 412s returns zero after #delete_observers has been called 412s returns a count of registered observers if called before first notification 412s returns zero for a new observable object 412s #add_observer 412s creates an observer from a block if called before first notification 412s raises an exception if not given an observer or a block 412s adds an observer with :func if called before first notification 412s adds an observer if called before first notification 412s raises an exception when given both an observer and a block 412s #delete_observers 412s deletes all observers when called before first notification 412s returns self 412s #delete_observer 412s returns the removed observer if found in the observer set 412s deletes the given observer if called before first notification 412s returns the given observer even when not found in the observer set 412s class #execute 413s passes the block to the new ScheduledTask 413s creates a new ScheduledTask 413s calls #execute on the new ScheduledTask 413s instance #execute 413s returns self 413s sets the sate to :pending 413s does nothing unless the state is :unscheduled 413s execution 413s passes :args from the options to the block 413s uses the :executor from the options 413s uses the :timer_set from the options 413s sets the state to :processing when the task is running 413s observation 413s notifies all observers on rejection 413s notifies all observers on fulfillment 413s returns true for an observer added while :pending 413s returns true for an observer added while :unscheduled 413s returns true for an observer added while :processing 413s #cancel 413s returns true on success 413s returns false if the task has already been performed 414s cancels the task if it has not yet scheduled 414s sets the reason to CancelledOperationError when cancelled 415s cancels the task if it has not yet started 415s returns false if the task is already in progress 415s 415s Concurrent::Synchronization 415s Concurrent::Synchronization::Object 415s does not ensure visibility when not needed 415s does ensure visibility when specified in a parent 415s does ensure visibility once when specified in child again 415s does ensure visibility when specified 415s it should behave like attr_volatile 422s older writes are always visible 422s Concurrent::Synchronization::Volatile module 422s it should behave like attr_volatile 427s older writes are always visible 427s Concurrent::Synchronization::LockableObject 427s final field always visible 427s #synchronize 427s allows only one thread to execute count 427s #wait 428s allows the sleeping thread to be killed 428s releases the lock on the current object 428s can be called from within a #synchronize block 428s puts the current thread to sleep 428s it should behave like attr_volatile 434s older writes are always visible 434s signaling 434s for now pending, tested pretty well by Event (PENDING: Not yet implemented) 434s attr_atomic 434s is expected to be == b 434s 434s Concurrent::Map 434s #key? 434s is unfreezable 434s default_proc is called with the Concurrent::Map and the key after #dup 434s options validation 434s #delete_pair 434s #put_if_absent 441s collision resistance 442s concurrency 442s #values 442s default_proc is called with the Concurrent::Map and the key 442s #get_and_set 442s #size 442s #replace_if_exists 442s initial capacity options validation 442s #get_or_default 442s #each_key 442s #clear 442s retrieval 442s collision resistance with arrays 442s marshal dump does not work with default proc 442s #value? 442s #delete 442s default proc 442s #empty 442s #keys 442s marshal dump load 442s load factor options validation 442s updates dont block reads 442s #each_value 442s #inspect 442s falsy default proc 442s #key 442s #replace_pair 442s #dup,#clone 442s #compute 442s exception 442s common 442s with return 442s #compute_if_present 442s common 442s exception 442s with return 442s #fetch 442s common 442s falsy 442s with return 442s #merge_pair 442s exception 442s common 442s with return 442s #each 442s it should behave like collection_each 442s common 442s allows modification 442s pair iterator 442s when no block is given 442s returns an object which is enumerable 442s returns an enumerator 442s #each_pair 442s it should behave like collection_each 442s common 442s pair iterator 442s allows modification 442s when no block is given 442s returns an enumerator 442s returns an object which is enumerable 442s #compute_if_absent 443s atomicity 443s exception 443s works in default_proc 443s common 443s with return 443s #fetch_or_store 443s falsy 443s common 443s with return 443s 443s Concurrent::Agent 443s nested actions 443s occur in the order they ar post 443s work with immediate execution 443s initialization 443s sets #failed? to false 443s sets the initial error to nil 443s defaults the error mode to :continue when an error handler is given 443s defaults the error mode to :fail when no error handler is given 443s sets the error mode when given a valid value 443s sets the initial value 443s raises an error when given an invalid error mode 443s action processing 443s when validation raises an error the handler will be called 443s upon validation the new value will be set to the block return value 443s the given block will be passed any provided arguments 443s when validation raises an error the value will not change 443s the return value will be passed to the validator function 443s any recursive action dispatches will run after the value has been updated 443s when validation fails the handler will be called 443s when the action raises an error the validator will not be called 443s when the action raises an error the handler will be called 443s when validation returns false the value will not change 443s on success all observers will be notified 443s the given block will be passed the current value 443s when the action raises an error the value will not change 443s posting 443s with #send 443s returns false when #failed? 443s returns true when the job is post 443s posts to the global fast executor 443s does not wait for the action to process 443s with #send_off 443s does not wait for the action to process 443s returns true when the job is post 443s returns false when #failed? 443s posts to the global io executor 443s with #send! 443s returns true when the job is post 443s raises an error when #failed? 443s posts to the global fast executor 443s does not wait for the action to process 443s with #send_off! 443s does not wait for the action to process 443s posts to the global io executor 443s returns true when the job is post 443s raises an error when #failed? 443s with #send_via 443s returns true when the job is post 443s posts to the given executor 443s returns false when #failed? 443s with #<< 443s posts to the global io executor 443s returns self when #failed? 443s returns self when the job is post 443s does not wait for the action to process 443s with #send_via! 443s posts to the given executor 443s raises an error when #failed? 443s returns true when the job is post 443s with #post 443s posts to the global io executor 443s returns true when the job is post 443s does not wait for the action to process 443s returns false when #failed? 443s error handling 443s the agent will be passed to the handler 443s the exception will be passed to the handler 443s does not trigger observation 443s #restart 443s when #failed? 443s raises an error if the new value is not valid 443s does not trigger observation 443s sets #failed? to true 443s clears the error 443s does not clear the action queue when :clear_actions is false 443s resumes action processing if actions are enqueued 443s sets the new value 444s does not clear the action queue when :clear_actions is not given 444s removes all actions from the queue when :clear_actions is true 444s when not #failed? 444s raises an error 444s observable 444s behaves like observable 444s #delete_observer 444s deletes the given observer if called before first notification 444s returns the given observer even when not found in the observer set 444s returns the removed observer if found in the observer set 444s #count_observers 444s returns zero after #delete_observers has been called 444s returns zero for a new observable object 444s returns a count of registered observers if called before first notification 444s first notification 444s calls the appropriate function on all observers which specified a :func 445s does not notify any observers after #delete_observers called 445s calls the proc for all observers added as a block 446s does not notify any observers removed with #delete_observer 446s calls the #update method on all observers without a specified :func 446s #add_observer 446s raises an exception if not given an observer or a block 446s raises an exception when given both an observer and a block 446s adds an observer if called before first notification 446s adds an observer with :func if called before first notification 446s creates an observer from a block if called before first notification 446s #delete_observers 446s deletes all observers when called before first notification 446s returns self 446s waiting 446s with .await_for 446s returns true when all prior actions for all agents have processed 447s returns false on timeout 447s returns true when there are no pending actions 447s with #await_for 447s does not block on actions from other threads 447s returns true when there are no pending actions 448s returns false on timeout 448s returns false if restarted with :clear_actions true (PENDING: the timing is nearly impossible) 449s returns true when all prior actions have processed 449s with #await_for! 449s raises an error if restarted with :clear_actions true (PENDING: the timing is nearly impossible) 449s does not block on actions from other threads 450s raises an error on timeout 450s returns true when there are no pending actions 451s returns true when all prior actions have processed 451s with #await 454s blocks indefinitely 454s returns true when all prior actions have processed 454s returns self when there are no pending actions 454s does not block on actions from other threads 454s blocks forever if restarted with :clear_actions true (PENDING: the timing is nearly impossible) 454s with await_for! 454s raises an exception on timeout 454s returns true when all prior actions for all agents have processed 454s returns true when there are no pending actions 454s with .await 454s returns true when all prior actions on all agents have processed 454s with #wait 455s returns true when all prior actions have processed 456s blocks indefinitely when timeout is nil 456s does not block on actions from other threads 456s returns false when timeout is given and restarted with :clear_actions true (PENDING: the timing is nearly impossible) 456s returns true when there are no pending actions and a timeout is given 457s returns false on timeout 457s blocks forever when timeout is nil and restarted with :clear_actions true (PENDING: the timing is nearly impossible) 457s returns true when there are no pending actions and timeout is nil 457s the await job 457s does not trigger the error mode 458s does not change the value 458s waits for nested actions 459s does not trigger observers 459s validation 459s rejects the new value when the validator returns false 459s sets the error when the error mode is :fail and the validator raises an error 459s sets the error when the error mode is :fail and the validator returns false 459s does not set an error when the error mode is :continue and the validator returns false 459s does not trigger observation when validation fails 459s does not set an error when the error mode is :continue and the validator raises an error 459s sets the new value when the validator returns true 459s rejects the new value when the validator raises an error 459s error mode 459s :continue 459s does not block further action processing 459s does not set an error when the action raises an error 459s sets #failed? to false 459s does not set an error when the validator raises an error 459s does not set an error when the validator returns false 459s :fail 459s blocks all further action processing until a restart 459s sets the error when the validator raises an error 459s sets #failed? to true 459s sets the error when the action raises an error 459s sets the error when the validator returns false 459s 459s Failures: 459s 459s 1) Concurrent::RubyExchanger behaves like exchanger #exchange behaves like exchanger method with finite timeout blocks until timeout 459s Failure/Error: expect(duration).to be_within(0.05).of(0.1) 459s expected 0.29731696799996143 to be within 0.05 of 0.1 459s Shared Example Group: "exchanger method with finite timeout" called from ./spec/concurrent/exchanger_spec.rb:173 459s Shared Example Group: :exchanger called from ./spec/concurrent/exchanger_spec.rb:206 459s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in ' 459s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:119:in `notify_failure' 459s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with' 459s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:40:in `handle_failure' 459s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher' 459s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' 459s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' 459s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' 459s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' 459s # ./spec/concurrent/exchanger_spec.rb:69:in `block (2 levels) in ' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:642:in `map' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:642:in `run_examples' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `map' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 459s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec:4:in `
' 459s 459s Finished in 2 minutes 18.3 seconds (files took 3.2 seconds to load) 459s 1426 examples, 1 failure, 7 pending 459s 459s Failed examples: 459s 459s rspec ./spec/concurrent/exchanger_spec.rb[1:1:1:2:1] # Concurrent::RubyExchanger behaves like exchanger #exchange behaves like exchanger method with finite timeout blocks until timeout 459s 459s Randomized with seed 1 459s 460s /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/concurrent/\*_spec.rb --color --backtrace --format documentation --seed 1 failed 460s mv ./.gem2deb.lib lib 460s mv ./.gem2deb.ext ext 461s autopkgtest [07:34:19]: test ruby: -----------------------] 462s ruby FAIL non-zero exit status 1 462s autopkgtest [07:34:20]: test ruby: - - - - - - - - - - results - - - - - - - - - - 463s autopkgtest [07:34:21]: test jruby: preparing testbed 493s Creating nova instance adt-resolute-s390x-ruby-concurrent-20260208-072637-juju-7f2275-prod-proposed-migration-environment-20-84d30347-0584-4609-ba15-c6d85d67bb66 from image adt/ubuntu-resolute-s390x-server-20260208.img (UUID bf8d2066-816d-4293-b7d1-06f39d3d29cb)... 657s autopkgtest [07:37:35]: testbed dpkg architecture: s390x 657s autopkgtest [07:37:35]: testbed apt version: 3.1.15 658s autopkgtest [07:37:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 659s autopkgtest [07:37:37]: testbed release detected to be: resolute 660s autopkgtest [07:37:38]: updating testbed package index (apt update) 661s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 661s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 661s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 661s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 661s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1523 kB] 662s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [175 kB] 662s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.2 kB] 662s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [202 kB] 662s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [1342 kB] 662s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [7384 B] 665s Fetched 3401 kB in 4s (907 kB/s) 672s Reading package lists... 675s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 675s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 675s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 675s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 682s Reading package lists... 682s Reading package lists... 684s Building dependency tree... 684s Reading state information... 685s Calculating upgrade... 687s The following packages will be upgraded: 687s libxau6 libxkbcommon0 ubuntu-kernel-accessories ubuntu-standard 688s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 688s Need to get 199 kB of archives. 688s After this operation, 4096 B of additional disk space will be used. 688s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libxau6 s390x 1:1.0.11-1build2 [7410 B] 688s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libxkbcommon0 s390x 1.13.1-1 [165 kB] 688s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x ubuntu-standard s390x 1.564 [13.3 kB] 688s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x ubuntu-kernel-accessories s390x 1.564 [13.1 kB] 694s dpkg-preconfigure: unable to re-open stdin: No such file or directory 695s Fetched 199 kB in 1s (369 kB/s) 706s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 88711 files and directories currently installed.) 706s Preparing to unpack .../libxau6_1%3a1.0.11-1build2_s390x.deb ... 710s Unpacking libxau6:s390x (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 710s Preparing to unpack .../libxkbcommon0_1.13.1-1_s390x.deb ... 710s Unpacking libxkbcommon0:s390x (1.13.1-1) over (1.12.3-1) ... 711s Preparing to unpack .../ubuntu-standard_1.564_s390x.deb ... 712s Unpacking ubuntu-standard (1.564) over (1.563) ... 712s Preparing to unpack .../ubuntu-kernel-accessories_1.564_s390x.deb ... 714s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 715s Setting up libxau6:s390x (1:1.0.11-1build2) ... 716s Setting up ubuntu-kernel-accessories (1.564) ... 717s Setting up ubuntu-standard (1.564) ... 717s Setting up libxkbcommon0:s390x (1.13.1-1) ... 717s Processing triggers for libc-bin (2.42-2ubuntu4) ... 719s autopkgtest [07:38:37]: upgrading testbed (apt dist-upgrade and autopurge) 720s Reading package lists... 721s Building dependency tree... 721s Reading state information... 722s Calculating upgrade... 723s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 723s Reading package lists... 725s Building dependency tree... 725s Reading state information... 725s Solving dependencies... 727s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 737s Reading package lists... 737s Building dependency tree... 737s Reading state information... 737s Solving dependencies... 738s The following NEW packages will be installed: 738s ca-certificates-java default-jre-headless java-common jruby libasm-java 738s libbackport9-java libbcpkix-java libbcprov-java libbctls-java libbcutil-java 738s libdirgra-java libfixposix4t64 libhawtjni-runtime-java 738s libheadius-options-java libinvokebinder-java libjansi-native-java 738s libjansi1-java libjcodings-java libjffi-java libjffi-jni libjitescript-java 738s libjline2-java libjnr-constants-java libjnr-enxio-java libjnr-ffi-java 738s libjnr-netdb-java libjnr-posix-java libjnr-unixsocket-java 738s libjnr-x86asm-java libjoda-time-java libjpeg-turbo8 libjpeg8 738s libjruby-joni-java libjzlib-java liblcms2-2 libpcsclite1 libruby libruby3.3 738s libsnakeyaml-engine-java openjdk-21-jre-headless rake ruby ruby-concurrent 738s ruby-concurrent-ext ruby-csv ruby-did-you-mean ruby-diff-lcs ruby-net-telnet 738s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 738s ruby-rspec-support ruby-ruby2-keywords ruby-rubygems ruby-timecop 738s ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 739s 0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded. 739s Need to get 88.5 MB of archives. 739s After this operation, 281 MB of additional disk space will be used. 739s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x ca-certificates-java all 20240118build1 [11.7 kB] 739s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x java-common all 0.76build1 [6956 B] 739s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x liblcms2-2 s390x 2.17-1 [176 kB] 739s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libjpeg-turbo8 s390x 2.1.5-4ubuntu3 [156 kB] 739s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 739s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libpcsclite1 s390x 2.4.1-1 [24.5 kB] 739s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x openjdk-21-jre-headless s390x 21.0.10+7-1 [43.8 MB] 741s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x default-jre-headless s390x 2:1.21-76build1 [3268 B] 741s Get:9 http://ftpmaster.internal/ubuntu resolute/universe s390x libasm-java all 9.8-2 [388 kB] 741s Get:10 http://ftpmaster.internal/ubuntu resolute/universe s390x libbackport9-java all 1.10-2build1 [13.2 kB] 741s Get:11 http://ftpmaster.internal/ubuntu resolute/universe s390x libbcprov-java all 1.80-3 [5468 kB] 741s Get:12 http://ftpmaster.internal/ubuntu resolute/universe s390x libbcutil-java all 1.80-3 [545 kB] 741s Get:13 http://ftpmaster.internal/ubuntu resolute/universe s390x libbcpkix-java all 1.80-3 [913 kB] 741s Get:14 http://ftpmaster.internal/ubuntu resolute/universe s390x libbctls-java all 1.80-3 [645 kB] 741s Get:15 http://ftpmaster.internal/ubuntu resolute/universe s390x libdirgra-java all 0.4-2build1 [21.8 kB] 741s Get:16 http://ftpmaster.internal/ubuntu resolute/universe s390x libfixposix4t64 s390x 1:0.5.1-1+nmu1.1build2 [16.5 kB] 741s Get:17 http://ftpmaster.internal/ubuntu resolute/universe s390x libheadius-options-java all 1.7-1build1 [18.3 kB] 741s Get:18 http://ftpmaster.internal/ubuntu resolute/universe s390x libinvokebinder-java all 1.14-1build1 [52.1 kB] 741s Get:19 http://ftpmaster.internal/ubuntu resolute/universe s390x libhawtjni-runtime-java all 1.18-1build1 [28.4 kB] 741s Get:20 http://ftpmaster.internal/ubuntu resolute/universe s390x libjansi-native-java all 1.8-2build1 [23.6 kB] 741s Get:21 http://ftpmaster.internal/ubuntu resolute/universe s390x libjansi1-java all 1.18-3.1build1 [56.3 kB] 741s Get:22 http://ftpmaster.internal/ubuntu resolute/universe s390x libjcodings-java all 1.0.58-1build1 [1474 kB] 741s Get:23 http://ftpmaster.internal/ubuntu resolute/universe s390x libjffi-jni s390x 1.3.13+ds-1build1 [30.2 kB] 741s Get:24 http://ftpmaster.internal/ubuntu resolute/universe s390x libjffi-java all 1.3.13+ds-1build1 [111 kB] 741s Get:25 http://ftpmaster.internal/ubuntu resolute/universe s390x libjitescript-java all 0.4.3-1build1 [24.5 kB] 741s Get:26 http://ftpmaster.internal/ubuntu resolute/universe s390x libjline2-java all 2.14.6-6 [152 kB] 742s Get:27 http://ftpmaster.internal/ubuntu resolute/universe s390x libjnr-constants-java all 0.10.4-2build1 [1416 kB] 742s Get:28 http://ftpmaster.internal/ubuntu resolute/universe s390x libjnr-x86asm-java all 1.0.2-6build1 [216 kB] 742s Get:29 http://ftpmaster.internal/ubuntu resolute/universe s390x libjnr-ffi-java all 2.2.15-2build1 [632 kB] 742s Get:30 http://ftpmaster.internal/ubuntu resolute/universe s390x libjnr-enxio-java all 0.32.16-1build1 [33.8 kB] 742s Get:31 http://ftpmaster.internal/ubuntu resolute/universe s390x libjnr-netdb-java all 1.2.0+dfsg-1build1 [58.7 kB] 742s Get:32 http://ftpmaster.internal/ubuntu resolute/universe s390x libjnr-posix-java all 3.1.18-1build1 [268 kB] 742s Get:33 http://ftpmaster.internal/ubuntu resolute/universe s390x libjnr-unixsocket-java all 0.38.21-3 [46.8 kB] 742s Get:34 http://ftpmaster.internal/ubuntu resolute/universe s390x libjoda-time-java all 2.10.14-1 [535 kB] 742s Get:35 http://ftpmaster.internal/ubuntu resolute/universe s390x libjruby-joni-java all 2.2.1-1build1 [221 kB] 742s Get:36 http://ftpmaster.internal/ubuntu resolute/universe s390x libjzlib-java all 1.1.3-3build1 [76.7 kB] 742s Get:37 http://ftpmaster.internal/ubuntu resolute/universe s390x libsnakeyaml-engine-java all 2.7+ds-3build1 [258 kB] 742s Get:38 http://ftpmaster.internal/ubuntu resolute/universe s390x jruby all 9.4.8.0+ds-3ubuntu1 [23.4 MB] 743s Get:39 http://ftpmaster.internal/ubuntu resolute/main s390x rubygems-integration all 1.19build1 [5666 B] 743s Get:40 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x ruby3.3 s390x 3.3.8-2ubuntu3 [49.1 kB] 743s Get:41 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-rubygems all 3.6.7-2ubuntu2 [332 kB] 743s Get:42 http://ftpmaster.internal/ubuntu resolute/main s390x ruby s390x 1:3.3 [3668 B] 743s Get:43 http://ftpmaster.internal/ubuntu resolute/main s390x rake all 13.2.1-1build1 [45.9 kB] 743s Get:44 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-csv all 3.3.4-1 [43.0 kB] 743s Get:45 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-did-you-mean all 1.6.3-2build1 [14.9 kB] 743s Get:46 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-net-telnet all 0.2.0-1build1 [13.5 kB] 743s Get:47 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-ruby2-keywords all 0.0.5-1build1 [4398 B] 743s Get:48 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-webrick all 1.9.1-1build1 [60.9 kB] 743s Get:49 http://ftpmaster.internal/ubuntu resolute/main s390x ruby-xmlrpc all 0.3.3-2build1 [24.9 kB] 743s Get:50 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libruby3.3 s390x 3.3.8-2ubuntu3 [5868 kB] 743s Get:51 http://ftpmaster.internal/ubuntu resolute/main s390x libruby s390x 1:3.3 [5162 B] 743s Get:52 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-concurrent all 1.3.4-1 [283 kB] 743s Get:53 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-concurrent-ext s390x 1.3.4-1 [8950 B] 743s Get:54 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-diff-lcs all 1.5.1-1 [22.8 kB] 743s Get:55 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 743s Get:56 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 743s Get:57 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 743s Get:58 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 743s Get:59 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 743s Get:60 http://ftpmaster.internal/ubuntu resolute/universe s390x ruby-timecop all 0.9.10-1.1 [11.5 kB] 746s Fetched 88.5 MB in 5s (19.0 MB/s) 746s Selecting previously unselected package ca-certificates-java. 746s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 88711 files and directories currently installed.) 746s Preparing to unpack .../00-ca-certificates-java_20240118build1_all.deb ... 746s Unpacking ca-certificates-java (20240118build1) ... 746s Selecting previously unselected package java-common. 746s Preparing to unpack .../01-java-common_0.76build1_all.deb ... 746s Unpacking java-common (0.76build1) ... 746s Selecting previously unselected package liblcms2-2:s390x. 746s Preparing to unpack .../02-liblcms2-2_2.17-1_s390x.deb ... 746s Unpacking liblcms2-2:s390x (2.17-1) ... 746s Selecting previously unselected package libjpeg-turbo8:s390x. 746s Preparing to unpack .../03-libjpeg-turbo8_2.1.5-4ubuntu3_s390x.deb ... 746s Unpacking libjpeg-turbo8:s390x (2.1.5-4ubuntu3) ... 747s Selecting previously unselected package libjpeg8:s390x. 747s Preparing to unpack .../04-libjpeg8_8c-2ubuntu11_s390x.deb ... 747s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 747s Selecting previously unselected package libpcsclite1:s390x. 747s Preparing to unpack .../05-libpcsclite1_2.4.1-1_s390x.deb ... 747s Unpacking libpcsclite1:s390x (2.4.1-1) ... 747s Selecting previously unselected package openjdk-21-jre-headless:s390x. 747s Preparing to unpack .../06-openjdk-21-jre-headless_21.0.10+7-1_s390x.deb ... 747s Unpacking openjdk-21-jre-headless:s390x (21.0.10+7-1) ... 757s Selecting previously unselected package default-jre-headless. 757s Preparing to unpack .../07-default-jre-headless_2%3a1.21-76build1_s390x.deb ... 757s Unpacking default-jre-headless (2:1.21-76build1) ... 757s Selecting previously unselected package libasm-java. 757s Preparing to unpack .../08-libasm-java_9.8-2_all.deb ... 757s Unpacking libasm-java (9.8-2) ... 757s Selecting previously unselected package libbackport9-java. 757s Preparing to unpack .../09-libbackport9-java_1.10-2build1_all.deb ... 757s Unpacking libbackport9-java (1.10-2build1) ... 757s Selecting previously unselected package libbcprov-java. 757s Preparing to unpack .../10-libbcprov-java_1.80-3_all.deb ... 757s Unpacking libbcprov-java (1.80-3) ... 757s Selecting previously unselected package libbcutil-java. 757s Preparing to unpack .../11-libbcutil-java_1.80-3_all.deb ... 757s Unpacking libbcutil-java (1.80-3) ... 757s Selecting previously unselected package libbcpkix-java. 757s Preparing to unpack .../12-libbcpkix-java_1.80-3_all.deb ... 757s Unpacking libbcpkix-java (1.80-3) ... 757s Selecting previously unselected package libbctls-java. 757s Preparing to unpack .../13-libbctls-java_1.80-3_all.deb ... 757s Unpacking libbctls-java (1.80-3) ... 757s Selecting previously unselected package libdirgra-java. 757s Preparing to unpack .../14-libdirgra-java_0.4-2build1_all.deb ... 757s Unpacking libdirgra-java (0.4-2build1) ... 757s Selecting previously unselected package libfixposix4t64:s390x. 757s Preparing to unpack .../15-libfixposix4t64_1%3a0.5.1-1+nmu1.1build2_s390x.deb ... 758s Unpacking libfixposix4t64:s390x (1:0.5.1-1+nmu1.1build2) ... 758s Selecting previously unselected package libheadius-options-java. 758s Preparing to unpack .../16-libheadius-options-java_1.7-1build1_all.deb ... 758s Unpacking libheadius-options-java (1.7-1build1) ... 758s Selecting previously unselected package libinvokebinder-java. 758s Preparing to unpack .../17-libinvokebinder-java_1.14-1build1_all.deb ... 758s Unpacking libinvokebinder-java (1.14-1build1) ... 758s Selecting previously unselected package libhawtjni-runtime-java. 758s Preparing to unpack .../18-libhawtjni-runtime-java_1.18-1build1_all.deb ... 758s Unpacking libhawtjni-runtime-java (1.18-1build1) ... 758s Selecting previously unselected package libjansi-native-java. 759s Preparing to unpack .../19-libjansi-native-java_1.8-2build1_all.deb ... 759s Unpacking libjansi-native-java (1.8-2build1) ... 760s Selecting previously unselected package libjansi1-java. 760s Preparing to unpack .../20-libjansi1-java_1.18-3.1build1_all.deb ... 760s Unpacking libjansi1-java (1.18-3.1build1) ... 760s Selecting previously unselected package libjcodings-java. 760s Preparing to unpack .../21-libjcodings-java_1.0.58-1build1_all.deb ... 760s Unpacking libjcodings-java (1.0.58-1build1) ... 761s Selecting previously unselected package libjffi-jni:s390x. 761s Preparing to unpack .../22-libjffi-jni_1.3.13+ds-1build1_s390x.deb ... 761s Unpacking libjffi-jni:s390x (1.3.13+ds-1build1) ... 761s Selecting previously unselected package libjffi-java. 761s Preparing to unpack .../23-libjffi-java_1.3.13+ds-1build1_all.deb ... 761s Unpacking libjffi-java (1.3.13+ds-1build1) ... 761s Selecting previously unselected package libjitescript-java. 761s Preparing to unpack .../24-libjitescript-java_0.4.3-1build1_all.deb ... 761s Unpacking libjitescript-java (0.4.3-1build1) ... 761s Selecting previously unselected package libjline2-java. 761s Preparing to unpack .../25-libjline2-java_2.14.6-6_all.deb ... 761s Unpacking libjline2-java (2.14.6-6) ... 761s Selecting previously unselected package libjnr-constants-java. 761s Preparing to unpack .../26-libjnr-constants-java_0.10.4-2build1_all.deb ... 761s Unpacking libjnr-constants-java (0.10.4-2build1) ... 762s Selecting previously unselected package libjnr-x86asm-java. 762s Preparing to unpack .../27-libjnr-x86asm-java_1.0.2-6build1_all.deb ... 762s Unpacking libjnr-x86asm-java (1.0.2-6build1) ... 762s Selecting previously unselected package libjnr-ffi-java. 762s Preparing to unpack .../28-libjnr-ffi-java_2.2.15-2build1_all.deb ... 762s Unpacking libjnr-ffi-java (2.2.15-2build1) ... 763s Selecting previously unselected package libjnr-enxio-java. 763s Preparing to unpack .../29-libjnr-enxio-java_0.32.16-1build1_all.deb ... 763s Unpacking libjnr-enxio-java (0.32.16-1build1) ... 763s Selecting previously unselected package libjnr-netdb-java. 763s Preparing to unpack .../30-libjnr-netdb-java_1.2.0+dfsg-1build1_all.deb ... 763s Unpacking libjnr-netdb-java (1.2.0+dfsg-1build1) ... 764s Selecting previously unselected package libjnr-posix-java. 764s Preparing to unpack .../31-libjnr-posix-java_3.1.18-1build1_all.deb ... 764s Unpacking libjnr-posix-java (3.1.18-1build1) ... 764s Selecting previously unselected package libjnr-unixsocket-java. 764s Preparing to unpack .../32-libjnr-unixsocket-java_0.38.21-3_all.deb ... 764s Unpacking libjnr-unixsocket-java (0.38.21-3) ... 764s Selecting previously unselected package libjoda-time-java. 764s Preparing to unpack .../33-libjoda-time-java_2.10.14-1_all.deb ... 764s Unpacking libjoda-time-java (2.10.14-1) ... 764s Selecting previously unselected package libjruby-joni-java. 764s Preparing to unpack .../34-libjruby-joni-java_2.2.1-1build1_all.deb ... 764s Unpacking libjruby-joni-java (2.2.1-1build1) ... 764s Selecting previously unselected package libjzlib-java. 764s Preparing to unpack .../35-libjzlib-java_1.1.3-3build1_all.deb ... 764s Unpacking libjzlib-java (1.1.3-3build1) ... 764s Selecting previously unselected package libsnakeyaml-engine-java. 764s Preparing to unpack .../36-libsnakeyaml-engine-java_2.7+ds-3build1_all.deb ... 764s Unpacking libsnakeyaml-engine-java (2.7+ds-3build1) ... 765s Selecting previously unselected package jruby. 765s Preparing to unpack .../37-jruby_9.4.8.0+ds-3ubuntu1_all.deb ... 765s Unpacking jruby (9.4.8.0+ds-3ubuntu1) ... 767s Selecting previously unselected package rubygems-integration. 767s Preparing to unpack .../38-rubygems-integration_1.19build1_all.deb ... 767s Unpacking rubygems-integration (1.19build1) ... 767s Selecting previously unselected package ruby3.3. 767s Preparing to unpack .../39-ruby3.3_3.3.8-2ubuntu3_s390x.deb ... 767s Unpacking ruby3.3 (3.3.8-2ubuntu3) ... 767s Selecting previously unselected package ruby-rubygems. 768s Preparing to unpack .../40-ruby-rubygems_3.6.7-2ubuntu2_all.deb ... 768s Unpacking ruby-rubygems (3.6.7-2ubuntu2) ... 768s Selecting previously unselected package ruby. 768s Preparing to unpack .../41-ruby_1%3a3.3_s390x.deb ... 768s Unpacking ruby (1:3.3) ... 768s Selecting previously unselected package rake. 768s Preparing to unpack .../42-rake_13.2.1-1build1_all.deb ... 768s Unpacking rake (13.2.1-1build1) ... 768s Selecting previously unselected package ruby-csv. 768s Preparing to unpack .../43-ruby-csv_3.3.4-1_all.deb ... 768s Unpacking ruby-csv (3.3.4-1) ... 768s Selecting previously unselected package ruby-did-you-mean. 768s Preparing to unpack .../44-ruby-did-you-mean_1.6.3-2build1_all.deb ... 768s Unpacking ruby-did-you-mean (1.6.3-2build1) ... 769s Selecting previously unselected package ruby-net-telnet. 769s Preparing to unpack .../45-ruby-net-telnet_0.2.0-1build1_all.deb ... 769s Unpacking ruby-net-telnet (0.2.0-1build1) ... 769s Selecting previously unselected package ruby-ruby2-keywords. 769s Preparing to unpack .../46-ruby-ruby2-keywords_0.0.5-1build1_all.deb ... 769s Unpacking ruby-ruby2-keywords (0.0.5-1build1) ... 769s Selecting previously unselected package ruby-webrick. 769s Preparing to unpack .../47-ruby-webrick_1.9.1-1build1_all.deb ... 769s Unpacking ruby-webrick (1.9.1-1build1) ... 769s Selecting previously unselected package ruby-xmlrpc. 769s Preparing to unpack .../48-ruby-xmlrpc_0.3.3-2build1_all.deb ... 769s Unpacking ruby-xmlrpc (0.3.3-2build1) ... 769s Selecting previously unselected package libruby3.3:s390x. 769s Preparing to unpack .../49-libruby3.3_3.3.8-2ubuntu3_s390x.deb ... 769s Unpacking libruby3.3:s390x (3.3.8-2ubuntu3) ... 771s Selecting previously unselected package libruby:s390x. 771s Preparing to unpack .../50-libruby_1%3a3.3_s390x.deb ... 771s Unpacking libruby:s390x (1:3.3) ... 772s Selecting previously unselected package ruby-concurrent. 772s Preparing to unpack .../51-ruby-concurrent_1.3.4-1_all.deb ... 772s Unpacking ruby-concurrent (1.3.4-1) ... 772s Selecting previously unselected package ruby-concurrent-ext. 772s Preparing to unpack .../52-ruby-concurrent-ext_1.3.4-1_s390x.deb ... 772s Unpacking ruby-concurrent-ext (1.3.4-1) ... 772s Selecting previously unselected package ruby-diff-lcs. 772s Preparing to unpack .../53-ruby-diff-lcs_1.5.1-1_all.deb ... 772s Unpacking ruby-diff-lcs (1.5.1-1) ... 772s Selecting previously unselected package ruby-rspec-support. 772s Preparing to unpack .../54-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 772s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 772s Selecting previously unselected package ruby-rspec-core. 772s Preparing to unpack .../55-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 772s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 773s Selecting previously unselected package ruby-rspec-expectations. 773s Preparing to unpack .../56-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 773s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 773s Selecting previously unselected package ruby-rspec-mocks. 773s Preparing to unpack .../57-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 773s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 773s Selecting previously unselected package ruby-rspec. 773s Preparing to unpack .../58-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 773s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 773s Selecting previously unselected package ruby-timecop. 773s Preparing to unpack .../59-ruby-timecop_0.9.10-1.1_all.deb ... 773s Unpacking ruby-timecop (0.9.10-1.1) ... 773s Setting up libbcprov-java (1.80-3) ... 773s Setting up liblcms2-2:s390x (2.17-1) ... 773s Setting up libfixposix4t64:s390x (1:0.5.1-1+nmu1.1build2) ... 773s Setting up ruby-ruby2-keywords (0.0.5-1build1) ... 773s Setting up java-common (0.76build1) ... 773s Setting up libbcutil-java (1.80-3) ... 773s Setting up libasm-java (9.8-2) ... 773s Setting up rubygems-integration (1.19build1) ... 773s Setting up libheadius-options-java (1.7-1build1) ... 773s Setting up libbctls-java (1.80-3) ... 773s Setting up ruby-concurrent (1.3.4-1) ... 773s Setting up libjnr-x86asm-java (1.0.2-6build1) ... 773s Setting up ruby-timecop (0.9.10-1.1) ... 773s Setting up libjzlib-java (1.1.3-3build1) ... 773s Setting up libbackport9-java (1.10-2build1) ... 773s Setting up libjitescript-java (0.4.3-1build1) ... 773s Setting up libsnakeyaml-engine-java (2.7+ds-3build1) ... 773s Setting up ruby-net-telnet (0.2.0-1build1) ... 773s Setting up ruby-csv (3.3.4-1) ... 773s Setting up libpcsclite1:s390x (2.4.1-1) ... 773s Setting up libjpeg-turbo8:s390x (2.1.5-4ubuntu3) ... 773s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 773s Setting up libjoda-time-java (2.10.14-1) ... 773s Setting up libjcodings-java (1.0.58-1build1) ... 773s Setting up ruby-webrick (1.9.1-1build1) ... 773s Setting up libinvokebinder-java (1.14-1build1) ... 773s Setting up libjffi-jni:s390x (1.3.13+ds-1build1) ... 773s Setting up ca-certificates-java (20240118build1) ... 774s No JRE found. Skipping Java certificates setup. 774s Setting up ruby-did-you-mean (1.6.3-2build1) ... 774s Setting up libbcpkix-java (1.80-3) ... 774s Setting up ruby-xmlrpc (0.3.3-2build1) ... 774s Setting up libhawtjni-runtime-java (1.18-1build1) ... 774s Setting up libdirgra-java (0.4-2build1) ... 774s Setting up libjnr-constants-java (0.10.4-2build1) ... 774s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 774s Setting up libjffi-java (1.3.13+ds-1build1) ... 774s Setting up openjdk-21-jre-headless:s390x (21.0.10+7-1) ... 774s update-alternatives: using /usr/lib/jvm/java-21-openjdk-s390x/bin/java to provide /usr/bin/java (java) in auto mode 774s update-alternatives: using /usr/lib/jvm/java-21-openjdk-s390x/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode 774s update-alternatives: using /usr/lib/jvm/java-21-openjdk-s390x/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode 774s update-alternatives: using /usr/lib/jvm/java-21-openjdk-s390x/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode 774s update-alternatives: using /usr/lib/jvm/java-21-openjdk-s390x/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode 775s Setting up libjruby-joni-java (2.2.1-1build1) ... 775s Setting up libjansi-native-java (1.8-2build1) ... 775s Setting up libjansi1-java (1.18-3.1build1) ... 775s Setting up libjline2-java (2.14.6-6) ... 775s Setting up libjnr-ffi-java (2.2.15-2build1) ... 775s Setting up libjnr-enxio-java (0.32.16-1build1) ... 775s Setting up libjnr-netdb-java (1.2.0+dfsg-1build1) ... 775s Setting up libjnr-posix-java (3.1.18-1build1) ... 775s Setting up libjnr-unixsocket-java (0.38.21-3) ... 775s Setting up rake (13.2.1-1build1) ... 775s Setting up libruby3.3:s390x (3.3.8-2ubuntu3) ... 775s Setting up ruby3.3 (3.3.8-2ubuntu3) ... 775s Setting up libruby:s390x (1:3.3) ... 775s Setting up ruby (1:3.3) ... 775s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 775s Setting up ruby-diff-lcs (1.5.1-1) ... 775s Setting up ruby-rubygems (3.6.7-2ubuntu2) ... 775s Setting up ruby-concurrent-ext (1.3.4-1) ... 775s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 775s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 775s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 775s Processing triggers for libc-bin (2.42-2ubuntu4) ... 776s Processing triggers for man-db (2.13.1-1build1) ... 792s Processing triggers for ca-certificates-java (20240118build1) ... 797s Adding debian:ACCVRAIZ1.pem 798s Adding debian:AC_RAIZ_FNMT-RCM.pem 798s Adding debian:AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem 798s Adding debian:ANF_Secure_Server_Root_CA.pem 798s Adding debian:Actalis_Authentication_Root_CA.pem 798s Adding debian:AffirmTrust_Commercial.pem 798s Adding debian:AffirmTrust_Networking.pem 798s Adding debian:AffirmTrust_Premium.pem 798s Adding debian:AffirmTrust_Premium_ECC.pem 798s Adding debian:Amazon_Root_CA_1.pem 798s Adding debian:Amazon_Root_CA_2.pem 798s Adding debian:Amazon_Root_CA_3.pem 798s Adding debian:Amazon_Root_CA_4.pem 798s Adding debian:Atos_TrustedRoot_2011.pem 798s Adding debian:Atos_TrustedRoot_Root_CA_ECC_TLS_2021.pem 798s Adding debian:Atos_TrustedRoot_Root_CA_RSA_TLS_2021.pem 798s Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem 798s Adding debian:BJCA_Global_Root_CA1.pem 798s Adding debian:BJCA_Global_Root_CA2.pem 798s Adding debian:Baltimore_CyberTrust_Root.pem 798s Adding debian:Buypass_Class_2_Root_CA.pem 798s Adding debian:Buypass_Class_3_Root_CA.pem 798s Adding debian:CA_Disig_Root_R2.pem 798s Adding debian:CFCA_EV_ROOT.pem 798s Adding debian:COMODO_Certification_Authority.pem 798s Adding debian:COMODO_ECC_Certification_Authority.pem 798s Adding debian:COMODO_RSA_Certification_Authority.pem 798s Adding debian:Certainly_Root_E1.pem 798s Adding debian:Certainly_Root_R1.pem 798s Adding debian:Certigna.pem 798s Adding debian:Certigna_Root_CA.pem 798s Adding debian:Certum_EC-384_CA.pem 798s Adding debian:Certum_Trusted_Network_CA.pem 798s Adding debian:Certum_Trusted_Network_CA_2.pem 798s Adding debian:Certum_Trusted_Root_CA.pem 798s Adding debian:CommScope_Public_Trust_ECC_Root-01.pem 798s Adding debian:CommScope_Public_Trust_ECC_Root-02.pem 798s Adding debian:CommScope_Public_Trust_RSA_Root-01.pem 798s Adding debian:CommScope_Public_Trust_RSA_Root-02.pem 798s Adding debian:Comodo_AAA_Services_root.pem 798s Adding debian:D-TRUST_BR_Root_CA_1_2020.pem 798s Adding debian:D-TRUST_BR_Root_CA_2_2023.pem 798s Adding debian:D-TRUST_EV_Root_CA_1_2020.pem 798s Adding debian:D-TRUST_EV_Root_CA_2_2023.pem 799s Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem 799s Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem 799s Adding debian:DigiCert_Assured_ID_Root_CA.pem 799s Adding debian:DigiCert_Assured_ID_Root_G2.pem 799s Adding debian:DigiCert_Assured_ID_Root_G3.pem 799s Adding debian:DigiCert_Global_Root_CA.pem 799s Adding debian:DigiCert_Global_Root_G2.pem 799s Adding debian:DigiCert_Global_Root_G3.pem 799s Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem 799s Adding debian:DigiCert_TLS_ECC_P384_Root_G5.pem 799s Adding debian:DigiCert_TLS_RSA4096_Root_G5.pem 799s Adding debian:DigiCert_Trusted_Root_G4.pem 799s Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem 799s Adding debian:Entrust_Root_Certification_Authority.pem 799s Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem 799s Adding debian:Entrust_Root_Certification_Authority_-_G2.pem 799s Adding debian:FIRMAPROFESIONAL_CA_ROOT-A_WEB.pem 799s Adding debian:GDCA_TrustAUTH_R5_ROOT.pem 799s Adding debian:GLOBALTRUST_2020.pem 799s Adding debian:GTS_Root_R1.pem 799s Adding debian:GTS_Root_R2.pem 799s Adding debian:GTS_Root_R3.pem 799s Adding debian:GTS_Root_R4.pem 799s Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem 799s Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem 799s Adding debian:GlobalSign_Root_CA.pem 799s Adding debian:GlobalSign_Root_CA_-_R3.pem 799s Adding debian:GlobalSign_Root_CA_-_R6.pem 799s Adding debian:GlobalSign_Root_E46.pem 799s Adding debian:GlobalSign_Root_R46.pem 799s Adding debian:Go_Daddy_Class_2_CA.pem 799s Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem 799s Adding debian:HARICA_TLS_ECC_Root_CA_2021.pem 799s Adding debian:HARICA_TLS_RSA_Root_CA_2021.pem 799s Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem 800s Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem 800s Adding debian:HiPKI_Root_CA_-_G1.pem 800s Adding debian:Hongkong_Post_Root_CA_3.pem 800s Adding debian:ISRG_Root_X1.pem 800s Adding debian:ISRG_Root_X2.pem 800s Adding debian:IdenTrust_Commercial_Root_CA_1.pem 800s Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem 800s Adding debian:Izenpe.com.pem 800s Adding debian:Microsec_e-Szigno_Root_CA_2009.pem 800s Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem 800s Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem 800s Adding debian:NAVER_Global_Root_Certification_Authority.pem 800s Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem 800s Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem 800s Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem 800s Adding debian:QuoVadis_Root_CA_1_G3.pem 800s Adding debian:QuoVadis_Root_CA_2.pem 800s Adding debian:QuoVadis_Root_CA_2_G3.pem 800s Adding debian:QuoVadis_Root_CA_3.pem 800s Adding debian:QuoVadis_Root_CA_3_G3.pem 800s Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem 801s Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem 801s Adding debian:SSL.com_Root_Certification_Authority_ECC.pem 801s Adding debian:SSL.com_Root_Certification_Authority_RSA.pem 801s Adding debian:SSL.com_TLS_ECC_Root_CA_2022.pem 801s Adding debian:SSL.com_TLS_RSA_Root_CA_2022.pem 801s Adding debian:SZAFIR_ROOT_CA2.pem 801s Adding debian:Sectigo_Public_Server_Authentication_Root_E46.pem 801s Adding debian:Sectigo_Public_Server_Authentication_Root_R46.pem 801s Adding debian:SecureSign_Root_CA12.pem 801s Adding debian:SecureSign_Root_CA14.pem 801s Adding debian:SecureSign_Root_CA15.pem 801s Adding debian:SecureTrust_CA.pem 801s Adding debian:Secure_Global_CA.pem 801s Adding debian:Security_Communication_ECC_RootCA1.pem 801s Adding debian:Security_Communication_RootCA2.pem 801s Adding debian:Starfield_Class_2_CA.pem 801s Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem 801s Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem 801s Adding debian:SwissSign_Gold_CA_-_G2.pem 801s Adding debian:T-TeleSec_GlobalRoot_Class_2.pem 801s Adding debian:T-TeleSec_GlobalRoot_Class_3.pem 801s Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem 801s Adding debian:TWCA_CYBER_Root_CA.pem 801s Adding debian:TWCA_Global_Root_CA.pem 801s Adding debian:TWCA_Root_Certification_Authority.pem 801s Adding debian:Telekom_Security_TLS_ECC_Root_2020.pem 801s Adding debian:Telekom_Security_TLS_RSA_Root_2023.pem 801s Adding debian:TeliaSonera_Root_CA_v1.pem 801s Adding debian:Telia_Root_CA_v2.pem 801s Adding debian:TrustAsia_Global_Root_CA_G3.pem 801s Adding debian:TrustAsia_Global_Root_CA_G4.pem 801s Adding debian:Trustwave_Global_Certification_Authority.pem 801s Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem 801s Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem 802s Adding debian:TunTrust_Root_CA.pem 802s Adding debian:UCA_Extended_Validation_Root.pem 802s Adding debian:UCA_Global_G2_Root.pem 802s Adding debian:USERTrust_ECC_Certification_Authority.pem 802s Adding debian:USERTrust_RSA_Certification_Authority.pem 802s Adding debian:XRamp_Global_CA_Root.pem 802s Adding debian:certSIGN_ROOT_CA.pem 802s Adding debian:certSIGN_Root_CA_G2.pem 802s Adding debian:e-Szigno_Root_CA_2017.pem 802s Adding debian:ePKI_Root_Certification_Authority.pem 802s Adding debian:emSign_ECC_Root_CA_-_C3.pem 802s Adding debian:emSign_ECC_Root_CA_-_G3.pem 802s Adding debian:emSign_Root_CA_-_C1.pem 802s Adding debian:emSign_Root_CA_-_G1.pem 802s Adding debian:vTrus_ECC_Root_CA.pem 802s Adding debian:vTrus_Root_CA.pem 802s done. 802s Setting up default-jre-headless (2:1.21-76build1) ... 802s Setting up jruby (9.4.8.0+ds-3ubuntu1) ... 809s autopkgtest [07:40:07]: test jruby: [----------------------- 809s installing concurrent-ruby-1.3.4 gem into temporary GEM_HOME for jruby ... 810s installing concurrent-ruby-edge-0.7.1 gem into temporary GEM_HOME for jruby ... 810s installing diff-lcs-1.5.1 gem into temporary GEM_HOME for jruby ... 810s installing rspec-core-3.13.0 gem into temporary GEM_HOME for jruby ... 810s installing rspec-expectations-3.13.0 gem into temporary GEM_HOME for jruby ... 810s installing rspec-mocks-3.13.0 gem into temporary GEM_HOME for jruby ... 810s installing rspec-support-3.13.1 gem into temporary GEM_HOME for jruby ... 810s installing timecop-0.9.10 gem into temporary GEM_HOME for jruby ... 840s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/options.rb require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/options.rb:6 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/options.rb:3 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:8 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:1 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executors.rb:20 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/core.rb:4 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor.rb:25 840s at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor.rb:17 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor.rb:7 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:160 840s
at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/actor_spec.rb:1 840s load at org/jruby/RubyKernel.java:1220 840s load_file_handling_errors at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138 840s load_spec_files at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1638 840s each at org/jruby/RubyArray.java:1981 840s load_spec_files at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636 840s setup at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:102 840s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:86 840s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 840s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 840s
at /usr/bin/rspec:4 840s 840s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:19 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:9 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executors.rb:20 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/core.rb:4 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 840s at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor.rb:25 840s at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor.rb:17 840s
at /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor.rb:7 840s require at org/jruby/RubyKernel.java:1184 840s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:160 840s
at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/actor_spec.rb:1 840s load at org/jruby/RubyKernel.java:1220 840s load_file_handling_errors at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138 840s load_spec_files at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1638 840s each at org/jruby/RubyArray.java:1981 840s load_spec_files at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636 840s setup at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:102 840s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:86 840s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 840s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 840s
at /usr/bin/rspec:4 840s 867s /usr/share/jruby/lib/ruby/stdlib/date.rb:471: warning: previous definition of strptime was here 867s /usr/share/jruby/lib/ruby/stdlib/date.rb:490: warning: previous definition of parse was here 867s /usr/share/jruby/lib/ruby/stdlib/date.rb:737: warning: previous definition of parse was here 871s Run options: exclude {:stress=>true} 874s 874s Concurrent::Actor 874s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:30 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:3 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:2 874s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:1 874s require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s be_truthy at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:311 874s
at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/spec_helper.rb:50 874s instance_exec at org/jruby/RubyBasicObject.java:2620 874s instance_exec at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:457 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:365 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:529 874s each at org/jruby/RubyArray.java:1981 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:528 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:615 874s reverse_each at org/jruby/RubyArray.java:2063 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:614 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:484 874s run_before_example at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:505 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:261 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 874s map at org/jruby/RubyArray.java:2803 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s map at org/jruby/RubyArray.java:2803 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 874s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 874s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 874s
at /usr/bin/rspec:4 874s 874s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:53 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:3 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:2 874s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:1 874s require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s be_truthy at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:311 874s
at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/spec_helper.rb:50 874s instance_exec at org/jruby/RubyBasicObject.java:2620 874s instance_exec at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:457 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:365 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:529 874s each at org/jruby/RubyArray.java:1981 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:528 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:615 874s reverse_each at org/jruby/RubyArray.java:2063 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:614 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:484 874s run_before_example at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:505 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:261 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 874s map at org/jruby/RubyArray.java:2803 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s map at org/jruby/RubyArray.java:2803 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 874s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 874s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 874s
at /usr/bin/rspec:4 874s 874s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:74 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:3 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:2 874s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:1 874s require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s be_truthy at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:311 874s
at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/spec_helper.rb:50 874s instance_exec at org/jruby/RubyBasicObject.java:2620 874s instance_exec at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:457 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:365 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:529 874s each at org/jruby/RubyArray.java:1981 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:528 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:615 874s reverse_each at org/jruby/RubyArray.java:2063 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:614 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:484 874s run_before_example at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:505 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:261 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 874s map at org/jruby/RubyArray.java:2803 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s map at org/jruby/RubyArray.java:2803 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 874s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 874s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 874s
at /usr/bin/rspec:4 874s 874s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:101 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:3 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:2 874s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:1 874s require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s be_truthy at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:311 874s
at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/spec_helper.rb:50 874s instance_exec at org/jruby/RubyBasicObject.java:2620 874s instance_exec at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:457 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:365 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:529 874s each at org/jruby/RubyArray.java:1981 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:528 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:615 874s reverse_each at org/jruby/RubyArray.java:2063 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:614 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:484 874s run_before_example at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:505 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:261 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 874s map at org/jruby/RubyArray.java:2803 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s map at org/jruby/RubyArray.java:2803 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 874s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 874s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 874s
at /usr/bin/rspec:4 874s 874s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:136 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:3 874s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:2 874s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/be.rb:1 874s require at org/jruby/RubyKernel.java:1184 874s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 874s be_truthy at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:311 874s
at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/spec_helper.rb:50 874s instance_exec at org/jruby/RubyBasicObject.java:2620 874s instance_exec at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:457 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:365 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:529 874s each at org/jruby/RubyArray.java:1981 874s run_owned_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:528 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:615 874s reverse_each at org/jruby/RubyArray.java:2063 874s forbids Immediate executor 874s run_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:614 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:484 874s run_before_example at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:505 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:261 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 874s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 874s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 874s map at org/jruby/RubyArray.java:2803 874s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s map at org/jruby/RubyArray.java:2803 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 874s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 874s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 874s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 874s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 874s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 874s
at /usr/bin/rspec:4 874s 875s links 875s links atomically 875s spawning 875s terminates on failed initialization 875s terminates on failed initialization and raises with spawn! 876s terminates on failed message processing 876s Actor#spawn! 876s spawn 876s executor should be global 876s returns arg 876s #path 876s is expected to eq "/ping" 876s #parent 876s is expected to eq # 876s #name 877s is expected to eq "ping" 877s #reference 877s is expected to eq # 877s context_spawn 877s executor should be global 877s returns arg 877s #path 878s is expected to eq "/ping" 878s #parent 878s is expected to eq # 878s #name 878s is expected to eq "ping" 878s #reference 878s is expected to eq # 878s spawn_by_hash 878s executor should be global 879s returns arg 879s #path 879s is expected to eq "/ping" 879s #parent 879s is expected to eq # 879s #name 879s is expected to eq "ping" 879s #reference 879s is expected to eq # 879s context_spawn_by_hash 879s executor should be global 879s returns arg 879s #path 879s is expected to eq "/ping" 879s #parent 880s is expected to eq # 880s #name 880s is expected to eq "ping" 880s #reference 881s is expected to eq # 881s messaging 881s is expected to eq 4 881s children 881s has children set after a child is created 881s envelope 881s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/has.rb require at org/jruby/RubyKernel.java:1184 881s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 881s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/has.rb:125 881s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/has.rb:3 881s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/has.rb:2 881s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/has.rb:1 881s require at org/jruby/RubyKernel.java:1184 881s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 881s method_missing at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:964 881s method_missing at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:767 881s Actor at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/actor_spec.rb:136 881s instance_exec at org/jruby/RubyBasicObject.java:2620 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263 881s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 881s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 881s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 881s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 881s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 881s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 881s map at org/jruby/RubyArray.java:2803 881s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 881s map at org/jruby/RubyArray.java:2803 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 881s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 881s map at org/jruby/RubyArray.java:2803 881s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 881s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 881s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 881s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 881s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 881s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 881s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 881s
at /usr/bin/rspec:4 881s 881s is expected to eq # 881s termination 882s terminates with all its children 882s dead letter routing 882s logs by deafault 882s message redirecting 882s is evaluated by child 882s pausing 882s pauses on error and resumes 882s pauses on error and resets 882s pauses on error and restarts 882s pool 883s supports asks (FAILED - 1) 884s 884s Concurrent::Agent 884s initialization 884s sets the initial value 884s sets the initial error to nil 884s sets the error mode when given a valid value 884s defaults the error mode to :continue when an error handler is given 884s defaults the error mode to :fail when no error handler is given 884s raises an error when given an invalid error mode 884s sets #failed? to false 884s action processing 884s the given block will be passed the current value 884s the given block will be passed any provided arguments 884s the return value will be passed to the validator function 885s upon validation the new value will be set to the block return value 885s on success all observers will be notified 885s any recursive action dispatches will run after the value has been updated 885s when the action raises an error the value will not change 885s when the action raises an error the validator will not be called 885s when validation returns false the value will not change 885s when validation raises an error the value will not change 885s when the action raises an error the handler will be called 885s when validation fails the handler will be called 885s when validation raises an error the handler will be called 885s validation 885s sets the new value when the validator returns true 885s rejects the new value when the validator returns false 885s rejects the new value when the validator raises an error 885s sets the error when the error mode is :fail and the validator returns false 885s sets the error when the error mode is :fail and the validator raises an error 885s does not set an error when the error mode is :continue and the validator returns false 885s does not set an error when the error mode is :continue and the validator raises an error 885s does not trigger observation when validation fails 885s error handling 885s the agent will be passed to the handler 885s the exception will be passed to the handler 885s does not trigger observation 885s error mode 885s :continue 885s does not set an error when the validator returns false 885s does not set an error when the validator raises an error 885s does not set an error when the action raises an error 885s does not block further action processing 885s sets #failed? to false 885s :fail 886s sets the error when the validator returns false 886s sets the error when the validator raises an error 886s sets the error when the action raises an error 886s blocks all further action processing until a restart 886s sets #failed? to true 886s nested actions 886s occur in the order they ar post 886s work with immediate execution 886s posting 886s with #send 886s returns true when the job is post 886s returns false when #failed? 886s posts to the global fast executor 886s does not wait for the action to process 886s with #send! 886s returns true when the job is post 886s raises an error when #failed? 887s posts to the global fast executor 887s does not wait for the action to process 887s with #send_off 887s returns true when the job is post 887s returns false when #failed? 888s posts to the global io executor 888s does not wait for the action to process 888s with #send_off! 888s returns true when the job is post 888s raises an error when #failed? 888s posts to the global io executor 888s does not wait for the action to process 888s with #send_via 888s returns true when the job is post 888s returns false when #failed? 888s posts to the given executor 888s with #send_via! 888s returns true when the job is post 888s raises an error when #failed? 888s posts to the given executor 888s with #post 888s returns true when the job is post 888s returns false when #failed? 888s posts to the global io executor 888s does not wait for the action to process 888s with #<< 888s returns self when the job is post 888s returns self when #failed? 888s posts to the global io executor 889s does not wait for the action to process 889s #restart 889s when #failed? 889s raises an error if the new value is not valid 889s sets the new value 889s clears the error 889s sets #failed? to true 889s removes all actions from the queue when :clear_actions is true 889s does not clear the action queue when :clear_actions is false 890s does not clear the action queue when :clear_actions is not given 890s resumes action processing if actions are enqueued 890s does not trigger observation 890s when not #failed? 890s raises an error 890s waiting 890s the await job 891s does not change the value 891s does not trigger the error mode 891s does not trigger observers 891s waits for nested actions 891s with #await 891s returns self when there are no pending actions 891s does not block on actions from other threads 893s blocks indefinitely 894s returns true when all prior actions have processed 894s blocks forever if restarted with :clear_actions true (PENDING: the timing is nearly impossible) 894s with #await_for 894s returns true when there are no pending actions 894s does not block on actions from other threads 895s returns true when all prior actions have processed 896s returns false on timeout 896s returns false if restarted with :clear_actions true (PENDING: the timing is nearly impossible) 896s with #await_for! 896s returns true when there are no pending actions 896s does not block on actions from other threads 897s returns true when all prior actions have processed 898s raises an error on timeout 898s raises an error if restarted with :clear_actions true (PENDING: the timing is nearly impossible) 898s with #wait 898s returns true when there are no pending actions and timeout is nil 898s returns true when there are no pending actions and a timeout is given 898s does not block on actions from other threads 899s blocks indefinitely when timeout is nil 899s blocks forever when timeout is nil and restarted with :clear_actions true (PENDING: the timing is nearly impossible) 901s returns true when all prior actions have processed 902s returns false on timeout 902s returns false when timeout is given and restarted with :clear_actions true (PENDING: the timing is nearly impossible) 902s with .await 902s returns true when all prior actions on all agents have processed 902s with .await_for 902s returns true when there are no pending actions 902s returns true when all prior actions for all agents have processed 903s returns false on timeout 903s with await_for! 903s returns true when there are no pending actions 903s returns true when all prior actions for all agents have processed 905s raises an exception on timeout 905s observable 905s behaves like observable 905s #add_observer 905s adds an observer if called before first notification 905s adds an observer with :func if called before first notification 905s creates an observer from a block if called before first notification 905s raises an exception if not given an observer or a block 905s raises an exception when given both an observer and a block 905s #delete_observer 905s deletes the given observer if called before first notification 905s returns the removed observer if found in the observer set 905s returns the given observer even when not found in the observer set 905s #delete_observers 905s deletes all observers when called before first notification 905s returns self 905s #count_observers 905s returns zero for a new observable object 905s returns a count of registered observers if called before first notification 905s returns zero after #delete_observers has been called 905s first notification 905s calls the #update method on all observers without a specified :func 905s calls the appropriate function on all observers which specified a :func 905s calls the proc for all observers added as a block 906s does not notify any observers removed with #delete_observer 907s does not notify any observers after #delete_observers called 907s 907s Concurrent::Array 907s .[] 907s when initializing with no arguments 907s is expected to be empty 907s when initializing with arguments 907s creates an array with the given objects 907s .new 907s when initializing with no arguments 907s is expected to be empty 907s when initializing with a size argument 907s creates an array with size elements set to nil 907s when initializing with a default value argument 907s creates an array with size elements set to the default value 907s when initializing with a block argument 907s creates an array with size elements set to the default value 907s when initializing with another array as an argument 907s creates a new array 907s creates an array with the same contents as the other array 907s creates an array with the results of calling #to_ary on the other array 907s concurrency 908s is expected to be empty 908s #slice 908s correctly initializes the monitor 908s 908s Concurrent::Async 908s object creation 908s delegates to the original constructor 908s passes all args to the original constructor 908s passes a given block to the original constructor 908s initializes synchronization 908s #validate_argc 908s raises an exception when the method is not defined 908s raises an exception for too many args on a zero arity method 908s does not raise an exception for correct zero arity 908s raises an exception for too many args on a method with positive arity 908s raises an exception for too few args on a method with positive arity 908s does not raise an exception for correct positive arity 908s raises an exception for too few args on a method with negative arity 908s does not raise an exception for correct negative arity 908s #async 908s raises an error when calling a method that does not exist 908s raises an error when passing too few arguments 908s raises an error when pasing too many arguments (arity >= 0) 908s returns the existence of the method 908s returns a :pending IVar 908s runs the future on the global executor 908s sets the value on success 908s sets the reason on failure 908s sets the reason when giving too many optional arguments 908s supports attribute accessors 908s supports methods with blocks 908s #await 908s raises an error when calling a method that does not exist 908s raises an error when passing too few arguments 908s raises an error when pasing too many arguments (arity >= 0) 908s returns the existence of the method 908s returns a :fulfilled IVar 908s runs the future on the global executor 908s sets the value on success 908s sets the reason on failure 908s sets the reason when giving too many optional arguments 908s supports attribute accessors 908s supports methods with blocks 908s locking 909s uses the same lock for both #async and #await 909s fork safety 909s does not hang when forked (PENDING: Platform does not support fork) 909s 909s Concurrent::Atom 909s construction 909s sets the initial value to the given value 909s #compare_and_set 909s sets the new value if the current value matches 909s returns true if the current value matches 909s rejects the new value if the current value does not match 909s returns false if the current value does not match 909s rejects the new value if the validator returns false 909s rejects the new value if the validator raises an exception 909s returns false if the validator returns false 909s returns false if the validator raises an exception 909s #swap 909s raises an exception when no block is given 909s passes the current value to the block 909s passes all arguments to the block 909s sets the new value to the result of the block 909s rejects the new value if the validator returns false 909s rejects the new value if the validator raises an exception 909s returns the new value on success 909s returns the old value if the validator returns false 909s returns the old value if the validator raises an exception 909s calls the block more than once if the value changes underneath 909s reraises the exception from block 909s #reset 909s sets the new value 909s returns the new value on success 909s returns the new value on success 909s returns the old value if the validator returns false 909s returns the old value if the validator raises an exception 909s observable 909s behaves like observable 909s #add_observer 909s adds an observer if called before first notification 909s adds an observer with :func if called before first notification 909s creates an observer from a block if called before first notification 909s raises an exception if not given an observer or a block 909s raises an exception when given both an observer and a block 909s #delete_observer 909s deletes the given observer if called before first notification 909s returns the removed observer if found in the observer set 909s returns the given observer even when not found in the observer set 909s #delete_observers 909s deletes all observers when called before first notification 909s returns self 909s #count_observers 909s returns zero for a new observable object 909s returns a count of registered observers if called before first notification 909s returns zero after #delete_observers has been called 909s first notification 909s calls the #update method on all observers without a specified :func 909s calls the appropriate function on all observers which specified a :func 909s calls the proc for all observers added as a block 910s does not notify any observers removed with #delete_observer 911s does not notify any observers after #delete_observers called 911s 911s Concurrent::MutexAtomicBoolean 911s it should behave like atomic_boolean 911s construction 911s sets the initial value 911s defaults the initial value to false 911s evaluates the truthiness of a true value 911s evaluates the truthiness of a false value 911s #value 911s returns the current value 911s #value= 911s sets the #value to the given `Boolean` 911s returns the new value 911s evaluates the truthiness of a true value 911s evaluates the truthiness of a false value 911s #true? 911s is expected to equal true 911s is expected to equal false 911s #false? 911s is expected to equal false 911s is expected to equal true 911s #make_true 911s makes a false value true and returns true 911s keeps a true value true and returns false 911s #make_false 911s makes a true value false and returns true 911s keeps a false value false and returns false 911s instance methods 911s value is synchronized 911s value= is synchronized 911s true? is synchronized 911s false? is synchronized 911s make_true is synchronized 911s make_false is synchronized 911s 911s Concurrent::JavaAtomicBoolean 911s it should behave like atomic_boolean 911s construction 911s sets the initial value 911s defaults the initial value to false 911s evaluates the truthiness of a true value 911s evaluates the truthiness of a false value 911s #value 911s returns the current value 911s #value= 911s sets the #value to the given `Boolean` 911s returns the new value 911s evaluates the truthiness of a true value 911s evaluates the truthiness of a false value 911s #true? 911s is expected to equal true 911s is expected to equal false 911s #false? 911s is expected to equal false 911s is expected to equal true 911s #make_true 911s makes a false value true and returns true 911s keeps a true value true and returns false 911s #make_false 911s makes a true value false and returns true 911s keeps a false value false and returns false 911s 911s Concurrent::AtomicBoolean 911s does not load the C extension 911s inherits from JavaAtomicBoolean 911s #to_s and #inspect 911s includes the value 911s 911s Concurrent::MutexAtomicFixnum 911s it should behave like atomic_fixnum 911s construction 911s sets the initial value 911s defaults the initial value to zero 911s raises an exception if the initial value is not a Fixnum 911s #value 911s returns the current value 911s #value= 911s sets the #value to the given `Fixnum` 911s returns the new value 911s raises and exception if the value is not a `Fixnum` 911s #increment 911s increases the value by one when no argument is given 911s returns the new value when no argument is given 911s increases the value by the given argument 911s returns the new value the given argument 911s is aliased as #up 911s #decrement 911s decreases the value by one when no argument is given 911s returns the new value when no argument is given 911s decreases the value by the given argument 911s returns the new value the given argument 911s is aliased as #down 911s #compare_and_set 911s returns false if the value is not found 911s returns true if the value is found 911s sets if the value is found 911s does not set if the value is not found 911s #update 911s passes the current value to the block 911s atomically sets the value to the return value from the block 911s returns the new value 911s construction 911s raises an exception if the initial value is too big 911s raises an exception if the initial value is too small 911s instance methods 911s value is synchronized 911s value= is synchronized 911s increment is synchronized 911s decrement is synchronized 911s compare_and_set is synchronized 911s 911s Concurrent::JavaAtomicFixnum 911s it should behave like atomic_fixnum 911s construction 911s sets the initial value 911s defaults the initial value to zero 911s raises an exception if the initial value is not a Fixnum 911s #value 911s returns the current value 911s #value= 911s sets the #value to the given `Fixnum` 911s returns the new value 911s raises and exception if the value is not a `Fixnum` 911s #increment 911s increases the value by one when no argument is given 911s returns the new value when no argument is given 911s increases the value by the given argument 911s returns the new value the given argument 911s is aliased as #up 911s #decrement 911s decreases the value by one when no argument is given 911s returns the new value when no argument is given 911s decreases the value by the given argument 911s returns the new value the given argument 911s is aliased as #down 911s #compare_and_set 911s returns false if the value is not found 911s returns true if the value is found 911s sets if the value is found 911s does not set if the value is not found 911s #update 911s passes the current value to the block 911s atomically sets the value to the return value from the block 911s returns the new value 911s 911s Concurrent::AtomicFixnum 911s does not load the C extension 911s inherits from JavaAtomicFixnum 911s #to_s and #inspect 911s includes the value 911s 911s Concurrent::AtomicMarkableReference 911s .initialize 911s constructs the object 911s has sane defaults 911s #set 911s sets the value and mark 911s #try_update! 911s updates the value and mark 911s raises ConcurrentUpdateError when attempting to set inside of block 911s #try_update 911s updates the value and mark 911s returns nil when attempting to set inside of block 911s #update 911s updates the value and mark 911s retries until update succeeds 911s #compare_and_set 911s when objects have the same identity 911s sets the value and mark 911s when objects have the different identity 911s it does not set the value or mark 911s when comparing Numeric objects 911s Non-idepotent Float 911s sets the value and mark 911s BigNum 911s sets the value and mark 911s Rational 911s sets the value and mark 911s Rational 911s is successful 911s 911s Concurrent::AtomicReference 911s it should behave like atomic_reference 911s test_construct 911s test_value 911s test_update 911s test_try_update 911s test_try_update_bang 911s test_swap 911s test_try_update_fails 911s test_try_update_bang_fails 911s test_update_retries 911s test_numeric_cas 911s #to_s and #inspect 911s includes the value 911s 911s Concurrent::MutexAtomicReference 911s it should behave like atomic_reference 911s test_construct 911s test_value 911s test_update 911s test_try_update 911s test_try_update_bang 911s test_swap 911s test_try_update_fails 911s test_try_update_bang_fails 911s test_update_retries 911s test_numeric_cas 911s 911s Concurrent::JavaAtomicReference 911s it should behave like atomic_reference 911s test_construct 911s test_value 911s test_update 911s test_try_update 911s test_try_update_bang 911s test_swap 911s test_try_update_fails 911s test_try_update_bang_fails 911s test_update_retries 911s test_numeric_cas 911s 911s Concurrent::AtomicReference 911s does not load the C extension 911s inherits from JavaAtomicReference 911s 911s Concurrent::MutexCountDownLatch 911s it should behave like count_down_latch 911s #initialize 911s raises an exception if the initial count is less than zero 911s raises an exception if the initial count is not an integer 911s defaults the count to 1 911s #count 911s should be the value passed to the constructor 911s should be decreased after every count down 911s should not go below zero 911s #wait 911s blocks indefinitely, and is kill-able 911s blocks indefinitely with timeout, and is kill-able 911s count set to zero 911s should return true immediately 911s should return true immediately with timeout 911s non zero count 912s should block thread until counter is set to zero 912s should block until counter is set to zero with timeout 913s should block until timeout and return false when counter is not set to zero 913s spurious wake ups 913s should resist to spurious wake ups without timeout 914s should resist to spurious wake ups with timeout 914s 914s Concurrent::JavaCountDownLatch 914s it should behave like count_down_latch 914s #initialize 914s raises an exception if the initial count is less than zero 914s raises an exception if the initial count is not an integer 914s defaults the count to 1 914s #count 914s should be the value passed to the constructor 914s should be decreased after every count down 914s should not go below zero 914s #wait 914s blocks indefinitely, and is kill-able 914s blocks indefinitely with timeout, and is kill-able 914s count set to zero 914s should return true immediately 914s should return true immediately with timeout 914s non zero count 914s should block thread until counter is set to zero 915s should block until counter is set to zero with timeout 915s should block until timeout and return false when counter is not set to zero 915s 915s Concurrent::CountDownLatch 915s inherits from JavaCountDownLatch 915s 915s Concurrent::CyclicBarrier 915s #initialize 915s raises an exception if the initial count is less than 1 915s raises an exception if the initial count is not an integer 915s #parties 915s should be the value passed to the constructor 915s #number_waiting 915s without any waiting thread 915s should be equal to zero 915s with waiting threads 915s should be equal to the waiting threads count 915s #broken? 915s should not be broken when created 915s should not be broken when reset is called without waiting thread 915s reset 916s should release all waiting threads 916s #wait 916s without timeout 916s should block the thread 916s should release all threads when their number matches the desired one 916s returns true when released 916s executes the block once 916s can be reused 917s return false if barrier has been reset 917s with timeout 917s timeout not expiring 917s should block the thread 917s should release all threads when their number matches the desired one 917s returns true when released 917s timeout expiring 917s returns false 918s breaks the barrier and release all other threads 918s breaks the barrier and release all other threads 2 918s does not execute the block on timeout 918s #broken barrier 918s should not accept new threads 918s can be reset 918s spurious wake ups 919s should resist to spurious wake ups without timeout 919s should resist to spurious wake ups with timeout 919s 919s Concurrent::Event 919s #initialize 919s sets the state to unset 919s #set? 919s returns true when the event has been set 919s returns false if the event is unset 919s #set 919s triggers the event 919s sets the state to set 919s #try? 919s triggers the event if not already set 919s returns true if not previously set 919s returns false if previously set 919s #reset 919s does not change the state of an unset event 920s does not trigger an unset event 920s returns true when called on an unset event 920s sets the state of a set event to unset 920s returns true when called on a set event 920s #wait 920s returns immediately when the event has been set 920s returns true once the event is set 920s blocks indefinitely when the timer is nil 920s blocks indefinitely 920s stops waiting when the timer expires 921s returns false when the timer expires 922s triggers multiple waiting threads 922s behaves appropriately if wait begins while #set is processing 922s spurious wake ups 922s should resist to spurious wake ups without timeout 923s should resist spurious wake ups with timeout 923s 923s Concurrent::FiberLocalVar 923s #initialize 923s can set an initial value 923s sets nil as a default initial value 923s sets the same initial value for all fibers 923s can set a block to be called to get the initial value 923s when attempting to set both an initial value and a block 923s is expected to raise ArgumentError 923s #value 923s returns the current value 923s returns the value after modification 923s when using a block to initialize the value 923s calls the block to initialize the value 923s sets the block return value as the current value 923s calls the block to initialize the value for each fiber 923s #value= 923s sets a new value 923s returns the new value 923s does not modify the initial value for other fibers 923s does not modify the value for other fibers 923s 923s Concurrent::FiberLocalVar 923s uses FiberLocalVar if Mutex is per Fiber 923s 923s Concurrent::ReadWriteLock 923s #write_locked? 923s returns true when the write lock is held 923s returns false when the write lock is not held 923s returns false when the write lock is not held but there are readers 923s #has_waiters? 923s returns false when no locks are held 923s returns false when there are readers but no writers 923s returns true when the write lock is held and there are waiting readers 923s returns true when the write lock is held and there are waiting writers 923s #with_read_lock 923s acquires the lock 923s returns the value of the block operation 923s releases the lock 923s raises an exception if no block is given 923s raises an exception if maximum lock limit is exceeded 923s releases the lock when an exception is raised 923s #with_write_lock 923s acquires the lock 923s returns the value of the block operation 923s releases the lock 923s raises an exception if no block is given 924s raises an exception if maximum lock limit is exceeded 924s releases the lock when an exception is raised 924s #acquire_read_lock 924s increments the lock count 925s waits for a running writer to finish 925s does not wait for any running readers 925s raises an exception if maximum lock limit is exceeded 925s returns true if the lock is acquired 925s #release_read_lock 925s decrements the counter 926s unblocks waiting writers 926s returns true if the lock is released 926s returns true if the lock was never set 926s #acquire_write_lock 926s increments the lock count 926s waits for a running writer to finish 926s waits for a running reader to finish 926s raises an exception if maximum lock limit is exceeded 926s returns true if the lock is acquired 926s #release_write_lock 926s decrements the counter 926s unblocks waiting readers 926s unblocks waiting writers 926s returns true if the lock is released 926s returns true if the lock was never set 926s 926s Concurrent::ReentrantReadWriteLock 930s can survive a torture test 930s read lock 930s allows other read locks to be acquired at the same time 930s can be acquired more than once 930s can be acquired while holding a write lock 930s can be upgraded to a write lock 930s can be upgraded to a write lock when read lock acquired more than once 930s cannot be released when not held 930s cannot be released more times than it was taken 930s wakes up waiting writers when the last read lock is released 930s write lock 930s cannot be acquired when another thread holds a write lock 930s cannot be acquired when another thread holds a read lock 930s can be acquired more than once 930s can be acquired while holding a read lock 930s can be downgraded to a read lock 930s cannot be released when not held 930s cannot be released more times than it was taken 930s wakes up waiting readers when the write lock is released 931s wakes up waiting writers when the write lock is released 931s #with_read_lock 931s acquires read block before yielding, then releases it 931s releases read lock if an exception is raised in block 931s #with_write_lock 931s acquires write block before yielding, then releases it 931s releases write lock if an exception is raised in block 931s #try_read_lock 931s returns false immediately if read lock cannot be obtained 931s acquires read lock and returns true if it can do so without blocking 931s can acquire a read lock if a read lock is already held 931s can acquire a read lock if a write lock is already held 931s #try_write_lock 931s returns false immediately if write lock cannot be obtained 931s acquires write lock and returns true if it can do so without blocking 931s can acquire a write lock if a read lock is already held 931s can acquire a write lock if a write lock is already held 931s 931s Concurrent::ReentrantReadWriteLock 931s can acquire locks in separate fibers 931s 931s Concurrent::MutexSemaphore 931s it should behave like semaphore 931s #initialize 931s raises an exception if the initial count is not an integer 931s when initializing with 0 931s is expected not to equal nil 931s when initializing with -1 931s is expected to eq 0 931s #acquire 931s without block 931s permits available 931s should return nil immediately 931s not enough permits available 932s should block thread until permits are available 932s when acquiring negative permits 932s raises ArgumentError 932s with block 932s permits available 932s should acquire permits, run the block, release permits, and return block return value 932s if the block raises, the permit is still released 932s not enough permits available 932s should block thread until permits are available 932s when acquiring negative permits 932s raises ArgumentError 932s #drain_permits 932s drains all available permits 932s drains nothing in no permits are available 932s #try_acquire 932s without block 932s without timeout 932s acquires immediately if permits are available 932s returns false immediately in no permits are available 932s when trying to acquire negative permits 932s is expected to raise ArgumentError 932s with timeout 932s acquires immediately if permits are available 932s acquires when permits are available within timeout 933s returns false on timeout 933s with block 933s without timeout 933s acquires immediately if permits are available and returns block return value 933s releases permit if block raises 933s returns false immediately in no permits are available 933s when trying to acquire negative permits 935s is expected not to change `semaphore.available_permits` 935s with timeout 935s acquires immediately if permits are available, and returns block return value 935s releases permits if block raises 935s acquires when permits are available within timeout, and returns block return value 935s returns false on timeout 935s #reduce_permits 935s raises ArgumentError if reducing by negative number 935s reduces permits below zero 935s reduces permits 935s reduces zero permits 935s #release 935s increases the number of available permits by one 935s when a number of permits is specified 935s increases the number of available permits by the specified value 935s when permits is set to negative number 935s is expected to raise ArgumentError 935s 935s Concurrent::JavaSemaphore 935s it should behave like semaphore 935s #initialize 935s raises an exception if the initial count is not an integer 935s when initializing with 0 935s is expected not to equal nil 935s when initializing with -1 935s is expected to eq 0 935s #acquire 935s without block 935s permits available 935s should return nil immediately 935s not enough permits available 936s should block thread until permits are available 936s when acquiring negative permits 936s raises ArgumentError 936s with block 936s permits available 936s should acquire permits, run the block, release permits, and return block return value 936s if the block raises, the permit is still released 936s not enough permits available 936s should block thread until permits are available 936s when acquiring negative permits 936s raises ArgumentError 936s #drain_permits 936s drains all available permits 936s drains nothing in no permits are available 936s #try_acquire 936s without block 936s without timeout 936s acquires immediately if permits are available 936s returns false immediately in no permits are available 936s when trying to acquire negative permits 936s is expected to raise ArgumentError 936s with timeout 936s acquires immediately if permits are available 936s acquires when permits are available within timeout 936s returns false on timeout 936s with block 936s without timeout 936s acquires immediately if permits are available and returns block return value 936s releases permit if block raises 936s returns false immediately in no permits are available 936s when trying to acquire negative permits 936s is expected not to change `semaphore.available_permits` 936s with timeout 936s acquires immediately if permits are available, and returns block return value 936s releases permits if block raises 937s acquires when permits are available within timeout, and returns block return value 937s returns false on timeout 937s #reduce_permits 937s raises ArgumentError if reducing by negative number 937s reduces permits below zero 937s reduces permits 937s reduces zero permits 937s #release 937s increases the number of available permits by one 937s when a number of permits is specified 937s increases the number of available permits by the specified value 937s when permits is set to negative number 937s is expected to raise ArgumentError 937s 937s Concurrent::Semaphore 937s inherits from JavaSemaphore 937s 937s Concurrent::ThreadLocalVar 937s #initialize 937s can set an initial value 937s sets nil as a default initial value 937s sets the same initial value for all threads 937s can set a block to be called to get the initial value 937s when attempting to set both an initial value and a block 937s is expected to raise ArgumentError 937s #value 937s returns the current value 937s returns the value after modification 937s when using a block to initialize the value 937s calls the block to initialize the value 937s sets the block return value as the current value 937s calls the block to initialize the value for each thread 937s #value= 937s sets a new value 937s returns the new value 937s does not modify the initial value for other threads 937s does not modify the value for other threads 937s 937s Concurrent 937s Cancellation 937s basic 937s is expected to be falsey 937s is expected to be truthy 937s is expected to be falsey 937s is expected to eq 2 937s #join 937s 937s Concurrent::Channel::Buffer::Base 937s is expected to eq 0 937s is expected to be blocking 937s is expected to raise NotImplementedError 937s is expected to raise NotImplementedError 938s is expected to raise NotImplementedError 938s is expected to raise NotImplementedError 938s is expected to raise NotImplementedError 938s is expected to raise NotImplementedError 938s is expected to raise NotImplementedError 938s is expected to raise NotImplementedError 938s is expected not to be closed 938s is expected to be closed 938s 938s Concurrent::Channel::Buffer::Buffered 938s is expected to be blocking 938s behaves like channel_buffered_buffer 938s behaves like channel_buffer 938s is expected to respond to #blocking? 938s #capacity 938s is expected to be >= 0 938s #size 938s returns zero upon initialization 938s #empty? 938s returns true when empty 938s #full? 938s returns false when not full 938s #put 938s does not enqueue the item when closed 938s returns false when closed 938s #offer 938s returns true on success 938s does not enqueue the item when closed 938s returns false immediately when closed 938s #take 938s returns Concurrent::NULL when closed 938s #next 938s returns Concurrent::NULL, false when closed 938s #poll 938s returns the next item immediately if available 938s returns Concurrent::NULL immediately if no item is available 938s returns Concurrent::NULL when closed 938s #close 938s sets #closed? to false 938s returns true when not previously closed 938s returns false when already closed 938s #closed? 938s returns true when new 938s returns false after #close 938s #initialize 938s raises an exception if size <= 0 938s #capacity 938s returns the maximum capacity of the buffer 938s #size 938s is 0 when first created 938s returns the number of items in the buffer 938s is 0 when there are taking threads but no putting threads 938s #empty? 938s returns true when empty 938s #put 938s enqueues the item when size > 0, not full, and not closed 938s returns true when the item is put 938s #offer 938s enqueues the item immediately when not full and not closed 938s #take 938s returns the first item when not empty 939s blocks until not empty 939s returns Concurrent::NULL when closed and empty 939s #next 939s blocks until not empty 939s returns , true when there is only one item and not closed 939s returns , true when there are multiple items 939s returns , true when closed and last item 939s returns Concurrent::NULL, false when closed and no items remain 940s #full? 940s returns true when at max capacity 940s #put 940s blocks when at capacity until a thread is ready to take 940s #offer 940s returns false immediately when full 940s 940s Concurrent::Channel::Buffer::Dropping 940s is expected not to be blocking 940s behaves like channel_buffered_buffer 940s behaves like channel_buffer 940s is expected to respond to #blocking? 940s #capacity 940s is expected to be >= 0 940s #size 940s returns zero upon initialization 940s #empty? 940s returns true when empty 940s #full? 940s returns false when not full 940s #put 940s does not enqueue the item when closed 940s returns false when closed 940s #offer 940s returns true on success 940s does not enqueue the item when closed 940s returns false immediately when closed 940s #take 940s returns Concurrent::NULL when closed 940s #next 940s returns Concurrent::NULL, false when closed 940s #poll 940s returns the next item immediately if available 940s returns Concurrent::NULL immediately if no item is available 940s returns Concurrent::NULL when closed 940s #close 940s sets #closed? to false 940s returns true when not previously closed 940s returns false when already closed 940s #closed? 940s returns true when new 940s returns false after #close 940s #initialize 940s raises an exception if size <= 0 940s #capacity 940s returns the maximum capacity of the buffer 940s #size 940s is 0 when first created 940s returns the number of items in the buffer 941s is 0 when there are taking threads but no putting threads 941s #empty? 941s returns true when empty 941s #put 941s enqueues the item when size > 0, not full, and not closed 941s returns true when the item is put 941s #offer 941s enqueues the item immediately when not full and not closed 941s #take 941s returns the first item when not empty 941s blocks until not empty 941s returns Concurrent::NULL when closed and empty 941s #next 941s blocks until not empty 941s returns , true when there is only one item and not closed 941s returns , true when there are multiple items 941s returns , true when closed and last item 941s returns Concurrent::NULL, false when closed and no items remain 941s #put 941s does not block when full 941s drops the last value when full 941s #offer 941s returns true immediately when full 941s drops the last value when full 941s 941s Concurrent::Channel::Buffer::Sliding 941s is expected not to be blocking 941s behaves like channel_buffered_buffer 941s behaves like channel_buffer 941s is expected to respond to #blocking? 941s #capacity 941s is expected to be >= 0 941s #size 941s returns zero upon initialization 941s #empty? 941s returns true when empty 941s #full? 941s returns false when not full 941s #put 941s does not enqueue the item when closed 941s returns false when closed 941s #offer 941s returns true on success 942s does not enqueue the item when closed 942s returns false immediately when closed 942s #take 942s returns Concurrent::NULL when closed 942s #next 942s returns Concurrent::NULL, false when closed 942s #poll 942s returns the next item immediately if available 942s returns Concurrent::NULL immediately if no item is available 942s returns Concurrent::NULL when closed 942s #close 942s sets #closed? to false 942s returns true when not previously closed 942s returns false when already closed 942s #closed? 942s returns true when new 942s returns false after #close 942s #initialize 942s raises an exception if size <= 0 942s #capacity 942s returns the maximum capacity of the buffer 942s #size 942s is 0 when first created 942s returns the number of items in the buffer 942s is 0 when there are taking threads but no putting threads 942s #empty? 942s returns true when empty 942s #put 942s enqueues the item when size > 0, not full, and not closed 942s returns true when the item is put 942s #offer 942s enqueues the item immediately when not full and not closed 942s #take 942s returns the first item when not empty 942s blocks until not empty 942s returns Concurrent::NULL when closed and empty 942s #next 943s blocks until not empty 943s returns , true when there is only one item and not closed 943s returns , true when there are multiple items 943s returns , true when closed and last item 943s returns Concurrent::NULL, false when closed and no items remain 943s #put 943s does not block when full 943s drops the first value when full 943s #offer 943s returns true immediately when full 943s drops the first value when full 943s 943s Concurrent::Channel::Buffer::Ticker 943s behaves like channel_timing_buffer 943s is expected to be blocking 943s #capacity 943s is expected to eq 1 943s #size 943s is expected to eq 0 943s #empty? 943s is expected not to be empty 943s #full? 943s is expected to be full 943s #put 943s is expected to equal false 943s #offer 943s is expected to equal false 943s #take 943s blocks when the timer is not ready 943s returns a Tick 944s triggers after the specified time interval 944s returns Concurrent::NULL when closed 944s #poll 944s returns Concurrent::NULL when the timer is not ready 944s returns a Tick 944s returns Concurrent::NULL when closed 944s triggers after the specified time interval 944s #next 944s blocks when the timer is not ready 945s returns a Tick when open 945s returns Concurrent::NULL, false when closed 945s triggers after the specified time interval 945s #close 945s sets #closed? to false 945s returns true when not previously closed 945s returns false when already closed 945s #closed? 945s returns true when new 945s returns false after #close 945s #take 945s triggers until closed 946s returns Concurrent::NULL when closed after trigger 946s #poll 946s triggers until closed 946s #next 946s triggers until closed 947s returns true for more while open 947s returns false for more once closed 947s 947s Concurrent::Channel::Buffer::Timer 947s behaves like channel_timing_buffer 947s is expected to be blocking 947s #capacity 947s is expected to eq 1 947s #size 947s is expected to eq 0 947s #empty? 947s is expected not to be empty 947s #full? 947s is expected to be full 947s #put 947s is expected to equal false 947s #offer 947s is expected to equal false 947s #take 947s blocks when the timer is not ready 947s returns a Tick 947s triggers after the specified time interval 948s returns Concurrent::NULL when closed 948s #poll 948s returns Concurrent::NULL when the timer is not ready 948s returns a Tick 948s returns Concurrent::NULL when closed 948s triggers after the specified time interval 948s #next 949s blocks when the timer is not ready 949s returns a Tick when open 949s returns Concurrent::NULL, false when closed 949s triggers after the specified time interval 949s #close 950s sets #closed? to false 950s returns true when not previously closed 950s returns false when already closed 950s #closed? 950s returns true when new 950s returns false after #close 950s #take 950s closes automatically on first take 950s #poll 950s closes automatically on first take 950s #next 950s closes automatically on first take 950s returns false for more 950s 950s Concurrent::Channel::Buffer::Unbuffered 950s is expected to be blocking 950s is expected to eq 1 950s behaves like channel_buffer 950s is expected to respond to #blocking? 950s #capacity 950s is expected to be >= 0 950s #size 950s returns zero upon initialization 950s #empty? 950s returns true when empty 950s #full? 950s returns false when not full 950s #put 950s does not enqueue the item when closed 950s returns false when closed 950s #offer 951s returns true on success 951s does not enqueue the item when closed 951s returns false immediately when closed 951s #take 951s returns Concurrent::NULL when closed 951s #next 951s returns Concurrent::NULL, false when closed 951s #poll 951s returns the next item immediately if available 951s returns Concurrent::NULL immediately if no item is available 951s returns Concurrent::NULL when closed 951s #close 951s sets #closed? to false 951s returns true when not previously closed 951s returns false when already closed 951s #closed? 951s returns true when new 951s returns false after #close 951s #size 951s is 0 when first created 951s is 1 when a putting thread is waiting 951s is 0 when there are taking threads but no putting threads 951s #empty? 951s is true when there are no putting threads 951s is false when there are waiting putting threads 951s #full? 951s is false when there are no putting threads 951s is false when there are waiting putting threads 951s #put 951s does not enqueue the item when closed 951s returns false when closed 951s blocks until a thread is ready to take 952s delivers when closed after put starts 952s #offer 952s returns false immediately when a put in in progress 952s gives the item to a waiting taker and returns true 952s #take 952s returns false immediately when a put in in progress 952s gives the item to a waiting taker and returns true 952s #next 952s blocks when no putting and returns , true when one arrives 953s returns , true when there are multiple putting 954s returns , true when closed and last item 954s returns Concurrent::NULL, false when closed and no items remain 954s 954s channel integration tests 954s A Tour of Go 954s channels.rb 956s buffered-channels.rb 957s range-and-close.rb 958s select.rb 958s default-selection.rb (PENDING: flaky) 958s Go By Example 959s channels.rb 960s channel-buffering.rb 963s channel-synchronization.rb 964s channel-directions.rb 967s select.rb 971s timeouts.rb 972s non-blocking-channel-operations.rb 973s closing-channels.rb 974s range-over-channels.rb 977s timers.rb 980s ticker.rb 985s worker-pools.rb 988s rate-limiting.rb 988s 988s Concurrent::Channel::Tick 988s initializes to current time when no argument given 988s initializes to the given monotonic time 988s #utc returns a Time object in UTC 988s #epoch returns the UTC time as epoch seconds 989s #to_s formats as a time 989s comparison 989s correctly compares to a Numeric (monotonic) 989s correctly compares to a Time 989s correctly compares to a Tick 989s 989s Concurrent::Channel 989s initialization 989s raises an exception when the :buffer is invalid 989s is :unbuffered when neither :buffer nore :capacity is given 989s is :unbuffered when :unbuffered is given 990s is :unbuffered when :buffered and capacity: 0 990s raises an exception when both :unbuffered and :capacity are given 990s is :buffered when :capacity > 0 and no :buffer given 990s is :buffered when :buffered given 990s raises an exception when :buffered given without :capacity 990s raises an exception when :buffered and :capacity < 0 990s is :dropping when :dropping and :capacity > 0 990s raises an exception when :dropping given without :capacity 990s raises an exception when :dropping and :capacity < 1 990s is :sliding when :sliding and :capacity > 0 990s raises an exception when :sliding given without :capacity 990s raises an exception when :sliding and :capacity < 1 990s uses the given buffer 990s factories 990s is expected to receive new(10) 1 time 990s is expected to receive new(10) 1 time 990s #put 990s returns true on success 990s returns false on failure 990s rejects when the validator returns false 990s rejects when the validator raises an exception 990s rejects nil 990s put! 990s returns true on success 990s raises an exception on failure 990s rejects when the validator returns false 990s rejects when the validator raises an exception 990s rejects nil 990s put? 990s returns a just Maybe on success 990s returns a nothing Maybe on failure 990s rejects when the validator returns false 990s rejects when the validator raises an exception 990s accepts nil 990s #offer 990s returns true on success 990s returns false on failure 990s rejects when the validator returns false 990s rejects when the validator raises an exception 990s rejects nil 990s offer! 990s returns true on success 990s raises an exception on failure 990s rejects when the validator returns false 990s rejects when the validator raises an exception 990s rejects nil 990s offer? 990s returns a just Maybe on success 990s returns a nothing Maybe on failure 990s rejects when the validator returns false 990s rejects when the validator raises an exception 990s accepts nil 990s #take 990s takes the next item when not empty 990s returns nil on failure 990s #take! 990s takes the next item when not empty 990s raises an exception on failure 990s #take? 990s returns a just Maybe on success 990s returns a nothing Maybe on failure 990s #next 990s returns , true when there is one item 990s returns , true when there are multiple items 990s returns nil, false when empty and closed 990s returns , true when closed and last item 990s returns nil, false when closed and no items remain 990s #next? 990s returns a just Maybe and true when there is one item 990s returns a just Maybe, true when there are multiple items 990s returns a nothing Maybe and false on failure 990s #poll 990s returns the next item immediately if available 990s returns nil immediately if no item is available 990s returns nil on failure 990s #poll! 990s returns the next item immediately if available 990s raises an exception immediately if no item is available 990s raises an exception on failure 990s #poll? 990s returns a just Maybe immediately if available 990s returns a nothing Maybe immediately if no item is available 991s returns a nothing Maybe on failure 991s .each 991s raises and exception when no block is given 991s iterates until the channel is closed 991s goroutines 991s .go 991s raises an exception when no block is given 991s is expected to receive post(1, 2, 3) 1 time 991s .go_via 991s raises an exception when no block is given 991s is expected to receive post(1, 2, 3) 1 time 991s .go_loop 991s raises an exception when no block is given 991s loops until the block returns false 991s .go_loop_via 991s raises an exception when no block is given 991s loops until the block returns false 991s select 991s raises an exception when no block is given 991s passes a selector to the block 991s is expected to be truthy 991s 991s Concurrent::Collection::CopyOnNotifyObserverSet 991s behaves like an observer set 991s #add_observer 991s with arguments 991s should return the observer 991s with a block 991s should return the observer based on a block 991s #notify_observers 991s should return the observer set 991s with a single observer 991s should update a registered observer without arguments 991s should update a registered observer with arguments 991s should notify an observer using the chosen method 991s should notify an observer once using the last added method 991s should notify an observer from a block 991s can be called many times 991s with many observers 991s should notify all observer using the chosen method 991s with a block 991s calls the block once for every observer 991s passes the block return value to the update method 991s accepts blocks returning a single value 991s accepts block return values that include arrays 991s raises an exception if given both arguments and a block 991s #count_observers 991s should be zero after initialization 991s should be 1 after the first observer is added 991s should be 1 if the same observer is added many times 991s should be equal to the number of unique observers 991s #delete_observer 991s should not notify a deleted observer 991s can delete a non added observer 991s should return the observer 991s #delete_observers 991s should remove all observers 991s should return the observer set 991s #notify_and_delete_observers 991s should notify all observers 991s should clear observers 991s can be called many times without any other notification 991s should return the observer set 991s 991s Concurrent::Collection::CopyOnWriteObserverSet 991s behaves like an observer set 991s #add_observer 991s with arguments 991s should return the observer 991s with a block 991s should return the observer based on a block 991s #notify_observers 991s should return the observer set 991s with a single observer 991s should update a registered observer without arguments 991s should update a registered observer with arguments 991s should notify an observer using the chosen method 991s should notify an observer once using the last added method 992s should notify an observer from a block 992s can be called many times 992s with many observers 992s should notify all observer using the chosen method 992s with a block 992s calls the block once for every observer 992s passes the block return value to the update method 992s accepts blocks returning a single value 992s accepts block return values that include arrays 992s raises an exception if given both arguments and a block 992s #count_observers 992s should be zero after initialization 992s should be 1 after the first observer is added 992s should be 1 if the same observer is added many times 992s should be equal to the number of unique observers 992s #delete_observer 992s should not notify a deleted observer 992s can delete a non added observer 992s should return the observer 992s #delete_observers 992s should remove all observers 992s should return the observer set 992s #notify_and_delete_observers 992s should notify all observers 992s should clear observers 992s can be called many times without any other notification 992s should return the observer set 992s 992s Concurrent::Collection::RubyNonConcurrentPriorityQueue 992s it should behave like priority_queue 992s #initialize 992s sorts from high to low when :order is :max 992s sorts from high to low when :order is :high 992s sorts from low to high when :order is :min 992s sorts from low to high when :order is :low 992s sorts from high to low by default 992s #clear 992s removes all items from a populated queue 992s has no effect on an empty queue 992s is expected to be truthy 992s #delete 992s deletes the requested item when found 992s deletes the requested item when it is the first element 992s deletes the requested item when it is the last element 992s deletes multiple matching items when present 992s returns true when found 992s returns false when not found 992s returns false when called on an empty queue 992s deletes the requested item when it is "smaller" than the last element 992s #empty? 992s returns true for an empty queue 992s returns false for a populated queue 992s #include? 992s returns true if the item is found 992s returns false if the item is not found 992s returns false when the queue is empty 992s is aliased as #has_priority? 992s #length 992s returns the length of a populated queue 992s returns zero when the queue is empty 992s is aliased as #size 992s #peek 992s returns the item at the head of the queue 992s does not remove the item from the queue 992s returns nil when the queue is empty 992s #pop 992s returns the item at the head of the queue 992s removes the item from the queue 992s returns nil when the queue is empty 992s returns nil when called multiple times while empty 992s is aliased as #deq 992s is aliased as #shift 992s #push 992s raises an exception when attempting to enqueue nil 992s adds the item to the queue 992s sorts the new item in priority order 992s arbitrarily orders equal items with respect to each other 992s is expected to be truthy 992s is aliased as << 992s is aliased as enq 992s .from_list 992s creates an empty queue from an empty list 992s creates a sorted, populated queue from an Array 992s creates a sorted, populated queue from a Hash 992s 992s Concurrent::Collection::JavaNonConcurrentPriorityQueue 992s it should behave like priority_queue 992s #initialize 992s sorts from high to low when :order is :max 992s sorts from high to low when :order is :high 992s sorts from low to high when :order is :min 992s sorts from low to high when :order is :low 992s sorts from high to low by default 992s #clear 992s removes all items from a populated queue 992s has no effect on an empty queue 992s is expected to be truthy 992s #delete 992s deletes the requested item when found 992s deletes the requested item when it is the first element 992s deletes the requested item when it is the last element 992s deletes multiple matching items when present 992s returns true when found 992s returns false when not found 992s returns false when called on an empty queue 993s deletes the requested item when it is "smaller" than the last element 993s #empty? 993s returns true for an empty queue 993s returns false for a populated queue 993s #include? 993s returns true if the item is found 993s returns false if the item is not found 993s returns false when the queue is empty 993s is aliased as #has_priority? 993s #length 993s returns the length of a populated queue 993s returns zero when the queue is empty 993s is aliased as #size 993s #peek 993s returns the item at the head of the queue 993s does not remove the item from the queue 993s returns nil when the queue is empty 993s #pop 993s returns the item at the head of the queue 993s removes the item from the queue 993s returns nil when the queue is empty 993s returns nil when called multiple times while empty 993s is aliased as #deq 993s is aliased as #shift 993s #push 993s raises an exception when attempting to enqueue nil 993s adds the item to the queue 993s sorts the new item in priority order 993s arbitrarily orders equal items with respect to each other 993s is expected to be truthy 993s is aliased as << 993s is aliased as enq 993s .from_list 993s creates an empty queue from an empty list 993s creates a sorted, populated queue from an Array 993s creates a sorted, populated queue from a Hash 993s 993s Concurrent::Collection::NonConcurrentPriorityQueue 993s inherits from JavaNonConcurrentPriorityQueue 993s 993s Concurrent::Concern::Obligation 993s unscheduled 993s it should behave like incomplete 993s should be not completed 993s should be incomplete 993s #value 993s should return immediately if timeout is zero 993s should block on the event if timeout is not set 993s should block on the event if timeout is not zero 993s #value! 993s should return immediately if timeout is zero 993s should block on the event if timeout is not set 993s should block on the event if timeout is not zero 993s #no_error! 993s should return immediately if timeout is zero 993s should block on the event if timeout is not set 993s should block on the event if timeout is not zero 993s pending 993s it should behave like incomplete 993s should be not completed 993s should be incomplete 993s #value 993s should return immediately if timeout is zero 993s should block on the event if timeout is not set 993s should block on the event if timeout is not zero 993s #value! 993s should return immediately if timeout is zero 993s should block on the event if timeout is not set 993s should block on the event if timeout is not zero 993s #no_error! 993s should return immediately if timeout is zero 993s should block on the event if timeout is not set 993s should block on the event if timeout is not zero 993s fulfilled 993s should be completed 993s should be not incomplete 993s #value 993s should return immediately if timeout is zero 993s should return immediately if timeout is not set 993s should return immediately if timeout is not zero 993s #value! 993s should return immediately if timeout is zero 993s should return immediately if timeout is not set 993s should return immediately if timeout is not zero 993s #no_error! 993s should return immediately if timeout is zero 994s should return immediately if timeout is not set 994s should return immediately if timeout is not zero 994s rejected 994s should be completed 994s should be not incomplete 994s #value 994s should return immediately if timeout is zero 994s should return immediately if timeout is not set 994s should return immediately if timeout is not zero 994s #value! 994s should return immediately if timeout is zero 994s should return immediately if timeout is not set 994s should return immediately if timeout is not zero 994s #no_error! 994s should return immediately if timeout is zero 994s should return immediately if timeout is not set 994s should return immediately if timeout is not zero 994s #compare_and_set_state 994s unexpected state 994s should return false if state is not the expected one 994s should not change the state if current is not the expected one 994s expected state 994s should return true if state is the expected one 994s should not change the state if current is not the expected one 994s #if_state 994s should raise without block 994s should return false if state is not expected 994s should the block value if state is expected 994s should execute the block within the mutex 994s #get_arguments_from 994s returns an empty array when opts is not given 994s returns an empty array when opts is an empty hash 994s returns an empty array when there is no :args key 994s returns an empty array when the :args key has a nil value 994s returns a one-element array when the :args key has a non-array value 994s returns an array when when the :args key has an array value 994s returns the given array when the :args key has a complex array value 994s 994s Concurrent::Concern::Observable 994s does not initialize set by by default 994s uses the given observer set 994s delegates #add_observer 994s delegates #with_observer 994s delegates #delete_observer 994s delegates #delete_observers 994s delegates #count_observers 994s 994s configuration 994s global executors 994s creates a global timer set 994s creates a global fast executor 994s creates a global io executor 994s 994s dataflow 994s raises an exception when no block given 994s #dataflow uses the global fast executor 994s #dataflow_with uses the given executor 994s #dataflow_with raises an exception when no executor given 994s accepts zero or more dependencies 995s accepts uncompleted dependencies 995s accepts completed dependencies 995s raises an exception if any dependencies are not IVars 995s doesn't raise exceptions from dependencies, unless called with ! 995s returns a Future 995s does not schedule the Future 995s if no dependencies are completed 995s if one dependency of two is completed 995s schedules the Future when all dependencies are available 995s if there is just one 995s if there is more than one 995s counts already executed dependencies 995s if there is just one 995s if there is more than one 995s passes the values of dependencies into the block 995s if there is just one 995s if there is more than one 995s module function 996s can be called as Concurrent.dataflow and Concurrent.dataflow_with 996s 996s Concurrent::Delay 996s behavior 996s it should behave like dereferenceable 996s defaults :dup_on_deref to false 996s calls #dup when the :dup_on_deref option is true 996s defaults :freeze_on_deref to false 996s calls #freeze when the :freeze_on_deref option is true 996s defaults :copy_on_deref to nil 996s calls the block when the :copy_on_deref option is passed a proc 996s calls the :copy block first followed by #dup followed by #freeze 996s does not call #dup when #dup_on_deref is set and the value is nil 996s does not call #freeze when #freeze_on_deref is set and the value is nil 996s does not call the #copy_on_deref block when the value is nil 996s supports dereference flags with observers 996s it should behave like obligation 996s #state 996s is :pending when first created 996s is :fulfilled when the handler completes 996s is :rejected when the handler raises an exception 996s #value 996s returns nil when reaching the optional timeout value 996s returns immediately when timeout is zero 996s returns the value when fulfilled before timeout 996s returns nil when timeout reached 996s is nil when :pending 997s blocks the caller when :pending and timeout is nil 997s is nil when :rejected 997s is set to the return value of the block when :fulfilled 997s #reason 997s is nil when :pending 997s is nil when :fulfilled 997s is set to error object of the exception when :rejected 997s #initialize 997s sets the state to :pending 997s raises an exception when no block given 997s #reconfigure 997s returns value of block used in reconfiguration 997s returns false when process completed? 997s #value 997s does not call the block before #value is called 997s calls the block when #value is called 997s only calls the block once no matter how often #value is called 997s raises when called recursively 997s can be called twice 997s 997s Concurrent 997s Promises::Channel 997s #capacity 997s #to_s 997s #(try_)push(_op) 997s #(try_)pop(_op) 997s #(try_)pop(_op)_matching 997s #(try_)select(_op) 998s exchanging 998s integration 998s 998s Concurrent 998s ErlangActor 998s on thread 998s is expected to eq [:bad_message, -1] 998s behaves like erlang actor 998s run to termination 998s run to termination with arguments 999s #receive 999s pid has name 999s receives message 999s receives message with matchers 999s spawn(link: true) 999s termination 999s monitoring 999s (de)monitor 999s demonitor 999s demonitor should leave the down message in the inbox if it's already there 999s notifications 1 999s notifications 2 999s linking 999s links 999s unlinks 999s link dead 1000s link dead when trapping 1000s exit/1 when linked 1000s 1 1000s 2 1000s 3 1000s 4 1000s 5 1000s 6 1001s 7 1001s 8 1001s 9 1001s exit/2 when linked 1001s 1 1001s 2 1001s 3 1001s 4 1001s 5 1001s 6 1001s 7 1001s 8 1001s 9 1001s 10 1001s 11 1001s 12 1001s 13 1001s asking 1001s replies 1001s timing out (PENDING: flaky on truffleruby and jruby) 1001s rejects on no reply 1001s on pool 1001s receives message repeatedly with keep 1002s class defined 1002s behaves like erlang actor 1002s run to termination 1002s run to termination with arguments 1003s #receive 1003s pid has name 1003s receives message 1003s receives message with matchers 1003s spawn(link: true) 1003s termination 1003s monitoring 1003s (de)monitor 1003s demonitor 1004s demonitor should leave the down message in the inbox if it's already there 1004s notifications 1 1004s notifications 2 1004s linking 1004s links 1004s unlinks 1004s link dead 1005s link dead when trapping 1005s exit/1 when linked 1005s 1 1005s 2 1005s 3 1005s 4 1005s 5 1005s 6 1006s 7 1006s 8 1006s 9 1006s exit/2 when linked 1006s 1 1006s 2 1006s 3 1006s 4 1006s 5 1006s 6 1006s 7 1007s 8 1007s 9 1007s 10 1007s 11 1007s 12 1007s 13 1007s asking 1007s replies 1007s timing out (PENDING: flaky on truffleruby and jruby) 1007s rejects on no reply 1007s 1007s Concurrent::Edge::LockFreeLinkedSet 1007s .new 1007s when passed default val 1007s uses the val arg as data for each node 1007s #add 1007s appends to the linked set 1007s in a multi-threaded environment 1007s adds the items to the set 1007s #<< 1007s appends to the linked set and returns self 1007s returns self regardless of whether it was logically added 1007s #contains? 1007s when checking if set includes a value 1007s returns true if a value exists 1007s compares object using Object#hash 1007s returns false for values not in the set 1007s when set is empty 1007s does not break 1007s when set is long 1012s does not break 1012s in a multi-threaded environment 1014s correctly check that the set contains the item 1014s #remove 1014s when item is inside of set 1014s the item is no longer visible to the user 1014s allows for the item to be added despite being physically present 1014s in a multi-threaded environment 1014s adds the items to the set 1016s does not recognize the existence of the item when removed 1016s when item is not inside of set 1016s does not remove to value 1016s the set remains intact 1016s when the set is empty 1016s remove does not break 1016s when the set is large 1017s remove successfully removes the node 1017s 1017s Concurrent::RubyExchanger 1017s behaves like exchanger 1017s #exchange 1017s behaves like exchanger method with indefinite timeout 1017s blocks indefinitely 1017s receives the other value 1017s can be reused 1017s behaves like exchanger method with finite timeout 1017s blocks until timeout 1018s receives the other value 1018s can be reused 1018s behaves like exchanger method cross-thread interactions 1018s when first, waits for a second 1019s allows multiple firsts to cancel if necessary 1019s #exchange! 1019s behaves like exchanger method with indefinite timeout 1019s blocks indefinitely 1019s receives the other value 1019s can be reused 1019s behaves like exchanger method with finite timeout 1019s blocks until timeout (FAILED - 2) 1019s receives the other value 1019s can be reused 1019s behaves like exchanger method cross-thread interactions 1019s when first, waits for a second 1019s allows multiple firsts to cancel if necessary 1019s #try_exchange 1019s behaves like exchanger method with indefinite timeout 1019s blocks indefinitely 1019s receives the other value 1019s can be reused 1019s behaves like exchanger method with finite timeout 1020s blocks until timeout (FAILED - 3) 1020s receives the other value 1020s can be reused 1020s behaves like exchanger method cross-thread interactions 1020s when first, waits for a second 1021s allows multiple firsts to cancel if necessary 1021s 1021s Concurrent::JavaExchanger 1021s behaves like exchanger 1021s #exchange 1021s behaves like exchanger method with indefinite timeout 1021s blocks indefinitely 1021s receives the other value 1021s can be reused 1021s behaves like exchanger method with finite timeout 1021s blocks until timeout 1021s receives the other value 1021s can be reused 1021s behaves like exchanger method cross-thread interactions 1021s when first, waits for a second 1022s allows multiple firsts to cancel if necessary 1022s #exchange! 1022s behaves like exchanger method with indefinite timeout 1022s blocks indefinitely 1022s receives the other value 1022s can be reused 1022s behaves like exchanger method with finite timeout 1022s blocks until timeout 1022s receives the other value 1022s can be reused 1022s behaves like exchanger method cross-thread interactions 1022s when first, waits for a second 1023s allows multiple firsts to cancel if necessary 1023s #try_exchange 1023s behaves like exchanger method with indefinite timeout 1023s blocks indefinitely 1023s receives the other value 1023s can be reused 1023s behaves like exchanger method with finite timeout 1023s blocks until timeout (FAILED - 4) 1023s receives the other value 1023s can be reused 1023s behaves like exchanger method cross-thread interactions 1023s when first, waits for a second 1024s allows multiple firsts to cancel if necessary 1024s 1024s Concurrent::Exchanger 1024s class hierarchy 1024s inherits from JavaExchanger 1024s 1024s Concurrent::CachedThreadPool 1024s it should behave like thread_pool 1024s it should behave like executor_service 1024s it should behave like global_thread_pool 1024s #post 1024s raises an exception if no block is given 1024s returns true when the block is added to the queue 1024s calls the block with the given arguments 1024s aliases #<< 1024s #post 1025s rejects the block while shutting down 1025s rejects the block once shutdown 1025s auto terminate 1035s does not stop shutdown (FAILED - 5) 1035s #running? 1035s returns true when the thread pool is running 1036s returns false when the thread pool is shutting down 1036s returns false when the thread pool is shutdown 1036s returns false when the thread pool is killed 1036s #shuttingdown? 1036s returns false when the thread pool is running 1037s returns true when the thread pool is shutting down 1037s returns false when the thread pool is shutdown 1037s #shutdown? 1037s returns false when the thread pool is running 1038s returns false when the thread pool is shutting down 1038s returns true when the thread pool is shutdown 1038s #shutdown 1039s stops accepting new tasks 1039s allows in-progress tasks to complete 1039s allows pending tasks to complete 1039s #shutdown followed by #wait_for_termination 1039s allows in-progress tasks to complete 1040s allows pending tasks to complete 1040s stops accepting/running new tasks 1040s #kill 1041s stops accepting new tasks 1041s rejects all pending tasks 1041s #wait_for_termination 1041s immediately returns true when no operations are pending 1041s returns true after shutdown has complete 1042s returns true when shutdown successfully completes before timeout 1045s returns false when shutdown fails to complete before timeout 1045s waits forever when no timeout value is given 1045s #auto_terminate? 1045s returns true by default 1045s returns true when :enable_at_exit_handler is true 1045s returns false when :enable_at_exit_handler is false 1045s #length 1045s returns zero on creation 1046s returns zero once shut down 1046s #scheduled_task_count 1046s returns zero on creation 1046s returns the approximate number of tasks that have been post thus far 1046s returns the approximate number of tasks that were post 1046s #completed_task_count 1046s returns zero on creation 1046s #shutdown 1048s allows threads to exit normally 1048s #initialize 1048s sets :max_length to DEFAULT_MAX_POOL_SIZE 1048s sets :min_length to DEFAULT_MIN_POOL_SIZE 1048s sets :idletime to DEFAULT_THREAD_IDLETIMEOUT 1048s sets :max_queue to DEFAULT_MAX_QUEUE_SIZE 1048s #min_length 1048s returns zero on creation 1048s returns zero while running 1048s returns zero once shutdown 1048s #max_length 1048s returns :max_length on creation 1048s returns :max_length while running 1048s returns :max_length once shutdown 1048s #largest_length 1048s returns zero on creation 1049s returns a non-zero number once tasks have been received 1050s returns a non-zero number after shutdown if tasks have been received 1050s #idletime 1050s returns the thread idletime 1050s runtime-specific implementation 1050s #initialize 1050s sets :fallback_policy correctly 1050s defaults :fallback_policy to :abort 1050s raises an exception if given an invalid :fallback_policy 1050s stress 1051s is expected to be <= 200 1052s is expected to be <= 4 1052s 1052s Concurrent::FixedThreadPool 1052s it should behave like thread_pool 1052s it should behave like executor_service 1052s it should behave like global_thread_pool 1052s #post 1052s raises an exception if no block is given 1052s returns true when the block is added to the queue 1052s calls the block with the given arguments 1052s aliases #<< 1052s #post 1053s rejects the block while shutting down 1053s rejects the block once shutdown 1053s auto terminate 1063s does not stop shutdown (FAILED - 6) 1063s #running? 1063s returns true when the thread pool is running 1064s returns false when the thread pool is shutting down 1064s returns false when the thread pool is shutdown 1064s returns false when the thread pool is killed 1064s #shuttingdown? 1064s returns false when the thread pool is running 1065s returns true when the thread pool is shutting down 1065s returns false when the thread pool is shutdown 1065s #shutdown? 1065s returns false when the thread pool is running 1065s returns false when the thread pool is shutting down 1065s returns true when the thread pool is shutdown 1065s #shutdown 1066s stops accepting new tasks 1066s allows in-progress tasks to complete 1066s allows pending tasks to complete 1066s #shutdown followed by #wait_for_termination 1067s allows in-progress tasks to complete 1067s allows pending tasks to complete 1067s stops accepting/running new tasks 1067s #kill 1068s stops accepting new tasks 1068s rejects all pending tasks 1068s #wait_for_termination 1068s immediately returns true when no operations are pending 1068s returns true after shutdown has complete 1069s returns true when shutdown successfully completes before timeout 1070s returns false when shutdown fails to complete before timeout 1070s waits forever when no timeout value is given 1070s #auto_terminate? 1070s returns true by default 1070s returns true when :enable_at_exit_handler is true 1070s returns false when :enable_at_exit_handler is false 1070s #length 1070s returns zero on creation 1071s returns zero once shut down 1071s #scheduled_task_count 1071s returns zero on creation 1071s returns the approximate number of tasks that have been post thus far 1072s returns the approximate number of tasks that were post 1072s #completed_task_count 1072s returns zero on creation 1072s #shutdown 1073s allows threads to exit normally 1073s #initialize default values 1073s defaults :min_length correctly 1073s defaults :max_length correctly 1073s defaults :fallback_policy to :abort 1073s defaults :idletime correctly 1073s defaults default :max_queue to zero 1073s #initialize explicit values 1073s raises an exception when the pool length is less than one 1073s sets explicit :max_queue correctly 1073s correctly sets valid :fallback_policy 1073s correctly sets valid :idletime 1073s raises an exception if given an invalid :fallback_policy 1073s #min_length 1073s returns :num_threads on creation 1073s returns :num_threads while running 1073s returns :num_threads once shutdown 1073s #max_length 1073s returns :num_threads on creation 1073s returns :num_threads while running 1073s returns :num_threads once shutdown 1073s #length 1073s returns :num_threads while running 1073s #largest_length 1073s returns zero on creation 1073s returns :num_threads while running 1074s returns :num_threads once shutdown 1074s #kill 1075s attempts to kill all in-progress tasks 1075s worker creation and caching 1075s never creates more than :num_threads threads 1075s fallback policy 1076s raises an error when overflow on abort 1078s discards when fallback_policy is :discard 1078s uses the calling thread for overflow under caller_runs 1078s runtime-specific implementation 1079s sets :fallback_policy correctly 1079s 1079s Concurrent::ImmediateExecutor 1079s it should behave like executor_service 1079s it should behave like global_thread_pool 1079s #post 1079s raises an exception if no block is given 1079s returns true when the block is added to the queue 1079s calls the block with the given arguments 1079s aliases #<< 1079s #post 1080s rejects the block while shutting down 1081s rejects the block once shutdown 1081s auto terminate 1091s does not stop shutdown (FAILED - 7) 1091s #running? 1091s returns true when the thread pool is running 1091s returns false when the thread pool is shutting down 1091s returns false when the thread pool is shutdown 1091s returns false when the thread pool is killed 1091s #shuttingdown? 1091s returns false when the thread pool is running 1091s returns true when the thread pool is shutting down (PENDING: will never be in shuttingdown? state) 1091s returns false when the thread pool is shutdown 1091s #shutdown? 1091s returns false when the thread pool is running 1091s returns false when the thread pool is shutting down (PENDING: will never be in shuttingdown? state) 1091s returns true when the thread pool is shutdown 1091s #shutdown 1092s stops accepting new tasks 1092s allows in-progress tasks to complete 1093s allows pending tasks to complete 1093s #shutdown followed by #wait_for_termination 1093s allows in-progress tasks to complete 1093s allows pending tasks to complete 1094s stops accepting/running new tasks 1094s #kill 1094s stops accepting new tasks 1095s rejects all pending tasks 1095s #wait_for_termination 1095s immediately returns true when no operations are pending 1095s returns true after shutdown has complete 1096s returns true when shutdown successfully completes before timeout 1096s returns false when shutdown fails to complete before timeout 1097s waits forever when no timeout value is given 1097s 1097s Concurrent::IndirectImmediateExecutor 1097s runs its tasks synchronously 1098s runs the task on a separate thread 1098s it should behave like executor_service 1098s it should behave like global_thread_pool 1098s #post 1098s raises an exception if no block is given 1098s returns true when the block is added to the queue 1098s calls the block with the given arguments 1098s aliases #<< 1098s #post 1099s rejects the block while shutting down 1099s rejects the block once shutdown 1099s auto terminate 1109s does not stop shutdown (FAILED - 8) 1109s #running? 1109s returns true when the thread pool is running 1110s returns false when the thread pool is shutting down 1110s returns false when the thread pool is shutdown 1110s returns false when the thread pool is killed 1110s #shuttingdown? 1110s returns false when the thread pool is running 1110s returns true when the thread pool is shutting down (PENDING: will never be in shuttingdown? state) 1110s returns false when the thread pool is shutdown 1110s #shutdown? 1110s returns false when the thread pool is running 1110s returns false when the thread pool is shutting down (PENDING: will never be in shuttingdown? state) 1110s returns true when the thread pool is shutdown 1110s #shutdown 1110s stops accepting new tasks 1111s allows in-progress tasks to complete 1112s allows pending tasks to complete 1112s #shutdown followed by #wait_for_termination 1112s allows in-progress tasks to complete 1113s allows pending tasks to complete 1114s stops accepting/running new tasks 1114s #kill 1114s stops accepting new tasks 1116s rejects all pending tasks 1116s #wait_for_termination 1116s immediately returns true when no operations are pending 1116s returns true after shutdown has complete 1117s returns true when shutdown successfully completes before timeout 1117s returns false when shutdown fails to complete before timeout 1118s waits forever when no timeout value is given 1118s 1118s Concurrent::JavaSingleThreadExecutor 1118s it should behave like executor_service 1118s it should behave like global_thread_pool 1118s #post 1118s raises an exception if no block is given 1118s returns true when the block is added to the queue 1119s calls the block with the given arguments 1119s aliases #<< 1119s #post 1120s rejects the block while shutting down 1120s rejects the block once shutdown 1120s auto terminate 1130s does not stop shutdown (FAILED - 9) 1130s #running? 1130s returns true when the thread pool is running 1131s returns false when the thread pool is shutting down 1131s returns false when the thread pool is shutdown 1131s returns false when the thread pool is killed 1131s #shuttingdown? 1131s returns false when the thread pool is running 1131s returns true when the thread pool is shutting down 1131s returns false when the thread pool is shutdown 1132s #shutdown? 1132s returns false when the thread pool is running 1134s returns false when the thread pool is shutting down 1134s returns true when the thread pool is shutdown 1134s #shutdown 1134s stops accepting new tasks 1135s allows in-progress tasks to complete 1136s allows pending tasks to complete 1136s #shutdown followed by #wait_for_termination 1136s allows in-progress tasks to complete 1136s allows pending tasks to complete 1137s stops accepting/running new tasks 1137s #kill 1137s stops accepting new tasks 1138s rejects all pending tasks 1138s #wait_for_termination 1138s immediately returns true when no operations are pending 1138s returns true after shutdown has complete 1139s returns true when shutdown successfully completes before timeout 1139s returns false when shutdown fails to complete before timeout 1139s waits forever when no timeout value is given 1139s 1139s Concurrent::JavaThreadPoolExecutor 1139s it should behave like thread_pool 1139s it should behave like executor_service 1139s it should behave like global_thread_pool 1139s #post 1139s raises an exception if no block is given 1139s returns true when the block is added to the queue 1139s calls the block with the given arguments 1139s aliases #<< 1139s #post 1141s rejects the block while shutting down 1141s rejects the block once shutdown 1141s auto terminate 1151s does not stop shutdown (FAILED - 10) 1151s #running? 1151s returns true when the thread pool is running 1152s returns false when the thread pool is shutting down 1152s returns false when the thread pool is shutdown 1152s returns false when the thread pool is killed 1152s #shuttingdown? 1152s returns false when the thread pool is running 1153s returns true when the thread pool is shutting down 1153s returns false when the thread pool is shutdown 1153s #shutdown? 1153s returns false when the thread pool is running 1153s returns false when the thread pool is shutting down 1153s returns true when the thread pool is shutdown 1153s #shutdown 1155s stops accepting new tasks 1155s allows in-progress tasks to complete 1155s allows pending tasks to complete 1155s #shutdown followed by #wait_for_termination 1155s allows in-progress tasks to complete 1156s allows pending tasks to complete 1156s stops accepting/running new tasks 1156s #kill 1156s stops accepting new tasks 1156s rejects all pending tasks 1157s #wait_for_termination 1157s immediately returns true when no operations are pending 1157s returns true after shutdown has complete 1158s returns true when shutdown successfully completes before timeout 1159s returns false when shutdown fails to complete before timeout 1160s waits forever when no timeout value is given 1160s #auto_terminate? 1160s returns true by default 1160s returns true when :enable_at_exit_handler is true 1160s returns false when :enable_at_exit_handler is false 1160s #length 1160s returns zero on creation 1160s returns zero once shut down 1160s #scheduled_task_count 1160s returns zero on creation 1160s returns the approximate number of tasks that have been post thus far 1160s returns the approximate number of tasks that were post 1160s #completed_task_count 1161s returns zero on creation 1161s #shutdown 1162s allows threads to exit normally 1162s it should behave like thread_pool_executor 1162s #initialize defaults 1162s defaults :min_length to DEFAULT_MIN_POOL_SIZE 1162s defaults :max_length to DEFAULT_MAX_POOL_SIZE 1162s defaults :idletime to DEFAULT_THREAD_IDLETIMEOUT 1162s defaults :max_queue to DEFAULT_MAX_QUEUE_SIZE 1162s defaults :fallback_policy to :abort 1162s defaults :name to nil 1162s #initialize explicit values 1162s sets :min_threads 1162s sets :max_threads 1162s sets :idletime 1162s doesn't allow max_threads < min_threads 1163s accepts all valid fallback policies 1163s raises an exception if :max_threads is less than zero 1163s raises an exception if :min_threads is less than zero 1163s raises an exception if :max_threads greater than the max allowable 1163s raises an exception if :max_threads is less than :min_threads 1163s raises an exception if given an invalid :fallback_policy 1163s sets :name 1163s #max_queue 1163s returns the set value on creation 1163s returns the set value when running 1163s returns the set value after stopping 1163s #synchronous 1163s cannot be set unless `max_queue` is zero 1165s executes fallback policy once max_threads has been reached 1165s #queue_length 1165s returns zero on creation 1165s returns zero when there are no enqueued tasks 1165s returns the size of the queue when tasks are enqueued 1165s returns zero when stopped 1165s can never be greater than :max_queue 1165s #remaining_capacity 1165s returns -1 when :max_queue is set to zero 1166s returns :max_length on creation 1166s returns :max_length when stopped 1166s #active_count 1166s returns the number of threads that are actively executing tasks. 1166s #fallback_policy 1166s :abort 1166s #post raises an error when the queue is at capacity 1166s #<< raises an error when the queue is at capacity 1166s #post raises an error when the executor is shutting down 1166s #<< raises an error when the executor is shutting down 1167s a #post task is never executed when the queue is at capacity 1168s a #<< task is never executed when the queue is at capacity 1168s :discard 1168s a #post task is never executed when the queue is at capacity 1168s a #<< task is never executed when the queue is at capacity 1168s a #post task is never executed when the executor is shutting down 1168s a #<< task is never executed when the executor is shutting down 1168s #post returns false when the executor is shutting down 1168s :caller_runs 1168s #post does not create any new threads when the queue is at capacity 1171s #<< executes the task on the current thread when the queue is at capacity 1172s #post executes the task on the current thread when the queue is at capacity 1172s #post executes the task on the current thread when the executor is shutting down 1172s #<< executes the task on the current thread when the executor is shutting down 1172s #post does not block other jobs running on the worker threads 1172s prune 1172s is a no-op, pruning is handled by the JVM 1172s #overload_policy 1172s :abort maps to AbortPolicy 1172s :discard maps to DiscardPolicy 1172s :caller_runs maps to CallerRunsPolicy 1172s 1172s Concurrent::RubySingleThreadExecutor 1172s it should behave like executor_service 1172s it should behave like global_thread_pool 1172s #post 1172s raises an exception if no block is given 1172s returns true when the block is added to the queue 1172s calls the block with the given arguments 1172s aliases #<< 1172s #post 1173s rejects the block while shutting down 1174s rejects the block once shutdown 1174s auto terminate 1184s does not stop shutdown (FAILED - 11) 1184s #running? 1184s returns true when the thread pool is running 1185s returns false when the thread pool is shutting down 1185s returns false when the thread pool is shutdown 1185s returns false when the thread pool is killed 1185s #shuttingdown? 1185s returns false when the thread pool is running 1186s returns true when the thread pool is shutting down 1186s returns false when the thread pool is shutdown 1186s #shutdown? 1186s returns false when the thread pool is running 1186s returns false when the thread pool is shutting down 1186s returns true when the thread pool is shutdown 1186s #shutdown 1187s stops accepting new tasks 1188s allows in-progress tasks to complete 1188s allows pending tasks to complete 1188s #shutdown followed by #wait_for_termination 1189s allows in-progress tasks to complete 1190s allows pending tasks to complete 1190s stops accepting/running new tasks 1190s #kill 1190s stops accepting new tasks 1190s rejects all pending tasks 1191s #wait_for_termination 1191s immediately returns true when no operations are pending 1191s returns true after shutdown has complete 1191s returns true when shutdown successfully completes before timeout 1192s returns false when shutdown fails to complete before timeout 1192s waits forever when no timeout value is given 1192s 1192s Concurrent::RubyThreadPoolExecutor 1192s it should behave like thread_pool 1192s it should behave like executor_service 1192s it should behave like global_thread_pool 1192s #post 1192s raises an exception if no block is given 1192s returns true when the block is added to the queue 1192s calls the block with the given arguments 1192s aliases #<< 1192s #post 1193s rejects the block while shutting down 1194s rejects the block once shutdown 1194s auto terminate 1204s does not stop shutdown (FAILED - 12) 1204s #running? 1204s returns true when the thread pool is running 1205s returns false when the thread pool is shutting down 1205s returns false when the thread pool is shutdown 1205s returns false when the thread pool is killed 1205s #shuttingdown? 1205s returns false when the thread pool is running 1206s returns true when the thread pool is shutting down 1206s returns false when the thread pool is shutdown 1206s #shutdown? 1206s returns false when the thread pool is running 1207s returns false when the thread pool is shutting down 1207s returns true when the thread pool is shutdown 1207s #shutdown 1208s stops accepting new tasks 1208s allows in-progress tasks to complete 1209s allows pending tasks to complete 1209s #shutdown followed by #wait_for_termination 1209s allows in-progress tasks to complete 1210s allows pending tasks to complete 1211s stops accepting/running new tasks 1211s #kill 1212s stops accepting new tasks 1212s rejects all pending tasks 1212s #wait_for_termination 1213s immediately returns true when no operations are pending 1213s returns true after shutdown has complete 1214s returns true when shutdown successfully completes before timeout 1214s returns false when shutdown fails to complete before timeout 1215s waits forever when no timeout value is given 1215s #auto_terminate? 1215s returns true by default 1215s returns true when :enable_at_exit_handler is true 1215s returns false when :enable_at_exit_handler is false 1215s #length 1215s returns zero on creation 1215s returns zero once shut down 1215s #scheduled_task_count 1215s returns zero on creation 1215s returns the approximate number of tasks that have been post thus far 1216s returns the approximate number of tasks that were post 1216s #completed_task_count 1216s returns zero on creation 1216s #shutdown 1217s allows threads to exit normally 1217s it should behave like thread_pool_executor 1217s #initialize defaults 1217s defaults :min_length to DEFAULT_MIN_POOL_SIZE 1217s defaults :max_length to DEFAULT_MAX_POOL_SIZE 1217s defaults :idletime to DEFAULT_THREAD_IDLETIMEOUT 1217s defaults :max_queue to DEFAULT_MAX_QUEUE_SIZE 1217s defaults :fallback_policy to :abort 1217s defaults :name to nil 1217s #initialize explicit values 1217s sets :min_threads 1217s sets :max_threads 1217s sets :idletime 1217s doesn't allow max_threads < min_threads 1217s accepts all valid fallback policies 1217s raises an exception if :max_threads is less than zero 1218s raises an exception if :min_threads is less than zero 1218s raises an exception if :max_threads greater than the max allowable 1218s raises an exception if :max_threads is less than :min_threads 1218s raises an exception if given an invalid :fallback_policy 1218s sets :name 1218s #max_queue 1218s returns the set value on creation 1218s returns the set value when running 1219s returns the set value after stopping 1219s #synchronous 1219s cannot be set unless `max_queue` is zero 1219s executes fallback policy once max_threads has been reached 1219s #queue_length 1219s returns zero on creation 1219s returns zero when there are no enqueued tasks 1219s returns the size of the queue when tasks are enqueued 1219s returns zero when stopped 1219s can never be greater than :max_queue 1219s #remaining_capacity 1219s returns -1 when :max_queue is set to zero 1219s returns :max_length on creation 1219s returns :max_length when stopped 1219s #active_count 1219s returns the number of threads that are actively executing tasks. 1219s #fallback_policy 1219s :abort 1219s #post raises an error when the queue is at capacity 1219s #<< raises an error when the queue is at capacity 1219s #post raises an error when the executor is shutting down 1219s #<< raises an error when the executor is shutting down 1220s a #post task is never executed when the queue is at capacity 1220s a #<< task is never executed when the queue is at capacity 1220s :discard 1220s a #post task is never executed when the queue is at capacity 1221s a #<< task is never executed when the queue is at capacity 1221s a #post task is never executed when the executor is shutting down 1221s a #<< task is never executed when the executor is shutting down 1221s #post returns false when the executor is shutting down 1221s :caller_runs 1221s #post does not create any new threads when the queue is at capacity 1221s #<< executes the task on the current thread when the queue is at capacity 1222s #post executes the task on the current thread when the queue is at capacity 1222s #post executes the task on the current thread when the executor is shutting down 1222s #<< executes the task on the current thread when the executor is shutting down 1222s #post does not block other jobs running on the worker threads 1222s #remaining_capacity 1222s returns :max_length when no tasks are enqueued 1222s returns the remaining capacity when tasks are enqueued 1222s threads naming 1222s without pool name 1223s sets counted name 1223s with pool name 1223s sets counted name 1223s 1223s Concurrent::SafeTaskExecutor 1223s #execute 1223s happy execution 1223s should return success 1223s should return task value 1223s should return a nil reason 1223s passes all arguments to #execute to the task 1223s protectes #execute with a mutex 1223s failing execution 1223s should return false success 1223s should return a nil value 1223s should return the reason 1223s rescues Exception when :rescue_exception is true 1223s rescues StandardError when :rescue_exception is false 1223s rescues StandardError by default 1223s 1223s Concurrent::SerializedExecutionDelegator 1223s it should behave like executor_service 1223s it should behave like global_thread_pool 1223s #post 1223s raises an exception if no block is given 1223s returns true when the block is added to the queue 1223s calls the block with the given arguments 1223s aliases #<< 1223s #post 1224s rejects the block while shutting down 1224s rejects the block once shutdown 1224s auto terminate 1234s does not stop shutdown (FAILED - 13) 1234s #running? 1234s returns true when the thread pool is running 1235s returns false when the thread pool is shutting down 1235s returns false when the thread pool is shutdown 1235s returns false when the thread pool is killed 1235s #shuttingdown? 1235s returns false when the thread pool is running 1235s returns true when the thread pool is shutting down (PENDING: will never be in shuttingdown? state) 1235s returns false when the thread pool is shutdown 1235s #shutdown? 1235s returns false when the thread pool is running 1235s returns false when the thread pool is shutting down (PENDING: will never be in shuttingdown? state) 1235s returns true when the thread pool is shutdown 1235s #shutdown 1235s stops accepting new tasks 1236s allows in-progress tasks to complete 1236s allows pending tasks to complete 1236s #shutdown followed by #wait_for_termination 1237s allows in-progress tasks to complete 1238s allows pending tasks to complete 1238s stops accepting/running new tasks 1238s #kill 1239s stops accepting new tasks 1240s rejects all pending tasks 1240s #wait_for_termination 1240s immediately returns true when no operations are pending 1240s returns true after shutdown has complete 1241s returns true when shutdown successfully completes before timeout 1241s returns false when shutdown fails to complete before timeout 1242s waits forever when no timeout value is given 1242s 1242s Concurrent::SimpleExecutorService 1242s it should behave like executor_service 1242s it should behave like global_thread_pool 1242s #post 1242s raises an exception if no block is given 1242s returns true when the block is added to the queue 1242s calls the block with the given arguments 1242s aliases #<< 1242s #post 1243s rejects the block while shutting down 1243s rejects the block once shutdown 1243s auto terminate 1254s does not stop shutdown (FAILED - 14) 1254s #running? 1254s returns true when the thread pool is running 1254s returns false when the thread pool is shutting down 1254s returns false when the thread pool is shutdown 1254s returns false when the thread pool is killed 1255s #shuttingdown? 1255s returns false when the thread pool is running 1255s returns true when the thread pool is shutting down 1255s returns false when the thread pool is shutdown 1255s #shutdown? 1255s returns false when the thread pool is running 1256s returns false when the thread pool is shutting down 1256s returns true when the thread pool is shutdown 1256s #shutdown 1256s stops accepting new tasks 1257s allows in-progress tasks to complete 1257s allows pending tasks to complete 1257s #shutdown followed by #wait_for_termination 1258s allows in-progress tasks to complete 1258s allows pending tasks to complete 1259s stops accepting/running new tasks 1259s #kill 1259s stops accepting new tasks 1260s rejects all pending tasks 1260s #wait_for_termination 1260s immediately returns true when no operations are pending 1260s returns true after shutdown has complete 1261s returns true when shutdown successfully completes before timeout 1265s returns false when shutdown fails to complete before timeout 1265s waits forever when no timeout value is given 1265s #post 1266s creates a new thread for a call without arguments 1266s executes a call without arguments 1266s creates a new thread for a call with arguments 1266s executes a call with one argument 1266s executes a call with multiple arguments 1266s aliases #<< 1266s SimpleExecutorService.post 1267s creates a new thread for a call without arguments 1267s executes a call without arguments 1267s creates a new thread for a call with arguments 1267s executes a call with one argument 1267s executes a call with multiple arguments 1267s aliases #<< 1267s 1267s Concurrent::SingleThreadExecutor 1267s inherits from JavaSingleThreadExecutor 1267s 1267s Concurrent::ThreadPoolExecutor 1267s inherits from JavaThreadPoolExecutor 1267s 1267s Concurrent::TimerSet 1267s construction 1267s uses the executor given at construction 1267s uses the global io executor be default 1267s #post 1267s raises an exception when given a task with a delay less than zero 1267s raises an exception when no block given 1267s immediately posts a task when the delay is zero 1267s execution 1267s executes a given task when given an interval in seconds 1267s returns an IVar when posting a task 1267s executes a given task when given an interval in seconds, even if longer tasks have been scheduled 1268s passes all arguments to the task on execution 1268s does not execute tasks early 1268s executes all tasks scheduled for the same time 1268s executes tasks with different times in schedule order 1269s executes tasks with different times in schedule time (FAILED - 15) 1269s continues to execute new tasks even after the queue is emptied 1270s safely handles an executor raising RejectedExecutionError 1270s resolution 1270s sets the IVar value on success when delay is zero 1270s sets the IVar value on success when given a delay 1270s sets the IVar reason on failure when delay is zero 1270s sets the IVar reason on failure when given a delay 1271s task cancellation 1271s fails to cancel the task once processing has begun 1272s fails to cancel the task once processing is complete 1272s cancels a pending task 1272s returns false when not running 1272s task rescheduling 1272s raises an exception when given an invalid time 1272s does not change the current schedule when given an invalid time 1272s reschdules a pending and unpost task when given a valid time 1272s returns false once the task has been post to the executor 1272s returns false once the task is processing 1272s returns false once the task has is complete 1272s returns false when not running 1272s task resetting 1272s calls #reschedule with the original delay 1272s termination 1272s cancels all pending tasks on #shutdown 1272s cancels all pending tasks on #kill 1272s stops the monitor thread on #shutdown 1272s kills the monitor thread on #kill 1272s rejects tasks once shutdown 1272s rejects tasks once killed 1272s #wait_for_termination returns true if shutdown completes before timeout 1272s #wait_for_termination returns false on timeout 1272s state 1272s is running? when first created 1272s is running? after tasks have been post 1272s is shutdown? after shutdown completes 1272s is shutdown? after being killed 1272s 1272s Concurrent::WrappingExecutor 1273s is expected to be a kind of Concurrent::WrappingExecutor 1273s is expected to respond to #post 1273s is expected to respond to #can_overflow? 1273s is expected to respond to #serialized? 1273s #post 1273s with passthrough wrapper 1273s is expected to equal # 1273s with wrapper modifying args 1273s is expected to equal # 1273s with wrapper modifying task 1273s is expected to equal # 1273s 1273s Concurrent::Future 1273s it should behave like ivar 1273s it should behave like obligation 1273s #state 1273s is :pending when first created 1273s is :fulfilled when the handler completes 1273s is :rejected when the handler raises an exception 1273s #value 1273s returns nil when reaching the optional timeout value 1273s returns immediately when timeout is zero 1279s returns the value when fulfilled before timeout 1279s returns nil when timeout reached 1279s is nil when :pending 1284s blocks the caller when :pending and timeout is nil 1284s is nil when :rejected 1284s is set to the return value of the block when :fulfilled 1284s #reason 1284s is nil when :pending 1284s is nil when :fulfilled 1284s is set to error object of the exception when :rejected 1284s it should behave like dereferenceable 1284s defaults :dup_on_deref to false 1284s calls #dup when the :dup_on_deref option is true 1285s defaults :freeze_on_deref to false 1285s calls #freeze when the :freeze_on_deref option is true 1285s defaults :copy_on_deref to nil 1286s calls the block when the :copy_on_deref option is passed a proc 1286s calls the :copy block first followed by #dup followed by #freeze 1286s does not call #dup when #dup_on_deref is set and the value is nil 1286s does not call #freeze when #freeze_on_deref is set and the value is nil 1286s does not call the #copy_on_deref block when the value is nil 1287s supports dereference flags with observers 1287s it should behave like observable 1287s #add_observer 1287s adds an observer if called before first notification 1287s adds an observer with :func if called before first notification 1287s creates an observer from a block if called before first notification 1287s raises an exception if not given an observer or a block 1287s raises an exception when given both an observer and a block 1287s #delete_observer 1287s deletes the given observer if called before first notification 1287s returns the removed observer if found in the observer set 1287s returns the given observer even when not found in the observer set 1287s #delete_observers 1287s deletes all observers when called before first notification 1287s returns self 1287s #count_observers 1287s returns zero for a new observable object 1287s returns a count of registered observers if called before first notification 1287s returns zero after #delete_observers has been called 1287s first notification 1287s calls the #update method on all observers without a specified :func 1287s calls the appropriate function on all observers which specified a :func 1287s calls the proc for all observers added as a block 1289s does not notify any observers removed with #delete_observer 1290s does not notify any observers after #delete_observers called 1290s initialization 1290s sets the state to incomplete 1290s #set 1290s sets the state to be fulfilled 1290s sets the value 1290s raises an exception if set more than once 1290s returns self 1290s fulfils when given a block which executes successfully 1290s rejects when given a block which raises an exception 1290s raises an exception when given a value and a block 1290s raises an exception when given neither a value nor a block 1290s #fail 1290s sets the state to be rejected 1290s sets the value to be nil 1290s sets the reason to the given exception 1290s raises an exception if set more than once 1290s defaults the reason to a StandardError 1290s returns self 1290s #try_set 1290s when unset 1290s assigns the value 1290s assigns the block result 1290s returns true 1290s when fulfilled 1290s does not assign the value 1290s does not assign the block result 1290s returns false 1290s when rejected 1290s does not assign the value 1290s does not assign the block result 1290s has a nil value 1290s returns false 1290s it should behave like thread_arguments 1290s passes an empty array when opts is not given 1290s passes an empty array when opts is an empty hash 1290s passes an empty array when there is no :args key 1290s passes an empty array when the :args key has a nil value 1290s passes a one-element array when the :args key has a non-array value 1290s passes an array when when the :args key has an array value 1290s passes the given array when the :args key has a complex array value 1290s allows the given arguments array to be dereferenced 1290s #initialize 1290s sets the state to :unscheduled 1291s raises an exception when no block given 1291s uses the executor given with the :executor option 1291s uses the global io executor by default 1291s instance #execute 1291s does nothing unless the state is :unscheduled 1291s posts the block given on construction 1291s sets the state to :pending 1291s returns self 1291s class #execute 1291s creates a new Future 1291s passes the block to the new Future 1291s calls #execute on the new Future 1291s fulfillment 1291s sets the state to :processing while the task is executing 1291s passes all arguments to handler 1291s sets the value to the result of the handler 1291s sets the state to :fulfilled when the block completes 1291s sets the value to nil when the handler raises an exception 1291s sets the value to nil when the handler raises Exception 1291s sets the reason to the Exception instance when the handler raises Exception 1291s sets the state to :rejected when the handler raises an exception 1291s aliases 1291s aliases #realized? for #fulfilled? 1291s aliases #deref for #value 1291s cancellation 1291s #cancel 1291s fails to cancel the task once processing has begun 1291s fails to cancel the task once processing is complete 1291s cancels a pending task 1291s #wait_or_cancel 1291s returns true if the operation completes before timeout 1291s cancels the task on timeout 1291s observation 1291s notifies all observers on fulfillment 1291s notifies all observers on rejection 1291s notifies an observer added after fulfillment 1291s notifies an observer added after rejection 1291s does not notify existing observers when a new observer added after fulfillment 1291s does not notify existing observers when a new observer added after rejection 1291s deadlock avoidance 1291s should notify observers outside mutex lock 1291s should notify a new observer added after fulfillment outside lock 1291s 1291s Concurrent::Hash 1291s .[] 1291s when initializing with no arguments 1291s is expected to be empty 1291s when initializing with an even number of arguments 1291s creates a hash using the odd position arguments as keys and even position arguments as values 1291s when initializing with an array of pairs 1291s creates a hash using each pair as a (key, value) pair 1291s when initializing with another hash as an argument 1291s creates a new hash 1291s creates a hash with the same contents as the other hash 1291s creates a hash with the results of calling #to_hash on the other array 1291s .new 1291s when initializing with no arguments 1291s is expected to be empty 1291s when initialized with a default object 1291s uses the default object for non-existing keys 1291s when initialized with a block 1291s calls the block for non-existing keys 1291s returns the results of calling the block for non-existing key 1291s concurrency 1292s is expected to be empty 1292s 1292s Concurrent::ImmutableStruct 1292s it should behave like struct 1292s definition 1292s registers the class when given a class name 1292s registers the class when given a class name which is defined in the ancestors 1292s creates an anonymous class when given at least one member 1292s raises an exception when given an invalid class name 1292s defines a getter for each member 1292s raises an exception when given no members 1292s raise an exception when given an invalid member 1292s evalues a given block against the new class 1292s construction 1292s sets all absent members to nil 1292s sets all given members in order 1293s raises an exception when extra members are given 1293s properties 1293s #length 1293s returns the number of struct members 1293s #members 1293s returns the struct members as an array of symbols 1293s returns a different object than the array passed at definition 1293s #size 1293s returns the number of struct members 1293s #values 1293s returns the values of the struct as an array in order 1293s #values_at 1293s returns the value at the given offset 1293s returns the values at multiple given offsets 1293s returns values at offsets in a given range 1293s returns values for multiple ranges 1293s returns values for ranges and offsets 1293s accessors 1293s #[member] 1293s retrieves the value when given a valid symbol member 1293s retrieves the value when given a valid string member 1293s raises an exception when given a non-existent symbol member 1293s raises an exception when given a non-existent string member 1293s #[index] 1293s retrieves the value when given a valid index 1293s raises an exception when given an out-of-bound index 1293s comparison 1293s #== 1293s returns true if other has same struct subclass and equal values 1293s returns false if other has different struct subclass 1293s returns false if other has different values 1293s #!= 1293s returns false if other has same struct subclass and equal values 1293s returns true if other has different struct subclass 1293s returns true if other has different values 1293s enumeration 1293s #each 1293s yields the value of each struct member in order 1293s returns an enumerator when no block is given 1293s #each_pair 1293s yields the name and value of each struct member in order 1293s returns an enumerator when no block is given 1293s #select 1293s yields each value 1293s returns an Array with the values from for which the block returns true 1293s returns an enumerator when no block is given 1293s conversion 1293s #to_s 1293s includes the name of the class when registered 1293s includes the names of all members 1293s includes all values 1293s returns the same string as #inspect 1293s #to_a 1293s returns the to_a for this struct as an array 1293s #to_h 1293s returns a Hash containing the names and values in order 1293s copy 1293s #dup 1293s shallowly duplicates all members along with the struct 1293s discards frozen state of the struct 1293s retains frozen state of members 1293s discards singleton class 1293s copies the singleton class of members 1293s #clone 1293s shallowly clones all members along with the struct 1293s retains frozen state 1293s copies the singleton class 1293s copies the singleton class of members 1293s it should behave like mergeable_struct 1293s #merge 1293s updates all members with the new values from a given hash 1293s calls the given block for each key in `other` 1293s retains the value for all members not without values in the given hash 1293s raises an exception when given a hash with members not in the struct 1293s returns a new object 1293s 1293s Concurrent::IVar 1293s it should behave like ivar 1293s it should behave like obligation 1293s #state 1293s is :pending when first created 1293s is :fulfilled when the handler completes 1293s is :rejected when the handler raises an exception 1293s #value 1293s returns nil when reaching the optional timeout value 1294s returns immediately when timeout is zero 1294s returns the value when fulfilled before timeout 1294s returns nil when timeout reached 1294s is nil when :pending 1294s blocks the caller when :pending and timeout is nil 1294s is nil when :rejected 1294s is set to the return value of the block when :fulfilled 1294s #reason 1294s is nil when :pending 1294s is nil when :fulfilled 1294s is set to error object of the exception when :rejected 1294s it should behave like dereferenceable 1294s defaults :dup_on_deref to false 1294s calls #dup when the :dup_on_deref option is true 1294s defaults :freeze_on_deref to false 1294s calls #freeze when the :freeze_on_deref option is true 1294s defaults :copy_on_deref to nil 1294s calls the block when the :copy_on_deref option is passed a proc 1294s calls the :copy block first followed by #dup followed by #freeze 1294s does not call #dup when #dup_on_deref is set and the value is nil 1294s does not call #freeze when #freeze_on_deref is set and the value is nil 1294s does not call the #copy_on_deref block when the value is nil 1294s supports dereference flags with observers 1294s it should behave like observable 1294s #add_observer 1294s adds an observer if called before first notification 1294s adds an observer with :func if called before first notification 1294s creates an observer from a block if called before first notification 1294s raises an exception if not given an observer or a block 1294s raises an exception when given both an observer and a block 1294s #delete_observer 1294s deletes the given observer if called before first notification 1294s returns the removed observer if found in the observer set 1294s returns the given observer even when not found in the observer set 1294s #delete_observers 1294s deletes all observers when called before first notification 1294s returns self 1294s #count_observers 1294s returns zero for a new observable object 1294s returns a count of registered observers if called before first notification 1294s returns zero after #delete_observers has been called 1294s first notification 1294s calls the #update method on all observers without a specified :func 1294s calls the appropriate function on all observers which specified a :func 1294s calls the proc for all observers added as a block 1295s does not notify any observers removed with #delete_observer 1296s does not notify any observers after #delete_observers called 1296s initialization 1296s sets the state to incomplete 1296s #set 1296s sets the state to be fulfilled 1297s sets the value 1297s raises an exception if set more than once 1297s returns self 1297s fulfils when given a block which executes successfully 1297s rejects when given a block which raises an exception 1297s raises an exception when given a value and a block 1297s raises an exception when given neither a value nor a block 1297s #fail 1297s sets the state to be rejected 1297s sets the value to be nil 1297s sets the reason to the given exception 1297s raises an exception if set more than once 1297s defaults the reason to a StandardError 1297s returns self 1297s #try_set 1297s when unset 1297s assigns the value 1297s assigns the block result 1297s returns true 1297s when fulfilled 1297s does not assign the value 1297s does not assign the block result 1297s returns false 1297s when rejected 1297s does not assign the value 1297s does not assign the block result 1297s has a nil value 1297s returns false 1297s #initialize 1297s does not have to set an initial value 1297s does not set an initial value if you pass NULL 1297s can set an initial value 1297s can set an initial value with a block 1297s raises an exception if given both a value and a block 1297s observation 1297s notifies all observers on #set 1297s deadlock avoidance 1297s should notify observers outside mutex lock 1297s should notify a new observer added after fulfillment outside lock 1297s 1297s Concurrent::LazyRegister 1297s example at ./spec/concurrent/lazy_register_spec.rb:6 (PENDING: Not yet implemented) 1297s 1297s Concurrent::Map 1297s default_proc is called with the Concurrent::Map and the key 1297s default_proc is called with the Concurrent::Map and the key after #dup 1297s concurrency 1297s retrieval 1297s #put_if_absent 1298s updates dont block reads 1300s collision resistance 1359s collision resistance with arrays 1359s #replace_pair 1359s #replace_if_exists 1359s #get_and_set 1359s #key 1359s #key? 1359s #value? 1359s #delete 1359s #delete_pair 1359s default proc 1359s falsy default proc 1359s #clear 1359s #keys 1359s #values 1359s #each_key 1359s #each_value 1359s #empty 1359s options validation 1359s initial capacity options validation 1359s load factor options validation 1359s #size 1359s #get_or_default 1359s #dup,#clone 1359s is unfreezable 1359s marshal dump load 1359s marshal dump does not work with default proc 1359s #inspect 1359s #compute_if_absent 1359s works in default_proc 1359s common 1359s with return 1359s exception 1360s atomicity 1360s #compute_if_present 1360s common 1360s with return 1360s exception 1360s #compute 1360s common 1360s with return 1360s exception 1360s #merge_pair 1360s common 1360s with return 1360s exception 1360s #fetch 1360s common 1360s falsy 1360s with return 1360s #fetch_or_store 1360s common 1360s falsy 1360s with return 1360s #each_pair 1360s it should behave like collection_each 1360s common 1360s pair iterator 1360s allows modification 1360s when no block is given 1360s returns an enumerator 1360s returns an object which is enumerable 1360s #each 1360s it should behave like collection_each 1360s common 1360s pair iterator 1360s allows modification 1360s when no block is given 1360s returns an enumerator 1360s returns an object which is enumerable 1360s 1360s Concurrent::Maybe 1360s construction 1360s hides Maybe.new 1360s Maybe.from 1360s raises an exception when no block is given 1360s passes all arguments to the block 1360s creates a Just Maybe on success 1360s sets the value to the block result on success 1360s creates a Nothing Maybe on exception 1360s sets the reason to the error object on exception 1360s Maybe.just 1360s creates a new Just Maybe 1360s Maybe.nothing 1360s creates a new Nothing Maybe 1360s uses the given Error object 1360s creates a new error object with the given string 1360s creates a new error object when given nothing 1360s when just 1360s #just? returns true 1360s #fulfilled? returns true 1360s #nothing? returns false 1360s #rejected? returns false 1360s #just returns the value 1360s #value returns the value 1360s #nothing returns NONE 1360s #reason returns NONE 1360s when nothing 1360s #just? returns false 1360s #fulfilled? returns false 1360s #nothing? returns true 1360s #rejected? returns true 1360s #just returns NONE 1360s #value returns NONE 1360s #nothing returns the raised error 1360s #reason returns the raised error 1360s comparison 1360s something is not equal to nothing 1360s nothing is equal to nothing 1360s something is equal to the same value 1360s something is not equal to a different value 1360s something is greater than a smaller value 1360s something is less than a bigger value 1360s nothing is not less than nothing 1360s nothing is not greater than nothing 1360s #or 1360s /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/struct_shared.rb:15: warning: already initialized constant ValidClassName2 1360s returns the value when something 1360s returns the other when nothing 1360s 1360s monotonic_time 1360s behavior 1360s returns seconds as float 1360s returns a Float when unit = :float_second 1360s returns a Float when unit = :float_millisecond 1360s returns a Float when unit = :float_microsecond 1360s returns an Integer when unit = :second 1360s returns an Integer when unit = :millisecond 1360s returns an Integer when unit = :microsecond 1360s returns an Integer when unit = :nanosecond 1360s raises ArgumentError on unknown units 1360s 1360s Concurrent::MutableStruct 1360s it should behave like struct 1360s definition 1360s registers the class when given a class name 1360s registers the class when given a class name which is defined in the ancestors 1360s creates an anonymous class when given at least one member 1360s raises an exception when given an invalid class name 1360s defines a getter for each member 1360s raises an exception when given no members 1360s raise an exception when given an invalid member 1360s evalues a given block against the new class 1360s construction 1360s sets all absent members to nil 1360s sets all given members in order 1360s raises an exception when extra members are given 1360s properties 1360s #length 1360s returns the number of struct members 1360s #members 1360s returns the struct members as an array of symbols 1360s returns a different object than the array passed at definition 1360s #size 1360s returns the number of struct members 1360s #values 1360s returns the values of the struct as an array in order 1360s #values_at 1360s returns the value at the given offset 1360s returns the values at multiple given offsets 1360s returns values at offsets in a given range 1360s returns values for multiple ranges 1360s returns values for ranges and offsets 1360s accessors 1360s #[member] 1360s retrieves the value when given a valid symbol member 1360s retrieves the value when given a valid string member 1360s raises an exception when given a non-existent symbol member 1360s raises an exception when given a non-existent string member 1360s #[index] 1360s retrieves the value when given a valid index 1360s raises an exception when given an out-of-bound index 1360s comparison 1360s #== 1360s returns true if other has same struct subclass and equal values 1360s returns false if other has different struct subclass 1360s returns false if other has different values 1360s #!= 1360s returns false if other has same struct subclass and equal values 1360s returns true if other has different struct subclass 1360s returns true if other has different values 1360s enumeration 1360s #each 1360s yields the value of each struct member in order 1360s returns an enumerator when no block is given 1360s #each_pair 1361s yields the name and value of each struct member in order 1361s returns an enumerator when no block is given 1361s #select 1361s yields each value 1361s returns an Array with the values from for which the block returns true 1361s returns an enumerator when no block is given 1361s conversion 1361s #to_s 1361s includes the name of the class when registered 1361s includes the names of all members 1361s includes all values 1361s returns the same string as #inspect 1361s #to_a 1361s returns the to_a for this struct as an array 1361s #to_h 1361s returns a Hash containing the names and values in order 1361s copy 1361s #dup 1361s shallowly duplicates all members along with the struct 1361s discards frozen state of the struct 1361s retains frozen state of members 1361s discards singleton class 1361s copies the singleton class of members 1361s #clone 1361s shallowly clones all members along with the struct 1361s retains frozen state 1361s copies the singleton class 1361s copies the singleton class of members 1361s it should behave like mergeable_struct 1361s #merge 1361s updates all members with the new values from a given hash 1361s calls the given block for each key in `other` 1361s retains the value for all members not without values in the given hash 1361s raises an exception when given a hash with members not in the struct 1361s returns a new object 1361s definition 1361s defines a setter for each member 1361s #[member]= 1361s sets the value when given a valid symbol member 1361s sets the value when given a valid string member 1361s raises an exception when given a non-existent symbol member 1361s raises an exception when given a non-existent string member 1361s #[index]= 1361s sets the value when given a valid index 1361s raises an exception when given an out-of-bound index 1361s synchronization 1361s protects #values 1361s protects #values_at 1361s protects #[index] 1361s protects #[member] 1361s protects getter methods 1361s protects #[index]= 1361s protects #[member]= 1361s protects getter methods 1361s protects #to_s 1361s protects #inspect 1361s protects #merge 1361s protects #to_h 1361s protects #== 1361s protects #each 1361s protects #each_pair 1361s protects #select 1362s protects #initialize_copy 1362s copy 1362s #dup 1362s mutates only the copy 1362s #clone 1362s mutates only the copy 1362s 1362s Concurrent::MVar 1362s behavior 1362s it should behave like dereferenceable 1362s defaults :dup_on_deref to false 1362s calls #dup when the :dup_on_deref option is true 1362s defaults :freeze_on_deref to false 1362s calls #freeze when the :freeze_on_deref option is true 1362s defaults :copy_on_deref to nil 1362s calls the block when the :copy_on_deref option is passed a proc 1362s calls the :copy block first followed by #dup followed by #freeze 1362s does not call #dup when #dup_on_deref is set and the value is nil 1362s does not call #freeze when #freeze_on_deref is set and the value is nil 1362s does not call the #copy_on_deref block when the value is nil 1362s supports dereference flags with observers 1362s #initialize 1362s accepts no initial value 1362s accepts an empty initial value 1362s accepts an initial value 1362s accepts a nil initial value 1362s #take 1362s sets the MVar to empty 1362s returns the value on a full MVar 1362s waits for another thread to #put 1362s returns TIMEOUT on timeout on an empty MVar 1362s #borrow 1362s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb require at org/jruby/RubyKernel.java:1184 1362s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:101 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:7 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:6 1362s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:5 1362s require at org/jruby/RubyKernel.java:1184 1362s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 1362s yield_with_args at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:920 1362s Concurrent at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/mvar_spec.rb:78 1362s instance_exec at org/jruby/RubyBasicObject.java:2620 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263 1362s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 1362s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 1362s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 1362s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 1362s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 1362s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 1362s map at org/jruby/RubyArray.java:2803 1362s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 1362s map at org/jruby/RubyArray.java:2803 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 1362s map at org/jruby/RubyArray.java:2803 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:145 1362s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 1362s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 1362s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 1362s
at /usr/bin/rspec:4 1362s 1362s yields current value to the block and puts back value 1362s puts back value even if an exception is raised 1362s returns the returned value of the block 1362s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb require at org/jruby/RubyKernel.java:1184 1362s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:149 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:7 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:6 1362s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:5 1362s require at org/jruby/RubyKernel.java:1184 1362s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 1362s yield_with_args at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:920 1362s Concurrent at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/mvar_spec.rb:78 1362s instance_exec at org/jruby/RubyBasicObject.java:2620 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263 1362s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 1362s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 1362s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 1362s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 1362s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 1362s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 1362s map at org/jruby/RubyArray.java:2803 1362s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 1362s map at org/jruby/RubyArray.java:2803 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 1362s map at org/jruby/RubyArray.java:2803 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:145 1362s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 1362s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 1362s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 1362s
at /usr/bin/rspec:4 1362s 1362s /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85: warning: loading in progress, circular require considered harmful - /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb require at org/jruby/RubyKernel.java:1184 1362s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:296 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:7 1362s at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:6 1362s
at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers/built_in/yield.rb:5 1362s require at org/jruby/RubyKernel.java:1184 1362s require at /usr/share/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85 1362s yield_with_args at /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/matchers.rb:920 1362s Concurrent at /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/mvar_spec.rb:78 1362s instance_exec at org/jruby/RubyBasicObject.java:2620 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263 1362s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 1362s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 1362s run_around_example_hooks_for at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486 1362s with_around_example_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468 1362s with_around_and_singleton_context_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259 1362s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646 1362s map at org/jruby/RubyArray.java:2803 1362s run_examples at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 1362s map at org/jruby/RubyArray.java:2803 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121 1362s map at org/jruby/RubyArray.java:2803 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:145 1362s with_suite_hooks at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116 1362s report at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74 1362s run_specs at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89 1362s run at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71 1362s invoke at /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45 1362s
at /usr/bin/rspec:4 1362s 1362s returns TIMEOUT on timeout on an empty MVar 1362s #put 1362s sets the MVar to be empty 1362s sets a new value on an empty MVar 1363s waits for another thread to #take 1363s returns TIMEOUT on timeout on a full MVar 1363s returns the value 1363s #empty? 1363s returns true on an empty MVar 1363s returns false on a full MVar 1363s #full? 1363s returns false on an empty MVar 1363s returns true on a full MVar 1363s #modify 1363s raises an exception when no block given 1363s modifies a full MVar 1363s returns the unmodified value 1363s waits for another thread to #put 1364s is atomic 1364s returns TIMEOUT on timeout on an empty MVar 1364s #try_put! 1364s returns true an empty MVar 1364s returns false on a full MVar 1364s sets an empty MVar to be full 1364s #try_take! 1364s returns EMPTY an empty MVar 1364s returns the value on a full MVar 1364s sets a full MVar to be empty 1364s #set! 1364s sets an empty MVar to be full 1364s sets a full MVar to be full 1364s returns EMPTY on an empty MVar 1364s returns the original value on a full MVar 1364s #modify! 1364s raises an exception when no block given 1364s modifies a full MVar 1364s modifies an empty MVar 1364s can be used to set a full MVar to empty 1364s can be used to set an empty MVar to empty 1364s returns the unmodified value 1364s spurious wake ups 1364s #take 1365s waits for another thread to #put 1365s returns TIMEOUT on timeout on an empty MVar 1365s #modify 1366s waits for another thread to #put 1366s returns TIMEOUT on timeout on an empty MVar (FAILED - 16) 1366s #put 1367s waits for another thread to #take 1367s returns TIMEOUT on timeout on a full MVar (FAILED - 17) 1367s 1367s Concurrent::Options 1367s .executor_from_options 1367s returns the given :executor 1367s returns the global io executor when :executor is :io 1367s returns the global fast executor when :executor is :fast 1367s returns an immediate executor when :executor is :immediate 1367s raises an exception when :executor is an unrecognized symbol 1367s 1367s Concurrent::ProcessingActor 1368s is expected to eq "ab" 1368s 1368s Concurrent::Promise 1368s it should behave like ivar 1368s it should behave like obligation 1368s #state 1368s is :pending when first created 1368s is :fulfilled when the handler completes 1368s is :rejected when the handler raises an exception 1368s #value 1368s returns nil when reaching the optional timeout value 1368s returns immediately when timeout is zero 1373s returns the value when fulfilled before timeout 1373s returns nil when timeout reached 1373s is nil when :pending 1378s blocks the caller when :pending and timeout is nil 1378s is nil when :rejected 1378s is set to the return value of the block when :fulfilled 1378s #reason 1378s is nil when :pending 1378s is nil when :fulfilled 1378s is set to error object of the exception when :rejected 1378s it should behave like dereferenceable 1378s defaults :dup_on_deref to false 1379s calls #dup when the :dup_on_deref option is true 1380s defaults :freeze_on_deref to false 1380s calls #freeze when the :freeze_on_deref option is true 1380s defaults :copy_on_deref to nil 1381s calls the block when the :copy_on_deref option is passed a proc 1381s calls the :copy block first followed by #dup followed by #freeze 1381s does not call #dup when #dup_on_deref is set and the value is nil 1382s does not call #freeze when #freeze_on_deref is set and the value is nil 1382s does not call the #copy_on_deref block when the value is nil 1382s supports dereference flags with observers 1382s it should behave like observable 1382s #add_observer 1382s adds an observer if called before first notification 1382s adds an observer with :func if called before first notification 1382s creates an observer from a block if called before first notification 1382s raises an exception if not given an observer or a block 1382s raises an exception when given both an observer and a block 1382s #delete_observer 1382s deletes the given observer if called before first notification 1382s returns the removed observer if found in the observer set 1382s returns the given observer even when not found in the observer set 1382s #delete_observers 1382s deletes all observers when called before first notification 1382s returns self 1382s #count_observers 1382s returns zero for a new observable object 1382s returns a count of registered observers if called before first notification 1382s returns zero after #delete_observers has been called 1382s first notification 1383s calls the #update method on all observers without a specified :func 1383s calls the appropriate function on all observers which specified a :func 1383s calls the proc for all observers added as a block 1384s does not notify any observers removed with #delete_observer 1385s does not notify any observers after #delete_observers called 1385s initialization 1385s sets the state to incomplete 1385s #set 1385s sets the state to be fulfilled 1385s sets the value 1385s raises an exception if set more than once 1385s returns self 1385s fulfils when given a block which executes successfully 1385s rejects when given a block which raises an exception 1385s raises an exception when given a value and a block 1385s raises an exception when given neither a value nor a block 1385s #fail 1385s sets the state to be rejected 1385s sets the value to be nil 1385s sets the reason to the given exception 1385s raises an exception if set more than once 1385s defaults the reason to a StandardError 1385s returns self 1385s #try_set 1385s when unset 1385s assigns the value 1385s assigns the block result 1385s returns true 1385s when fulfilled 1385s does not assign the value 1385s does not assign the block result 1385s returns false 1385s when rejected 1385s does not assign the value 1385s does not assign the block result 1385s has a nil value 1386s returns false 1386s it should behave like thread_arguments 1386s passes an empty array when opts is not given 1386s passes an empty array when opts is an empty hash 1386s passes an empty array when there is no :args key 1386s passes an empty array when the :args key has a nil value 1386s passes a one-element array when the :args key has a non-array value 1386s passes an array when when the :args key has an array value 1386s passes the given array when the :args key has a complex array value 1386s allows the given arguments array to be dereferenced 1386s initializers 1386s .fulfill 1386s should return a Promise 1386s should return a fulfilled Promise 1386s should return a Promise with set value 1386s .reject 1386s should return a Promise 1386s should return a rejected Promise 1386s should return a Promise with set reason 1386s .new 1386s should return an unscheduled Promise 1386s .execute 1386s creates a new Promise 1386s passes the block to the new Promise 1386s calls #execute on the new Promise 1386s #execute 1386s unscheduled 1387s sets the promise to :pending 1387s posts the block given in construction 1387s pending 1387s sets the promise to :pending 1387s does not post again 1387s with children 1387s when called on the root 1388s should set all promises to :pending 1388s when called on a child 1389s should set all promises to :pending 1389s when called on child after parent completes 1389s sets state to :pending immediately 1389s #then 1389s returns a new promise when a block is passed 1389s returns a new promise when a rescuer is passed 1389s returns a new promise when a block and rescuer are passed 1389s returns a new promise when a block, rescuer and executor are passed 1389s supports setting the executor using a named parameter 1389s should have block or rescuers 1389s can be called more than once 1389s unscheduled 1389s returns a new promise 1389s returns an unscheduled promise 1389s pending 1389s returns a new promise 1389s returns a pending promise 1389s fulfilled 1389s returns a new Promise 1389s notifies fulfillment to new child 1389s rejected 1389s returns a new Promise when :rejected 1389s notifies rejection to new child 1389s on_success 1389s should have a block 1389s returns a new promise 1389s #rescue 1389s returns a new promise 1389s #flat_map 1389s returns a promise 1389s succeeds if both promises succeed 1389s fails if the left promise fails 1389s fails if the right promise fails 1389s fails if the generating block fails 1389s #zip 1389s executes the returned Promise by default 1389s executes the returned Promise when execute is true 1389s does not execute the returned Promise when execute is false 1389s allows setting executor for Promise chain 1389s yields the results as an array 1389s fails if one component fails 1391s preserves ordering of the executed promises 1391s .zip 1391s executes the returned Promise by default 1391s executes the returned Promise when execute is true 1391s does not execute the returned Promise when execute is false 1391s allows setting executor for Promise chain 1391s yields the results as an array 1391s fails if one component fails 1391s preserves ordering of the executed promises 1391s aggregators 1391s .all? 1391s returns a new Promise 1391s does not execute the returned Promise 1391s executes the #then condition when all components succeed 1391s executes the #then condition when no promises are given 1391s executes the #rescue handler if even one component fails 1391s .any? 1391s returns a new Promise 1391s does not execute the returned Promise 1391s executes the #then condition when any components succeed 1391s executes the #then condition when no promises are given 1391s executes the #rescue handler if all componenst fail 1391s fulfillment 1391s passes the result of each block to all its children 1391s sets the promise value to the result if its block 1391s sets the promise state to :fulfilled if the block completes 1391s passes the last result through when a promise has no block 1391s uses result as fulfillment value when a promise has no block 1391s can manage long chain 1391s #set 1391s #can only be called on the root promise 1391s triggers children 1391s can be called with a block 1391s #fail 1391s can only be called on the root promise 1391s rejects children 1391s rejection 1391s passes the reason to all its children 1391s sets the promise value to the result if its block 1391s sets the promise state to :rejected if the block completes 1391s uses reason as rejection reason when a promise has no rescue callable 1391s rejects on Exception 1391s aliases 1391s aliases #realized? for #fulfilled? 1391s aliases #deref for #value 1391s aliases #catch for #rescue 1391s aliases #on_error for #rescue 1391s 1391s Concurrent::Promises 1391s zip_futures_over 1391s chain_resolvable 1391s event 1391s future 1391s .future 1392s executes 1392s executes with args 1392s .delay 1392s is expected to eq 2 1392s .schedule 1392s scheduled execution 1392s scheduled execution in graph 1392s .event 1392s is expected to equal true 1392s .future without block 1392s is expected to eq 0 1392s .any_resolved 1392s continues on first result 1392s .any_fulfilled 1392s continues on first result 1392s treats a resolved Event as a fulfilled Future 1392s treats a pending Event as a pending Future 1392s .zip 1392s waits for all results 1392s when a future raises an error 1392s raises a concurrent error 1392s when deeply nested 1392s raises the original error 1392s .zip_events 1392s waits for all and returns event 1392s .rejected_future 1392s raises the correct error when passed an unraised error 1392s Future 1393s has sync and async callbacks 1393s wait supports setting timeout 1393s wait! supports setting timeout 1393s value supports setting timeout 1393s value! supports setting timeout 1393s reason supports setting timeout 1393s result supports setting timeout 1393s chains 1393s chains with correct arguments 1393s constructs promise like tree 1393s allows graphs 1393s resolves future when Exception raised 1393s runs 1394s can be risen when rejected 1394s #flat 1394s returns value of inner future 1394s propagates rejection of inner future 1394s it propagates rejection of the future which was suppose to provide inner future 1394s rejects if inner value is not a future 1394s accepts inner event 1394s propagates requests for values to delayed futures 1395s has shortcuts 1395s ResolvableEvent 1395s #wait 1395s #resolve(raise_on_reassign = true) 1395s #resolve(raise_on_reassign = false) 1395s reservation 1395s ResolvableFuture 1395s #wait 1395s #wait! 1395s #value 1395s #value! 1395s #reason 1395s result 1395s reservation 1395s atomic_resolution 1395s interoperability 1395s with erlang actor 1395s with channel 1395s value! 1395s does not return spuriously with timeout 1395s does not return spuriously without timeout 1395s 1395s Concurrent::ScheduledTask 1395s behavior 1395s it should behave like obligation 1395s #state 1395s is :pending when first created 1395s is :fulfilled when the handler completes 1395s is :rejected when the handler raises an exception 1395s #value 1395s returns nil when reaching the optional timeout value 1395s returns immediately when timeout is zero 1396s returns the value when fulfilled before timeout 1396s returns nil when timeout reached 1396s is nil when :pending 1397s blocks the caller when :pending and timeout is nil 1398s is nil when :rejected 1398s is set to the return value of the block when :fulfilled 1398s #reason 1398s is nil when :pending 1398s is nil when :fulfilled 1398s is set to error object of the exception when :rejected 1398s it should behave like dereferenceable 1398s defaults :dup_on_deref to false 1398s calls #dup when the :dup_on_deref option is true 1398s defaults :freeze_on_deref to false 1398s calls #freeze when the :freeze_on_deref option is true 1398s defaults :copy_on_deref to nil 1398s calls the block when the :copy_on_deref option is passed a proc 1398s calls the :copy block first followed by #dup followed by #freeze 1398s does not call #dup when #dup_on_deref is set and the value is nil 1398s does not call #freeze when #freeze_on_deref is set and the value is nil 1398s does not call the #copy_on_deref block when the value is nil 1399s supports dereference flags with observers 1399s it should behave like observable 1399s #add_observer 1399s adds an observer if called before first notification 1399s adds an observer with :func if called before first notification 1399s creates an observer from a block if called before first notification 1399s raises an exception if not given an observer or a block 1399s raises an exception when given both an observer and a block 1399s #delete_observer 1399s deletes the given observer if called before first notification 1399s returns the removed observer if found in the observer set 1399s returns the given observer even when not found in the observer set 1399s #delete_observers 1399s deletes all observers when called before first notification 1399s returns self 1399s #count_observers 1399s returns zero for a new observable object 1399s returns a count of registered observers if called before first notification 1399s returns zero after #delete_observers has been called 1399s first notification 1399s calls the #update method on all observers without a specified :func 1399s calls the appropriate function on all observers which specified a :func 1400s calls the proc for all observers added as a block 1401s does not notify any observers removed with #delete_observer 1402s does not notify any observers after #delete_observers called 1402s #initialize 1402s accepts a number of seconds (from now) as the schedule time 1402s raises an exception when seconds is less than zero 1402s raises an exception when no block given 1402s sets the initial state to :unscheduled 1402s instance #execute 1402s does nothing unless the state is :unscheduled 1402s sets the sate to :pending 1402s returns self 1402s class #execute 1402s creates a new ScheduledTask 1403s passes the block to the new ScheduledTask 1403s calls #execute on the new ScheduledTask 1403s execution 1403s passes :args from the options to the block 1403s uses the :executor from the options 1403s uses the :timer_set from the options 1403s sets the state to :processing when the task is running 1403s #cancel 1403s returns false if the task has already been performed 1403s returns false if the task is already in progress 1403s cancels the task if it has not yet scheduled 1404s cancels the task if it has not yet started 1404s returns true on success 1404s sets the reason to CancelledOperationError when cancelled 1404s observation 1404s returns true for an observer added while :unscheduled 1404s returns true for an observer added while :pending 1405s returns true for an observer added while :processing 1405s notifies all observers on fulfillment 1405s notifies all observers on rejection 1405s 1405s Concurrent::Set 1405s .[] 1405s when initializing with no arguments 1405s is expected to be empty 1405s when initializing with arguments 1405s creates a set with the given objects 1405s .new 1405s when initializing with no arguments 1405s is expected to be empty 1405s when initializing with an enumerable object 1405s creates a set with the contents of the enumerable object 1405s when initializing with a block argument 1405s creates a set with the contents of the enumerable object 1405s concurrency 1407s #add and #delete 1407s force context switch 1411s #each 1411s 1411s Concurrent::SettableStruct 1411s it should behave like struct 1411s definition 1411s registers the class when given a class name 1411s /tmp/autopkgtest.RLsee5/build.Ykm/src/spec/concurrent/struct_shared.rb:15: warning: already initialized constant ValidClassName2 1411s registers the class when given a class name which is defined in the ancestors 1411s creates an anonymous class when given at least one member 1411s raises an exception when given an invalid class name 1411s defines a getter for each member 1411s raises an exception when given no members 1411s raise an exception when given an invalid member 1411s evalues a given block against the new class 1411s construction 1411s sets all absent members to nil 1411s sets all given members in order 1411s raises an exception when extra members are given 1411s properties 1411s #length 1411s returns the number of struct members 1411s #members 1411s returns the struct members as an array of symbols 1411s returns a different object than the array passed at definition 1411s #size 1411s returns the number of struct members 1411s #values 1411s returns the values of the struct as an array in order 1411s #values_at 1411s returns the value at the given offset 1411s returns the values at multiple given offsets 1411s returns values at offsets in a given range 1411s returns values for multiple ranges 1411s returns values for ranges and offsets 1411s accessors 1411s #[member] 1411s retrieves the value when given a valid symbol member 1412s retrieves the value when given a valid string member 1412s raises an exception when given a non-existent symbol member 1412s raises an exception when given a non-existent string member 1412s #[index] 1412s retrieves the value when given a valid index 1412s raises an exception when given an out-of-bound index 1412s comparison 1412s #== 1412s returns true if other has same struct subclass and equal values 1412s returns false if other has different struct subclass 1412s returns false if other has different values 1412s #!= 1412s returns false if other has same struct subclass and equal values 1412s returns true if other has different struct subclass 1412s returns true if other has different values 1412s enumeration 1412s #each 1412s yields the value of each struct member in order 1412s returns an enumerator when no block is given 1412s #each_pair 1412s yields the name and value of each struct member in order 1412s returns an enumerator when no block is given 1412s #select 1412s yields each value 1412s returns an Array with the values from for which the block returns true 1412s returns an enumerator when no block is given 1412s conversion 1412s #to_s 1412s includes the name of the class when registered 1412s includes the names of all members 1412s includes all values 1412s returns the same string as #inspect 1412s #to_a 1412s returns the to_a for this struct as an array 1412s #to_h 1412s returns a Hash containing the names and values in order 1412s copy 1412s #dup 1412s shallowly duplicates all members along with the struct 1412s discards frozen state of the struct 1412s retains frozen state of members 1412s discards singleton class 1412s copies the singleton class of members 1412s #clone 1412s shallowly clones all members along with the struct 1412s retains frozen state 1412s copies the singleton class 1412s copies the singleton class of members 1412s it should behave like mergeable_struct 1412s #merge 1412s updates all members with the new values from a given hash 1412s calls the given block for each key in `other` 1412s retains the value for all members not without values in the given hash 1412s raises an exception when given a hash with members not in the struct 1412s returns a new object 1412s definition 1412s defines a setter for each member 1412s #[member]= 1412s sets the value when given a valid symbol member 1412s sets the value when given a valid string member 1412s raises an exception when given a non-existent symbol member 1412s raises an exception when given a non-existent string member 1412s raises an exception when given a symbol member that has already been set 1413s raises an exception when given a string member that has already been set 1413s #[index]= 1413s sets the value when given a valid index 1413s raises an exception when given an out-of-bound index 1413s raises an exception when given an index that has already been set 1413s synchronization 1413s protects #values 1413s protects #values_at 1413s protects #[index] 1413s protects #[member] 1413s protects getter methods 1413s protects #[index]= 1413s protects #[member]= 1413s protects getter methods 1413s protects #to_s 1413s protects #inspect 1413s protects #to_h 1413s protects #merge 1413s protects #== 1413s protects #each 1413s protects #each_pair 1413s protects #select 1413s protects #initialize_copy 1414s copy 1414s #dup 1414s retains settability of members 1414s #clone 1414s retains settability of members 1414s 1414s Concurrent::Synchronization 1414s Concurrent::Synchronization::Object 1414s does not ensure visibility when not needed 1414s does ensure visibility when specified 1414s does ensure visibility when specified in a parent 1414s does ensure visibility once when specified in child again 1414s it should behave like attr_volatile 1414s older writes are always visible 1414s Concurrent::Synchronization::LockableObject 1414s final field always visible 1414s #wait 1414s puts the current thread to sleep 1414s allows the sleeping thread to be killed 1414s releases the lock on the current object 1414s can be called from within a #synchronize block 1414s #synchronize 1415s allows only one thread to execute count 1415s signaling 1415s for now pending, tested pretty well by Event (PENDING: Not yet implemented) 1415s it should behave like attr_volatile 1415s older writes are always visible 1415s Concurrent::Synchronization::Volatile module 1415s it should behave like attr_volatile 1415s older writes are always visible 1415s attr_atomic 1415s is expected to be == b 1415s 1415s Concurrent::SynchronizedDelegator 1415s wraps array 1415s synchronizes access 1415s synchronizes access with block 1415s 1415s Concurrent 1415s Throttle 1415s acquiring 1415s #to_s 1415s #on 1417s capacity limited 1417s 1417s Concurrent::TimerTask 1417s dereferenceable 1417s it should behave like dereferenceable 1417s defaults :dup_on_deref to false 1417s calls #dup when the :dup_on_deref option is true 1418s defaults :freeze_on_deref to false 1418s calls #freeze when the :freeze_on_deref option is true 1419s defaults :copy_on_deref to nil 1419s calls the block when the :copy_on_deref option is passed a proc 1419s calls the :copy block first followed by #dup followed by #freeze 1419s does not call #dup when #dup_on_deref is set and the value is nil 1419s does not call #freeze when #freeze_on_deref is set and the value is nil 1420s does not call the #copy_on_deref block when the value is nil 1420s supports dereference flags with observers 1420s observable 1420s it should behave like observable 1420s #add_observer 1420s adds an observer if called before first notification 1420s adds an observer with :func if called before first notification 1420s creates an observer from a block if called before first notification 1420s raises an exception if not given an observer or a block 1420s raises an exception when given both an observer and a block 1420s #delete_observer 1420s deletes the given observer if called before first notification 1420s returns the removed observer if found in the observer set 1420s returns the given observer even when not found in the observer set 1420s #delete_observers 1420s deletes all observers when called before first notification 1420s returns self 1420s #count_observers 1420s returns zero for a new observable object 1420s returns a count of registered observers if called before first notification 1420s returns zero after #delete_observers has been called 1420s first notification 1421s calls the #update method on all observers without a specified :func 1421s calls the appropriate function on all observers which specified a :func 1421s calls the proc for all observers added as a block 1423s does not notify any observers removed with #delete_observer 1424s does not notify any observers after #delete_observers called 1424s created with #new 1424s #initialize 1424s raises an exception if no block given 1424s raises an exception if :execution_interval is not greater than zero 1424s raises an exception if :execution_interval is not an integer 1424s uses the default execution interval when no interval is given 1424s uses the given execution interval 1424s raises an exception if :interval_type is not a valid value 1424s uses the default :interval_type when no type is given 1424s uses the given interval type 1424s #kill 1424s returns true on success 1424s #shutdown 1424s returns true on success 1424s arguments 1424s raises an exception if no block given 1424s TimeTask timeouts are now ignored as these were not able to be implemented correctly 1424s #execution_interval is writeable 1424s TimeTask timeouts are now ignored as these were not able to be implemented correctly 1424s raises on invalid interval_type 1424s #timeout_interval being written produces a warning 1424s execution 1424s runs the block immediately when the :run_now option is true 1424s waits for :execution_interval seconds when the :run_now option is false 1425s waits for :execution_interval seconds when the :run_now option is not given 1425s passes a "self" reference to the block as the sole argument 1425s uses the global executor by default 1425s uses a custom executor when given 1425s uses a fixed delay when set 1426s uses a fixed rate when set 1426s observation 1426s notifies all observers on success 1426s notifies all observers on error 1426s 1426s Concurrent::TVar 1426s #initialize 1426s accepts an initial value 1426s #value 1426s gets the value 1426s #value= 1426s sets the value 1426s 1426s #atomically 1426s raises an exception when no block given 1426s raises the same exception that was raised in Concurrent::atomically 1426s retries on abort 1426s commits writes if the transaction succeeds 1426s undoes writes if the transaction is aborted 1426s provides atomicity 1426s nests 1426s reflects transactional writes from within the same transaction 1426s 1426s #abort_transaction 1426s raises an exception outside an #atomically block 1426s 1426s #leave_transaction 1426s raises an exception outside an #atomically block 1426s neither commits nor aborts a transaction 1426s 1426s #processor_count 1426s retuns a positive integer 1426s 1426s #physical_processor_count 1426s retuns a positive integer 1426s 1426s #cpu_quota 1426s returns #compute_cpu_quota 1426s returns nil if no quota is detected 1426s returns nil if cgroups v2 sets no limit 1426s returns a float if cgroups v2 sets a limit 1426s returns nil if cgroups v1 sets no limit 1426s returns nil if cgroups v1 and cpu.cfs_quota_us is -1 1426s returns a float if cgroups v1 sets a limit 1426s 1426s #available_processor_count 1426s returns #processor_count if #cpu_quota is nil 1426s returns #processor_count if #cpu_quota is higher 1426s returns #cpu_quota if #cpu_quota is lower than #processor_count 1426s 1426s #cpu_shares 1426s returns a float when cgroups v2 sets a cpu.weight 1426s returns a float if cgroups v1 sets a cpu.shares 1432s 1432s Failures: 1432s 1432s 1) Concurrent::Actor pool supports asks 1432s Failure/Error: actor.ask!(:terminate!) 1432s 1432s Concurrent::MultipleAssignmentError: 1432s Future can be resolved only once. It's [true, [true, true, true, true, true, true], nil], trying to set [true, [true], nil]. 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:1257:in `rejected_resolution' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:694:in `resolve_with' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:630:in `block in chain_resolvable' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:1293:in `callback_on_resolution' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:797:in `call_callback' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:753:in `add_callback' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:656:in `on_resolution!' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:630:in `chain_resolvable' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/behaviour/termination.rb:74:in `terminate!' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/behaviour/termination.rb:48:in `on_envelope' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:27:in `pass' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/behaviour/removes_child.rb:12:in `on_envelope' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:27:in `pass' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/behaviour/sets_results.rb:16:in `on_envelope' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/core.rb:162:in `process_envelope' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/core.rb:96:in `block in on_envelope' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/core.rb:119:in `block in schedule_execution' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/core.rb:116:in `block in schedule_execution' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:18:in `call' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:96:in `work' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:77:in `block in call_job' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb:75:in `run' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:1268:in `wait_until_resolved!' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/promises.rb:998:in `value!' 1432s # /usr/share/rubygems-integration/all/gems/concurrent-ruby-edge-0.7.1/lib/concurrent-ruby-edge/concurrent/actor/reference.rb:74:in `ask!' 1432s # ./spec/concurrent/actor_spec.rb:14:in `block in terminate_actors' 1432s # ./spec/concurrent/actor_spec.rb:12:in `each' 1432s # ./spec/concurrent/actor_spec.rb:12:in `terminate_actors' 1432s # ./spec/concurrent/actor_spec.rb:335:in `block in Actor' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 2) Concurrent::RubyExchanger behaves like exchanger #exchange! behaves like exchanger method with finite timeout blocks until timeout 1432s Failure/Error: expect(duration).to be_within(0.05).of(0.1) 1432s expected 0.1553768429999991 to be within 0.05 of 0.1 1432s Shared Example Group: "exchanger method with finite timeout" called from ./spec/concurrent/exchanger_spec.rb:185 1432s Shared Example Group: :exchanger called from ./spec/concurrent/exchanger_spec.rb:206 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in Support' 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:119:in `notify_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:40:in `handle_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' 1432s # ./spec/concurrent/exchanger_spec.rb:69:in `block in
' 1432s # org/jruby/RubyBasicObject.java:2620:in `instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 3) Concurrent::RubyExchanger behaves like exchanger #try_exchange behaves like exchanger method with finite timeout blocks until timeout 1432s Failure/Error: expect(duration).to be_within(0.05).of(0.1) 1432s expected 0.20817744400000038 to be within 0.05 of 0.1 1432s Shared Example Group: "exchanger method with finite timeout" called from ./spec/concurrent/exchanger_spec.rb:197 1432s Shared Example Group: :exchanger called from ./spec/concurrent/exchanger_spec.rb:206 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in Support' 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:119:in `notify_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:40:in `handle_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' 1432s # ./spec/concurrent/exchanger_spec.rb:69:in `block in
' 1432s # org/jruby/RubyBasicObject.java:2620:in `instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 4) Concurrent::JavaExchanger behaves like exchanger #try_exchange behaves like exchanger method with finite timeout blocks until timeout 1432s Failure/Error: expect(duration).to be_within(0.05).of(0.1) 1432s expected 0.2573903429999973 to be within 0.05 of 0.1 1432s Shared Example Group: "exchanger method with finite timeout" called from ./spec/concurrent/exchanger_spec.rb:197 1432s Shared Example Group: :exchanger called from ./spec/concurrent/exchanger_spec.rb:244 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in Support' 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:119:in `notify_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:40:in `handle_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' 1432s # ./spec/concurrent/exchanger_spec.rb:69:in `block in
' 1432s # org/jruby/RubyBasicObject.java:2620:in `instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 5) Concurrent::CachedThreadPool it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/thread_pool_shared.rb:10 1432s Shared Example Group: :thread_pool called from ./spec/concurrent/executor/cached_thread_pool_spec.rb:17 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 6) Concurrent::FixedThreadPool it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/thread_pool_shared.rb:10 1432s Shared Example Group: :thread_pool called from ./spec/concurrent/executor/fixed_thread_pool_spec.rb:16 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 7) Concurrent::ImmediateExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/immediate_executor_spec.rb:10 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 8) Concurrent::IndirectImmediateExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/indirect_immediate_executor_spec.rb:10 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 9) Concurrent::JavaSingleThreadExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/java_single_thread_executor_spec.rb:17 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 10) Concurrent::JavaThreadPoolExecutor it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/thread_pool_shared.rb:10 1432s Shared Example Group: :thread_pool called from ./spec/concurrent/executor/java_thread_pool_executor_spec.rb:25 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 11) Concurrent::RubySingleThreadExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/ruby_single_thread_executor_spec.rb:15 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 12) Concurrent::RubyThreadPoolExecutor it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/thread_pool_shared.rb:10 1432s Shared Example Group: :thread_pool called from ./spec/concurrent/executor/ruby_thread_pool_executor_spec.rb:23 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 13) Concurrent::SerializedExecutionDelegator it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/serialized_execution_spec.rb:11 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 14) Concurrent::SimpleExecutorService it should behave like executor_service auto terminate does not stop shutdown 1432s Failure/Error: Process.waitpid pid 1432s 1432s Timeout::Error: 1432s execution expired 1432s Shared Example Group: :executor_service called from ./spec/concurrent/executor/simple_executor_service_spec.rb:11 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in waitpid' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:48:in `block in
' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:189:in `block in timeout' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `block in catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:36:in `catch' 1432s # /usr/share/jruby/lib/ruby/stdlib/timeout.rb:198:in `timeout' 1432s # ./spec/concurrent/executor/executor_service_shared.rb:44:in `block in
' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 15) Concurrent::TimerSet execution executes tasks with different times in schedule time 1432s Failure/Error: expect(delta).to be_within(0.1).of((i * interval) + 0.05) 1432s expected 0.44965700000000003 to be within 0.1 of 0.25 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in Support' 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:119:in `notify_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:40:in `handle_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' 1432s # ./spec/concurrent/executor/timer_set_spec.rb:115:in `block in Concurrent' 1432s # org/jruby/RubyRange.java:589:in `each' 1432s # ./spec/concurrent/executor/timer_set_spec.rb:113:in `block in Concurrent' 1432s # org/jruby/RubyBasicObject.java:2620:in `instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 16) Concurrent::MVar spurious wake ups #modify returns TIMEOUT on timeout on an empty MVar 1432s Failure/Error: expect(result).to be_nil 1432s 1432s expected: nil 1432s got: # 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in Support' 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:119:in `notify_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:40:in `handle_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' 1432s # ./spec/concurrent/mvar_spec.rb:374:in `block in Concurrent' 1432s # org/jruby/RubyBasicObject.java:2620:in `instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:145:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s 17) Concurrent::MVar spurious wake ups #put returns TIMEOUT on timeout on a full MVar 1432s Failure/Error: expect(result).to be_nil 1432s 1432s expected: nil 1432s got: # 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in Support' 1432s # /usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib/rspec/support.rb:119:in `notify_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:40:in `handle_failure' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:27:in `with_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:65:in `to' 1432s # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.13.0/lib/rspec/expectations/expectation_target.rb:101:in `to' 1432s # ./spec/concurrent/mvar_spec.rb:398:in `block in Concurrent' 1432s # org/jruby/RubyBasicObject.java:2620:in `instance_exec' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:259:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:646:in `block in run_examples' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:651:in `run_examples' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:607:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `block in run' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb:608:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:121:in `block in run_specs' 1432s # org/jruby/RubyArray.java:2803:in `map' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:145:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2091:in `with_suite_hooks' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:116:in `block in run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb:74:in `report' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:115:in `run_specs' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:89:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run' 1432s # /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 1432s # /usr/bin/rspec:4:in `
' 1432s 1432s Finished in 9 minutes 13 seconds (files took 44.04 seconds to load) 1432s 3009 examples, 17 failures, 17 pending 1432s 1432s Failed examples: 1432s 1432s rspec ./spec/concurrent/actor_spec.rb:316 # Concurrent::Actor pool supports asks 1432s rspec ./spec/concurrent/exchanger_spec.rb[1:1:2:2:1] # Concurrent::RubyExchanger behaves like exchanger #exchange! behaves like exchanger method with finite timeout blocks until timeout 1432s rspec ./spec/concurrent/exchanger_spec.rb[1:1:3:2:1] # Concurrent::RubyExchanger behaves like exchanger #try_exchange behaves like exchanger method with finite timeout blocks until timeout 1432s rspec ./spec/concurrent/exchanger_spec.rb[2:1:3:2:1] # Concurrent::JavaExchanger behaves like exchanger #try_exchange behaves like exchanger method with finite timeout blocks until timeout 1432s rspec ./spec/concurrent/executor/cached_thread_pool_spec.rb[1:1:1:3:1] # Concurrent::CachedThreadPool it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/fixed_thread_pool_spec.rb[1:1:1:3:1] # Concurrent::FixedThreadPool it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/immediate_executor_spec.rb[1:1:3:1] # Concurrent::ImmediateExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/indirect_immediate_executor_spec.rb[1:1:3:1] # Concurrent::IndirectImmediateExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/java_single_thread_executor_spec.rb[1:1:3:1] # Concurrent::JavaSingleThreadExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/java_thread_pool_executor_spec.rb[1:1:1:3:1] # Concurrent::JavaThreadPoolExecutor it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/ruby_single_thread_executor_spec.rb[1:1:3:1] # Concurrent::RubySingleThreadExecutor it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/ruby_thread_pool_executor_spec.rb[1:1:1:3:1] # Concurrent::RubyThreadPoolExecutor it should behave like thread_pool it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/serialized_execution_spec.rb[1:1:3:1] # Concurrent::SerializedExecutionDelegator it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/simple_executor_service_spec.rb[1:1:3:1] # Concurrent::SimpleExecutorService it should behave like executor_service auto terminate does not stop shutdown 1432s rspec ./spec/concurrent/executor/timer_set_spec.rb:100 # Concurrent::TimerSet execution executes tasks with different times in schedule time 1432s rspec ./spec/concurrent/mvar_spec.rb:368 # Concurrent::MVar spurious wake ups #modify returns TIMEOUT on timeout on an empty MVar 1432s rspec ./spec/concurrent/mvar_spec.rb:391 # Concurrent::MVar spurious wake ups #put returns TIMEOUT on timeout on a full MVar 1432s 1438s autopkgtest [07:50:36]: test jruby: -----------------------] 1440s autopkgtest [07:50:38]: test jruby: - - - - - - - - - - results - - - - - - - - - - 1440s jruby FLAKY non-zero exit status 1 1441s autopkgtest [07:50:39]: @@@@@@@@@@@@@@@@@@@@ summary 1441s ruby FAIL non-zero exit status 1 1441s jruby FLAKY non-zero exit status 1