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