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