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