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