0s autopkgtest [02:52:14]: starting date and time: 2024-11-02 02:52:14+0000 0s autopkgtest [02:52:14]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [02:52:14]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.5uxmuuwt/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:rails --apt-upgrade ruby-grape --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=rails/2:6.1.7.3+dfsg-4 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-6.secgroup --name adt-plucky-arm64-ruby-grape-20241102-025214-juju-7f2275-prod-proposed-migration-environment-2-26c455a6-b595-443a-b34d-3d7b1410ed8a --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 81s autopkgtest [02:53:35]: testbed dpkg architecture: arm64 81s autopkgtest [02:53:35]: testbed apt version: 2.9.8 81s autopkgtest [02:53:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 82s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 82s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [41.0 kB] 82s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [178 kB] 82s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [2614 kB] 83s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 83s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [233 kB] 83s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 83s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [1917 kB] 83s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [34.6 kB] 83s Fetched 5149 kB in 1s (4053 kB/s) 83s Reading package lists... 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 87s Calculating upgrade... 87s The following packages will be upgraded: 87s libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 87s libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 libblockdev-utils3 87s libblockdev3 libevdev2 libftdi1-2 libinih1 libpipeline1 nano 87s python3-lazr.uri 88s 15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 88s Need to get 594 kB of archives. 88s After this operation, 19.5 kB of additional disk space will be used. 88s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libevdev2 arm64 1.13.3+dfsg-1 [36.0 kB] 88s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpipeline1 arm64 1.5.8-1 [30.6 kB] 88s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 nano arm64 8.2-1 [289 kB] 88s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-utils3 arm64 3.2.0-2 [18.8 kB] 88s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-crypto3 arm64 3.2.0-2 [22.6 kB] 88s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-fs3 arm64 3.2.0-2 [35.8 kB] 88s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-loop3 arm64 3.2.0-2 [7276 B] 88s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-mdraid3 arm64 3.2.0-2 [12.8 kB] 88s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-nvme3 arm64 3.2.0-2 [17.2 kB] 88s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-part3 arm64 3.2.0-2 [14.9 kB] 88s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev-swap3 arm64 3.2.0-2 [7832 B] 88s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libblockdev3 arm64 3.2.0-2 [52.4 kB] 88s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libftdi1-2 arm64 1.5-7 [28.4 kB] 88s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libinih1 arm64 58-1ubuntu1 [7412 B] 88s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-lazr.uri all 1.0.6-4 [13.6 kB] 88s Fetched 594 kB in 1s (1103 kB/s) 89s (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 ... 79705 files and directories currently installed.) 89s Preparing to unpack .../00-libevdev2_1.13.3+dfsg-1_arm64.deb ... 89s Unpacking libevdev2:arm64 (1.13.3+dfsg-1) over (1.13.2+dfsg-1) ... 89s Preparing to unpack .../01-libpipeline1_1.5.8-1_arm64.deb ... 89s Unpacking libpipeline1:arm64 (1.5.8-1) over (1.5.7-2) ... 89s Preparing to unpack .../02-nano_8.2-1_arm64.deb ... 89s Unpacking nano (8.2-1) over (8.1-1) ... 89s Preparing to unpack .../03-libblockdev-utils3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-utils3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../04-libblockdev-crypto3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-crypto3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../05-libblockdev-fs3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-fs3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../06-libblockdev-loop3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-loop3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../07-libblockdev-mdraid3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-mdraid3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../08-libblockdev-nvme3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-nvme3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../09-libblockdev-part3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-part3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../10-libblockdev-swap3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev-swap3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../11-libblockdev3_3.2.0-2_arm64.deb ... 89s Unpacking libblockdev3:arm64 (3.2.0-2) over (3.1.1-2) ... 89s Preparing to unpack .../12-libftdi1-2_1.5-7_arm64.deb ... 89s Unpacking libftdi1-2:arm64 (1.5-7) over (1.5-6build5) ... 89s Preparing to unpack .../13-libinih1_58-1ubuntu1_arm64.deb ... 89s Unpacking libinih1:arm64 (58-1ubuntu1) over (55-1ubuntu2) ... 89s Preparing to unpack .../14-python3-lazr.uri_1.0.6-4_all.deb ... 89s Unpacking python3-lazr.uri (1.0.6-4) over (1.0.6-3) ... 89s Setting up libpipeline1:arm64 (1.5.8-1) ... 89s Setting up libinih1:arm64 (58-1ubuntu1) ... 89s Setting up python3-lazr.uri (1.0.6-4) ... 90s Setting up libftdi1-2:arm64 (1.5-7) ... 90s Setting up libblockdev-utils3:arm64 (3.2.0-2) ... 90s Setting up libblockdev-nvme3:arm64 (3.2.0-2) ... 90s Setting up nano (8.2-1) ... 90s Setting up libblockdev-fs3:arm64 (3.2.0-2) ... 90s Setting up libevdev2:arm64 (1.13.3+dfsg-1) ... 90s Setting up libblockdev-mdraid3:arm64 (3.2.0-2) ... 90s Setting up libblockdev-crypto3:arm64 (3.2.0-2) ... 90s Setting up libblockdev-swap3:arm64 (3.2.0-2) ... 90s Setting up libblockdev-loop3:arm64 (3.2.0-2) ... 90s Setting up libblockdev3:arm64 (3.2.0-2) ... 90s Installing new version of config file /etc/libblockdev/3/conf.d/00-default.cfg ... 90s Setting up libblockdev-part3:arm64 (3.2.0-2) ... 90s Processing triggers for libc-bin (2.40-1ubuntu3) ... 90s Processing triggers for man-db (2.12.1-3) ... 90s Processing triggers for install-info (7.1.1-1) ... 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 92s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 92s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 92s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 92s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 93s Reading package lists... 93s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Calculating upgrade... 94s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s autopkgtest [02:53:52]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 99s autopkgtest [02:53:53]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-grape 100s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ruby-grape 2.0.0-3 (dsc) [2310 B] 100s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ruby-grape 2.0.0-3 (tar) [284 kB] 100s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ruby-grape 2.0.0-3 (diff) [6164 B] 100s gpgv: Signature made Wed Feb 21 14:55:30 2024 UTC 100s gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 100s gpgv: Can't check signature: No public key 100s dpkg-source: warning: cannot verify inline signature for ./ruby-grape_2.0.0-3.dsc: no acceptable signature found 101s autopkgtest [02:53:55]: testing package ruby-grape version 2.0.0-3 101s autopkgtest [02:53:55]: build not needed 102s autopkgtest [02:53:56]: test gem2deb-test-runner: preparing testbed 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Starting pkgProblemResolver with broken count: 0 104s Starting 2 pkgProblemResolver with broken count: 0 104s Done 104s The following additional packages will be installed: 104s gem2deb-test-runner libjs-jquery libjs-jquery-easing libjs-jquery-fancybox 104s libjs-jquery-mousewheel libjs-jquery-ui libruby libruby3.3 rake ruby 104s ruby-activesupport ruby-builder ruby-concurrent ruby-cookiejar 104s ruby-coveralls ruby-diff-lcs ruby-docile ruby-domain-name 104s ruby-dry-configurable ruby-dry-container ruby-dry-core ruby-dry-equalizer 104s ruby-dry-inflector ruby-dry-logic ruby-dry-types ruby-grape 104s ruby-grape-entity ruby-hashie ruby-http-accept ruby-http-cookie ruby-i18n 104s ruby-mime-types ruby-mime-types-data ruby-multi-json ruby-multi-xml 104s ruby-mustermann ruby-mustermann-grape ruby-net-telnet ruby-netrc ruby-rack 104s ruby-rack-accept ruby-rack-test ruby-rest-client ruby-rspec ruby-rspec-core 104s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 104s ruby-ruby2-keywords ruby-rubygems ruby-sdbm ruby-simplecov 104s ruby-simplecov-html ruby-sync ruby-term-ansicolor ruby-test-prof ruby-thor 104s ruby-tins ruby-tzinfo ruby-unf ruby-unf-ext ruby-webrick ruby-xmlrpc 104s ruby-zeitwerk ruby3.3 rubygems-integration 104s Suggested packages: 104s libjs-jquery-ui-docs ri ruby-dev ruby-libxml ruby-nokogiri ruby-ox bundler 104s Recommended packages: 104s javascript-common zip ruby-sqlite3 ruby-oj fonts-lato 104s The following NEW packages will be installed: 104s autopkgtest-satdep gem2deb-test-runner libjs-jquery libjs-jquery-easing 104s libjs-jquery-fancybox libjs-jquery-mousewheel libjs-jquery-ui libruby 104s libruby3.3 rake ruby ruby-activesupport ruby-builder ruby-concurrent 104s ruby-cookiejar ruby-coveralls ruby-diff-lcs ruby-docile ruby-domain-name 104s ruby-dry-configurable ruby-dry-container ruby-dry-core ruby-dry-equalizer 104s ruby-dry-inflector ruby-dry-logic ruby-dry-types ruby-grape 104s ruby-grape-entity ruby-hashie ruby-http-accept ruby-http-cookie ruby-i18n 104s ruby-mime-types ruby-mime-types-data ruby-multi-json ruby-multi-xml 104s ruby-mustermann ruby-mustermann-grape ruby-net-telnet ruby-netrc ruby-rack 104s ruby-rack-accept ruby-rack-test ruby-rest-client ruby-rspec ruby-rspec-core 104s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 104s ruby-ruby2-keywords ruby-rubygems ruby-sdbm ruby-simplecov 104s ruby-simplecov-html ruby-sync ruby-term-ansicolor ruby-test-prof ruby-thor 104s ruby-tins ruby-tzinfo ruby-unf ruby-unf-ext ruby-webrick ruby-xmlrpc 104s ruby-zeitwerk ruby3.3 rubygems-integration 104s 0 upgraded, 67 newly installed, 0 to remove and 0 not upgraded. 104s Need to get 9555 kB/9556 kB of archives. 104s After this operation, 53.6 MB of additional disk space will be used. 104s Get:1 /tmp/autopkgtest.bXVczk/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [836 B] 104s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 rubygems-integration all 1.18ubuntu1 [5528 B] 104s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 105s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-webrick all 1.8.1-1ubuntu1 [52.6 kB] 105s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 105s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libruby arm64 1:3.3~ubuntu3 [5038 B] 105s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-sdbm arm64 1.0.0-5build5 [15.5 kB] 105s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libruby3.3 arm64 3.3.4-2ubuntu5 [5826 kB] 105s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby3.3 arm64 3.3.4-2ubuntu5 [49.0 kB] 105s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 105s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby arm64 1:3.3~ubuntu3 [3618 B] 105s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 rake all 13.2.1-1 [45.8 kB] 105s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 gem2deb-test-runner arm64 2.2.4 [18.2 kB] 105s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 105s Get:15 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-easing all 12-4 [6970 B] 105s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-mousewheel all 1:3.1.13-5 [6324 B] 105s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-fancybox all 12-4 [45.7 kB] 105s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] 105s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-concurrent all 1.2.3-4build1 [282 kB] 105s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-i18n all 1.14.5-1 [42.5 kB] 105s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-tzinfo all 2.0.6-1 [55.2 kB] 105s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-zeitwerk all 2.6.8-1 [36.0 kB] 105s Get:23 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 ruby-activesupport all 2:6.1.7.3+dfsg-4 [198 kB] 105s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-builder all 3.2.4-2 [17.1 kB] 105s Get:25 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-cookiejar all 0.3.4-1 [14.3 kB] 105s Get:26 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-multi-json all 1.14.1-2 [15.7 kB] 105s Get:27 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-http-accept all 2.2.1-1 [8916 B] 105s Get:28 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-unf-ext arm64 0.0.7.7-1build7 [139 kB] 105s Get:29 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-unf all 0.1.4-2.1 [4744 B] 105s Get:30 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-domain-name all 0.6.20240107-1 [48.1 kB] 105s Get:31 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-http-cookie all 1.0.5-1 [23.7 kB] 105s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-mime-types-data all 3.2024.0206-1 [134 kB] 105s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-mime-types all 3.5.2-1 [21.7 kB] 105s Get:34 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-netrc all 0.11.0-4 [6062 B] 105s Get:35 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rest-client all 2.1.0-3 [38.3 kB] 105s Get:36 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-docile all 1.1.5-2.1 [5708 B] 105s Get:37 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-simplecov-html all 0.12.3-2 [477 kB] 105s Get:38 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-simplecov all 0.22.0-1 [40.7 kB] 105s Get:39 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-sync all 0.5.0-2 [5588 B] 105s Get:40 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-tins all 1.32.1-1 [33.0 kB] 105s Get:41 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-term-ansicolor all 1.3.0-1.1 [12.9 kB] 105s Get:42 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-thor all 1.3.1-1 [50.0 kB] 105s Get:43 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-coveralls all 0.8.23-3 [12.4 kB] 105s Get:44 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 105s Get:45 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-dry-core all 0.7.1-1 [12.4 kB] 105s Get:46 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-dry-configurable all 0.9.0-2 [8492 B] 105s Get:47 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-dry-container all 0.7.2-2 [8168 B] 105s Get:48 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-dry-equalizer all 0.3.0-2 [5548 B] 105s Get:49 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-dry-inflector all 0.2.1-1 [8776 B] 105s Get:50 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-dry-logic all 1.2.0-3 [11.2 kB] 105s Get:51 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-dry-types all 1.2.2-2 [35.8 kB] 105s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-ruby2-keywords all 0.0.5-1 [4280 B] 105s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-mustermann all 3.0.0-2 [38.3 kB] 105s Get:54 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-mustermann-grape all 1.0.1-1 [4512 B] 105s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-rack all 2.2.7-1.1 [114 kB] 105s Get:56 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rack-accept all 0.4.5-3.1 [10.6 kB] 105s Get:57 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-grape all 2.0.0-3 [113 kB] 105s Get:58 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-grape-entity all 0.10.2-1 [24.8 kB] 105s Get:59 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-hashie all 5.0.0-3 [39.3 kB] 105s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-multi-xml all 0.6.0-1 [11.4 kB] 105s Get:61 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rack-test all 2.1.0-1 [14.5 kB] 105s Get:62 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 106s Get:63 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 106s Get:64 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 106s Get:65 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 106s Get:66 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 106s Get:67 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-test-prof all 0.12.2+dfsg-1 [40.6 kB] 106s Fetched 9555 kB in 1s (7165 kB/s) 106s Selecting previously unselected package rubygems-integration. 106s (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 ... 79705 files and directories currently installed.) 106s Preparing to unpack .../00-rubygems-integration_1.18ubuntu1_all.deb ... 106s Unpacking rubygems-integration (1.18ubuntu1) ... 106s Selecting previously unselected package ruby-net-telnet. 106s Preparing to unpack .../01-ruby-net-telnet_0.2.0-1_all.deb ... 106s Unpacking ruby-net-telnet (0.2.0-1) ... 106s Selecting previously unselected package ruby-webrick. 106s Preparing to unpack .../02-ruby-webrick_1.8.1-1ubuntu1_all.deb ... 106s Unpacking ruby-webrick (1.8.1-1ubuntu1) ... 106s Selecting previously unselected package ruby-xmlrpc. 106s Preparing to unpack .../03-ruby-xmlrpc_0.3.3-2_all.deb ... 106s Unpacking ruby-xmlrpc (0.3.3-2) ... 106s Selecting previously unselected package libruby:arm64. 106s Preparing to unpack .../04-libruby_1%3a3.3~ubuntu3_arm64.deb ... 106s Unpacking libruby:arm64 (1:3.3~ubuntu3) ... 106s Selecting previously unselected package ruby-sdbm:arm64. 106s Preparing to unpack .../05-ruby-sdbm_1.0.0-5build5_arm64.deb ... 106s Unpacking ruby-sdbm:arm64 (1.0.0-5build5) ... 106s Selecting previously unselected package libruby3.3:arm64. 106s Preparing to unpack .../06-libruby3.3_3.3.4-2ubuntu5_arm64.deb ... 106s Unpacking libruby3.3:arm64 (3.3.4-2ubuntu5) ... 107s Selecting previously unselected package ruby3.3. 107s Preparing to unpack .../07-ruby3.3_3.3.4-2ubuntu5_arm64.deb ... 107s Unpacking ruby3.3 (3.3.4-2ubuntu5) ... 107s Selecting previously unselected package ruby-rubygems. 107s Preparing to unpack .../08-ruby-rubygems_3.4.20-1_all.deb ... 107s Unpacking ruby-rubygems (3.4.20-1) ... 107s Selecting previously unselected package ruby. 107s Preparing to unpack .../09-ruby_1%3a3.3~ubuntu3_arm64.deb ... 107s Unpacking ruby (1:3.3~ubuntu3) ... 107s Selecting previously unselected package rake. 107s Preparing to unpack .../10-rake_13.2.1-1_all.deb ... 107s Unpacking rake (13.2.1-1) ... 107s Selecting previously unselected package gem2deb-test-runner. 107s Preparing to unpack .../11-gem2deb-test-runner_2.2.4_arm64.deb ... 107s Unpacking gem2deb-test-runner (2.2.4) ... 107s Selecting previously unselected package libjs-jquery. 107s Preparing to unpack .../12-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 107s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 107s Selecting previously unselected package libjs-jquery-easing. 107s Preparing to unpack .../13-libjs-jquery-easing_12-4_all.deb ... 107s Unpacking libjs-jquery-easing (12-4) ... 107s Selecting previously unselected package libjs-jquery-mousewheel. 107s Preparing to unpack .../14-libjs-jquery-mousewheel_1%3a3.1.13-5_all.deb ... 107s Unpacking libjs-jquery-mousewheel (1:3.1.13-5) ... 107s Selecting previously unselected package libjs-jquery-fancybox. 107s Preparing to unpack .../15-libjs-jquery-fancybox_12-4_all.deb ... 107s Unpacking libjs-jquery-fancybox (12-4) ... 107s Selecting previously unselected package libjs-jquery-ui. 107s Preparing to unpack .../16-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... 107s Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... 107s Selecting previously unselected package ruby-concurrent. 107s Preparing to unpack .../17-ruby-concurrent_1.2.3-4build1_all.deb ... 107s Unpacking ruby-concurrent (1.2.3-4build1) ... 107s Selecting previously unselected package ruby-i18n. 107s Preparing to unpack .../18-ruby-i18n_1.14.5-1_all.deb ... 107s Unpacking ruby-i18n (1.14.5-1) ... 107s Selecting previously unselected package ruby-tzinfo. 107s Preparing to unpack .../19-ruby-tzinfo_2.0.6-1_all.deb ... 107s Unpacking ruby-tzinfo (2.0.6-1) ... 107s Selecting previously unselected package ruby-zeitwerk. 107s Preparing to unpack .../20-ruby-zeitwerk_2.6.8-1_all.deb ... 107s Unpacking ruby-zeitwerk (2.6.8-1) ... 107s Selecting previously unselected package ruby-activesupport. 107s Preparing to unpack .../21-ruby-activesupport_2%3a6.1.7.3+dfsg-4_all.deb ... 107s Unpacking ruby-activesupport (2:6.1.7.3+dfsg-4) ... 107s Selecting previously unselected package ruby-builder. 107s Preparing to unpack .../22-ruby-builder_3.2.4-2_all.deb ... 107s Unpacking ruby-builder (3.2.4-2) ... 107s Selecting previously unselected package ruby-cookiejar. 107s Preparing to unpack .../23-ruby-cookiejar_0.3.4-1_all.deb ... 107s Unpacking ruby-cookiejar (0.3.4-1) ... 107s Selecting previously unselected package ruby-multi-json. 107s Preparing to unpack .../24-ruby-multi-json_1.14.1-2_all.deb ... 107s Unpacking ruby-multi-json (1.14.1-2) ... 107s Selecting previously unselected package ruby-http-accept. 107s Preparing to unpack .../25-ruby-http-accept_2.2.1-1_all.deb ... 107s Unpacking ruby-http-accept (2.2.1-1) ... 107s Selecting previously unselected package ruby-unf-ext. 107s Preparing to unpack .../26-ruby-unf-ext_0.0.7.7-1build7_arm64.deb ... 107s Unpacking ruby-unf-ext (0.0.7.7-1build7) ... 107s Selecting previously unselected package ruby-unf. 107s Preparing to unpack .../27-ruby-unf_0.1.4-2.1_all.deb ... 107s Unpacking ruby-unf (0.1.4-2.1) ... 107s Selecting previously unselected package ruby-domain-name. 108s Preparing to unpack .../28-ruby-domain-name_0.6.20240107-1_all.deb ... 108s Unpacking ruby-domain-name (0.6.20240107-1) ... 108s Selecting previously unselected package ruby-http-cookie. 108s Preparing to unpack .../29-ruby-http-cookie_1.0.5-1_all.deb ... 108s Unpacking ruby-http-cookie (1.0.5-1) ... 108s Selecting previously unselected package ruby-mime-types-data. 108s Preparing to unpack .../30-ruby-mime-types-data_3.2024.0206-1_all.deb ... 108s Unpacking ruby-mime-types-data (3.2024.0206-1) ... 108s Selecting previously unselected package ruby-mime-types. 108s Preparing to unpack .../31-ruby-mime-types_3.5.2-1_all.deb ... 108s Unpacking ruby-mime-types (3.5.2-1) ... 108s Selecting previously unselected package ruby-netrc. 108s Preparing to unpack .../32-ruby-netrc_0.11.0-4_all.deb ... 108s Unpacking ruby-netrc (0.11.0-4) ... 108s Selecting previously unselected package ruby-rest-client. 108s Preparing to unpack .../33-ruby-rest-client_2.1.0-3_all.deb ... 108s Unpacking ruby-rest-client (2.1.0-3) ... 108s Selecting previously unselected package ruby-docile. 108s Preparing to unpack .../34-ruby-docile_1.1.5-2.1_all.deb ... 108s Unpacking ruby-docile (1.1.5-2.1) ... 108s Selecting previously unselected package ruby-simplecov-html. 108s Preparing to unpack .../35-ruby-simplecov-html_0.12.3-2_all.deb ... 108s Unpacking ruby-simplecov-html (0.12.3-2) ... 108s Selecting previously unselected package ruby-simplecov. 108s Preparing to unpack .../36-ruby-simplecov_0.22.0-1_all.deb ... 108s Unpacking ruby-simplecov (0.22.0-1) ... 108s Selecting previously unselected package ruby-sync. 108s Preparing to unpack .../37-ruby-sync_0.5.0-2_all.deb ... 108s Unpacking ruby-sync (0.5.0-2) ... 108s Selecting previously unselected package ruby-tins. 108s Preparing to unpack .../38-ruby-tins_1.32.1-1_all.deb ... 108s Unpacking ruby-tins (1.32.1-1) ... 108s Selecting previously unselected package ruby-term-ansicolor. 108s Preparing to unpack .../39-ruby-term-ansicolor_1.3.0-1.1_all.deb ... 108s Unpacking ruby-term-ansicolor (1.3.0-1.1) ... 108s Selecting previously unselected package ruby-thor. 108s Preparing to unpack .../40-ruby-thor_1.3.1-1_all.deb ... 108s Unpacking ruby-thor (1.3.1-1) ... 108s Selecting previously unselected package ruby-coveralls. 108s Preparing to unpack .../41-ruby-coveralls_0.8.23-3_all.deb ... 108s Unpacking ruby-coveralls (0.8.23-3) ... 108s Selecting previously unselected package ruby-diff-lcs. 108s Preparing to unpack .../42-ruby-diff-lcs_1.5.1-1_all.deb ... 108s Unpacking ruby-diff-lcs (1.5.1-1) ... 108s Selecting previously unselected package ruby-dry-core. 108s Preparing to unpack .../43-ruby-dry-core_0.7.1-1_all.deb ... 108s Unpacking ruby-dry-core (0.7.1-1) ... 108s Selecting previously unselected package ruby-dry-configurable. 108s Preparing to unpack .../44-ruby-dry-configurable_0.9.0-2_all.deb ... 108s Unpacking ruby-dry-configurable (0.9.0-2) ... 108s Selecting previously unselected package ruby-dry-container. 108s Preparing to unpack .../45-ruby-dry-container_0.7.2-2_all.deb ... 108s Unpacking ruby-dry-container (0.7.2-2) ... 108s Selecting previously unselected package ruby-dry-equalizer. 108s Preparing to unpack .../46-ruby-dry-equalizer_0.3.0-2_all.deb ... 108s Unpacking ruby-dry-equalizer (0.3.0-2) ... 108s Selecting previously unselected package ruby-dry-inflector. 108s Preparing to unpack .../47-ruby-dry-inflector_0.2.1-1_all.deb ... 108s Unpacking ruby-dry-inflector (0.2.1-1) ... 108s Selecting previously unselected package ruby-dry-logic. 108s Preparing to unpack .../48-ruby-dry-logic_1.2.0-3_all.deb ... 108s Unpacking ruby-dry-logic (1.2.0-3) ... 108s Selecting previously unselected package ruby-dry-types. 108s Preparing to unpack .../49-ruby-dry-types_1.2.2-2_all.deb ... 108s Unpacking ruby-dry-types (1.2.2-2) ... 108s Selecting previously unselected package ruby-ruby2-keywords. 108s Preparing to unpack .../50-ruby-ruby2-keywords_0.0.5-1_all.deb ... 108s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 108s Selecting previously unselected package ruby-mustermann. 108s Preparing to unpack .../51-ruby-mustermann_3.0.0-2_all.deb ... 108s Unpacking ruby-mustermann (3.0.0-2) ... 108s Selecting previously unselected package ruby-mustermann-grape. 108s Preparing to unpack .../52-ruby-mustermann-grape_1.0.1-1_all.deb ... 108s Unpacking ruby-mustermann-grape (1.0.1-1) ... 108s Selecting previously unselected package ruby-rack. 108s Preparing to unpack .../53-ruby-rack_2.2.7-1.1_all.deb ... 108s Unpacking ruby-rack (2.2.7-1.1) ... 108s Selecting previously unselected package ruby-rack-accept. 109s Preparing to unpack .../54-ruby-rack-accept_0.4.5-3.1_all.deb ... 109s Unpacking ruby-rack-accept (0.4.5-3.1) ... 109s Selecting previously unselected package ruby-grape. 109s Preparing to unpack .../55-ruby-grape_2.0.0-3_all.deb ... 109s Unpacking ruby-grape (2.0.0-3) ... 109s Selecting previously unselected package ruby-grape-entity. 109s Preparing to unpack .../56-ruby-grape-entity_0.10.2-1_all.deb ... 109s Unpacking ruby-grape-entity (0.10.2-1) ... 109s Selecting previously unselected package ruby-hashie. 109s Preparing to unpack .../57-ruby-hashie_5.0.0-3_all.deb ... 109s Unpacking ruby-hashie (5.0.0-3) ... 109s Selecting previously unselected package ruby-multi-xml. 109s Preparing to unpack .../58-ruby-multi-xml_0.6.0-1_all.deb ... 109s Unpacking ruby-multi-xml (0.6.0-1) ... 109s Selecting previously unselected package ruby-rack-test. 109s Preparing to unpack .../59-ruby-rack-test_2.1.0-1_all.deb ... 109s Unpacking ruby-rack-test (2.1.0-1) ... 109s Selecting previously unselected package ruby-rspec-support. 109s Preparing to unpack .../60-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 109s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 109s Selecting previously unselected package ruby-rspec-core. 109s Preparing to unpack .../61-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 109s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 109s Selecting previously unselected package ruby-rspec-expectations. 109s Preparing to unpack .../62-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 109s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 109s Selecting previously unselected package ruby-rspec-mocks. 109s Preparing to unpack .../63-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 109s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 109s Selecting previously unselected package ruby-rspec. 109s Preparing to unpack .../64-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 109s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 109s Selecting previously unselected package ruby-test-prof. 109s Preparing to unpack .../65-ruby-test-prof_0.12.2+dfsg-1_all.deb ... 109s Unpacking ruby-test-prof (0.12.2+dfsg-1) ... 109s Selecting previously unselected package autopkgtest-satdep. 109s Preparing to unpack .../66-1-autopkgtest-satdep.deb ... 109s Unpacking autopkgtest-satdep (0) ... 109s Setting up ruby-sync (0.5.0-2) ... 109s Setting up ruby-ruby2-keywords (0.0.5-1) ... 109s Setting up ruby-hashie (5.0.0-3) ... 109s Setting up ruby-mustermann (3.0.0-2) ... 109s Setting up ruby-dry-inflector (0.2.1-1) ... 109s Setting up ruby-http-accept (2.2.1-1) ... 109s Setting up libjs-jquery-mousewheel (1:3.1.13-5) ... 109s Setting up ruby-cookiejar (0.3.4-1) ... 109s Setting up rubygems-integration (1.18ubuntu1) ... 109s Setting up ruby-concurrent (1.2.3-4build1) ... 109s Setting up ruby-mustermann-grape (1.0.1-1) ... 109s Setting up ruby-dry-core (0.7.1-1) ... 109s Setting up ruby-tins (1.32.1-1) ... 109s Setting up ruby-net-telnet (0.2.0-1) ... 109s Setting up ruby-i18n (1.14.5-1) ... 109s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 109s Setting up ruby-test-prof (0.12.2+dfsg-1) ... 109s Setting up ruby-webrick (1.8.1-1ubuntu1) ... 109s Setting up ruby-builder (3.2.4-2) ... 109s Setting up ruby-mime-types-data (3.2024.0206-1) ... 109s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 109s Setting up ruby-xmlrpc (0.3.3-2) ... 109s Setting up ruby-zeitwerk (2.6.8-1) ... 109s Setting up ruby-dry-equalizer (0.3.0-2) ... 109s Setting up libjs-jquery-easing (12-4) ... 109s Setting up libjs-jquery-fancybox (12-4) ... 109s Setting up ruby-tzinfo (2.0.6-1) ... 109s Setting up ruby-dry-logic (1.2.0-3) ... 109s Setting up ruby-dry-configurable (0.9.0-2) ... 109s Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... 109s Setting up ruby-mime-types (3.5.2-1) ... 109s Setting up ruby-dry-container (0.7.2-2) ... 109s Setting up ruby-dry-types (1.2.2-2) ... 109s Setting up ruby-rubygems (3.4.20-1) ... 109s Setting up rake (13.2.1-1) ... 109s Setting up libruby3.3:arm64 (3.3.4-2ubuntu5) ... 109s Setting up ruby3.3 (3.3.4-2ubuntu5) ... 109s Setting up libruby:arm64 (1:3.3~ubuntu3) ... 109s Setting up ruby (1:3.3~ubuntu3) ... 109s Setting up ruby-term-ansicolor (1.3.0-1.1) ... 109s Setting up ruby-thor (1.3.1-1) ... 109s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 109s Setting up ruby-docile (1.1.5-2.1) ... 109s Setting up ruby-sdbm:arm64 (1.0.0-5build5) ... 109s Setting up ruby-diff-lcs (1.5.1-1) ... 109s Setting up ruby-multi-json (1.14.1-2) ... 109s Setting up ruby-rack (2.2.7-1.1) ... 109s Setting up ruby-multi-xml (0.6.0-1) ... 109s Setting up ruby-simplecov-html (0.12.3-2) ... 109s Setting up ruby-netrc (0.11.0-4) ... 109s Setting up ruby-unf-ext (0.0.7.7-1build7) ... 109s Setting up ruby-activesupport (2:6.1.7.3+dfsg-4) ... 109s Setting up gem2deb-test-runner (2.2.4) ... 109s Setting up ruby-rack-test (2.1.0-1) ... 109s Setting up ruby-simplecov (0.22.0-1) ... 109s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 109s Setting up ruby-unf (0.1.4-2.1) ... 109s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 109s Setting up ruby-grape-entity (0.10.2-1) ... 109s Setting up ruby-rack-accept (0.4.5-3.1) ... 109s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 109s Setting up ruby-domain-name (0.6.20240107-1) ... 109s Setting up ruby-grape (2.0.0-3) ... 109s Setting up ruby-http-cookie (1.0.5-1) ... 109s Setting up ruby-rest-client (2.1.0-3) ... 109s Setting up ruby-coveralls (0.8.23-3) ... 109s Setting up autopkgtest-satdep (0) ... 109s Processing triggers for libc-bin (2.40-1ubuntu3) ... 109s Processing triggers for man-db (2.12.1-3) ... 115s (Reading database ... 85976 files and directories currently installed.) 115s Removing autopkgtest-satdep (0) ... 116s autopkgtest [02:54:10]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 116s autopkgtest [02:54:10]: test gem2deb-test-runner: [----------------------- 116s 116s ┌──────────────────────────────────────────────────────────────────────────────┐ 116s │ Checking Rubygems dependency resolution on ruby3.3 │ 116s └──────────────────────────────────────────────────────────────────────────────┘ 116s 116s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"grape\" 116s mv lib ./.gem2deb.lib 116s mv ./.gem2deb.lib lib 116s 116s ┌──────────────────────────────────────────────────────────────────────────────┐ 116s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 116s └──────────────────────────────────────────────────────────────────────────────┘ 116s 116s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 116s mv lib ./.gem2deb.lib 117s /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 ./spec/grape/api/custom_validations_spec.rb ./spec/grape/api/deeply_included_options_spec.rb ./spec/grape/api/defines_boolean_in_params_spec.rb ./spec/grape/api/documentation_spec.rb ./spec/grape/api/inherited_helpers_spec.rb ./spec/grape/api/instance_spec.rb ./spec/grape/api/invalid_format_spec.rb ./spec/grape/api/namespace_parameters_in_route_spec.rb ./spec/grape/api/nested_helpers_spec.rb ./spec/grape/api/optional_parameters_in_route_spec.rb ./spec/grape/api/parameters_modification_spec.rb ./spec/grape/api/patch_method_helpers_spec.rb ./spec/grape/api/recognize_path_spec.rb ./spec/grape/api/required_parameters_in_route_spec.rb ./spec/grape/api/required_parameters_with_invalid_method_spec.rb ./spec/grape/api/routes_with_requirements_spec.rb ./spec/grape/api/shared_helpers_exactly_one_of_spec.rb ./spec/grape/api/shared_helpers_spec.rb ./spec/grape/api_remount_spec.rb ./spec/grape/api_spec.rb ./spec/grape/dsl/callbacks_spec.rb ./spec/grape/dsl/desc_spec.rb ./spec/grape/dsl/headers_spec.rb ./spec/grape/dsl/helpers_spec.rb ./spec/grape/dsl/inside_route_spec.rb ./spec/grape/dsl/logger_spec.rb ./spec/grape/dsl/middleware_spec.rb ./spec/grape/dsl/parameters_spec.rb ./spec/grape/dsl/request_response_spec.rb ./spec/grape/dsl/routing_spec.rb ./spec/grape/dsl/settings_spec.rb ./spec/grape/dsl/validations_spec.rb ./spec/grape/endpoint/declared_spec.rb ./spec/grape/endpoint_spec.rb ./spec/grape/exceptions/base_spec.rb ./spec/grape/exceptions/body_parse_errors_spec.rb ./spec/grape/exceptions/invalid_accept_header_spec.rb ./spec/grape/exceptions/invalid_formatter_spec.rb ./spec/grape/exceptions/invalid_response_spec.rb ./spec/grape/exceptions/invalid_versioner_option_spec.rb ./spec/grape/exceptions/missing_group_type_spec.rb ./spec/grape/exceptions/missing_mime_type_spec.rb ./spec/grape/exceptions/missing_option_spec.rb ./spec/grape/exceptions/unknown_options_spec.rb ./spec/grape/exceptions/unknown_validator_spec.rb ./spec/grape/exceptions/unsupported_group_type_spec.rb ./spec/grape/exceptions/validation_errors_spec.rb ./spec/grape/exceptions/validation_spec.rb ./spec/grape/extensions/param_builders/hash_spec.rb ./spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb ./spec/grape/extensions/param_builders/hashie/mash_spec.rb ./spec/grape/grape_spec.rb ./spec/grape/integration/global_namespace_function_spec.rb ./spec/grape/integration/rack_sendfile_spec.rb ./spec/grape/integration/rack_spec.rb ./spec/grape/loading_spec.rb ./spec/grape/middleware/auth/base_spec.rb ./spec/grape/middleware/auth/dsl_spec.rb ./spec/grape/middleware/auth/strategies_spec.rb ./spec/grape/middleware/base_spec.rb ./spec/grape/middleware/error_spec.rb ./spec/grape/middleware/exception_spec.rb ./spec/grape/middleware/formatter_spec.rb ./spec/grape/middleware/globals_spec.rb ./spec/grape/middleware/stack_spec.rb ./spec/grape/middleware/versioner/accept_version_header_spec.rb ./spec/grape/middleware/versioner/header_spec.rb ./spec/grape/middleware/versioner/param_spec.rb ./spec/grape/middleware/versioner/path_spec.rb ./spec/grape/middleware/versioner_spec.rb ./spec/grape/named_api_spec.rb ./spec/grape/parser_spec.rb ./spec/grape/path_spec.rb ./spec/grape/presenters/presenter_spec.rb ./spec/grape/railtie_spec.rb ./spec/grape/request_spec.rb ./spec/grape/util/inheritable_setting_spec.rb ./spec/grape/util/inheritable_values_spec.rb ./spec/grape/util/reverse_stackable_values_spec.rb ./spec/grape/util/stackable_values_spec.rb ./spec/grape/util/strict_hash_configuration_spec.rb ./spec/grape/validations/attributes_doc_spec.rb ./spec/grape/validations/instance_behaivour_spec.rb ./spec/grape/validations/multiple_attributes_iterator_spec.rb ./spec/grape/validations/params_scope_spec.rb ./spec/grape/validations/single_attribute_iterator_spec.rb ./spec/grape/validations/types/array_coercer_spec.rb ./spec/grape/validations/types/primitive_coercer_spec.rb ./spec/grape/validations/types/set_coercer_spec.rb ./spec/grape/validations/types_spec.rb ./spec/grape/validations/validators/all_or_none_spec.rb ./spec/grape/validations/validators/allow_blank_spec.rb ./spec/grape/validations/validators/at_least_one_of_spec.rb ./spec/grape/validations/validators/base_spec.rb ./spec/grape/validations/validators/coerce_spec.rb ./spec/grape/validations/validators/default_spec.rb ./spec/grape/validations/validators/exactly_one_of_spec.rb ./spec/grape/validations/validators/except_values_spec.rb ./spec/grape/validations/validators/mutual_exclusion_spec.rb ./spec/grape/validations/validators/presence_spec.rb ./spec/grape/validations/validators/regexp_spec.rb ./spec/grape/validations/validators/same_as_spec.rb ./spec/grape/validations/validators/values_spec.rb ./spec/grape/validations_spec.rb ./spec/integration/eager_load/eager_load_spec.rb ./spec/integration/multi_json/json_spec.rb ./spec/integration/multi_xml/xml_spec.rb ./spec/integration/rack/v2/headers_spec.rb ./spec/integration/rack/v3/headers_spec.rb --require spec_helper 117s /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:152: warning: assigned but unused variable - internal_namespace 118s /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/core_ext/class/subclasses.rb:30: warning: method redefined; discarding old subclasses 118s /usr/share/rubygems-integration/all/gems/dry-core-0.7.1/lib/dry/core/equalizer.rb:11: warning: method redefined; discarding old Equalizer 118s /usr/share/rubygems-integration/all/gems/dry-equalizer-0.3.0/lib/dry/equalizer.rb:5: warning: previous definition of Equalizer was here 118s /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/except_values_spec.rb:10: warning: method redefined; discarding old excepts 118s 118s Randomized with seed 29621 118s 118s Grape::Extensions::Hashie::Mash::ParamBuilder 118s in an api 118s is indifferent to key or symbol access 118s in a nested namespace api 118s is Hashie::Mash 118s #params 118s is Hashie::Mash 118s in an endpoint 118s #params 118s is of type Hashie::Mash 118s 118s Grape::Middleware::Versioner::Param 118s sets the API version based on the default param (apiver) 118s cuts (only) the version out of the params 118s provides a nil version if no version is given 118s when there are multiple versions without a custom param 118s responds correctly to a v2 request 118s responds correctly to a v1 request 118s with specified parameter name 118s sets the API version based on the custom parameter name 118s does not set the API version based on the default param 118s with specified versions 118s throws an error if a non-allowed version is specified 118s allows versions that have been specified 118s when there are multiple versions with a custom param 118s responds correctly to a v1 request 118s responds correctly to a v2 request 118s when no version is set 118s returns a 200 (matches the first version found) 118s 118s Grape::Validations::Validators::DefaultValidator 118s does not allows faulty optional arrays 118s set default value for optional param 118s sets default values for grouped arrays 118s sets lambda based defaults at the time of call 118s set default values for optional params and allow to use required fields in the same time 118s allows optional arrays to be omitted 118s set default values for optional params 118s lets you leave required values nested inside an optional blank 118s allows optional arrays with optional params 118s set default values for missing params in the request 118s optional with nil as value 118s special types 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s variant-member-type collections 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s primitive types 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s structures types 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s respects the default value 118s optional group with defaults 118s optional array with default value includes optional param with default value 118s sets default value for optional array if param is not provided 118s optional array without default value includes optional param with default value 118s returns nil for optional array if param is not provided 118s optional hash with default value includes optional param with default value 118s sets default value from parent defaults for inner param if parent param is not provided 118s sets default value for optional hash if param is not provided 118s sets own default value for inner param if parent param is provided 118s optional hash without default value includes optional param with default value 118s returns nil for optional hash if param is not provided 118s does not fail even if invalid params is passed to default validator 118s array with default values and given conditions 118s applies the default values only if the conditions are met 118s 118s Grape::Validations 118s using a custom body-only validator 118s ignores field in query 118s allows field in body 118s using a custom request/param validator 118s fail when non-admin user sets an admin field 118s fails when we send admin fields and we are not admin 118s does not fail when we send admin fields and we are admin 118s does not fail when we send non-admin and admin=false fields only 118s does not fail when we send non-admin fields only 118s Grape::Validations::Base 118s behaves like deprecated class 118s raises an ActiveSupport::DeprecationException 118s using a custom validator with message_key 118s fails with message 118s using a custom length validator 118s over 140 characters 118s specified in the query string 118s under 140 characters 118s 118s Grape::API 118s execute first request in reasonable time 118s 118s Grape::API::Helpers 118s defines parameters 118s 118s MultiJson 118s uses multi_json (PENDING: Temporarily skipped with xit) 118s 118s Grape::Middleware::Versioner::Header 118s succeeds if :strict is not set 118s succeeds if :strict is set to false 118s succeeds if :strict is set to false and given an invalid header 118s when there are multiple versions with complex vendor specified with rescue_from :all 118s with header versioned endpoints and a rescue_all block defined 118s responds correctly to a v2 request 118s responds correctly to a v1 request 118s api.version 118s is set 118s is set if format provided 118s fails with 406 Not Acceptable if version is invalid 118s api.format 118s is set 118s is nil if not provided 118s when version is set to v1 118s is nil if not provided 118s is set 118s when version is set to v1 118s is nil if not provided 118s is set 118s when multiple versions are specified 118s fails with another version 118s succeeds with v2 118s succeeds with v1 118s with missing vendor option 118s fails 118s api.type and api.subtype 118s sets preferred type and subtype 118s sets preferred type 118s sets type and subtype to first choice of content type if no preference given 118s when :strict and cascade: false 118s fails with 406 Not Acceptable if header is empty 118s fails with 406 Not Acceptable if header contains a single invalid accept 118s fails with 406 Not Acceptable if header is not set 118s succeeds if proper header is set 118s fails with 406 Not Acceptable if header is application/xml 118s api.vendor 118s fails with 406 Not Acceptable if vendor is invalid 118s is set if format provided 118s is set 118s when version is set 118s fails with 406 Not Acceptable if vendor is invalid 118s is set if format provided 118s is set 118s when :strict is set 118s fails with 406 Not Acceptable if header is not set 118s fails with 406 Not Acceptable if header is empty 118s succeeds if proper header is set 118s 118s Grape::Validations::Validators::ExceptValuesValidator 118s 10: opt_except_type_coerce_default - 3 118s 2: req_except_custom_message - invalid-type3 118s 12: req_except_range - 13 118s 5: req_except_lambda - invalid-type1 118s 9: req_except_type_coerce - 3 118s 7: opt_except_default - invalid-type3 118s 7: opt_except_default - 118s 0: req_except - invalid-type3 118s 7: opt_except_default - invalid-type1 118s 5: req_except_lambda - invalid-type4 118s 0: req_except - valid-type 118s 10: opt_except_type_coerce_default - 10 118s 3: req_except_no_value - invalid-type1 119s 11: opt_except_array_type_coerce_default - 10 119s 2: req_except_custom_message - valid-type 119s 1: req_except_hash - invalid-type3 119s 1: req_except_hash - invalid-type1 119s 5: req_except_lambda - valid-type 119s raises IncompatibleOptionValues when type is incompatible with values array 119s 6: req_except_lambda_custom_message - valid-type 119s 2: req_except_custom_message - invalid-type1 119s 9: req_except_type_coerce - 11 119s 11: opt_except_array_type_coerce_default - 119s 6: req_except_lambda_custom_message - invalid-type4 119s 9: req_except_type_coerce - 3 119s 9: req_except_type_coerce - 11 119s 1: req_except_hash - valid-type 119s raises IncompatibleOptionValues on a default value in exclude 119s 6: req_except_lambda_custom_message - invalid-type1 119s 9: req_except_type_coerce - invalid-type1 119s 10: opt_except_type_coerce_default - invalid-type1 119s 11: opt_except_array_type_coerce_default - ["3"] 119s 11: opt_except_array_type_coerce_default - invalid-type1 119s 11: opt_except_array_type_coerce_default - [10] 119s raises IncompatibleOptionValues when a default array has excluded values 119s 11: opt_except_array_type_coerce_default - [3] 119s 4: req_except_empty - invalid-type1 119s 10: opt_except_type_coerce_default - 119s 0: req_except - invalid-type1 119s 8: opt_except_lambda_default - invalid-type3 119s 8: opt_except_lambda_default - invalid-type1 119s 8: opt_except_lambda_default - 119s 12: req_except_range - 11 119s 8: opt_except_lambda_default - valid-type 119s 10: opt_except_type_coerce_default - 3 119s 7: opt_except_default - valid-type 119s 119s Grape::Middleware::Versioner 119s recognizes :accept_version_header 119s recognizes :param 119s recognizes :path 119s recognizes :header 119s 119s Grape::Endpoint 119s #declared; with multiple route_param 119s return :filter and :id parameters in declared for second enpoint inside route_param 119s return only :id without :artist_id 119s return only :artist_id without :id 119s return :compositor_id for mounter in route_param 119s #declared; from a nested mounted endpoint 119s can access parent attributes 119s #declared 119s shows nil for nested params if include_missing is true 119s shows nil for multiple allowed types if include_missing is true 119s builds arrays correctly 119s has as many keys as there are declared params 119s includes attributes with value that evaluates to false 119s builds nested params 119s does not include renamed missing attributes if that option is passed 119s filters out any additional params that are given 119s builds nested params when given array 119s does not include missing attributes if that option is passed 119s stringifies if that option is passed 119s does not include missing attributes when there are nested hashes 119s has a optional param with default value all the time 119s does not work in a before filter 119s includes attributes with value that evaluates to nil 119s includes missing attributes with defaults when there are nested hashes 119s when the param is missing and include_missing=true 119s sets objects with type=Set to be a set 119s sets objects with type=Array to be an array 119s includes all declared children when type=Hash 119s sets objects with type=Hash to be a hash 119s when the param is missing and include_missing=false 119s sets nested objects to be nil 119s when params are not built with default class 119s returns an object that corresponds with the params class - hash with indifferent access 119s returns an object that corresponds with the params class - hash 119s W, [2024-11-02T02:54:13.160135 #3007] WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#first defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method. 119s W, [2024-11-02T02:54:13.160612 #3007] WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#first defined in Enumerable. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method. 119s returns an object that corresponds with the params class - hashie mash 119s parameter renaming 119s with a renamed hash with nested parameters 119s ignores the renamed parameter (as name) 119s maps the renamed parameter correctly (original name) 119s generates the correct parameter names for documentation 119s validates the renamed parameter correctly (original name) 119s with a renamed root parameter 119s ignores the renamed parameter (as name) 119s generates the correct parameter names for documentation 119s maps the renamed parameter correctly (original name) 119s validates the renamed parameter correctly (original name) 119s with a renamed hash with nested renamed parameter 119s ignores the renamed parameter (as name, 2) 119s validates the renamed parameter correctly (original name) 119s ignores the renamed parameter (as name, 3) 119s maps the renamed parameter correctly (original name) 119s ignores the renamed parameter (as name, 1) 119s generates the correct parameter names for documentation 119s with a deeply nested parameter structure 119s generates the correct parameter names for documentation 119s does not modify the request params 119s maps no parameters when none are given 119s maps the renamed parameter correctly 119s #declared; mixed nesting 119s can access parent route_param 119s #declared; call from child namespace 119s is expected to eq 200 119s with include_parent_namespaces: true 119s returns declared parameters from every parent namespace 119s with include_parent_namespaces: false 119s returns declared parameters only from current namespace 119s without declaration 119s returns all requested parameters 119s 119s Grape::Validations::Validators::AtLeastOneOfValidator 119s #validate! 119s when exactly one of the restricted params is selected 119s does not return a validation error 119s when all restricted params are present 119s does not return a validation error 119s mixed with other params 119s does not return a validation error 119s when restricted params are deeply nested 119s when none of them are present 119s returns a validation error with full names of the params 119s when at least one of them is present 119s does not return a validation error 119s when none of the restricted params is selected 119s returns a validation error 119s when custom message is specified 119s returns a validation error 119s when a subset of restricted params are present 119s does not return a validation error 119s when restricted params are nested inside array 119s when none of them are present 119s returns a validation error with full names of the params 119s when at least one of them is present 119s does not return a validation error 119s when restricted params are nested inside hash 119s when none of them are present 119s returns a validation error with full names of the params 119s when at least one of them is present 119s does not return a validation error 119s 119s Grape::Validations::SingleAttributeIterator 119s #each 119s when params is a hash 119s yields params and every single attribute from the list 119s when params is an array 119s yields every single attribute from the list for each of the array elements 119s when missing optional value 119s does not yield skipped values 119s empty values 119s marks params with empty values 119s 119s Grape::Exceptions::MissingOption 119s #message 119s contains the problem in the message 119s 119s Rack::Sendfile 119s when calling sendfile 119s contains Sendfile headers 119s when streaming non file content 119s not contains Sendfile headers 119s 119s Grape 119s /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/eager_load.rb:20: warning: possibly useless use of :: in void context 119s compile! 119s eager_load! 119s 119s Grape::Middleware::Auth::Strategies 119s Basic Auth 119s authenticates if given valid creds 119s throws a 401 if no auth is given 119s throws a 401 is wrong auth is given 119s 119s Grape::Util::ReverseStackableValues 119s #to_hash 119s returns a Hash representation 119s #[] 119s returns parent value when no value is set 119s returns an array of values 119s parent values are not changed 119s combines parent and actual values (actual first) 119s #[]= 119s sets a value 119s pushes further values 119s can handle array values 119s #clone 119s copies all values 119s complex (i.e. not primitive) data types (ex. middleware, please see bug #930) 119s copies values; does not duplicate them 119s #delete 119s deletes a key 119s does not delete parent values 119s #keys 119s returns all keys 119s returns merged keys with parent 119s 119s Grape::Parser 119s .parser_for 119s returns parser correctly 119s calls .parsers 119s when parser is available 119s returns registered parser if available 119s when parser is an instance of Symbol 119s returns object which can be called 119s returns an instance of Method 119s when parser does not exist 119s returns nil 119s .parsers 119s includes built-in parsers 119s returns an instance of Hash 119s with added parser by using `register` keyword 119s includes added parser 119s with :parsers option 119s includes passed :parsers values 119s .builtin_parsers 119s includes json and xml parsers by default 119s returns an instance of Hash 119s 119s Grape 119s .config 119s is expected to eq {:param_builder=>Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder} 119s 119s Grape::Request 119s #headers 119s with http headers in env 119s cuts HTTP_ prefix and capitalizes header name words 119s with non-HTTP_* stuff in env 119s does not include them 119s with symbolic header names 119s converts them to string 119s #params 119s by default returns stringified parameter keys 119s with grape.routing_args 119s cuts version and route_info 119s when build_params_with: Grape::Extensions::Hash::ParamBuilder is specified 119s returns symbolized params 119s when the build_params_with is set to Hashie 119s when the API includes a specific param builder 119s is expected to be a kind of Hashie::Mash 119s when the API does not include a specific param builder 119s is expected to be a kind of Hash 119s 119s Grape::Exceptions::ValidationErrors 119s api with rescue_from :all handler 119s with content_type xml 119s can recover from failed body parsing 119s with content_type text 119s can recover from failed body parsing 119s with no specific content_type 119s can recover from failed body parsing 119s with content_type json 119s can recover from failed body parsing 119s api with rescue_from :grape_exceptions handler with block 119s with content_type xml 119s returns body parsing error message 119s with content_type json 119s returns body parsing error message 119s api without a rescue handler 119s and with no specific content_type 119s can recover from failed body parsing 119s and with content_type json 119s can recover from failed body parsing 119s with content_type xml 119s can recover from failed body parsing 119s with content_type text 119s can recover from failed body parsing 119s api with rescue_from :grape_exceptions handler 119s with content_type json 119s returns body parsing error message 119s with content_type xml 119s returns body parsing error message 119s 119s Grape::Endpoint 119s sets itself in the env upon call 119s allows explicit return calls 119s resets all instance variables (except block) between calls 119s does not persist params between calls 119s #params 119s default class 119s is a ActiveSupport::HashWithIndifferentAccess 119s sets a value to params 119s params 119s instrumentation 119s notifies AS::N 119s #status 119s is callable from within a block 119s is set as default to 201 for post 119s is set as default to 200 for get 119s binary 119s DEPRECATION WARNING: Use stream to use a Stream object. (called from block (4 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/endpoint_spec.rb:1001) 119s suports stream objects in response 119s #params 119s responds with a 415 for an unsupported content-type 119s deeply converts nested params 119s is available to the caller 119s does not accept text/plain in JSON format if application/json is specified as content type 119s parses from path segments 119s precedence 119s route string params have higher precedence than URL params 119s route string params have higher precedence than body params 119s sets a value to params 119s params 119s when the limit on multipart files is exceeded 119s returns a 413 if given too many multipart files 119s content type with params 119s does not response with 406 for same type without params 119s responses with given content type in headers 119s with special requirements 119s parses email param with provided requirements for params 119s parses many params with provided regexps 119s namespace requirements 119s overrides outer namespace's requirements 119s parse email param with provided requirements for params 119s from body parameters 119s does not include parameters not defined by the body 119s converts XML bodies to params 119s converts JSON bodies to params 119s does not convert empty JSON bodies to params 119s returns a 400 if given an invalid multipart body 119s converts XML bodies to params 119s #error! 119s does not merges additional headers with headers set after call 119s sets the status code for the endpoint 119s accepts a message 119s accepts a frozen object 119s can specifiy headers 119s accepts an object and render it in format 119s accepts a code 119s merges additional headers with headers set before call 119s #initialize 119s takes a settings stack, options, and a block 119s #redirect 119s redirects to a url with status 302 119s has status code 303 if it is not get request and it is http 1.1 119s allows for an optional redirect body override 119s support permanent redirect 119s #method_missing 119s when performing an undefined method of an instance inside the API 119s raises NoMethodError but stripping the internals of the Object class (FAILED - 1) 119s when referencing an undefined local variable 119s raises NoMethodError but stripping the internals of the Grape::Endpoint class and including the API route 119s version headers 119s result in a 406 response if they are invalid 119s result in a 406 response if they cannot be parsed by rack-accept 119s #cookies 119s deletes cookie 119s deletes cookies with path 119s sets browser cookies and does not set response cookies 119s is callable from within a block 119s sets and update browser cookies 119s anchoring 119s delete 200, with a return value (no explicit body) 119s responds to /example delete method 119s delete 204 119s responds to /example/and/some/more for the non-anchored delete method 119s anchors paths by default for the delete method 119s allows for the anchoring option with a delete method 119s all other 119s anchors paths by default for the GET method 119s responds to /example/and/some/more for the non-anchored PATCH method 119s allows for the anchoring option with a HEAD method 119s responds to /example/and/some/more for the non-anchored HEAD method 119s responds to /example/and/some/more for the non-anchored OPTIONS method 119s anchors paths by default for the PATCH method 119s responds to /example/and/some/more for the non-anchored GET method 119s allows for the anchoring option with a PATCH method 119s allows for the anchoring option with a OPTIONS method 119s responds to /example/and/some/more for the non-anchored PUT method 119s allows for the anchoring option with a GET method 119s anchors paths by default for the POST method 119s responds to /example/and/some/more for the non-anchored POST method 119s anchors paths by default for the PUT method 119s allows for the anchoring option with a POST method 119s allows for the anchoring option with a PUT method 119s anchors paths by default for the HEAD method 119s anchors paths by default for the OPTIONS method 119s delete 204, with nil has return value (no explicit body) 119s responds to /example delete method 119s delete 200, with response body 119s responds to /example/and/some/more for the non-anchored delete method 119s delete 204, with empty array has return value (no explicit body) 119s responds to /example delete method 119s .generate_api_method 119s returns a Proc 119s raises ArgumentError if a block is not given 119s raises NameError if the method name is already in use 119s request 119s includes prefix 119s is set to the url requested 119s includes version v1 119s includes version v1 119s #header 119s is callable from within a block 119s filters 119s allows adding to response with present 119s when terminating the response with error! 119s breaks normal call chain 119s allows prior and parent filters of same type to run 119s before filters 119s runs the before filter if set 119s after filters 119s overrides the response body if it sets it 119s does not override the response body with its return 119s #headers 119s includes headers passed as symbols 119s includes additional request headers 119s includes request headers 119s .before_each 119s is settable via reference 119s is able to stack helper 119s is settable via block 119s is able to override a helper 119s validation errors 119s returns the errors, and passes headers 119s 119s Grape::API::Instance 119s boolean constant 119s sets Boolean as a type 119s Params endpoint type 119s params type is a boolean 119s 119s Grape::Exceptions::Validation 119s fails when params are missing 119s when message is a String 119s does not store the message_key 119s when message is a symbol 119s stores message_key 119s 119s Grape::Validations::Types::SetCoercer 119s #call 119s a set of primitives 119s coerces elements to the set 119s a set of sets 119s coerces elements in the nested set 119s a set of sets of arrays 119s coerces elements in the nested set 119s 119s Grape::Validations::Validators::ExactlyOneOfValidator 119s #validate! 119s when none of the params are present 119s returns a validation error 119s when custom message is specified 119s returns a validation error 119s when all params are present 119s returns a validation error 119s mixed with other params 119s returns a validation error 119s when params are deeply nested 119s returns a validation error with full names of the params 119s when params are nested inside required hash 119s returns a validation error with full names of the params 119s when exacly one param is present 119s does not return a validation error 119s when params are nested inside optional hash 119s when params are empty 119s does not return a validation error 119s when params are passed 119s returns a validation error with full names of the params 119s when a subset of params are present 119s returns a validation error 119s when params are nested inside array 119s returns a validation error with full names of the params 119s 119s Grape::Exceptions::ValidationErrors 119s initialize 119s assigns headers through base class 119s message 119s is not repeated 119s is expected to include "FooBar is invalid" 119s is expected to eq 1 119s #full_messages 119s when attributes is an array of symbols 119s returns an array with an error full message 119s with errors 119s returns an array with each errors full message 119s api 119s can return structured json with separate fields 119s 119s Grape::Exceptions::Base 119s #compose_message 119s when I18n does not enforce available locales 119s when the fallback locale is available 119s returns the translated message 119s when the fallback locale is not available 119s returns the translated message 119s when I18n enforces available locales 119s when the fallback locale is not available 119s returns the translation string 119s when the fallback locale is available 119s returns the translated message 119s #to_s 119s is expected to eq "a_message" 119s #message 119s is expected to eq "a_message" 119s 119s Grape::DSL::Routing 119s .segment 119s is alias to #namespace 119s .route_param 119s does not modify options parameter 119s nests requirements option under param name 119s calls #namespace with given params 119s .head 119s delegates to .route 119s .do_not_route_head! 119s sets do not route head option 119s .namespace 119s calls #joined_space_path on Namespace 119s creates a new namespace with given name and options 119s .resource 119s is alias to #namespace 119s .version 119s sets a version for route 119s .delete 119s delegates to .route 119s .do_not_route_options! 119s sets do not route options option 119s .route 119s resets validations 119s does not duplicate identical endpoints 119s generates correct endpoint options 119s defines a new endpoint 119s marks end of the route 119s .group 119s is alias to #namespace 119s .versions 119s returns last defined version 119s .routes 119s returns value received from #prepare_routes 119s when #routes was already called once 119s does not call prepare_routes again 119s .options 119s delegates to .route 119s .resources 119s is alias to #namespace 119s .put 119s delegates to .route 119s .get 119s delegates to .route 119s .mount 119s mounts multiple routes at once 119s mounts on a nested path 119s .patch 119s delegates to .route 119s .scope 119s create a scope without affecting the URL 119s .post 119s delegates to .route 119s .prefix 119s sets a prefix for route 119s 119s MultiXml 119s uses multi_xml 119s 119s Grape::Validations::Validators::RegexpValidator 119s accepts valid input 119s accepts nil 119s nested regexp with array 119s refuses inapppopriate 119s invalid input 119s refuses inapppopriate 119s refuses empty 119s custom validation message 119s accepts valid input 119s accepts nil 119s regexp with array 119s refuses empty items 119s accepts valid items 119s refuses inapppopriate items 119s accepts nil instead of array 119s refuses nil items 119s with invalid input 119s refuses inapppopriate 119s refuses empty 119s regexp with array 119s refuses empty items 119s refuses inapppopriate items 119s accepts valid items 119s refuses nil items 119s accepts nil instead of array 119s 119s Grape::DSL::Logger 119s .logger 119s sets a logger 119s returns a logger 119s 119s Grape::Middleware::Versioner::AcceptVersionHeader 119s succeeds if :strict is set to false 119s succeeds if :strict is not set 119s api.version 119s fails with 406 Not Acceptable if version is not supported 119s is set 119s is set if format provided 119s when :strict and cascade: false 119s fails with 406 Not Acceptable if header is not set 119s succeeds if proper header is set 119s fails with 406 Not Acceptable if header is empty 119s when :strict is set 119s fails with 406 Not Acceptable if header is not set 119s succeeds if proper header is set 119s fails with 406 Not Acceptable if header is empty 119s 119s Grape::Middleware::Globals 119s calls through to the app 119s environment 119s sets the grape.request.headers environment 119s sets the grape.request.params environment 119s sets the grape.request environment 119s 119s Grape::Exceptions::UnsupportedGroupType 119s Grape::Exceptions::UnsupportedGroupTypeError 119s behaves like deprecated class 119s raises an ActiveSupport::DeprecationException 119s #message 119s is expected to include "group type must be Array, Hash, JSON or Array[JSON]" 119s 119s Grape::Validations::MultipleAttributesIterator 119s #each 119s when params is empty optional placeholder 119s does not yield it 119s when params is a hash 119s yields the whole params hash without the list of attrs 119s when params is an array 119s yields each element of the array without the list of attrs 119s 119s Grape::Middleware::Error 119s 119s is possible to return errors in jsonapi format 119s with defaults 119s does not trap errors by default 119s 119s is possible to return hash errors in jsonapi format 119s 119s responds to custom Grape exceptions appropriately 119s 119s is possible to return the backtrace and the original exception in xml format 119s 119s is possible to return hash errors in json format 119s with rescue_all 119s Non-StandardError exception 120s does not trap errors other than StandardError 120s StandardError exception 120s defaults to a 500 status 120s sets the message appropriately 120s Non-StandardError exception with a provided rescue handler 120s custom error response 120s rescues the exception using the provided handler 120s default error response 120s rescues the exception using the default handler 120s 120s is possible to return errors in json format 120s 120s is possible to specify a custom formatter 120s 120s is possible to return hash errors in xml format 120s 120s is possible to specify a different default status code 120s 120s is possible to return errors in xml format 120s with rescue_options :backtrace and :exception set to true 120s is possible to return the backtrace and the original exception in json format 120s 120s does not trap regular error! codes 120s 120s is possible to return the backtrace and the original exception in txt format 120s 120s Grape::Endpoint 120s get 120s responds 120s put 120s responds 120s 120s Grape::Validations::Types 120s ::primitive? 120s identifies unknown types 120s recognizes String as a primitive 120s recognizes Integer as a primitive 120s recognizes Numeric as a primitive 120s recognizes Grape::API::Boolean as a primitive 120s recognizes Float as a primitive 120s recognizes Time as a primitive 120s recognizes BigDecimal as a primitive 120s recognizes DateTime as a primitive 120s recognizes Symbol as a primitive 120s recognizes Date as a primitive 120s ::build_coercer 120s caches the result of the build_coercer method 120s has internal cache variables 120s ::custom? 120s returns true if the type responds to :parse with one argument 120s returns false if the type does not respond to :parse 120s returns false if the type's #parse method takes other than one argument 120s special types 120s when Array[JSON] 120s is expected to eq Grape::Validations::Types::JsonArray 120s when Rack::Multipart::UploadedFile 120s is expected to eq Grape::Validations::Types::File 120s when JSON 120s is expected to eq Grape::Validations::Types::Json 120s when File 120s is expected to eq Grape::Validations::Types::File 120s ::special? 120s provides special handling for JSON 120s provides special handling for File 120s provides special handling for [JSON] 120s provides special handling for Rack::Multipart::UploadedFile 120s ::structure? 120s recognizes Set as a structure 120s recognizes Array as a structure 120s recognizes Hash as a structure 120s 120s Grape::DSL::Headers 120s when headers are set 120s #header 120s delete 120s deletes a header key-value pair 120s set 120s returns value 120s get 120s returns a specifc value 120s returns all set headers 120s when no headers are set 120s #header 120s returns nil 120s 120s Grape::Exceptions::InvalidAcceptHeader 120s API with cascade=true and rescue_from :all handler 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return with status 200 120s does return the expected result 120s that receives 120s an invalid version in the request 120s behaves like a cascaded request 120s does not find a matching route 120s an invalid vendor in the request 120s behaves like a cascaded request 120s does not find a matching route 120s API with cascade=true and without a rescue handler 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return with status 200 120s does return the expected result 120s that receives 120s an invalid version in the request 120s behaves like a cascaded request 120s does not find a matching route 120s an invalid vendor in the request 120s behaves like a cascaded request 120s does not find a matching route 120s API with cascade=false and rescue_from :all handler 120s that receives 120s an invalid vendor in the request 120s behaves like a rescued request 120s does show rescue handler processing 120s does not include the X-Cascade=pass header 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return the expected result 120s does return with status 200 120s API with cascade=false and without a rescue handler 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return with status 200 120s does return the expected result 120s that receives 120s an invalid vendor in the request 120s behaves like a not-cascaded request 120s does not include the X-Cascade=pass header 120s does not accept the request 120s an invalid version in the request 120s behaves like a not-cascaded request 120s does not include the X-Cascade=pass header 120s does not accept the request 120s API with cascade=true, http_codes but without a rescue handler 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return with status 200 120s does return the expected result 120s that receives 120s an invalid vendor in the request 120s behaves like a cascaded request 120s does not find a matching route 120s an invalid version in the request 120s behaves like a cascaded request 120s does not find a matching route 120s API with cascade=true and with rescue_from :all handler and http_codes 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return the expected result 120s does return with status 200 120s that receives 120s an invalid vendor in the request 120s behaves like a cascaded request 120s does not find a matching route 120s an invalid version in the request 120s behaves like a cascaded request 120s does not find a matching route 120s API with cascade=false, http_codes but without a rescue handler 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return the expected result 120s does return with status 200 120s that receives 120s an invalid version in the request 120s behaves like a not-cascaded request 120s does not include the X-Cascade=pass header 120s does not accept the request 120s an invalid vendor in the request 120s behaves like a not-cascaded request 120s does not accept the request 120s does not include the X-Cascade=pass header 120s API with cascade=false and with rescue_from :all handler and http_codes 120s that receives 120s an invalid vendor in the request 120s behaves like a rescued request 120s does not include the X-Cascade=pass header 120s does show rescue handler processing 120s that received a request with correct vendor and version 120s behaves like a valid request 120s does return with status 200 120s does return the expected result 120s 120s Grape::DSL::Validations 120s .reset_validations! 120s resets params 120s resets declared params 120s resets validations 120s does not reset documentation description 120s .params 120s evaluates block 120s returns a ParamsScope 120s 120s Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder 120s in an api 120s #params 120s is a Hash 120s params are indifferent to symbol or string keys 120s parses sub hash params 120s responds to string keys 120s in an endpoint 120s #params 120s is of type Hash 120s 120s Grape::Exceptions::MissingGroupType 120s Grape::Exceptions::MissingGroupTypeError 120s behaves like deprecated class 120s raises an ActiveSupport::DeprecationException 120s #message 120s is expected to include "group type is required" 120s 120s Grape::Middleware::Error 120s defaults to a 500 status 120s sets the error message appropriately 120s sets the status code based on the rack util status code symbol 120s sets the status code appropriately 120s has a default message 120s with http code 120s adds the status code if wanted 120s presents an error message 120s 120s Grape::Validations::Validators::ValuesValidator 120s raises IncompatibleOptionValues on an invalid default value from proc 120s allows a blank value when the allow_blank option is true 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (2 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:362) 120s allows a default value with except 120s raises IncompatibleOptionValues on an invalid default value 120s does not validate updated values without proc 120s allows value using lambda 120s rejects all values if values is an empty array 120s allows a valid default value 120s allows a valid default value 120s validates against values in a proc 120s Error 'comparison of String with 0 failed' raised while validating attribute 'number' 120s does not allow non-numeric string value for int value using lambda 120s raises IncompatibleOptionValues when except contains a value that is not a kind of the type 120s allows a valid value for a parameter 120s validates default value from proc 120s raises IncompatibleOptionValues when type is incompatible with values array 120s allows a proc for values 120s does not allow an invalid value for a parameter using an endless range 120s does not allow an invalid value for a parameter using lambda 120s allows numeric string for int value using lambda 120s validates against values in an endless range 120s validates against an empty array in a proc 120s allows values to be a kind of the coerced type not just an instance of it 120s validates default value from proc against values in a proc 120s does not allow invalid value using lambda 120s does not allow an invalid value for a parameter 120s allows values to be a kind of the coerced type in an array 120s raises IncompatibleOptionValues when values contains a value that is not a kind of the type 120s Error 'undefined method `>' for nil' raised while validating attribute 'number' 120s does not allow nil for int value using lambda 120s exclusive excepts 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:621) 120s rejects an array of values if any of them matches except 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:615) 120s rejects values that matches except 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:609) 120s allows any other value outside excepts when type is included 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:603) 120s allows any other value outside excepts 120s custom validation using proc 120s DEPRECATION WARNING: The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:695) 120s rejects a single invalid value 120s DEPRECATION WARNING: The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:701) 120s rejects an invalid value among valid ones 120s DEPRECATION WARNING: The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:689) 120s accepts multiple valid values 120s DEPRECATION WARNING: The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:683) 120s accepts a single valid value 120s DEPRECATION WARNING: The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:707) 120s uses supplied message 120s when arity is > 1 120s Error 'wrong number of arguments (given 1, expected 2)' raised while validating attribute 'input_one' 120s Error 'wrong number of arguments (given 1, expected 2)' raised while validating attribute 'input_two' 120s returns an error status code 120s when proc has an arity of 1 120s accepts a valid value 120s rejects an invalid value 120s with a custom exclude validation message 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:297) 120s does not allow an invalid value for a parameter 120s nil value for a parameter 120s accepts for an optional param with a list of values 120s does not allow for root params scope 120s allows for a required param in child scope 120s with a range of values 120s allows a single value inside of the range 120s allows an array of values inside of the range 120s rejects an array of values if any of them are outside the range 120s rejects a single value outside the range 120s with a lambda values 120s chooses default 120s only evaluates values dynamically with each request 120s with mixed values and excepts 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:675) 120s rejects outside except and outside value 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:669) 120s rejects except 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:663) 120s allows value, but not in except 120s boolean values 120s rejects a value which is not in the list 120s allows a value from the list 120s exclude with a standard custom validation message 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:313) 120s does not allow an invalid value for a parameter 120s with a custom exclude validation message 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:305) 120s does not allow an invalid value for a parameter 120s with a custom validation message 120s allows a valid value for a parameter 120s does not allow an invalid value for a parameter 120s validates against values in a proc 120s does not allow an invalid value for a parameter using lambda 120s exclusive excepts with lambda and coercion 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:649) 120s allows any other value outside excepts 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:655) 120s rejects values that matches except 120s exclusive excepts with lambda 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:635) 120s allows any other value outside excepts 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:641) 120s rejects values that matches except 120s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/validators/values_spec.rb:629) 120s allows any other value outside excepts when type is included 120s 120s Grape::API::Helpers 120s overriding subclass 120s given expected params 120s overrides helpers from a superclass 120s with lack of expected params 120s returns missing error 120s non overriding subclass 120s with lack of expected params 120s returns missing error 120s given expected params 120s inherits helpers from a superclass 120s example subclass 120s given expected params 120s inherits helpers from a superclass 120s with lack of expected params 120s returns missing error 120s 120s Rack 120s correctly populates params from a Tempfile 120s when the app is mounted 120s finds the app on the namespace 120s 120s Grape::DSL::Helpers 120s .helpers 120s uses provided modules 120s uses many provided modules 120s adds a module with the given block 120s in child classes 120s is available 120s with an external file 120s sets Boolean as a Grape::API::Boolean 120s 120s Grape::Validations::Types::PrimitiveCoercer 120s #call 120s Time 120s coerces an empty string to nil 120s Float 120s coerces an empty string to nil 120s a type unknown in Dry-types 120s raises error on init 120s Integer 120s coerces an empty string to nil 120s accepts non-nil value 120s Symbol 120s coerces an empty string to nil 120s BigDecimal 120s coerces to BigDecimal 120s coerces an empty string to nil 120s Boolean 120s coerces '0' to false 120s coerces 'false' to false 120s coerces '1' to true 120s coerces 'true' to true 120s coerces 'true' to true 120s coerces an empty string to nil 120s returns an error when the given value cannot be coerced 120s coerces 'false' to false 120s Numeric 120s coerces an empty string to nil 120s accepts a non-nil value 120s DateTime 120s coerces an empty string to nil 120s String 120s does not coerce an empty string to nil 120s coerces to String 120s the strict mode 120s BigDecimal 120s returns an error when the given value is not BigDecimal 120s returns a value as it is when the given value is BigDecimal 120s Boolean 120s returns a value as it is when the given value is Boolean 120s returns an error when the given value is not Boolean 120s 120s Grape::Validations::Validators::AllOrNoneOfValidator 120s #validate! 120s when a subset of restricted params are present 120s returns a validation error 120s when no restricted params are present 120s does not return a validation error 120s when mutually exclusive params are deeply nested 120s returns a validation error with full names of the params 120s when mutually exclusive params are nested inside array 120s returns a validation error with full names of the params 120s when restricted params are nested inside required hash 120s returns a validation error with full names of the params 120s when all restricted params are present 120s does not return a validation error 120s mixed with other params 120s does not return a validation error 120s when custom message is specified 120s returns a validation error 120s 120s Grape::Middleware::Versioner::Path 120s sets the API version based on the first path 120s provides a nil version if no path is given 120s does not cut the version out of the path 120s with a pattern 120s sets the version if it matches 120s ignores the version if it fails to match 120s with specified versions as [:v1, :v2] 120s throws an error if a non-allowed version is specified 120s allows versions that have been specified 120s with mount path 120s recognizes potential version 120s with specified versions as [:v1, "v2"] 120s allows versions that have been specified 120s throws an error if a non-allowed version is specified 120s with prefix, but requested version is not matched 120s recognizes potential version 120s with specified versions as ["v1", :v2] 120s throws an error if a non-allowed version is specified 120s allows versions that have been specified 120s with specified versions as ["v1", "v2"] 120s allows versions that have been specified 120s throws an error if a non-allowed version is specified 120s 120s Grape::Exceptions::InvalidResponse 120s #message 120s contains the problem in the message 120s 120s Grape::API 120s format 120s Grape::API 120s DEPRECATION WARNING: Use stream to use a Stream object. (called from block (4 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:1243) 120s returns the content of the file with file 120s Grape::API 120s does not include extension in id 120s Grape::API 120s sets content type for json 120s Grape::API 120s sets content type for binary format 120s Grape::API 120s returns raw data when content type binary 120s Grape::API 120s sets content type for serializable hash format 120s Grape::API 120s sets content type for xml 120s Grape::API 120s sets content type for error 120s Grape::API 120s sets content type for txt format 120s Grape::API 120s includes extension in format 120s Grape::API 120s sets content type for xml error 120s Grape::API 120s sets content type for json error 120s Grape::API 120s streams the content of the file with stream 120s Grape::API 120s does not set Cache-Control 120s with a custom content_type 120s Grape::API 120s sets content type for error 120s Grape::API 120s sets content type 120s env["api.format"] 120s Grape::API 120s uploads and downloads a PNG file via /attachment.png 120s Grape::API 120s uploads and downloads a Ruby file 120s Grape::API 120s uploads and downloads a PNG file via attachment 120s instance_for_rack 120s when the app was mounted 120s Grape::API 120s returns the first mounted instance 120s when the app was not mounted 120s Grape::API 120s returns the base_instance 120s .rescue_from :grape_exceptions 120s Grape::API 120s rescues grape exceptions with a user-defined handler 120s Grape::API 120s rescues grape exceptions 120s do_not_route_head! 120s Grape::API 120s does not allow HEAD on a GET request 120s Grape::API 120s options does not contain HEAD 120s normal class methods 120s can find the appropiate name 120s is equal to itself 120s catch-all 120s Grape::API 120s anchor=false 120s Grape::API 120s anchor=true 120s .configure 120s Grape::API 120s allows configuring the api 120s when not given a block 120s Grape::API 120s returns a configuration object 120s when given a block 120s Grape::API 120s calls the block passing the config 120s Grape::API 120s returns self 120s .inherited 120s does not override methods inherited from Class 120s overriding via composition 120s allows overriding the hook 120s overriding within class 120s allows overriding the hook 120s .represent 120s Grape::API 120s requires a :with option 120s Grape::API 120s adds the association to the :representations setting 120s .formatter 120s custom formatter class 120s Grape::API 120s uses custom formatter 120s Grape::API 120s uses json 120s multiple formatters 120s Grape::API 120s sets one formatter 120s Grape::API 120s sets another formatter 120s custom formatter 120s Grape::API 120s uses custom formatter 120s Grape::API 120s uses json 120s custom route helpers on nested APIs 120s returns the given id when it is valid 120s returns an error when the id is bad 120s .version using accept_version_header 120s behaves like versioning 120s Grape::API 120s sets the API version 120s Grape::API 120s is able to specify version as a nesting 120s Grape::API 120s adds the prefix before the API version 120s Grape::API 120s is able to specify multiple versions 120s Grape::API 120s does not overwrite version parameter with API version 120s with before block defined within a version block 120s Grape::API 120s calls before block that is defined within the version block 120s with catch-all 120s v2 120s Grape::API 120s finds endpoint 120s Grape::API 120s finds catch all 120s v1 120s Grape::API 120s finds catch all 120s Grape::API 120s finds endpoint 120s with different versions for the same endpoint 120s without a prefix 120s Grape::API 120s allows the same endpoint to be implemented 120s with a prefix 120s Grape::API 120s allows the same endpoint to be implemented 120s .version using header 120s behaves like versioning 120s Grape::API 120s does not overwrite version parameter with API version 120s Grape::API 120s adds the prefix before the API version 120s Grape::API 120s is able to specify multiple versions 120s Grape::API 120s sets the API version 120s Grape::API 120s is able to specify version as a nesting 120s with catch-all 120s v1 120s Grape::API 120s finds catch all 120s Grape::API 120s finds endpoint 120s v2 120s Grape::API 120s finds endpoint 120s Grape::API 120s finds catch all 120s with before block defined within a version block 120s Grape::API 120s calls before block that is defined within the version block 120s with different versions for the same endpoint 120s without a prefix 120s Grape::API 120s allows the same endpoint to be implemented 120s with a prefix 120s Grape::API 120s allows the same endpoint to be implemented 120s .rescue_from klass, lambda 120s Grape::API 120s can execute the lambda with an argument 120s Grape::API 120s rescues an error with the lambda 120s .route 120s Grape::API 120s runs all filters and body with a custom OPTIONS method 120s Grape::API 120s runs before filter exactly once on 405 bad method 120s Grape::API 120s allows and properly constrain a PATCH method 120s Grape::API 120s returns a 201 response code for POST by default 120s Grape::API 120s allows and properly constrain a DELETE method 120s Grape::API 120s allows for format without corrupting a param 120s Grape::API 120s allows and properly constrain a OPTIONS method 120s Grape::API 120s returns a 405 for an unsupported method with an X-Custom-Header 120s Grape::API 120s overwrites the default HEAD request 120s Grape::API 120s allows for multipart paths 120s Grape::API 120s 405 responses includes an Allow header specifying supported methods 120s Grape::API 120s allows and properly constrain a HEAD method 120s Grape::API 120s allows for catch-all in a namespace 120s Grape::API 120s allows and properly constrain a GET method 120s Grape::API 120s allows and properly constrain a PUT method 120s Grape::API 120s allows for multiple paths 120s Grape::API 121s allows for multiple verbs 121s Grape::API 121s allows for :any as a verb 121s Grape::API 121s allows and properly constrain a POST method 121s Grape::API 121s allows for format in namespace with no path 121s Grape::API 121s 405 responses includes an Content-Type header 121s Grape::API 121s handles empty calls 121s Grape::API 121s runs only the before filter on 405 bad method 121s Grape::API 121s allows for no path 121s when accessing env 121s Grape::API 121s returns a 405 for an unsupported method 121s allows HEAD on a GET request that 121s Grape::API 121s returns a 200 121s Grape::API 121s has an empty body 121s put 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) TrueClass json object in params 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) Symbol json object in params 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) FalseClass json object in params 121s Grape::API 121s allows a(n) Hash json object in params 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) Integer json object in params 121s Grape::API 121s allows a(n) String json object in params 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) Float json object in params 121s Grape::API 121s allows a(n) Array json object in params 121s Grape::API 121s allows a(n) NilClass json object in params 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s adds an OPTIONS route that 121s Grape::API 121s has no Content-Type 121s Grape::API 121s does not call after_validation hook 121s Grape::API 121s does not call before_validation hook 121s Grape::API 121s has no Content-Length 121s Grape::API 121s has an empty body 121s Grape::API 121s calls before hook 121s Grape::API 121s calls after hook 121s Grape::API 121s returns a 204 121s Grape::API 121s has an Allow header 121s post 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) Float json object in params 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) Array json object in params 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) String json object in params 121s Grape::API 121s stores input in api.request.input 121s Grape::API 121s allows a(n) TrueClass json object in params 121s Grape::API 121s allows a(n) Integer json object in params 121s Grape::API 121s allows a(n) NilClass json object in params 121s Grape::API 121s allows a(n) FalseClass json object in params 121s Grape::API 121s allows a(n) Symbol json object in params 121s Grape::API 121s allows a(n) Hash json object in params 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s chunked transfer encoding 121s Grape::API 121s stores input in api.request.input 121s root routes should work with 121s Grape::API 121s Accept-Version header versioned APIs 121s Grape::API 121s header versioned APIs with multiple headers 121s Grape::API 121s param versioned APIs 121s Grape::API 121s header versioned APIs 121s Grape::API 121s unversioned APIs 121s path versioned APIs 121s when array of versions provided 121s Grape::API 121s is expected to eql "root" 121s Grape::API 121s is expected to eql "root" 121s when a single version provided 121s Grape::API 121s with a format 121s Grape::API 121s without a format 121s when a resource routes by POST, GET, PATCH, PUT, and DELETE 121s it adds an OPTIONS route for namespaced endpoints that 121s Grape::API 121s returns a 204 121s Grape::API 121s has an empty body 121s Grape::API 121s has an Allow header 121s adds a 405 Not Allowed route that 121s Grape::API 121s has a X-Custom-Header 121s Grape::API 121s has an Allow header 121s Grape::API 121s returns a 405 121s Grape::API 121s contains error message in body 121s format 121s Grape::API 121s allows .txt 121s Grape::API 121s allows .json 121s when hook behaviour is controlled by attributes on the route 121s when HTTP method is defined with attribute 121s Grape::API 121s responds with the defined error in the before hook 121s when HTTP method is defined and everything is like the before hooks expect 121s Grape::API 121s ends up in the endpoint 121s when HTTP method is defined and the underlying before hook expectation is not met 121s Grape::API 121s ends up in the endpoint 121s when HEAD is called for the defined GET 121s Grape::API 121s responds with 200 because before hooks are not called 121s when HTTP method is not defined 121s Grape::API 121s responds with a 405 status 121s when HEAD is called for the defined GET 121s Grape::API 121s responds with 401 because before expectations in before hooks are not met 121s when format is xml 121s Grape::API 121s returns a 405 for an unsupported method 121s adds an OPTIONS route for namespaced endpoints that 121s Grape::API 121s returns a 204 121s Grape::API 121s has an empty body 121s Grape::API 121s calls the outer before filter 121s Grape::API 121s has an Allow header 121s Grape::API 121s calls the inner before filter 121s Grape::API 121s has no Content-Length 121s Grape::API 121s has no Content-Type 121s .parser 121s Grape::API 121s parses data in format requested by content-type 121s none parser class 121s Grape::API 121s does not parse data 121s multi_xml 121s Grape::API 121s doesn't parse yaml 121s lambda parser 121s Grape::API 121s uses parser for text/custom; charset=UTF-8 121s Grape::API 121s uses parser for text/custom 121s custom parser class 121s Grape::API 121s uses custom parser 121s .compile! 121s Grape::API 121s compiles the instance for rack! 121s Grape::API 121s requires the grape/eager_load file 121s .scope 121s Grape::API 121s scopes the various settings 121s .version 121s when defined 121s Grape::API 121s returns version value 121s when not defined 121s Grape::API 121s returns nil 121s .http_basic 121s Grape::API 121s is callable via .auth as well 121s Grape::API 121s has access to helper methods 121s Grape::API 121s protects any resources on the same scope 121s Grape::API 121s can set instance variables accessible to routes 121s Grape::API 121s has access to the current endpoint 121s Grape::API 121s is scopable 121s with unsafe HTML format specified 121s Grape::API 121s escapes the HTML 121s body 121s false 121s Grape::API 121s returns blank body 121s plain text 121s Grape::API 121s returns blank body 121s .helpers 121s Grape::API 121s is scopable 121s Grape::API 121s allows for modules 121s Grape::API 121s allows multiple calls with modules and blocks 121s Grape::API 121s is accessible from the endpoint 121s Grape::API 121s is reopenable 121s .namespace 121s Grape::API 121s `.group` is an alias 121s Grape::API 121s `.resource` is an alias 121s Grape::API 121s is retrievable and converted to a path 121s Grape::API 121s is callable with nil just to push onto the stack 121s Grape::API 121s comes after the prefix and version 121s Grape::API 121s `.segment` is an alias 121s Grape::API 121s `.resources` is an alias 121s Grape::API 121s accepts path segments correctly 121s Grape::API 121s cancels itself after the block is over 121s Grape::API 121s is stackable 121s .logger 121s Grape::API 121s returns an instance of Logger class by default 121s Grape::API 121s does not unnecessarily retain duplicate setup blocks 121s with a custom logger 121s exposes its interaface 121s cascading 121s via endpoint 121s Grape::API 121s cascades 121s Grape::API 121s does not cascade 121s via version 121s Grape::API 121s cascades 121s Grape::API 121s does not cascade 121s .default_error_status 121s Grape::API 121s has a default error status 121s Grape::API 121s allows setting default_error_status 121s Grape::API 121s uses the default error status in error! 121s with json default_error_formatter 121s Grape::API 121s returns json error 121s .route 121s with desc 121s Grape::API 121s returns route parameters 121s Grape::API 121s returns route description 121s plain 121s Grape::API 121s provides access to route info 121s with non-UTF-8 characters in specified format 121s Grape::API 121s converts the characters 121s .prefix 121s Grape::API 121s routes through with the prefix 121s Grape::API 121s supports OPTIONS 121s Grape::API 121s disallows POST 121s Grape::API 121s routes root through with the prefix 121s http_codes 121s Grape::API 121s is used as presenter 121s Grape::API 121s presented with 121s .format 121s :xml 121s Grape::API 121s hash 121s Grape::API 121s raised :error from middleware 121s Grape::API 121s string 121s Grape::API 121s array 121s :serializable_hash 121s Grape::API 121s root 121s Grape::API 121s array 121s Grape::API 121s instance 121s :txt 121s Grape::API 121s forces txt from a non-accepting header 121s Grape::API 121s does not force txt with an extension 121s Grape::API 121s forces txt without an extension 121s :json 121s Grape::API 121s does not force json with an extension 121s Grape::API 121s forces json without an extension 121s Grape::API 121s forces json from a non-accepting header 121s Grape::API 121s can be overwritten with an explicit content type 121s Grape::API 121s raised :error from middleware 121s :txt only 121s Grape::API 121s forces txt without an extension 121s Grape::API 121s accepts specified extension 121s Grape::API 121s does not accept extensions other than specified 121s Grape::API 121s forces txt from a non-accepting header 121s .insert 121s Grape::API 121s inserts middleware in a specific location in the stack 121s filters 121s Grape::API 121s calls filters in the correct order 121s Grape::API 121s adds a before filter to current and child namespaces only 121s Grape::API 121s adds a after filter 121s Grape::API 121s adds a before filter 121s Grape::API 121s adds a after_validation filter 121s Grape::API 121s calls all filters when validation passes 121s Grape::API 121s calls only before filters when validation fails 121s .compile 121s Grape::API 121s sets the instance 121s lifecycle 121s when the api_call has a controlled error 121s Grape::API 121s follows the errored life_cycle (skips after) 121s when the api_call fails validation 121s Grape::API 121s follows the failed_validation cycle (skips after_validation, api_call & after) 121s when the api_call succeeds 121s Grape::API 121s follows the standard life_cycle 121s when the api_call has an exception 121s Grape::API 121s follows the errored life_cycle (skips after) 121s .rescue_from klass, with: :method_name 121s Grape::API 121s correctly chooses exception handler if :all handler is specified 121s Grape::API 121s aborts if the specified method name does not exist 121s Grape::API 121s rescues an error with the specified method name 121s routes 121s single method api structure 121s Grape::API 121s returns one route 121s api structure with two versions and a namespace 121s Grape::API 121s returns the latest version set 121s Grape::API 121s returns versions 121s Grape::API 121s sets route paths 121s Grape::API 121s sets prefix 121s Grape::API 121s sets a nested namespace 121s Grape::API 121s sets route versions 121s api with a custom route setting 121s Grape::API 121s exposed 121s status 121s Grape::API 121s can be set to arbitrary Integer value 121s Grape::API 121s can be set with a status code symbol 121s api structure with an api without params 121s Grape::API 121s sets params 121s api structure with additional parameters 121s Grape::API 121s splits a string 121s Grape::API 121s splits a string with limit 121s Grape::API 121s sets params 121s api structure with multiple apis 121s Grape::API 121s sets params 121s empty api structure 121s Grape::API 121s returns an empty array of routes 121s .version using path 121s behaves like versioning 121s Grape::API 121s is able to specify multiple versions 121s Grape::API 121s does not overwrite version parameter with API version 121s Grape::API 121s sets the API version 121s Grape::API 121s adds the prefix before the API version 121s Grape::API 121s is able to specify version as a nesting 121s with catch-all 121s v1 121s Grape::API 121s finds endpoint 121s Grape::API 121s finds catch all 121s v2 121s Grape::API 121s finds catch all 121s Grape::API 121s finds endpoint 121s with before block defined within a version block 121s Grape::API 121s calls before block that is defined within the version block 121s with different versions for the same endpoint 121s with a prefix 121s Grape::API 121s allows the same endpoint to be implemented 121s without a prefix 121s Grape::API 121s allows the same endpoint to be implemented 121s .mount 121s without a hash 121s Grape::API 121s calls through setting the route to "/" 121s with a bare rack app 121s Grape::API 121s is able to cascade 121s Grape::API 121s makes a bare Rack app available at the endpoint 121s Grape::API 121s anchors the routes, passing all subroutes to it 121s mounting an API 121s Grape::API 121s collects the routes of the mounted api 121s Grape::API 121s mounts a versioned API with nested resources 121s Grape::API 121s mounts multiple versioned APIs with nested resources 121s Grape::API 121s responds to options 121s Grape::API 121s responds to options with path versioning 121s Grape::API 121s applies format to a mounted API with nested resources 121s Grape::API 121s applies the settings to nested mounted apis 121s Grape::API 121s applies auth to a mounted API with nested resources 121s Grape::API 121s mounts on a path 121s Grape::API 121s mounts a prefixed API with nested resources 121s Grape::API 121s recognizes potential versions with mounted path 121s Grape::API 121s applies the settings of the mounting api 121s Grape::API 121s mounts on a nested path 121s when some rescues are defined by mounted 121s Grape::API 121s prefers rescues defined by mounted if they rescue similar error class 121s Grape::API 121s prefers more specific rescues defined by mounted 121s Grape::API 121s inherits parent rescues 121s Grape::API 121s prefers rescues defined by mounted even if outer is more specific 121s when including a module 121s correctlies include module in nested mount 121s when mounting class extends a subclass of Grape::API 121s mounts APIs with the same superclass 121s do_not_route_options! 121s Grape::API 121s does not create an OPTIONS route 121s Grape::API 121s does not include OPTIONS in Allow header 121s .content_type 121s Grape::API 121s allows to override content-type 121s Grape::API 121s sets additional content-type 121s Grape::API 121s removes existing content types 121s .route_param 121s Grape::API 121s adds a parameterized route segment namespace 121s Grape::API 121s defines requirements with a single hash 121s with param type definitions 121s Grape::API 121s is used by passing to options 121s .version using param 121s behaves like versioning 121s Grape::API 121s is able to specify multiple versions 121s Grape::API 121s adds the prefix before the API version 121s Grape::API 121s is able to specify version as a nesting 121s Grape::API 121s sets the API version 121s Grape::API 121s does not overwrite version parameter with API version 121s with catch-all 121s v1 121s Grape::API 121s finds catch all 121s Grape::API 121s finds endpoint 121s v2 121s Grape::API 121s finds catch all 121s Grape::API 121s finds endpoint 121s with different versions for the same endpoint 121s without a prefix 121s Grape::API 121s allows the same endpoint to be implemented 121s with a prefix 121s Grape::API 121s allows the same endpoint to be implemented 121s with before block defined within a version block 121s Grape::API 121s calls before block that is defined within the version block 121s .rescue_from klass, block 121s Grape::API 121s rescues Exception 121s custom errors 121s Grape::API 121s rescues an error via rescue_from :all 121s Grape::API 121s rescues multiple specific errors 121s Grape::API 121s does not rescue a different error 121s Grape::API 121s rescues a specific error 121s Grape::API 121s rescues a subclass of an error by default 121s .rescue_from klass, rescue_subclasses: boolean 121s Grape::API 121s sets rescue_subclasses to true by default 121s Grape::API 121s does not rescue child errors if rescue_subclasses is false 121s Grape::API 121s rescues error as well as subclass errors with rescue_subclasses option set 121s .rescue_from 121s Grape::API 121s mimics default ruby "rescue" handler 121s Grape::API 121s uses custom helpers defined by using #helpers method 121s Grape::API 121s uses default_rescue_handler to handle invalid response from rescue_from 121s Grape::API 121s rescues all errors if rescue_from :all is called 121s Grape::API 121s does not rescue errors when rescue_from is not set 121s Grape::API 121s caught error of type StandardError in after callback inside Grape::Middleware::Formatter : StandardError 121s can rescue exceptions raised in the formatter 121s Grape::API 121s rescues only certain errors if rescue_from is called with specific errors 121s Grape::API 122s rescues all errors with a json formatter 122s CustomError subclass of Grape::Exceptions::Base 122s Grape::API 122s does not re-raise exceptions of type Grape::Exceptions::Base 122s Grape::API 122s rescues custom grape exceptions 122s with multiple apis 122s avoids polluting global namespace 122s .change! 122s Grape::API 122s invalidates any compiled instance 122s .endpoints 122s Grape::API 122s adds one for each route created 122s .finally 122s when the ensure block has no exceptions 122s when an unhandled occurs inside the API call 122s Grape::API 122s executes the ensure code 122s when no errors occurs 122s Grape::API 122s executes the ensure code 122s with a helper 122s Grape::API 122s has access to the helper 122s when a handled error occurs inside the API call 122s Grape::API 122s executes the ensure code 122s when no API call is made 122s Grape::API 122s has not executed the ensure code 122s .endpoint 122s Grape::API 122s path 122s desc 122s Grape::API 122s uses full name of parameters in nested groups 122s Grape::API 122s merges the parameters of the namespace with the parameters of the method 122s Grape::API 122s includes details 122s Grape::API 122s groups nested params and prevents overwriting of params with same name in different groups 122s Grape::API 122s DEPRECATION WARNING: /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:3053: The route_xxx methods such as route_foo have been deprecated, please use foo. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:3053) 122s describes a method 122s Grape::API 122s DEPRECATION WARNING: /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:3098: The route_xxx methods such as route_foo have been deprecated, please use foo. (called from block (4 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:3098) 122s namespaces and describe arbitrary parameters 122s Grape::API 122s does not symbolize params 122s Grape::API 122s does not inherit param descriptions in consequent namespaces 122s Grape::API 122s describes methods separately 122s Grape::API 122s empty array of routes 122s Grape::API 122s empty array of routes 122s Grape::API 122s resets desc 122s Grape::API 122s merges the parameters of nested namespaces 122s Grape::API 122s describes a method with parameters 122s Grape::API 122s allows to set the type attribute on :group element 122s Grape::API 122s has params which does not include format and version as named captures 122s Grape::API 122s parses parameters when no description is given 122s .default_format 122s Grape::API 122s returns data in default format 122s Grape::API 122s parses data in default format 122s custom middleware 122s .insert_after 122s Grape::API 122s runs after a given middleware 122s .use 122s Grape::API 122s mounts behind error middleware 122s Grape::API 122s uses a block if one is given 122s Grape::API 122s does not show up outside the namespace 122s Grape::API 122s adds a block if one is given 122s Grape::API 122s adds middleware 122s Grape::API 122s does not destroy the middleware settings on multiple runs 122s Grape::API 122s calls the middleware 122s .insert_before 122s Grape::API 122s runs before a given middleware 122s .middleware 122s Grape::API 122s includes middleware arguments from settings 122s Grape::API 122s includes all middleware from stacked settings 122s .error_format 122s Grape::API 122s rescues all errors and return :json with backtrace 122s Grape::API 122s rescues all errors with a default formatter 122s Grape::API 122s rescues all errors and return :txt with backtrace 122s Grape::API 122s rescues all errors and return :txt 122s Grape::API 122s defaults the error formatter to format 122s Grape::API 122s rescues error! and return txt 122s Grape::API 122s rescues all errors and return :json 122s with 122s class 122s Grape::API 122s returns a custom error format 122s class 122s /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:2447: warning: method redefined; discarding old call 122s /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/api_spec.rb:2470: warning: previous definition of call was here 122s Grape::API 122s returns a custom error format 122s with json format 122s Grape::API 122s rescues error! called with a hash and returns json 122s Grape::API 122s rescues error! called with a symbol and returns json 122s Grape::API 122s rescues error! called with a string and returns json 122s .call 122s it does not add to the app setup 122s Grape::API 122s calls the app 122s const_missing 122s raises an error 122s 122s A named API 122s can access the name of the API 122s 122s Grape::DSL::Middleware 122s .insert_before 122s adds a middleware with the right operation 122s .use 122s adds a middleware with the right operation 122s .middleware 122s returns the middleware stack 122s .insert 122s adds a middleware with the right operation 122s .insert_after 122s adds a middleware with the right operation 122s 122s Grape::API 122s works for unspecified format 122s works for specified format 122s doesn't work for format different than specified 122s 122s Grape::Util::StackableValues 122s #keys 122s returns all keys 122s returns merged keys with parent 122s #delete 122s deletes a key 122s does not delete parent values 122s #[]= 122s can handle array values 122s sets a value 122s pushes further values 122s #clone 122s copies all values 122s complex (i.e. not primitive) data types (ex. middleware, please see bug #930) 122s copies values; does not duplicate them 122s #to_hash 122s returns a Hash representation 122s #[] 122s returns an array of values 122s parent values are not changed 122s returns parent value when no value is set 122s combines parent and actual values 122s 122s Grape::Endpoint 122s get 122s responds without ext 122s put 122s responds 122s 122s Grape::Http::Headers 122s is expected to eq "Transfer-Encoding" 122s is expected to eq "Location" 122s is expected to eq "Allow" 122s is expected to eq "X-Cascade" 122s 122s Grape::Presenters::Presenter 122s present 122s instance 122s presents dummy hash 122s multiple presenter 122s instance 122s presents both dummy presenter 122s represent 122s represent object 122s 122s Grape::Exceptions::InvalidVersionerOption 122s #message 122s contains the problem in the message 122s 122s Grape::DSL::Callbacks 122s .before 122s adds a block to "before" 122s .after 122s adds a block to "after" 122s .after_validation 122s adds a block to "after_validation" 122s .before_validation 122s adds a block to "before_validation" 122s 122s Grape::Validations::Validators::MutualExclusionValidator 122s #validate! 122s when custom message is specified 122s returns a validation error 122s when mutually exclusive params are nested inside array 122s returns a validation error with full names of the params 122s when mutually exclusive params are deeply nested 122s returns a validation error with full names of the params 122s when mutually exclusive params are nested inside optional hash 122s when params are passed 122s returns a validation error with full names of the params 122s when params are empty 122s does not return a validation error 122s when no mutually exclusive params are present 122s does not return a validation error 122s when mutually exclusive params are nested inside required hash 122s returns a validation error with full names of the params 122s when all mutually exclusive params are present 122s returns a validation error 122s mixed with other params 122s returns a validation error 122s when a subset of mutually exclusive params are present 122s returns a validation error 122s 122s Grape::API 122s remounting an API 122s with a defined route 122s when mounting on namespace 122s can access the votes in both places 122s when mounting twice 122s can access the votes in both places 122s when mounting one instance 122s can access the endpoint 122s with dynamic configuration 122s when using an expression derived from a configuration 122s mounts the endpoint with the name 122s does not mount the endpoint with a null name 122s when the expression lives in a namespace 122s mounts the endpoint with the name 122s does not mount the endpoint with a null name 122s when the params are configured via a configuration 122s when the configured param is my_attr 122s requires the configured params 122s when the configuration is part of the arguments of a method 122s mounts the endpoint in the location it is configured 122s when the configuration is the value in a key-arg pair 122s takes the param from the configuration 122s on the ParamScope 122s mounts the endpoint in the location it is configured 122s on dynamic checks 122s can read the configuration on lambdas 122s when executing a custom block on mount 122s mounts the endpoints only when configured to do so 122s when the configuration is read within the response block 122s will use the dynamic configuration on all routes 122s when the configuration is read within a namespace 122s will use the dynamic configuration on all routes 122s when the configuration is read in a helper 122s will use the dynamic configuration on all routes 122s when executing a standard block within a `mounted` block with all dynamic params 122s mounts the API and obtains the description and headers definition 122s a very complex configuration example 122s when should be mounted is nil 122s gets a response 122s when the namespace should be mounted 122s gets a response 122s when it should not be mounted 122s gets a response 122s when mounting an endpoint conditional on a configuration 122s mounts the endpoints only when configured to do so 122s on the DescSCope 122s mounts the endpoint with the appropiate tags 122s 122s Grape::Exceptions::InvalidFormatter 122s #message 122s contains the problem in the message 122s 122s Grape::DSL::Parameters 122s #optional 122s adds an optional parameter 122s #with 122s creates a scope with group attributes 122s #at_least_one_of 122s adds an at least one of parameter validation 122s #use_scope 122s is alias to #use 122s #use 122s calls processes associated with named params 122s raises error when non-existent named param is called 122s #group 122s is alias to #requires 122s #exactly_one_of 122s adds an exactly of one parameter validation 122s #includes 122s is alias to #use 122s #requires 122s adds a required parameter 122s #params 122s inherits params from parent 122s when params argument is an array of hashes 122s returns values of each hash for @element key 122s when params argument is not a array or a hash 122s returns empty hash 122s when params argument is a hash 122s returns value for @element key 122s #all_or_none_of 122s adds an all or none of parameter validation 122s #mutually_exclusive 122s adds an mutally exclusive parameter validation 122s 122s Grape::API::Helpers 122s can access helpers from a mounted resource in a nested resource 122s can access helpers from a mounted resource 122s 122s Grape::Exceptions::UnknownOptions 122s #message 122s contains the problem in the message 122s 122s Grape::Util::InheritableValues 122s #clone 122s complex (i.e. not primitive) data types (ex. entity classes, please see bug #891) 122s copies values; does not duplicate them 122s #to_hash 122s returns a Hash representation 122s #[]= 122s sets a value 122s #delete 122s does not delete parent values 122s deletes a key 122s #[] 122s overwrites parent value with the current one 122s parent values are not changed 122s returns parent value when no value is set 122s returns a value 122s 122s Grape::DSL::RequestResponse 122s .rescue_from 122s list of exceptions is passed 122s sets given block as rescue handler for each key in hash 122s sets a rescue handler declared through :with option for each key in hash 122s sets hash of exceptions as rescue handlers 122s sets given proc as rescue handler for each key in hash 122s rescues only base handlers if rescue_subclasses: false option is passed 122s :grape_exceptions 122s sets given block as rescue handler 122s sets given proc as rescue handler 122s sets a rescue handler declared through :with option 122s sets rescue all to true 122s :all 122s sets rescue all to true 122s abort if :with option value is not Symbol, String or Proc 122s sets a rescue handler declared through :with option 122s sets given proc as rescue handler 122s sets given block as rescue handler 122s abort if both :with option and block are passed 122s .default_error_formatter 122s sets a new error formatter 122s .default_format 122s returns the format without paramter 122s sets the default format 122s .formatter 122s sets the formatter for a content type 122s .content_types 122s returns all content types 122s .default_error_status 122s sets a default error status 122s .content_type 122s sets a content type for a format 122s .error_formatter 122s sets a error_formatter 122s understands syntactic sugar 122s .parser 122s sets a parser for a content type 122s .represent 122s sets a presenter for a class 122s .format 122s sets a new format 122s 122s Validator with instance variables 122s passes validation every time 122s 122s Grape::Validations::Types::ArrayCoercer 122s #call 122s an array of primitives 122s coerces elements in the array 122s an array of sets 122s coerces elements in the nested set 122s an array of arrays 122s coerces elements in the nested array 122s 122s Grape::Validations 122s require_validator 122s when not found 122s raises an error 122s when found 122s is expected to equal Grape::Validations::Validators::PresenceValidator 122s params 122s required with an Array block 122s doesn't throw a missing param when param is present but empty 122s errors when param is not an Array 122s errors when param not present 122s doesn't throw a missing param when param is present 122s adds to declared parameters 122s optional using Grape::Entity documentation 122s works when field_a and field_b are not present 122s works when field_a is present 122s works when field_b is present 122s adds entity documentation to declared params 122s requires :none using Grape::Entity documentation 122s works when required_field is present 122s adds entity documentation to declared params 122s errors when required_field is not present 122s named 122s can be defined 122s in helpers 122s in helper module which kind of Grape::DSL::Helpers::BaseHelper 122s can be included in usual params 122s by #use with multiple params 122s by #use 122s with block 122s returns defaults 122s overrides default value for order 122s fails with invalid value 122s overrides default value for order_by 122s requires :all or :none but except a non-existent field using Grape::Entity documentation 122s requires :none 122s adds only the entity documentation to declared params, nothing more 122s requires :all 122s adds only the entity documentation to declared params, nothing more 122s validation within arrays 122s errors when a parameter is not present in array within array 122s errors when param is not an Array 122s handle errors for all array elements 122s can handle new scopes within child elements 122s safely handles empty arrays and blank parameters 122s errors when a parameter is not present 122s custom validator for a Hash 122s which is required 122s doesn't throw an error if the validation passes 122s errors if the validation fails 122s which is optional 122s doesn't throw an error if the validation passes 122s errors if the validation fails 122s custom validation 122s when using optional with a custom validator 122s skips validation when parameter isn't present 122s validates with custom validator when param present and incorrect type 122s validates when param is present 122s when using options on param 122s validates param with custom validator with options 122s when using requires with a custom validator 122s validates when param is present 122s validates when param is not present 122s nested namespaces 122s peer namespaces does not have the validator 122s when nested, specifying a route should clear out the validations for deeper nested params 122s the nested namespace inherits the custom validator 122s namespaces nested in peers should also not have the validator 122s the parent namespace uses the validator 122s group params with nested params which has a type 122s errors when group param is invalid 122s validation within arrays with JSON 122s can handle new scopes within child elements 122s errors when a parameter is not present 122s safely handles empty arrays and blank parameters 122s required 122s works when required field is present but nil 122s errors when param not present 122s adds to declared parameters 122s doesn't throw a missing param when param is present 122s group 122s doesn't throw a missing param when param is present 122s adds to declared parameters 122s errors when param not present 122s requires with nested params 122s validates correctly in deep nested params 122s with block and empty args 122s works 122s with block and keyword argument 122s works 122s optional with an Array block 122s doesn't throw a missing param when the group isn't present 122s adds to declared parameters 122s doesn't throw a missing param when both group and param are given 122s errors when param is present but isn't an Array 122s errors when group is present, but required param is not 122s multiple validation errors 122s throws the validation errors 122s mutually exclusive 122s optional params 122s errors when two or more are present 122s with custom validation message 122s errors when two or more are present 122s in a group 122s errors when more than one from the set is present 122s works when only one from the set is present 122s more than one set of mutually exclusive params 122s errors for all sets 122s with a custom validation message 122s errors for all sets 122s mutually exclusive params inside Hash group 122s invalidates if request param is invalid type 122s nested optional Array blocks 122s at_least_one_of 122s all_or_none_of 122s does no internal validations if the outer group is blank 122s handles validation within arrays 122s adds to declared parameters 122s does internal validations if the outer group is present 122s exactly_one_of 122s handles deep nesting 122s Issue occurs whenever: 122s * param structure with at least three levels 122s * 1st level item is a required Array that has >1 entry with an optional item present and >1 entry with an optional item missing 122s * 2nd level is an optional Array or Hash 122s * 3rd level is a required item (can be any type) 122s * additional levels do not effect the issue from occuring 122s simplest example using Array -> Array -> Hash -> String 122s simplest example using Array -> Hash -> String 122s example based off actual real world use case 122s correctly indexes invalida data 122s multiple levels of optional and requires settings 122s with valid data 122s with invalid data 122s at least one of 122s params 122s does not error when one is present 122s errors when none are present 122s does not error when two are present 122s with a custom validation message 122s does not error when one is present 122s does not error when two are present 122s errors when none are present 122s nested params 122s does not error when one is present 122s errors when none are present 122s does not error when two are present 122s requires :all using Grape::Entity documentation 122s works when required_field is present 122s adds entity documentation to declared params 122s errors when required_field is not present 122s exactly one of 122s params 122s errors when two or more are present 122s succeeds when one is present 122s errors when none are present 122s with a custom validation message 122s errors when none are present 122s succeeds when one is present 122s errors when two or more are present 122s nested params 122s succeeds when one is present 122s errors when none are present 122s errors when two or more are present 122s in a group 122s errors when more than one from the set is present 122s does not falsely think the param is there if it is provided outside the block 122s works when only one from the set is present 122s errors when no parameter from the set is present 122s required with an Array and a Hash block 122s does not output index [0] for Hash types 122s required with a Hash block 122s doesn't throw a missing param when param is present 122s adds to declared parameters 122s errors when param not present 122s errors when nested param not present 122s errors when param is not a Hash 122s with block param 122s requires defaults to Array type 122s optional defaults to Array type 122s group defaults to Array type 122s optional 122s adds to declared parameters 122s doesn't validate when param not present 122s validates when params is present 122s hash with a required param with validation 122s works when all params match 122s errors when param is not a Hash 122s all or none 122s optional params 122s with a custom validation message 122s works when all params are present 123s works when none are present 123s errors when any one is present 123s 123s Grape::Endpoint 123s post 123s 405 123s 123s Grape::Validations::ParamsScope::AttributesDoc 123s #extract_details 123s cleans up doc attrs needed for documentation only 123s does not clean up doc attrs mandatory for validators 123s tells when attributes are required 123s #document 123s documentation is disabled 123s does not document attributes 123s documentation is enabled 123s documents attributes 123s behaves like an optional doc attribute 123s does not mention it 123s behaves like an optional doc attribute 123s does not mention it 123s behaves like an optional doc attribute 123s does not mention it 123s behaves like an optional doc attribute 123s does not mention it 123s behaves like an optional doc attribute 123s does not mention it 123s the description key instead of desc 123s adds the given description 123s nil as a default value 123s is still documented 123s false as a default value 123s is still documented 123s 123s Grape::Validations::Validators::AllowBlankValidator 123s valid input 123s allows missing optional strings 123s accepts empty input when allow_blank is false 123s accepts empty when symbol allow_blank 123s accepts empty when boolean allow_blank 123s accepts empty when datetime allow_blank 123s accepts empty when date allow_blank 123s accepts false when boolean allow_blank 123s accepts valid input 123s accepts value when time allow_blank 123s accepts empty input 123s allow_blank when Numeric 123s accepts empty when integer allow_blank 123s accepts empty when float allow_blank 123s accepts empty when integer allow_blank 123s in a required group 123s as an optional param 123s accepts a nested missing value 123s refuses a string value in an optional hash group 123s refuses a blank existing value in an existing scope 123s as a required param 123s refuses a string value in a required hash group 123s refuses a blank value in a required existing group 123s custom validation message 123s in an optional group 123s as a required param 123s accepts a missing group, even with a disallwed blank param 123s refuses a blank value in an existing group 123s accepts a nested missing date value 123s as an optional param 123s accepts a missing group, even with a disallwed blank param 123s accepts a nested missing optional value 123s refuses a blank existing value in an existing scope 123s with invalid input 123s refuses empty string for an optional param 123s refuses empty string 123s refuses nil 123s refuses only whitespaces 123s in a required group 123s as an optional param 123s refuses a blank existing value in an existing scope 123s refuses a string value in an optional hash group 123s accepts a nested missing value 123s as a required param 123s refuses a string value in a required hash group 123s refuses a blank value in a required existing group 123s with valid input 123s accepts empty when symbol allow_blank 123s accepts valid input 123s accepts empty input 123s accepts empty when date allow_blank 123s accepts empty when boolean allow_blank 123s accepts empty input when allow_blank is false 123s accepts empty when datetime allow_blank 123s accepts false when boolean allow_blank 123s allow_blank when Numeric 123s accepts empty when float allow_blank 123s accepts empty when integer allow_blank 123s accepts empty when integer allow_blank 123s invalid input 123s refuses only whitespaces 123s refuses missing 123s refuses nil 123s refuses empty string 123s in an optional group 123s as an optional param 123s accepts a nested missing optional value 123s accepts a missing group, even with a disallwed blank param 123s refuses a blank existing value in an existing scope 123s as a required param 123s refuses a blank value in an existing group 123s accepts a missing group, even with a disallwed blank param 123s accepts a nested missing date value 123s 123s Grape::Util::InheritableSetting 123s #api_class 123s is specific to the class 123s #to_hash 123s return all settings as a hash 123s #api_class 123s is specific to the class 123s #namespace_inheritable 123s works with inheritable values 123s handles different parents 123s #namespace_reverse_stackable 123s works with reverse stackable values 123s #route 123s sets a value until the next route 123s works with route values 123s #inherit_from 123s notifies clones 123s #namespace_stackable 123s works with stackable values 123s #global 123s handles different parents 123s sets the global inherited values 123s overrides global values 123s sets a global value 123s #namespace 123s uses new values when a new namespace starts 123s sets a value until the end of a namespace 123s #point_in_time_copy 123s resets point_in_time_copies 123s decouples namespace reverse stackable values 123s decouples namespace stackable values 123s decouples namespace inheritable values 123s adds itself to original as clone 123s decouples namespace values 123s decouples route values 123s 123s Grape::API 123s with a global namespace function 123s works 123s 123s Grape::API::Helpers 123s default 123s private 123s public 123s default 123s patch 123s private 123s default 123s public 123s 123s Grape::Middleware::Stack 123s #merge_with 123s applies a collection of operations and middlewares 123s middleware spec with proc declaration exists 123s properly forwards spec arguments 123s #insert 123s inserts a middleware class at the integer index 123s #use 123s pushes a middleware class with arguments onto the stack 123s pushes a middleware class with block arguments onto the stack 123s pushes a middleware class onto the stack 123s #build 123s returns a rack builder instance 123s when @others are present 123s applies the middleware specs stored in @others 123s #concat 123s adds non :use specs to @others 123s calls +merge_with+ with the :use specs 123s #insert_after 123s inserts a middleware after another middleware class 123s raises an error on an invalid index 123s inserts a middleware after an anonymous class given by its superclass 123s #insert_before 123s raises an error on an invalid index 123s inserts a middleware before an anonymous class given by its superclass 123s inserts a middleware before another middleware class 123s 123s Grape::Endpoint 123s when route modifies param value 123s param default should not change 123s 123s Grape::API 123s an endpoint without documentation 123s still declares params internally 123s does not document parameters for the endpoint 123s an endpoint with documentation 123s allows documentation with a hash 123s documents parameters 123s 123s StrictHashConfiguration 123s set nested configs 123s 123s Grape::API::Instance 123s with multiple moutes 123s does not raise a FrozenError on second instance 123s responds the correct body at the first instance 123s responds the correct body at the second instance 123s does not raise a FrozenError on first instance 123s when an instance is the root 123s can call the instance endpoint 123s top level setting 123s does not inherit settings from the superclass (Grape::API::Instance) 123s when an instance is mounted on the root 123s can call the instance endpoint 123s 123s Grape::Middleware::Auth::DSL 123s .http_digest 123s when realm is a hash 123s sets auth parameters 123s when realm is not hash 123s sets auth parameters 123s .auth 123s sets auth parameters 123s can be called multiple times 123s .http_basic 123s sets auth parameters 123s 123s Grape::Exceptions::MissingMimeType 123s #message 123s contains the resolution in the message 123s contains the problem in the message 123s 123s Grape::Validations::Validators::Base 123s #inherited 123s when validator's underscored name ends with _validator 123s registers the custom validator with short name not ending with validator 123s when validator's underscored name does not end with _validator 123s registers the custom validator with a short name 123s when validator is anonymous 123s does not register the validator 123s 123s Grape::Http::Headers 123s is expected to eq "X-Cascade" 123s is expected to eq "Transfer-Encoding" 123s is expected to eq "Allow" 123s is expected to eq "Location" 123s 123s Grape::Validations::Validators::CoerceValidator 123s coerce 123s error on malformed input (Array) 123s error on malformed input 123s i18n 123s i18n error on malformed input 123s gives an english fallback error when default locale message is blank 123s first-class JSON 123s accepts Array[JSON] shorthand 123s doesn't make sense using coerce_with 123s works when declared optional 123s parses objects, hashes, and arrays 123s with a custom validation message 123s errors on malformed input 123s on custom coercion rules 123s performs no additional coercion 123s respects :coerce_with 123s still validates type 123s converter 123s does not build a coercer multiple times 123s using coerce_with 123s parses parameters with Array[String] type 123s parses parameters even if type is valid 123s parses parameters with Array type 123s parses parameters with Array[Integer] type 123s must be supplied with :type or :coerce 123s accepts any callable 123s uses parse where available 123s parses parameters with Array[Array[String]] type and coerce_with 123s Integer type and coerce_with should 123s coerce nil value to integer 123s coerce integer as integer 123s not coerce missing field 123s Integer type and coerce_with potentially returning nil 123s accepts value that coerces to nil 123s returns invalid value if coercion returns a wrong type 123s coerces to Integer 123s Array type and coerce_with should 123s coerce nil value to array 123s coerce array as array 123s not coerce missing field 123s coerces 123s Integer 123s BigDecimal 123s Grape::API::Boolean 123s Nests integers 123s String 123s empty string 123s primitive types 123s is coerced to nil for type BigDecimal 123s is coerced to nil for type DateTime 123s is coerced to nil for type Float 123s is coerced to nil for type Numeric 123s is not coerced to nil for type String 123s is coerced to nil for type TrueClass 123s is coerced to nil for type Integer 123s is coerced to nil for type Grape::API::Boolean 123s is coerced to nil for type Symbol 123s is coerced to nil for type Date 123s is coerced to nil for type Time 123s is coerced to nil for type FalseClass 123s structures types 123s is coerced to nil for type Set 123s is coerced to nil for type Array 123s special types 123s is coerced to nil for type JSON 123s is coerced to nil for type [JSON] 123s variant-member-type collections 123s is coerced to nil for type [Integer, String] 123s is coerced to nil for type [Integer, String, [Integer, String]] 123s a custom type 123s coerces the given value 123s returning the InvalidValue instance when invalid 123s uses a custom message added to the invalid value 123s Array 123s Array of a custom type 123s Set of type implementing parse 123s Array of Bools 123s Array of type implementing parse 123s Array of Integers 123s Set 123s Set of Integers 123s Set of Bools 123s File 123s Rack::Multipart::UploadedFile 123s File 123s collection 123s nil values 123s structures types 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s special types 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s variant-member-type collections 123s respects the nil value 123s respects the nil value 123s primitive types 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s respects the nil value 123s json 123s BigDecimal 123s Grape::API::Boolean 123s multiple types 123s coerces to first possible type 123s fails when no coercion is possible 123s may not be supplied together with a single type 123s custom coercion rules 123s respects :coerce_with 123s still validates type 123s performs no additional coercion 123s for primitive collections 123s allows multiple collection types 123s allows singular form declaration 123s allows collections with multiple types 123s when params is Hashie::Mash 123s for primitive collections 123s allows singular form declaration 123s allows collections with multiple types 124s allows multiple collection types 124s 124s Grape::Endpoint 124s get 124s routes to a namespace param with dots 124s routes to a path with multiple params with dots 124s routes to namespace and path params with dots, with overridden requirements 124s routes to namespace and path params with dots, with merged requirements 124s 124s Grape::Exceptions::UnknownValidator 124s #message 124s contains the problem in the message 124s 124s Grape::Validations::Validators::PresenceValidator 124s with a required regexp parameter supplied in the POST body 124s validates id 124s with a custom validation message 124s requires when empty 124s valid when set 124s requires when missing 124s with a required non-empty string 124s requires when missing 124s requires when empty 124s valid when set 124s with nested parameters 124s validates nested parameters 124s with required parameters and no type 124s validates name, company 124s with multiple parameters per requires 124s validates for all defined params 124s with a custom type 124s does not validate their type when it is missing 124s with triply nested required parameters 124s validates triple nested parameters 124s without validation 124s does not validate for any params 124s with reused parameter documentation once required and once optional 124s works with optional 124s works with required 124s 124s Grape::Endpoint 124s get 124s responds without ext 124s responds with ext 124s put 124s responds 124s 124s Grape::DSL::Desc 124s .desc 124s can be set with a block 124s can be set with options and a block 124s sets a description 124s 124s Grape::Middleware::Auth::Base 124s authenticates if given valid creds 124s throws a 401 is wrong auth is given 124s 124s Grape::Middleware::Formatter 124s input 124s ignores application/x-www-form-urlencoded 124s rewinds IO 124s parses the body from an xml PATCH and copies values into rack.request.from_hash 124s ignores multipart/form-data 124s parses the chunked body from DELETE and copies values into rack.request.from_hash 124s ignores multipart/mixed 124s rewinds IO 124s ignores multipart/mixed 124s parses the chunked body from PATCH and copies values into rack.request.from_hash 124s ignores multipart/form-data 124s ignores multipart/form-data 124s ignores multipart/related 124s ignores multipart/related 124s parses the body from an xml DELETE and copies values into rack.request.from_hash 124s ignores multipart/form-data 124s ignores multipart/related 124s ignores multipart/mixed 124s parses the chunked body from PUT and copies values into rack.request.from_hash 124s rewinds IO 124s rewinds IO 124s ignores application/x-www-form-urlencoded 124s ignores application/x-www-form-urlencoded 124s parses the body from an xml PUT and copies values into rack.request.from_hash 124s parses the body from an xml POST and copies values into rack.request.from_hash 124s parses the chunked body from POST and copies values into rack.request.from_hash 124s ignores multipart/mixed 124s ignores application/x-www-form-urlencoded 124s ignores multipart/related 124s application/json 124s parses the body from PUT and copies values into rack.request.form_hash 124s when body is nil 124s does not read and parse the body 124s when body is not nil or empty 124s when Content-Type is not supported 124s returns a 415 HTTP error status 124s when Content-Type is supported 124s parses the body from PATCH and copies values into rack.request.form_hash 124s application/json; charset=utf-8 124s parses the body from POST and copies values into rack.request.form_hash 124s when body is not nil or empty 124s when Content-Type is supported 124s parses the body from POST and copies values into rack.request.form_hash 124s when Content-Type is not supported 124s returns a 415 HTTP error status 124s application/json; charset=utf-8 124s parses the body from DELETE and copies values into rack.request.form_hash 124s application/json; charset=utf-8 124s parses the body from PUT and copies values into rack.request.form_hash 124s when body is empty 124s does not read and parse the body 124s application/json; charset=utf-8 124s parses the body from PATCH and copies values into rack.request.form_hash 124s when body is empty 124s does not read and parse the body 124s when body is not nil or empty 124s when Content-Type is not supported 124s returns a 415 HTTP error status 124s when Content-Type is supported 124s parses the body from DELETE and copies values into rack.request.form_hash 124s when body is empty 124s does not read and parse the body 124s when body is empty 124s does not read and parse the body 124s when body is not nil or empty 124s when Content-Type is not supported 124s returns a 415 HTTP error status 124s when Content-Type is supported 124s parses the body from PUT and copies values into rack.request.form_hash 124s application/json 124s parses the body from PATCH and copies values into rack.request.form_hash 124s when body is nil 124s does not read and parse the body 124s when body is nil 124s does not read and parse the body 124s application/json 124s parses the body from POST and copies values into rack.request.form_hash 124s when body is nil 124s does not read and parse the body 124s application/json 124s parses the body from DELETE and copies values into rack.request.form_hash 124s format 124s uses custom json formatter 124s uses custom formatter 124s default 124s uses default json formatter 124s accept header detection 124s parses headers with other attributes 124s handles quality rankings mixed with nothing 124s ensures that a quality of 0 is less preferred than any other content type 124s parses headers with vendor and api version 124s parses headers with symbols as hash keys 124s detects from the Accept header 124s uses quality rankings to determine formats 124s handles quality rankings that have a default 1.0 value 124s ignores invalid quality rankings 124s with custom vendored content types 124s uses the custom type 124s serialization 124s looks at the bodies for possibly serializable data 124s xml 124s calls #to_xml if the content type is xml 124s jsonapi 124s calls #to_json if the content type is jsonapi 124s default format 124s calls #to_json since default format is json 124s no content responses 124s does not modify a 196 response 124s does not modify a 105 response 124s does not modify a 195 response 124s does not modify a 111 response 124s does not modify a 134 response 124s does not modify a 120 response 124s does not modify a 142 response 124s does not modify a 192 response 124s does not modify a 133 response 124s does not modify a 149 response 124s does not modify a 168 response 124s does not modify a 175 response 124s does not modify a 117 response 124s does not modify a 118 response 124s does not modify a 177 response 124s does not modify a 131 response 124s does not modify a 107 response 124s does not modify a 130 response 124s does not modify a 122 response 124s does not modify a 163 response 124s does not modify a 136 response 124s does not modify a 119 response 124s does not modify a 147 response 124s does not modify a 123 response 124s does not modify a 161 response 124s does not modify a 128 response 124s does not modify a 109 response 124s does not modify a 165 response 124s does not modify a 184 response 124s does not modify a 116 response 124s does not modify a 176 response 124s does not modify a 153 response 124s does not modify a 154 response 124s does not modify a 127 response 124s does not modify a 188 response 124s does not modify a 180 response 124s does not modify a 189 response 124s does not modify a 185 response 124s does not modify a 162 response 124s does not modify a 126 response 124s does not modify a 156 response 124s does not modify a 204 response 124s does not modify a 167 response 124s does not modify a 169 response 124s does not modify a 158 response 124s does not modify a 152 response 124s does not modify a 115 response 124s does not modify a 199 response 124s does not modify a 173 response 124s does not modify a 159 response 124s does not modify a 157 response 124s does not modify a 151 response 124s does not modify a 139 response 124s does not modify a 193 response 124s does not modify a 110 response 124s does not modify a 179 response 124s does not modify a 172 response 124s does not modify a 148 response 124s does not modify a 145 response 124s does not modify a 187 response 124s does not modify a 166 response 124s does not modify a 197 response 124s does not modify a 178 response 124s does not modify a 194 response 124s does not modify a 112 response 124s does not modify a 183 response 124s does not modify a 150 response 124s does not modify a 190 response 124s does not modify a 141 response 124s does not modify a 160 response 124s does not modify a 146 response 124s does not modify a 186 response 124s does not modify a 171 response 124s does not modify a 304 response 124s does not modify a 129 response 124s does not modify a 124 response 124s does not modify a 174 response 124s does not modify a 135 response 124s does not modify a 113 response 124s does not modify a 100 response 124s does not modify a 144 response 124s does not modify a 114 response 124s does not modify a 121 response 124s does not modify a 101 response 124s does not modify a 140 response 124s does not modify a 170 response 124s does not modify a 138 response 124s does not modify a 125 response 124s does not modify a 198 response 124s does not modify a 137 response 124s does not modify a 103 response 124s does not modify a 164 response 124s does not modify a 102 response 124s does not modify a 181 response 124s does not modify a 155 response 124s does not modify a 108 response 124s does not modify a 182 response 124s does not modify a 106 response 124s does not modify a 191 response 124s does not modify a 132 response 124s does not modify a 143 response 124s does not modify a 104 response 124s inheritable formatters 124s returns response by invalid formatter 124s content-type 124s is set for xml 124s is set for vendored with registered type 124s is set for custom 124s is set for json 124s is set to closest generic for custom vendored/versioned without registered type 124s is set for txt 124s custom parser raises exception and rescue options are enabled for backtrace and original_exception 124s adds the backtrace and original_exception to the error output 124s detection 124s uses the file extension format if provided before headers 124s uses the json extension if one is provided 124s uses the xml extension if one is provided 124s uses the requested format if provided in headers 124s uses the format parameter if one is provided 124s uses the default format if none is provided 124s error handling 124s rescues formatter-specific exceptions 124s caught error of type StandardError in after callback inside Grape::Middleware::Formatter : StandardError 124s does not rescue other exceptions 124s send file 124s returns a file response 124s 124s Grape::API 124s .recognize_path 124s returns nil if given path does not match with registered routes 124s fetches endpoint by given path 124s 124s Grape::Validations::Validators::SameAsValidator 124s /custom-message 124s is the same 124s is expected to eq "" 124s is not the same 124s is expected to eq "password_confirmation not match" 124s / 124s is the same 124s is expected to eq "" 124s is not the same 124s is expected to eq "password_confirmation is not the same as password" 124s 124s Grape::Endpoint 124s #redirect 124s default 124s sets location header 124s sets status to 302 124s permanent 124s sets location header 124s sets status to 301 124s #status 124s defaults to 204 on DELETE 124s defaults to 201 on POST 124s defaults to 200 on DELETE with a body present 124s defaults to 200 on GET 124s returns status set 124s accepts symbol for status 124s defaults to 200 on GET 124s defaults to 200 on GET 124s raises error if unknow symbol is passed 124s accepts unknown Integer status codes 124s raises error if status is not a integer or symbol 124s #error! 124s throws :error 124s thrown 124s sets status 124s default_error_status 124s sets status to default_error_status 124s #declared 124s is not available by default 124s #present 124s dummy 124s presents dummy object 124s non mergeable entity 124s instance 124s fails 124s multiple entities 124s instance 124s presents both dummy objects 124s with 124s entity 124s instance 124s presents dummy object 124s #return_no_content 124s sets the status code and body 124s #route 124s returns route_info 124s #cookies 124s returns an instance of Cookies 124s #stream 124s returns default 124s set 124s as a file path 124s sets Content-Length header to nil 124s sets Cache-Control header to no-cache 124s returns file body wrapped in StreamResponse 124s sets Transfer-Encoding header to nil 124s does not change Cache-Control header 124s emits no deprecation warnings 124s as a non-stream object 124s raises an error that the object must implement :each 124s as a stream object 124s emits no deprecation warnings 124s returns value wrapped in StreamResponse 124s sets Transfer-Encoding header to nil 124s sets Content-Length header to nil 124s sets Cache-Control header to no-cache 124s #content_type 124s returns default 124s set 124s returns value 124s #file 124s set 124s as object (backward compatibility) 124s DEPRECATION WARNING: Use stream to use a Stream object. (called from block (5 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/dsl/inside_route_spec.rb:235) 124s forwards the call to stream 124s emits a warning that this method is deprecated 124s as file path 124s DEPRECATION WARNING: Use sendfile or stream to send files. (called from block (5 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/dsl/inside_route_spec.rb:219) 124s forwards the call to sendfile 124s emits a warning that this method is deprecated 124s get 124s emits a warning that this method is deprecated 124s DEPRECATION WARNING: Use sendfile or stream to send files. (called from block (4 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/dsl/inside_route_spec.rb:250) 124s fowards call to sendfile 124s #version 124s defaults to nil 124s returns env[api.version] 124s #body 124s returns default 124s false 124s sets status to 204 124s set 124s returns value 124s #sendfile 124s returns default 124s set 124s as file path 124s returns value wrapped in StreamResponse 124s does not change the Cache-Control header 124s does not change the Content-Length header 124s sends no deprecation warnings 124s does not change the Transfer-Encoding header 124s as object 124s raises an error that only a file path is supported 124s 124s Grape::Validations::ParamsScope 124s returns a sensible error message within a nested context 124s includes deeply nested parameters within #declared(params) 124s raises an error if the dependent parameter was never specified 124s includes level 2 nested parameters outside the given within #declared(params) 124s includes the nested parameter within #declared(params) 124s coercing values validation with proc 124s allows the proc to pass validation without checking 124s allows the proc to pass validation without checking in value 124s DEPRECATION WARNING: The values validator except option is deprecated. Use the except validator instead. (called from block (3 levels) in at /tmp/autopkgtest.bXVczk/build.a4K/src/spec/grape/validations/params_scope_spec.rb:185) 124s allows the proc to pass validation without checking in except 124s array without coerce type explicitly given 124s raises exception when range values have different endpoint types 124s fails to call API without Array type 124s sets the type based on first element 124s raises exception when values are of different type 124s param renaming 124s is expected to eq "foo is empty" 124s is expected to eq "any-any2" 124s renaming can be defined after default 124s is expected to eq "{\"baz\":{\"qux\":\"any\"}}" 124s is expected to eq "-there we go" 124s renaming can be defined before default 124s is expected to eq 200 124s when validations are dependent on a parameter within an array param 124s passes none Hash params 124s with exactly_one_of validation for optional parameters within an Hash param 124s when correct data is provided 124s returns a successful response 124s when invalid data is provided 124s returns a failure response 124s default value in given block 124s when dependency meets 124s sets default value for dependent parameter 124s when dependency does not meet 124s does not set default value for dependent parameter 124s when validations are dependent on a parameter 124s includes level 2 nested parameters outside the given within #declared(params) 124s includes the nested parameter within #declared(params) 124s applies the validations only if the parameter is present 124s detect unmet nested dependency 124s allows renaming of dependent on parameter 124s does not raise an error if the dependent parameter is a Hash 124s raises an error if the dependent parameter is the renamed one 124s does not validate nested requires when given is false 124s returns a sensible error message within a nested context 124s allows renaming of dependent parameters 124s allows nested dependent parameters 124s applies the validations of multiple parameters 124s applies only the appropriate validation 124s does not raise if the dependent parameter is not the renamed one 124s raises an error if the dependent parameter was never specified 124s does not raise an error if when using nested given 124s includes the parameter within #declared(params) 124s when the dependent parameter is not present #declared(params) 124s nested given parameter within a nested given parameter within an array param 124s evaluate_given_false 124s evaluate_given_true 124s lateral hash parameter 124s evaluate_given_false 124s evaluate_given_true 124s lateral parameter 124s evaluate_given_true 124s evaluate_given_false 124s nested given parameter 124s evaluate_given_false 124s evaluate_given_true 124s nested given parameter within an array param 124s evaluate_given_true 124s evaluate_given_false 124s lateral parameter within lateral hash parameter 124s evaluate_given_false 124s evaluate_given_true 124s lateral parameter within an array param 124s evaluate_given_false 124s evaluate_given_true 124s when using custom types 124s coerces the parameter via the type's parse method 124s parameters in group 124s allows Hash as type 124s errors with an unsupported type 124s allows Array as type 124s handles missing optional Array type 124s errors when no type is provided 124s when params have group attributes 124s with nested groups 124s when data is invalid 124s responds with HTTP error 124s returns a validation error 124s when correct data is provided 124s returns a successful response 124s with validations 124s when data is invalid 124s returns a validation error 124s applies group validations for every parameter 124s when parameter has the same validator as a group 124s returns a successful response 124s prioritizes parameter validation over group validation 124s with types 124s when invalid date provided 124s returns a validation error 124s responds with HTTP error 124s when created_at receives a valid date 124s returns a date 124s returns a successful response 124s with several group attributes 124s when correct data is provided 124s returns a successful response 124s when data is invalid 124s returns a validation error 124s responds with HTTP error 124s when validations are dependent on a parameter with specific value 124s (case 1) 124s applies the validation when base param has the specific value 124s includes the parameter within #declared(params) 124s skips validation when base param is missing 124s skips validation when base param does not have a specified value 124s (case 15) 124s includes the parameter within #declared(params) 124s applies the validation when base param has the specific value 124s skips validation when base param does not have a specified value 124s (case 13) 124s applies the validation when base param has the specific value 124s includes the parameter within #declared(params) 124s skips validation when base param does not have a specified value 124s (case 9) 124s applies the validation when base param has the specific value 124s skips validation when base param does not have a specified value 124s includes the parameter within #declared(params) 124s (case 11) 124s skips validation when base param does not have a specified value 124s applies the validation when base param has the specific value 124s includes the parameter within #declared(params) 124s (case 3) 124s skips validation when base param is missing 124s applies the validation when base param has the specific value 124s skips validation when base param does not have a specified value 124s includes the parameter within #declared(params) 124s (case 6) 124s applies the validation when base param has the specific value 124s skips validation when base param does not have a specified value 124s includes the parameter within #declared(params) 124s skips validation when base param is missing 124s (case 0) 124s includes the parameter within #declared(params) 124s skips validation when base param is missing 124s applies the validation when base param has the specific value 124s skips validation when base param does not have a specified value 124s (case 12) 124s skips validation when base param does not have a specified value 124s applies the validation when base param has the specific value 124s includes the parameter within #declared(params) 124s (case 2) 124s applies the validation when base param has the specific value 124s includes the parameter within #declared(params) 124s skips validation when base param does not have a specified value 124s skips validation when base param is missing 124s (case 5) 124s applies the validation when base param has the specific value 124s skips validation when base param does not have a specified value 124s skips validation when base param is missing 124s includes the parameter within #declared(params) 124s (case 7) 124s skips validation when base param is missing 124s skips validation when base param does not have a specified value 124s applies the validation when base param has the specific value 124s includes the parameter within #declared(params) 124s (case 8) 124s skips validation when base param does not have a specified value 124s includes the parameter within #declared(params) 124s applies the validation when base param has the specific value 124s (case 14) 124s skips validation when base param does not have a specified value 124s applies the validation when base param has the specific value 124s includes the parameter within #declared(params) 124s (case 10) 124s includes the parameter within #declared(params) 124s skips validation when base param does not have a specified value 124s applies the validation when base param has the specific value 124s (case 4) 125s skips validation when base param is missing 125s skips validation when base param does not have a specified value 125s includes the parameter within #declared(params) 125s applies the validation when base param has the specific value 125s with range values 125s when left range endpoint isn't #kind_of? the type 125s raises exception 125s when right range endpoint isn't #kind_of? the type 125s raises exception 125s when both range endpoints are #kind_of? the type 125s accepts values in the range 125s rejects values outside the range 125s when the default is an array 125s and is a subset of allowed values 125s does not raise an exception 125s and is the entire range of allowed values 125s does not raise an exception 125s when validations are dependent on a parameter within an array param within #declared(params).to_json 125s applies the constraint within each value 125s failing fast 125s when fail_fast is defined it stops the validation 125s of other params 125s for a single param 125s when fail_fast is not defined 125s does not stop validation 125s 125s Grape::API::Helpers 125s defines parameters 125s 125s Grape::Extensions::Hash::ParamBuilder 125s in an endpoint 125s #params 125s is of type Hash 125s in an api 125s symbolizes params keys 125s symbolizes the params 125s #params 125s is Hash 125s 125s Grape::Middleware::Base 125s has the app as an accessor 125s calls through to the app 125s is able to access the response 125s #context 125s allows access to response context 125s callbacks on error 125s calls #after 125s header overwrite 125s overwrites header by after headers 125s callbacks 125s calls #before 125s calls #after 125s options 125s persists options passed at initialization 125s defaults 125s overrides default options when provided 125s persists the default options 125s after callback 125s overwrites application response 125s after callback with errors 125s does not overwrite the application response 125s with patched warnings 125s does show a warning 125s #response 125s when Rack::Response 125s returns the memoized Rack::Response instance 125s header 125s body 125s status 125s when Array 125s header 125s status 125s returns the memoized Rack::Response instance 125s body 125s header 125s is able to set a header 125s 125s Grape::Endpoint 125s get 125s invalid format 125s no format 125s json format 125s 125s Grape::Path 125s #initialize 125s remebers the settings 125s remembers the namespace 125s remembers the path 125s #path 125s uses the raw path after the namespace 125s uses the namespace after the mount path and root prefix 125s root_prefix 125s is not included when it is nil 125s is included after the mount path 125s mount_path 125s is not included when it is nil 125s is included when it is not nil 125s #path? 125s is false when the path is nil 125s is false when the path is the root path 125s is true otherwise 125s is false when the path starts with whitespace 125s #namespace? 125s is false when the namespace starts with whitespace 125s is true otherwise 125s is false when the namespace is the root path 125s is false when the namespace is nil 125s #root_prefix 125s is nil when no root prefix setting exists 125s splits the mount path 125s is nil when the mount path is nil 125s #uses_path_versioning? 125s is false when the version option is header 125s is false when the version setting is nil 125s is true when the version option is path 125s #path_with_suffix 125s combines the path and suffix 125s when using a specific format 125s might have a suffix with specified format 125s #suffix 125s when path versioning is used 125s includes a '/' 125s when using a specific format 125s accepts specified format 125s when path versioning is not used 125s does not include a '/' when the path has a path 125s includes a '/' otherwise 125s does not include a '/' when the path has a namespace 125s #mount_path 125s is nil when no mount path setting exists 125s is nil when the mount path is nil 125s splits the mount path 125s 125s Grape::DSL::Settings 125s #within_namespace 125s calls start and end for a namespace 125s returns the last result 125s #global_setting 125s delegates to get_or_set 125s #get_or_set 125s returns a value when nil is new value is provided 125s sets a values 125s #unset_api_class_setting 125s delegates to unset 125s #unset_namespace_setting 125s delegates to unset 125s complex scenario 125s plays well 125s #route_setting 125s delegates to get_or_set 125s sets a value until the next route 125s #namespace_stackable 125s delegates to get_or_set 125s stacks values from surrounding namespace 125s #unset_route_setting 125s delegates to unset 125s #unset 125s deletes a key from settings 125s #unset_namespace_stackable 125s delegates to unset 125s #api_class_setting 125s delegates to get_or_set 125s #unset_global_setting 125s delegates to unset 125s #namespace_setting 125s sets a value until the end of a namespace 125s resets values after leaving nested namespaces 125s delegates to get_or_set 125s #unset_namespace_inheritable 125s delegates to unset 125s #namespace_inheritable 125s delegates to get_or_set 125s inherits values from surrounding namespace 125s 125s Pending: (Failures listed here are expected and do not affect your suite's status) 125s 125s 1) MultiJson uses multi_json 125s # Temporarily skipped with xit 125s # ./spec/integration/multi_json/json_spec.rb:4 125s 125s Failures: 125s 125s 1) Grape::Endpoint#method_missing when performing an undefined method of an instance inside the API raises NoMethodError but stripping the internals of the Object class 125s Failure/Error: 125s expect do 125s get '/hey' 125s end.to raise_error(NoMethodError, /^undefined method `x' for #$/) 125s 125s expected NoMethodError with message matching /^undefined method `x' for #$/, got # with backtrace: 125s # ./spec/grape/endpoint_spec.rb:709:in `block (5 levels) in ' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:58:in `call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:58:in `block (2 levels) in generate_api_method' 125s # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:205:in `instrument' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:57:in `block in generate_api_method' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:328:in `execute' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:260:in `block in run' 125s # /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:205:in `instrument' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:240:in `run' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:316:in `block in build_stack' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/middleware/base.rb:36:in `call!' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/middleware/base.rb:29:in `call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/middleware/error.rb:39:in `block in call!' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/middleware/error.rb:38:in `catch' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/middleware/error.rb:38:in `call!' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/middleware/base.rb:29:in `call' 125s # /usr/share/rubygems-integration/all/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:224:in `call!' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/endpoint.rb:218:in `call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router/route.rb:58:in `exec' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router.rb:120:in `process_route' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router.rb:74:in `block in identity' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router.rb:94:in `transaction' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router.rb:72:in `identity' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router.rb:56:in `block in call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router.rb:136:in `with_optimization' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/router.rb:55:in `call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/api/instance.rb:165:in `call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/api/instance.rb:70:in `call!' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/api/instance.rb:65:in `call' 125s # /usr/share/rubygems-integration/all/gems/grape-2.0.0/lib/grape/api.rb:81:in `call' 125s # /usr/share/rubygems-integration/all/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' 125s # /usr/share/rubygems-integration/all/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' 125s # /usr/share/rubygems-integration/all/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' 125s # ./spec/grape/endpoint_spec.rb:712:in `block (5 levels) in ' 125s # ./spec/grape/endpoint_spec.rb:711:in `block (4 levels) in ' 125s # ./spec/grape/endpoint_spec.rb:711:in `block (4 levels) in ' 125s 125s Finished in 6.67 seconds (files took 1.33 seconds to load) 125s 2171 examples, 1 failure, 1 pending 125s 125s Failed examples: 125s 125s rspec ./spec/grape/endpoint_spec.rb:707 # Grape::Endpoint#method_missing when performing an undefined method of an instance inside the API raises NoMethodError but stripping the internals of the Object class 125s 125s Randomized with seed 29621 125s 125s /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 ./spec/grape/api/custom_validations_spec.rb ./spec/grape/api/deeply_included_options_spec.rb ./spec/grape/api/defines_boolean_in_params_spec.rb ./spec/grape/api/documentation_spec.rb ./spec/grape/api/inherited_helpers_spec.rb ./spec/grape/api/instance_spec.rb ./spec/grape/api/invalid_format_spec.rb ./spec/grape/api/namespace_parameters_in_route_spec.rb ./spec/grape/api/nested_helpers_spec.rb ./spec/grape/api/optional_parameters_in_route_spec.rb ./spec/grape/api/parameters_modification_spec.rb ./spec/grape/api/patch_method_helpers_spec.rb ./spec/grape/api/recognize_path_spec.rb ./spec/grape/api/required_parameters_in_route_spec.rb ./spec/grape/api/required_parameters_with_invalid_method_spec.rb ./spec/grape/api/routes_with_requirements_spec.rb ./spec/grape/api/shared_helpers_exactly_one_of_spec.rb ./spec/grape/api/shared_helpers_spec.rb ./spec/grape/api_remount_spec.rb ./spec/grape/api_spec.rb ./spec/grape/dsl/callbacks_spec.rb ./spec/grape/dsl/desc_spec.rb ./spec/grape/dsl/headers_spec.rb ./spec/grape/dsl/helpers_spec.rb ./spec/grape/dsl/inside_route_spec.rb ./spec/grape/dsl/logger_spec.rb ./spec/grape/dsl/middleware_spec.rb ./spec/grape/dsl/parameters_spec.rb ./spec/grape/dsl/request_response_spec.rb ./spec/grape/dsl/routing_spec.rb ./spec/grape/dsl/settings_spec.rb ./spec/grape/dsl/validations_spec.rb ./spec/grape/endpoint/declared_spec.rb ./spec/grape/endpoint_spec.rb ./spec/grape/exceptions/base_spec.rb ./spec/grape/exceptions/body_parse_errors_spec.rb ./spec/grape/exceptions/invalid_accept_header_spec.rb ./spec/grape/exceptions/invalid_formatter_spec.rb ./spec/grape/exceptions/invalid_response_spec.rb ./spec/grape/exceptions/invalid_versioner_option_spec.rb ./spec/grape/exceptions/missing_group_type_spec.rb ./spec/grape/exceptions/missing_mime_type_spec.rb ./spec/grape/exceptions/missing_option_spec.rb ./spec/grape/exceptions/unknown_options_spec.rb ./spec/grape/exceptions/unknown_validator_spec.rb ./spec/grape/exceptions/unsupported_group_type_spec.rb ./spec/grape/exceptions/validation_errors_spec.rb ./spec/grape/exceptions/validation_spec.rb ./spec/grape/extensions/param_builders/hash_spec.rb ./spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb ./spec/grape/extensions/param_builders/hashie/mash_spec.rb ./spec/grape/grape_spec.rb ./spec/grape/integration/global_namespace_function_spec.rb ./spec/grape/integration/rack_sendfile_spec.rb ./spec/grape/integration/rack_spec.rb ./spec/grape/loading_spec.rb ./spec/grape/middleware/auth/base_spec.rb ./spec/grape/middleware/auth/dsl_spec.rb ./spec/grape/middleware/auth/strategies_spec.rb ./spec/grape/middleware/base_spec.rb ./spec/grape/middleware/error_spec.rb ./spec/grape/middleware/exception_spec.rb ./spec/grape/middleware/formatter_spec.rb ./spec/grape/middleware/globals_spec.rb ./spec/grape/middleware/stack_spec.rb ./spec/grape/middleware/versioner/accept_version_header_spec.rb ./spec/grape/middleware/versioner/header_spec.rb ./spec/grape/middleware/versioner/param_spec.rb ./spec/grape/middleware/versioner/path_spec.rb ./spec/grape/middleware/versioner_spec.rb ./spec/grape/named_api_spec.rb ./spec/grape/parser_spec.rb ./spec/grape/path_spec.rb ./spec/grape/presenters/presenter_spec.rb ./spec/grape/railtie_spec.rb ./spec/grape/request_spec.rb ./spec/grape/util/inheritable_setting_spec.rb ./spec/grape/util/inheritable_values_spec.rb ./spec/grape/util/reverse_stackable_values_spec.rb ./spec/grape/util/stackable_values_spec.rb ./spec/grape/util/strict_hash_configuration_spec.rb ./spec/grape/validations/attributes_doc_spec.rb ./spec/grape/validations/instance_behaivour_spec.rb ./spec/grape/validations/multiple_attributes_iterator_spec.rb ./spec/grape/validations/params_scope_spec.rb ./spec/grape/validations/single_attribute_iterator_spec.rb ./spec/grape/validations/types/array_coercer_spec.rb ./spec/grape/validations/types/primitive_coercer_spec.rb ./spec/grape/validations/types/set_coercer_spec.rb ./spec/grape/validations/types_spec.rb ./spec/grape/validations/validators/all_or_none_spec.rb ./spec/grape/validations/validators/allow_blank_spec.rb ./spec/grape/validations/validators/at_least_one_of_spec.rb ./spec/grape/validations/validators/base_spec.rb ./spec/grape/validations/validators/coerce_spec.rb ./spec/grape/validations/validators/default_spec.rb ./spec/grape/validations/validators/exactly_one_of_spec.rb ./spec/grape/validations/validators/except_values_spec.rb ./spec/grape/validations/validators/mutual_exclusion_spec.rb ./spec/grape/validations/validators/presence_spec.rb ./spec/grape/validations/validators/regexp_spec.rb ./spec/grape/validations/validators/same_as_spec.rb ./spec/grape/validations/validators/values_spec.rb ./spec/grape/validations_spec.rb ./spec/integration/eager_load/eager_load_spec.rb ./spec/integration/multi_json/json_spec.rb ./spec/integration/multi_xml/xml_spec.rb ./spec/integration/rack/v2/headers_spec.rb ./spec/integration/rack/v3/headers_spec.rb --require spec_helper failed 125s mv ./.gem2deb.lib lib 125s autopkgtest [02:54:19]: test gem2deb-test-runner: -----------------------] 126s gem2deb-test-runner FAIL non-zero exit status 1 126s autopkgtest [02:54:20]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 126s autopkgtest [02:54:20]: @@@@@@@@@@@@@@@@@@@@ summary 126s gem2deb-test-runner FAIL non-zero exit status 1 140s nova [W] Skipping flock in bos03-arm64 140s Creating nova instance adt-plucky-arm64-ruby-grape-20241102-025214-juju-7f2275-prod-proposed-migration-environment-2-26c455a6-b595-443a-b34d-3d7b1410ed8a from image adt/ubuntu-plucky-arm64-server-20241101.img (UUID 520a937f-514a-4e80-b76b-163a8c247e3e)...