0s autopkgtest [12:48:08]: starting date and time: 2024-04-14 12:48:08+0000 0s autopkgtest [12:48:08]: git checkout: 43bc6cdf gitlab-ci: do not include the salsa pipeline 0s autopkgtest [12:48:08]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4djb2a1x/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:gem2deb --apt-upgrade ruby-parslet --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=gem2deb/2.2.3 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-30.secgroup --name adt-noble-i386-ruby-parslet-20240414-124807-juju-7f2275-prod-proposed-migration-environment-2-9a58c94a-8a99-4195-a8d5-e8d8f6116b02 --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 701s autopkgtest [12:59:49]: testbed dpkg architecture: amd64 701s autopkgtest [12:59:49]: testbed apt version: 2.7.14build2 701s autopkgtest [12:59:49]: test architecture: i386 701s autopkgtest [12:59:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 702s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 702s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [13.2 kB] 702s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [3036 B] 702s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [331 kB] 702s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [291 kB] 702s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [280 kB] 702s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [378 kB] 702s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [3508 B] 702s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [71.2 kB] 702s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [6228 B] 702s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B] 702s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [402 kB] 702s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [274 kB] 702s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [9396 B] 702s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 Packages [1432 B] 702s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [196 B] 703s Fetched 2182 kB in 0s (5135 kB/s) 704s Reading package lists... 705s Reading package lists... 706s Building dependency tree... 706s Reading state information... 706s Calculating upgrade... 706s The following packages will be upgraded: 706s libdrm-common libdrm2 libffi8 706s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 706s Need to get 73.4 kB of archives. 706s After this operation, 0 B of additional disk space will be used. 706s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 libffi8 amd64 3.4.6-1build1 [24.7 kB] 706s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 libdrm-common all 2.4.120-2build1 [8096 B] 706s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 libdrm2 amd64 2.4.120-2build1 [40.5 kB] 706s Fetched 73.4 kB in 0s (4339 kB/s) 707s (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 ... 73742 files and directories currently installed.) 707s Preparing to unpack .../libffi8_3.4.6-1build1_amd64.deb ... 707s Unpacking libffi8:amd64 (3.4.6-1build1) over (3.4.6-1) ... 707s Setting up libffi8:amd64 (3.4.6-1build1) ... 707s (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 ... 73742 files and directories currently installed.) 707s Preparing to unpack .../libdrm-common_2.4.120-2build1_all.deb ... 707s Unpacking libdrm-common (2.4.120-2build1) over (2.4.120-2) ... 707s Preparing to unpack .../libdrm2_2.4.120-2build1_amd64.deb ... 707s Unpacking libdrm2:amd64 (2.4.120-2build1) over (2.4.120-2) ... 707s Setting up libdrm-common (2.4.120-2build1) ... 707s Setting up libdrm2:amd64 (2.4.120-2build1) ... 707s Processing triggers for libc-bin (2.39-0ubuntu8) ... 707s Reading package lists... 707s Building dependency tree... 707s Reading state information... 707s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 708s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 708s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 708s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 708s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 709s Reading package lists... 709s Reading package lists... 709s Building dependency tree... 709s Reading state information... 709s Calculating upgrade... 709s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 709s Reading package lists... 710s Building dependency tree... 710s Reading state information... 710s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 711s autopkgtest [12:59:59]: testbed running kernel: Linux 6.8.0-22-generic #22-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 22:30:32 UTC 2024 711s autopkgtest [12:59:59]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-parslet 711s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-parslet 1.8.2-4 (dsc) [2181 B] 711s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-parslet 1.8.2-4 (tar) [76.8 kB] 711s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-parslet 1.8.2-4 (diff) [6076 B] 711s gpgv: Signature made Mon Jul 18 06:08:43 2022 UTC 711s gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E 711s gpgv: Can't check signature: No public key 711s dpkg-source: warning: cannot verify inline signature for ./ruby-parslet_1.8.2-4.dsc: no acceptable signature found 711s autopkgtest [12:59:59]: testing package ruby-parslet version 1.8.2-4 711s autopkgtest [12:59:59]: build not needed 711s autopkgtest [12:59:59]: test run-test: preparing testbed 713s Note, using file '/tmp/autopkgtest.Lb5hRy/1-autopkgtest-satdep.dsc' to get the build dependencies 713s Reading package lists... 713s Building dependency tree... 713s Reading state information... 714s Starting pkgProblemResolver with broken count: 0 714s Starting 2 pkgProblemResolver with broken count: 0 714s Done 714s The following NEW packages will be installed: 714s build-essential cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu 714s diffstat g++ g++-13 g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 714s gcc-13-base gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gem2deb-test-runner 714s gettext libasan8 libatomic1 libcc1-0 libgcc-13-dev libgomp1 libhwasan0 714s libisl23 libitm1 liblsan0 libmpc3 libquadmath0 libruby libruby3.2 714s libstdc++-13-dev libtsan2 libubsan1 quilt rake ruby ruby-ae ruby-ansi 714s ruby-blankslate ruby-diff-lcs ruby-flexmock ruby-net-telnet ruby-parslet 714s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 714s ruby-rspec-support ruby-rubygems ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.2 714s rubygems-integration 714s 0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded. 714s Need to get 70.0 MB of archives. 714s After this operation, 258 MB of additional disk space will be used. 714s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-base amd64 13.2.0-23ubuntu3 [48.6 kB] 714s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 libisl23 amd64 0.26-3 [741 kB] 714s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 libmpc3 amd64 1.3.1-1 [54.1 kB] 714s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu3 [11.2 MB] 714s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13 amd64 13.2.0-23ubuntu3 [1034 B] 714s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 714s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 714s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libcc1-0 amd64 14-20240330-1ubuntu2 [47.7 kB] 714s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libgomp1 amd64 14-20240330-1ubuntu2 [147 kB] 714s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 libitm1 amd64 14-20240330-1ubuntu2 [29.1 kB] 714s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 libatomic1 amd64 14-20240330-1ubuntu2 [10.4 kB] 714s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 libasan8 amd64 14-20240330-1ubuntu2 [3020 kB] 714s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 liblsan0 amd64 14-20240330-1ubuntu2 [1310 kB] 714s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 libtsan2 amd64 14-20240330-1ubuntu2 [2731 kB] 714s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libubsan1 amd64 14-20240330-1ubuntu2 [1172 kB] 714s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libhwasan0 amd64 14-20240330-1ubuntu2 [1629 kB] 714s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libquadmath0 amd64 14-20240330-1ubuntu2 [155 kB] 714s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libgcc-13-dev amd64 13.2.0-23ubuntu3 [2687 kB] 714s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu3 [21.9 MB] 714s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13 amd64 13.2.0-23ubuntu3 [479 kB] 714s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 714s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 714s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libstdc++-13-dev amd64 13.2.0-23ubuntu3 [2398 kB] 714s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu3 [12.5 MB] 714s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13 amd64 13.2.0-23ubuntu3 [14.5 kB] 714s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 714s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 714s Get:28 http://ftpmaster.internal/ubuntu noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 714s Get:29 http://ftpmaster.internal/ubuntu noble/main amd64 diffstat amd64 1.66-1build1 [29.7 kB] 714s Get:30 http://ftpmaster.internal/ubuntu noble/main amd64 rubygems-integration all 1.18 [5336 B] 714s Get:31 http://ftpmaster.internal/ubuntu noble/main amd64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 714s Get:32 http://ftpmaster.internal/ubuntu noble/main amd64 ruby-webrick all 1.8.1-1 [52.3 kB] 714s Get:33 http://ftpmaster.internal/ubuntu noble/main amd64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 714s Get:34 http://ftpmaster.internal/ubuntu noble/main amd64 libruby amd64 1:3.2~ubuntu1 [4694 B] 714s Get:35 http://ftpmaster.internal/ubuntu noble/main amd64 ruby-sdbm amd64 1.0.0-5build4 [16.2 kB] 714s Get:36 http://ftpmaster.internal/ubuntu noble/main amd64 libruby3.2 amd64 3.2.3-1build3 [5339 kB] 715s Get:37 http://ftpmaster.internal/ubuntu noble/main amd64 ruby3.2 amd64 3.2.3-1build3 [50.7 kB] 715s Get:38 http://ftpmaster.internal/ubuntu noble/main amd64 ruby-rubygems all 3.4.20-1 [238 kB] 715s Get:39 http://ftpmaster.internal/ubuntu noble/main amd64 ruby amd64 1:3.2~ubuntu1 [3466 B] 715s Get:40 http://ftpmaster.internal/ubuntu noble/main amd64 rake all 13.0.6-3 [61.6 kB] 715s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 gem2deb-test-runner amd64 2.2.3 [18.2 kB] 715s Get:42 http://ftpmaster.internal/ubuntu noble/main amd64 gettext amd64 0.21-14ubuntu1 [864 kB] 715s Get:43 http://ftpmaster.internal/ubuntu noble/universe amd64 quilt all 0.67+really0.67-4 [436 kB] 715s Get:44 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-ansi all 1.5.0-1.1 [33.1 kB] 715s Get:45 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-ae all 1.8.2-2 [20.2 kB] 715s Get:46 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-blankslate all 3.1.3-1.1 [4844 B] 715s Get:47 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 715s Get:48 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-flexmock all 2.3.6-7 [59.6 kB] 715s Get:49 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-parslet all 1.8.2-4 [50.0 kB] 715s Get:50 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 715s Get:51 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 715s Get:52 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 715s Get:53 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 715s Get:54 http://ftpmaster.internal/ubuntu noble/universe amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 715s Fetched 70.0 MB in 1s (133 MB/s) 715s Selecting previously unselected package gcc-13-base:amd64. 715s (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 ... 73742 files and directories currently installed.) 715s Preparing to unpack .../00-gcc-13-base_13.2.0-23ubuntu3_amd64.deb ... 715s Unpacking gcc-13-base:amd64 (13.2.0-23ubuntu3) ... 715s Selecting previously unselected package libisl23:amd64. 715s Preparing to unpack .../01-libisl23_0.26-3_amd64.deb ... 715s Unpacking libisl23:amd64 (0.26-3) ... 715s Selecting previously unselected package libmpc3:amd64. 715s Preparing to unpack .../02-libmpc3_1.3.1-1_amd64.deb ... 715s Unpacking libmpc3:amd64 (1.3.1-1) ... 715s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 715s Preparing to unpack .../03-cpp-13-x86-64-linux-gnu_13.2.0-23ubuntu3_amd64.deb ... 715s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu3) ... 715s Selecting previously unselected package cpp-13. 715s Preparing to unpack .../04-cpp-13_13.2.0-23ubuntu3_amd64.deb ... 715s Unpacking cpp-13 (13.2.0-23ubuntu3) ... 715s Selecting previously unselected package cpp-x86-64-linux-gnu. 715s Preparing to unpack .../05-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 715s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 715s Selecting previously unselected package cpp. 715s Preparing to unpack .../06-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 715s Unpacking cpp (4:13.2.0-7ubuntu1) ... 715s Selecting previously unselected package libcc1-0:amd64. 715s Preparing to unpack .../07-libcc1-0_14-20240330-1ubuntu2_amd64.deb ... 715s Unpacking libcc1-0:amd64 (14-20240330-1ubuntu2) ... 715s Selecting previously unselected package libgomp1:amd64. 715s Preparing to unpack .../08-libgomp1_14-20240330-1ubuntu2_amd64.deb ... 715s Unpacking libgomp1:amd64 (14-20240330-1ubuntu2) ... 715s Selecting previously unselected package libitm1:amd64. 715s Preparing to unpack .../09-libitm1_14-20240330-1ubuntu2_amd64.deb ... 715s Unpacking libitm1:amd64 (14-20240330-1ubuntu2) ... 715s Selecting previously unselected package libatomic1:amd64. 715s Preparing to unpack .../10-libatomic1_14-20240330-1ubuntu2_amd64.deb ... 715s Unpacking libatomic1:amd64 (14-20240330-1ubuntu2) ... 715s Selecting previously unselected package libasan8:amd64. 715s Preparing to unpack .../11-libasan8_14-20240330-1ubuntu2_amd64.deb ... 715s Unpacking libasan8:amd64 (14-20240330-1ubuntu2) ... 715s Selecting previously unselected package liblsan0:amd64. 715s Preparing to unpack .../12-liblsan0_14-20240330-1ubuntu2_amd64.deb ... 715s Unpacking liblsan0:amd64 (14-20240330-1ubuntu2) ... 715s Selecting previously unselected package libtsan2:amd64. 715s Preparing to unpack .../13-libtsan2_14-20240330-1ubuntu2_amd64.deb ... 715s Unpacking libtsan2:amd64 (14-20240330-1ubuntu2) ... 716s Selecting previously unselected package libubsan1:amd64. 716s Preparing to unpack .../14-libubsan1_14-20240330-1ubuntu2_amd64.deb ... 716s Unpacking libubsan1:amd64 (14-20240330-1ubuntu2) ... 716s Selecting previously unselected package libhwasan0:amd64. 716s Preparing to unpack .../15-libhwasan0_14-20240330-1ubuntu2_amd64.deb ... 716s Unpacking libhwasan0:amd64 (14-20240330-1ubuntu2) ... 716s Selecting previously unselected package libquadmath0:amd64. 716s Preparing to unpack .../16-libquadmath0_14-20240330-1ubuntu2_amd64.deb ... 716s Unpacking libquadmath0:amd64 (14-20240330-1ubuntu2) ... 716s Selecting previously unselected package libgcc-13-dev:amd64. 716s Preparing to unpack .../17-libgcc-13-dev_13.2.0-23ubuntu3_amd64.deb ... 716s Unpacking libgcc-13-dev:amd64 (13.2.0-23ubuntu3) ... 716s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 716s Preparing to unpack .../18-gcc-13-x86-64-linux-gnu_13.2.0-23ubuntu3_amd64.deb ... 716s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu3) ... 716s Selecting previously unselected package gcc-13. 716s Preparing to unpack .../19-gcc-13_13.2.0-23ubuntu3_amd64.deb ... 716s Unpacking gcc-13 (13.2.0-23ubuntu3) ... 716s Selecting previously unselected package gcc-x86-64-linux-gnu. 716s Preparing to unpack .../20-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 716s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 716s Selecting previously unselected package gcc. 716s Preparing to unpack .../21-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 716s Unpacking gcc (4:13.2.0-7ubuntu1) ... 716s Selecting previously unselected package libstdc++-13-dev:amd64. 716s Preparing to unpack .../22-libstdc++-13-dev_13.2.0-23ubuntu3_amd64.deb ... 716s Unpacking libstdc++-13-dev:amd64 (13.2.0-23ubuntu3) ... 716s Selecting previously unselected package g++-13-x86-64-linux-gnu. 716s Preparing to unpack .../23-g++-13-x86-64-linux-gnu_13.2.0-23ubuntu3_amd64.deb ... 716s Unpacking g++-13-x86-64-linux-gnu (13.2.0-23ubuntu3) ... 717s Selecting previously unselected package g++-13. 717s Preparing to unpack .../24-g++-13_13.2.0-23ubuntu3_amd64.deb ... 717s Unpacking g++-13 (13.2.0-23ubuntu3) ... 717s Selecting previously unselected package g++-x86-64-linux-gnu. 717s Preparing to unpack .../25-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 717s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 717s Selecting previously unselected package g++. 717s Preparing to unpack .../26-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 717s Unpacking g++ (4:13.2.0-7ubuntu1) ... 717s Selecting previously unselected package build-essential. 717s Preparing to unpack .../27-build-essential_12.10ubuntu1_amd64.deb ... 717s Unpacking build-essential (12.10ubuntu1) ... 717s Selecting previously unselected package diffstat. 717s Preparing to unpack .../28-diffstat_1.66-1build1_amd64.deb ... 717s Unpacking diffstat (1.66-1build1) ... 717s Selecting previously unselected package rubygems-integration. 717s Preparing to unpack .../29-rubygems-integration_1.18_all.deb ... 717s Unpacking rubygems-integration (1.18) ... 717s Selecting previously unselected package ruby-net-telnet. 717s Preparing to unpack .../30-ruby-net-telnet_0.2.0-1_all.deb ... 717s Unpacking ruby-net-telnet (0.2.0-1) ... 717s Selecting previously unselected package ruby-webrick. 717s Preparing to unpack .../31-ruby-webrick_1.8.1-1_all.deb ... 717s Unpacking ruby-webrick (1.8.1-1) ... 717s Selecting previously unselected package ruby-xmlrpc. 717s Preparing to unpack .../32-ruby-xmlrpc_0.3.2-2_all.deb ... 717s Unpacking ruby-xmlrpc (0.3.2-2) ... 717s Selecting previously unselected package libruby:amd64. 717s Preparing to unpack .../33-libruby_1%3a3.2~ubuntu1_amd64.deb ... 717s Unpacking libruby:amd64 (1:3.2~ubuntu1) ... 717s Selecting previously unselected package ruby-sdbm:amd64. 717s Preparing to unpack .../34-ruby-sdbm_1.0.0-5build4_amd64.deb ... 717s Unpacking ruby-sdbm:amd64 (1.0.0-5build4) ... 717s Selecting previously unselected package libruby3.2:amd64. 717s Preparing to unpack .../35-libruby3.2_3.2.3-1build3_amd64.deb ... 717s Unpacking libruby3.2:amd64 (3.2.3-1build3) ... 717s Selecting previously unselected package ruby3.2. 717s Preparing to unpack .../36-ruby3.2_3.2.3-1build3_amd64.deb ... 717s Unpacking ruby3.2 (3.2.3-1build3) ... 717s Selecting previously unselected package ruby-rubygems. 717s Preparing to unpack .../37-ruby-rubygems_3.4.20-1_all.deb ... 717s Unpacking ruby-rubygems (3.4.20-1) ... 717s Selecting previously unselected package ruby. 717s Preparing to unpack .../38-ruby_1%3a3.2~ubuntu1_amd64.deb ... 717s Unpacking ruby (1:3.2~ubuntu1) ... 717s Selecting previously unselected package rake. 717s Preparing to unpack .../39-rake_13.0.6-3_all.deb ... 717s Unpacking rake (13.0.6-3) ... 717s Selecting previously unselected package gem2deb-test-runner. 717s Preparing to unpack .../40-gem2deb-test-runner_2.2.3_amd64.deb ... 717s Unpacking gem2deb-test-runner (2.2.3) ... 718s Selecting previously unselected package gettext. 718s Preparing to unpack .../41-gettext_0.21-14ubuntu1_amd64.deb ... 718s Unpacking gettext (0.21-14ubuntu1) ... 718s Selecting previously unselected package quilt. 718s Preparing to unpack .../42-quilt_0.67+really0.67-4_all.deb ... 718s Unpacking quilt (0.67+really0.67-4) ... 718s Selecting previously unselected package ruby-ansi. 718s Preparing to unpack .../43-ruby-ansi_1.5.0-1.1_all.deb ... 718s Unpacking ruby-ansi (1.5.0-1.1) ... 718s Selecting previously unselected package ruby-ae. 718s Preparing to unpack .../44-ruby-ae_1.8.2-2_all.deb ... 718s Unpacking ruby-ae (1.8.2-2) ... 718s Selecting previously unselected package ruby-blankslate. 718s Preparing to unpack .../45-ruby-blankslate_3.1.3-1.1_all.deb ... 718s Unpacking ruby-blankslate (3.1.3-1.1) ... 718s Selecting previously unselected package ruby-diff-lcs. 718s Preparing to unpack .../46-ruby-diff-lcs_1.5.1-1_all.deb ... 718s Unpacking ruby-diff-lcs (1.5.1-1) ... 718s Selecting previously unselected package ruby-flexmock. 718s Preparing to unpack .../47-ruby-flexmock_2.3.6-7_all.deb ... 718s Unpacking ruby-flexmock (2.3.6-7) ... 718s Selecting previously unselected package ruby-parslet. 718s Preparing to unpack .../48-ruby-parslet_1.8.2-4_all.deb ... 718s Unpacking ruby-parslet (1.8.2-4) ... 718s Selecting previously unselected package ruby-rspec-support. 718s Preparing to unpack .../49-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 718s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 718s Selecting previously unselected package ruby-rspec-core. 718s Preparing to unpack .../50-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 718s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 718s Selecting previously unselected package ruby-rspec-expectations. 718s Preparing to unpack .../51-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 718s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 718s Selecting previously unselected package ruby-rspec-mocks. 718s Preparing to unpack .../52-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 718s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 718s Selecting previously unselected package ruby-rspec. 718s Preparing to unpack .../53-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 718s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 718s Setting up rubygems-integration (1.18) ... 718s Setting up libgomp1:amd64 (14-20240330-1ubuntu2) ... 718s Setting up gcc-13-base:amd64 (13.2.0-23ubuntu3) ... 718s Setting up ruby-net-telnet (0.2.0-1) ... 718s Setting up libquadmath0:amd64 (14-20240330-1ubuntu2) ... 718s Setting up diffstat (1.66-1build1) ... 718s Setting up libmpc3:amd64 (1.3.1-1) ... 718s Setting up libatomic1:amd64 (14-20240330-1ubuntu2) ... 718s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 718s Setting up ruby-webrick (1.8.1-1) ... 718s Setting up libubsan1:amd64 (14-20240330-1ubuntu2) ... 718s Setting up ruby-flexmock (2.3.6-7) ... 718s Setting up libhwasan0:amd64 (14-20240330-1ubuntu2) ... 718s Setting up libasan8:amd64 (14-20240330-1ubuntu2) ... 718s Setting up libtsan2:amd64 (14-20240330-1ubuntu2) ... 718s Setting up libisl23:amd64 (0.26-3) ... 718s Setting up ruby-xmlrpc (0.3.2-2) ... 718s Setting up libcc1-0:amd64 (14-20240330-1ubuntu2) ... 718s Setting up liblsan0:amd64 (14-20240330-1ubuntu2) ... 718s Setting up libitm1:amd64 (14-20240330-1ubuntu2) ... 718s Setting up gettext (0.21-14ubuntu1) ... 718s Setting up cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu3) ... 718s Setting up quilt (0.67+really0.67-4) ... 718s Setting up libgcc-13-dev:amd64 (13.2.0-23ubuntu3) ... 718s Setting up libstdc++-13-dev:amd64 (13.2.0-23ubuntu3) ... 718s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 718s Setting up cpp-13 (13.2.0-23ubuntu3) ... 718s Setting up gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu3) ... 718s Setting up gcc-13 (13.2.0-23ubuntu3) ... 718s Setting up cpp (4:13.2.0-7ubuntu1) ... 718s Setting up g++-13-x86-64-linux-gnu (13.2.0-23ubuntu3) ... 718s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 718s Setting up gcc (4:13.2.0-7ubuntu1) ... 718s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 718s Setting up g++-13 (13.2.0-23ubuntu3) ... 718s Setting up g++ (4:13.2.0-7ubuntu1) ... 718s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 718s Setting up build-essential (12.10ubuntu1) ... 718s Setting up libruby:amd64 (1:3.2~ubuntu1) ... 718s Setting up ruby-rubygems (3.4.20-1) ... 718s Setting up rake (13.0.6-3) ... 718s Setting up ruby-sdbm:amd64 (1.0.0-5build4) ... 718s Setting up libruby3.2:amd64 (3.2.3-1build3) ... 718s Setting up ruby3.2 (3.2.3-1build3) ... 718s Setting up ruby (1:3.2~ubuntu1) ... 718s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 718s Setting up ruby-diff-lcs (1.5.1-1) ... 718s Setting up ruby-ansi (1.5.0-1.1) ... 718s Setting up ruby-ae (1.8.2-2) ... 718s Setting up ruby-blankslate (3.1.3-1.1) ... 718s Setting up gem2deb-test-runner (2.2.3) ... 718s Setting up ruby-parslet (1.8.2-4) ... 718s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 718s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 718s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 718s Processing triggers for libc-bin (2.39-0ubuntu8) ... 718s Processing triggers for man-db (2.12.0-4build1) ... 719s Processing triggers for install-info (7.1-3build2) ... 731s Reading package lists... 731s Building dependency tree... 731s Reading state information... 731s Starting pkgProblemResolver with broken count: 0 731s Starting 2 pkgProblemResolver with broken count: 0 731s Done 732s The following NEW packages will be installed: 732s autopkgtest-satdep 732s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 732s Need to get 0 B/704 B of archives. 732s After this operation, 0 B of additional disk space will be used. 732s Get:1 /tmp/autopkgtest.Lb5hRy/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [704 B] 732s Selecting previously unselected package autopkgtest-satdep. 732s (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 ... 79028 files and directories currently installed.) 732s Preparing to unpack .../2-autopkgtest-satdep.deb ... 732s Unpacking autopkgtest-satdep (0) ... 732s Setting up autopkgtest-satdep (0) ... 734s (Reading database ... 79028 files and directories currently installed.) 734s Removing autopkgtest-satdep (0) ... 734s autopkgtest [13:00:22]: test run-test: [----------------------- 734s File series fully applied, ends at patch debian/patches/003_fix_for_integer_conversion.patch 734s 734s ┌──────────────────────────────────────────────────────────────────────────────┐ 734s │ Checking Rubygems dependency resolution on ruby3.2 │ 734s └──────────────────────────────────────────────────────────────────────────────┘ 734s 734s RUBYLIB=. GEM_PATH= ruby3.2 -e gem\ \"parslet\" 734s mv lib ./.gem2deb.lib 735s mv ./.gem2deb.lib lib 735s 735s ┌──────────────────────────────────────────────────────────────────────────────┐ 735s │ Run tests for ruby3.2 from debian/ruby-tests.rake │ 735s └──────────────────────────────────────────────────────────────────────────────┘ 735s 735s RUBYLIB=. GEM_PATH= ruby3.2 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 735s mv lib ./.gem2deb.lib 735s /usr/bin/ruby3.2 -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 --pattern ./spec/\*\*/\*_spec.rb --format documentation 735s Run options: exclude {:ruby=>#} 735s 735s Regression on 735s example/boolean_algebra.rb 735s runs successfully 735s example/calc.rb 735s runs successfully 735s example/capture.rb 735s runs successfully 735s example/comments.rb 735s runs successfully 735s example/deepest_errors.rb 735s runs successfully 735s example/documentation.rb 735s runs successfully 735s example/email_parser.rb 736s runs successfully 736s example/empty.rb 736s runs successfully 736s example/erb.rb 736s runs successfully 736s example/ip_address.rb 736s runs successfully 736s example/json.rb 736s runs successfully 736s example/local.rb 736s runs successfully 736s example/minilisp.rb 736s runs successfully 736s example/modularity.rb 736s runs successfully 736s example/nested_errors.rb 736s runs successfully 736s example/parens.rb 736s runs successfully 736s example/prec_calc.rb 736s runs successfully 736s example/readme.rb 737s runs successfully 737s example/scopes.rb 737s runs successfully 737s example/seasons.rb 737s runs successfully 737s example/simple_xml.rb 737s runs successfully 737s example/string_parser.rb 737s runs successfully 737s 737s Infix expression parsing 737s #integer 737s parses integers 737s consumes trailing white space 737s doesn't parse floats 737s #multiplication 737s parses simple multiplication 737s parses simple multiplication with spaces 737s parses division 737s #addition 737s parses simple addition 737s parses complex addition 737s parses a single element 737s mixed operations 737s inspection 737s produces useful expressions 737s right associativity 737s produces trees that lean right 737s left associativity 737s produces trees that lean left 737s error handling 737s incomplete expression 737s produces the right error 737s invalid operator 737s produces the right error 737s providing a reducer block 737s applies the reducer 737s 737s Regressions from real examples 737s ArgumentListParser 737s should have method expression 737s should parse "arg1", "arg2" 737s should parse "arg1", "arg2", "arg3" 737s ParensParser 737s statefulness: trying several expressions in sequence 737s should not be stateful 737s expression '(())' 737s should yield a doubly nested hash 737s inner hash 737s should have nil as :m 737s ALanguage 737s should count lines correctly 737s BLanguage 737s should parse 'bb' 737s should transform with binding constraint 737s UnicodeLanguage 737s should parse UTF-8 strings 737s UnicodeSentenceLanguage 737s should parse sentences 737s TwoCharLanguage 737s should raise an error 737s RepetitionParser 737s parses a block 737s parses nested blocks 737s parses successive blocks 737s fails gracefully on a missing end 737s fails gracefully on a missing end (2) 737s fails gracefully on a missing end (deepest reporter) 737s 737s Tree output 737s when parsing the empty string 737s should convert 'a'? to "" 737s should convert 'a'{0, } to "" 737s should convert f:('a'?) to {:f=>nil} 737s should convert f:('a'{0, }) to {:f=>[]} 737s should convert f:(('a' 'b')?) to {:f=>nil} 737s should convert f:(('a' 'b'){0, }) to {:f=>[]} 737s should convert f:('a' 'b')? to "" 737s should convert f:('a' 'b'){0, } to "" 737s when parsing 'aa' 737s should convert a:'a'{0, } a:'a'{0, } to [{:a=>"a"}, {:a=>"a"}] 737s 737s Unconsumed input: 737s RepeatingBlockParser 737s throws annotated error 737s doesn't error out if prefix is true 737s 737s Result of a Parslet#parse 737s regression 737s 'foo'? 'bar' 737s should parse "bar" into "bar" 737s 'bar' 'foo'? 737s should parse "bar" into "bar" 737s ('f'? 'b'){0, } 737s should parse "bb" into "bb" 737s ('b' 'f'?){0, } 737s should parse "bb" into "bb" 737s a:'a' ('b' a:'c'){0, } 737s should parse "abc" into "[{:a=>"a"}, {:a=>"c"}]" 737s a:'a'{0, } b:'b'{0, } 737s should parse "ab" into "[{:a=>"a"}, {:b=>"b"}]" 737s 'f'{0, } 737s should parse "" into "" 737s f:('f'{0, }) 737s should parse "" into "{:f=>[]}" 737s 'f'? 737s should parse "" into "" 737s f:('f'?) 737s should parse "" into "{:f=>nil}" 737s 737s Parslet::Atoms::Alternative 737s | shortcut 737s when chained with different atoms 737s is side-effect free 737s 737s Parslet::Atoms::Base 737s <- #try(io) 737s should raise NotImplementedError 737s <- #flatten_sequence 737s for ["a", "b"] 737s should equal "ab" 737s for [["a"], ["b"]] 737s should equal ["a", "b"] 737s for [{:a=>"a"}, {:b=>"b"}] 737s should equal {:a=>"a", :b=>"b"} 737s for [{:a=>"a"}, ["a"]] 737s should equal [{:a=>"a"}, "a"] 737s for [{:a=>"a"}, "s"] 737s should equal {:a=>"a"} 737s for [["a"], {:a=>"a"}] 737s should equal ["a", {:a=>"a"}] 737s for [["a"], "b"] 737s should equal ["a"] 737s for ["a", {:b=>"b"}] 737s should equal {:b=>"b"} 737s for ["a", ["b"]] 737s should equal ["b"] 737s for [nil, ["a"]] 737s should equal ["a"] 737s for [nil, {:a=>"a"}] 737s should equal {:a=>"a"} 737s for [["a"], nil] 737s should equal ["a"] 737s for [{:a=>"a"}, nil] 737s should equal {:a=>"a"} 737s <- #flatten_repetition 737s should give subtrees precedence 737s #parse(source) 737s when given something that looks like a source 737s should not rewrap in a source 737s when the parse fails, the exception 737s should contain a string 737s when not all input is consumed 737s should raise with a proper error message 737s when only parsing string prefix 737s returns the first half on a prefix parse 737s :reporter option 737s replaces the default reporter 737s 737s Parslet::Atoms::Capture 737s should capture simple results 737s should capture complex results 737s 737s Parslet::Atoms::DSL 737s deprecated methods 737s <- #absnt? 737s #bound_parslet 737s should be a negative lookahead 737s <- #prsnt? 737s #bound_parslet 737s should be a positive lookahead 737s 737s Parslet::Atoms::Entity 737s when constructed with str('bar') inside 737s should parse 'bar' without raising exceptions 737s should raise when applied to 'foo' 737s #inspect 737s should return the name of the entity 737s when constructed with empty block 737s should raise NotImplementedError 737s recursive definition parser 737s should parse balanced parens 737s should not throw 'stack level too deep' when printing errors 737s when constructed with a label 737s should parse 'bar' without raising exceptions 737s should raise when applied to 'foo' 737s #inspect 737s should return the label of the entity 737s #parslet 737s should set the label on the cached parslet 737s 737s Parslet::Atoms::Ignored 737s ignore 737s ignores parts of the input 737s 737s Parslet::Atoms::Lookahead 737s negative lookahead 737s influences the error tree 737s positive lookahead 737s influences the error tree 737s 737s Parslet::Atoms::Re 737s construction 737s should allow match(str) form 737s should allow match[str] form 737s 737s Parslet::Atoms::Repetition 737s repeat 737s (min, max) 737s is expected not to parse "" 737s is expected to parse "a" 737s is expected to parse "aa" 737s 0 times 737s raises an ArgumentError 737s 737s Parslet::Atoms::Scope 737s keeps values of captures outside 737s 737s Parslet::Atoms::Sequence 737s >> shortcut 737s when chained with different atoms 737s is side-effect free 737s 737s Parslet::Atoms::Str 737s regression #1: multibyte characters 737s parses successfully (length check works) 737s 737s Parslet::Atoms 737s Parslet::Atoms::Str 737s should call back visitor 737s Parslet::Atoms::Re 737s should call back visitor 737s Parslet::Atoms::Sequence 737s should call back visitor 737s Parslet::Atoms::Repetition 737s should call back visitor 737s Parslet::Atoms::Alternative 737s should call back visitor 737s Parslet::Atoms::Named 737s should call back visitor 737s Parslet::Atoms::Entity 737s should call back visitor 737s Parslet::Atoms::Lookahead 737s should call back visitor 737s < Parslet::Parser 737s calls back to visitor 737s 737s Parslet 737s match('[abc]') 737s should parse {a,b,c} 737s should not parse d 737s should print as [abc] 737s match(['[a]').repeat(3) 737s should succeed on 'aaa' 737s should succeed on many 'a' 737s should inspect as [a]{3, } 737s when failing on input 'aa' 737s should have a relevant cause 737s should have a tree with 2 nodes 737s str('foo') 737s should parse 'foo' 737s should not parse 'bar' 737s should inspect as 'foo' 737s str('foo').maybe 737s should parse a foo 737s should leave pos untouched if there is no foo 737s should inspect as 'foo'? 737s when parsing 'foo' 737s is expected to == "foo" 737s when parsing '' 737s is expected to == "" 737s str('foo') >> str('bar') 737s should parse 'foobar' 737s should inspect as ('foo' 'bar') 737s when it fails on input 'foobaz' 737s should not parse 'foobaz' 737s should have 2 nodes in error tree 737s str('foo') | str('bar') 737s should accept 'foo' 737s should accept 'bar' 737s should inspect as ('foo' / 'bar') 737s when failing on input 'baz' 737s should have a sensible cause 737s should have an error tree with 3 nodes 737s str('foo').present? (positive lookahead) 737s should inspect as &'foo' 737s when fed 'foo' 737s should parse 737s should not change input position 737s when fed 'bar' 737s should not parse 737s <- #parse 737s should return nil 737s str('foo').absent? (negative lookahead) 737s should inspect as !'foo' 737s when fed 'bar' 737s should parse 737s should not change input position 737s when fed 'foo' 737s should not parse 737s non greedy matcher combined with greedy matcher (possible loop) 737s should not loop infinitely 737s any 737s should match 737s should consume one char 737s eof behaviour 737s when the pattern just doesn't consume the input 737s should fail the parse 737s when the pattern doesn't match the input 737s raises Parslet::ParseFailed 737s has the correct error message 737s <- #as(name) 737s str('foo').as(:bar) 737s should return :bar => 'foo' 737s match('[abc]').as(:name) 737s should return :name => 'b' 737s match('[abc]').repeat.as(:name) 737s should return collated result ('abc') 737s (str('a').as(:a) >> str('b').as(:b)).as(:c) 737s should return a hash of hashes 737s (str('a').as(:a) >> str('ignore') >> str('b').as(:b)) 737s should correctly flatten (leaving out 'ignore') 737s (str('a') >> str('ignore') >> str('b')) (no .as(...)) 737s should return simply the original string 737s str('a').as(:a) >> str('b').as(:a) 737s should issue a warning that a key is being overwritten in merge 737s should return :a => 'b' 737s str('a').absent? 737s should return something in merge, even though it is nil 737s str('a').as(:a).repeat 737s should return an array of subtrees 737s <- #flatten(val) 737s should transform [:sequence, "a", "b"] to "ab" 737s should transform [:repetition, "a", "a"] to "aa" 737s should transform [:sequence, [:sequence, "a", "b"]] to "ab" 737s should transform [:sequence, nil, "a"] to "a" 737s should transform {:a=>"a"} to {:a=>"a"} 737s should transform [:sequence, {:a=>"a"}, {:b=>"b"}] to {:a=>"a", :b=>"b"} 737s should transform [:sequence, [:repetition, {:a=>"a"}], {:a=>"a"}] to [{:a=>"a"}, {:a=>"a"}] 737s should transform [:sequence, {:a=>"a"}, [:repetition, {:a=>"a"}]] to [{:a=>"a"}, {:a=>"a"}] 737s should transform [:sequence, [:repetition, {:a=>"a"}], [:repetition, {:a=>"a"}]] to [{:a=>"a"}, {:a=>"a"}] 737s should transform [:repetition, [:repetition, {:a=>"a"}], [:repetition, {:a=>"a"}]] to [{:a=>"a"}, {:a=>"a"}] 737s should transform [:repetition, {:a=>"a"}, "a", {:a=>"a"}] to [{:a=>"a"}, {:a=>"a"}] 737s should transform [:repetition, {:a=>"a"}, [:repetition, {:b=>"b"}]] to [{:a=>"a"}] 737s should transform [:sequence, {:a=>:b, :b=>:c}] to {:a=>:b, :b=>:c} 737s should transform [:sequence, {:a=>:b}, "a", {:c=>:d}] to {:a=>:b, :c=>:d} 737s should transform [:repetition, {:a=>:b}, "a", {:c=>:d}] to [{:a=>:b}, {:c=>:d}] 737s should transform [:sequence, {:a=>:b}, {:a=>:d}] to {:a=>:d} 737s should transform [:sequence, {:a=>:b}, [:sequence, [:sequence, "\n", nil]]] to {:a=>:b} 737s should transform [:sequence, nil, " "] to " " 737s combinations thereof (regression) 737s 'a'{0, } 'b'{0, } applied to "aaabbb" 737s should parse successfully 737s regression for 'a' 737s should inspect correctly as 'a' 737s regression for ('a' / 'b')? 737s should inspect correctly as ('a' / 'b')? 737s regression for ('a' 'b')? 737s should inspect correctly as ('a' 'b')? 737s regression for 'a'?? 737s should inspect correctly as 'a'?? 737s regression for ('a' 'b')?? 737s should inspect correctly as ('a' 'b')?? 737s regression for 'a' ('b' / 'c') 737s should inspect correctly as 'a' ('b' / 'c') 737s regression for 'a' 'b'{0, } 737s should inspect correctly as 'a' 'b'{0, } 737s regression for ('a' 'b'){0, } 737s should inspect correctly as ('a' 'b'){0, } 737s 737s parslet/convenience 737s parse_with_debug 737s should work for all parslets 737s internal 737s should exist 737s should catch ParseFailed exceptions 737s should parse correct input like #parse 737s output 737s should puts once for tree output 737s should puts once for the error on unconsumed input 737s 737s Parslet::ErrorReporter::Contextual 737s #err 737s returns the deepest cause 737s #err_at 737s returns the deepest cause 737s #deepest(cause) 737s when there is no deepest cause yet 737s returns the given cause 737s when the previous cause is deeper (no relationship) 737s returns the previous cause 737s when the previous cause is deeper (child) 737s returns the given cause 737s when the previous cause is shallower 737s stores the cause as deepest 737s #reset 737s resets deepest cause on success of sibling expression 737s label 737s sets label if atom has one 737s does not set label if atom does not have one 737s 737s Parslet::ErrorReporter::Deepest 737s #err 737s returns the deepest cause 737s #err_at 737s returns the deepest cause 737s #deepest(cause) 737s when there is no deepest cause yet 737s returns the given cause 737s when the previous cause is deeper (no relationship) 737s returns the previous cause 737s when the previous cause is deeper (child) 737s returns the given cause 737s when the previous cause is shallower 737s stores the cause as deepest 737s 737s Parslet::Parser exporting to other lingos 737s <- #to_citrus 737s should be valid citrus syntax 737s <- #to_treetop 737s should be valid treetop syntax 737s 737s Parslet::Expression::Treetop 737s positive samples 737s exp("'abc'") 737s is expected to parse "abc" 737s string representation 737s is expected to parse "abc" and {:trace=>true} 737s exp("...") 737s is expected to parse "abc" 737s string representation 737s is expected to parse "abc" and {:trace=>true} 737s exp("[1-4]") 737s is expected to parse "3" 737s string representation 737s is expected to parse "3" and {:trace=>true} 737s exp("'abc'?") 737s is expected to parse "abc" 737s string representation 737s is expected to parse "abc" and {:trace=>true} 737s exp("'abc'?") 737s is expected to parse "" 737s string representation 737s is expected to parse "" and {:trace=>true} 737s exp("('abc')") 737s is expected to parse "abc" 737s string representation 737s is expected to parse "abc" and {:trace=>true} 737s exp("'a' 'b'") 737s is expected to parse "ab" 737s string representation 737s is expected to parse "ab" and {:trace=>true} 737s exp("'a' ('b')") 737s is expected to parse "ab" 737s string representation 737s is expected to parse "ab" and {:trace=>true} 737s exp("'a' / 'b'") 737s is expected to parse "a" 737s string representation 737s is expected to parse "a" and {:trace=>true} 737s exp("'a' / 'b'") 737s is expected to parse "b" 737s string representation 737s is expected to parse "b" and {:trace=>true} 737s exp("'a'*") 737s is expected to parse "aaa" 737s string representation 737s is expected to parse "aaa" and {:trace=>true} 737s exp("'a'*") 737s is expected to parse "" 737s string representation 737s is expected to parse "" and {:trace=>true} 737s exp("'a'+") 737s is expected to parse "aa" 737s string representation 737s is expected to parse "aa" and {:trace=>true} 737s exp("'a'+") 737s is expected to parse "a" 737s string representation 737s is expected to parse "a" and {:trace=>true} 737s exp("'a'{1,2}") 737s is expected to parse "a" 737s string representation 737s is expected to parse "a" and {:trace=>true} 737s exp("'a'{1,2}") 737s is expected to parse "aa" 737s string representation 737s is expected to parse "aa" and {:trace=>true} 737s exp("'a'{1,}") 737s is expected to parse "a" 737s string representation 737s is expected to parse "a" and {:trace=>true} 737s exp("'a'{1,}") 737s is expected to parse "aa" 737s string representation 737s is expected to parse "aa" and {:trace=>true} 737s exp("'a'{,2}") 737s is expected to parse "" 737s string representation 737s is expected to parse "" and {:trace=>true} 737s exp("'a'{,2}") 737s is expected to parse "a" 737s string representation 737s is expected to parse "a" and {:trace=>true} 737s exp("'a'{,2}") 737s is expected to parse "aa" 737s string representation 737s is expected to parse "aa" and {:trace=>true} 737s negative samples 737s exp("'abc'") 737s is expected not to parse "cba" 737s exp("[1-4]") 737s is expected not to parse "5" 737s exp("'a' / 'b'") 737s is expected not to parse "c" 737s exp("'a'+") 737s is expected not to parse "" 737s exp("'a'{1,2}") 737s is expected not to parse "" 737s exp("'a'{1,2}") 737s is expected not to parse "aaa" 737s exp("'a'{1,}") 737s is expected not to parse "" 737s exp("'a'{,2}") 737s is expected not to parse "aaa" 737s 737s Parslet::Parser 737s should parse 'foo' 737s <- .root 737s should have defined a 'root' method, returning the root 737s composition 737s should allow concatenation 737s 737s Parslet 737s Parslet::ParseFailed 737s should be caught by an empty rescue 737s <- .rule 737s empty rule 737s should raise a NotImplementedError 737s containing 'any' 737s is expected to be a kind of Parslet::Atoms::Entity 737s should memoize the returned instance 737s 737s Parslet::Pattern 737s <- #match 737s injecting bindings 737s should not modify the original bindings hash 737s should return nil when no match succeeds 737s when matching simple(:x) against 'a' 737s should return the injected bindings 737s should return the new bindings 737s simple strings 737s should match simple strings 737s simple hash {:a => 'b'} 737s should not match {:a => simple(:x), :b => simple(:y)} 737s should match {:a => simple(:x)}, binding 'x' to the first argument 737s should match {:a => 'b'} with no binds 737s a more complex hash {:a => {:b => 'c'}} 737s should match wholly with {:a => {:b => simple(:x)}} 737s should match wholly with {:a => subtree(:t)} 737s should not bind subtrees to variables in {:a => simple(:x)} 737s a more complex hash {:a => 'a', :b => 'b'} 737s should not match partially 737s should match completely 737s an array of 'a', 'b', 'c' 737s should match all elements at once 737s {:a => 'a', :b => 'b'} 737s should match both elements simple(:x), simple(:y) 737s should not match a constrained match (simple(:x) != simple(:y)) 737s {:a => 'a', :b => 'a'} 737s should match constrained pattern 737s {:sub1 => {:a => 'a'}, :sub2 => {:a => 'a'}} 737s should verify constraints over several subtrees 737s should return both bind variables simple(:x), simple(:y) 737s {:sub1 => {:a => 'a'}, :sub2 => {:a => 'b'}} 737s should verify constraints over several subtrees 737s should return both bind variables simple(:x), simple(:y) 737s [{:a => 'x'}, {:a => 'y'}] 737s should not match sequence(:x) (as a whole) 737s ['x', 'y', 'z'] 737s should match [simple(:x), simple(:y), simple(:z)] 737s should match %w(x y z) 737s should not match [simple(:x), simple(:y), simple(:x)] 737s should not match [simple(:x), simple(:y)] 737s should match sequence(:x) (as array) 737s {:a => [1,2,3]} 737s should match :a => sequence(:x) (binding x to the whole array) 737s with differently ordered hashes 737s should still match 737s 737s Parslet::Position 737s should have a charpos of 2 737s should have a bytepos of 4 737s 737s rspec integration 737s is expected to parse "example" 737s is expected not to parse "foo" 737s is expected to parse "example" 737s is expected not to parse "foo" 737s is expected not to parse "example" 737s is expected to parse "foo" 737s is expected not to parse "foo" 737s accepts a block to assert more specific details about the parsing output 737s 737s rspec3 syntax 737s is expected to parse "example" 737s is expected not to parse "foo" 737s is expected to parse "example" 737s is expected not to parse "foo" 737s is expected not to parse "example" 737s 737s Parslet::Scope 737s simple store/retrieve 737s allows storing objects 737s raises on access of empty slots 737s allows retrieval of stored values 737s scoping 737s is expected to == 1 737s after a push 737s is expected to == 1 737s and reassign 737s is expected to == 2 737s and a pop 737s is expected to == 1 737s 737s Parslet::Slice 737s construction 737s should construct from an offset and a string 737s ('foobar', 40, 'foobar') 737s comparison 737s should be equal to other slices with the same attributes 737s should be equal to other slices (offset is irrelevant for comparison) 737s should be equal to a string with the same content 737s should be equal to a string (inversed operands) 737s should not be equal to a string 737s should not be eql to a string 737s should not hash to the same number 737s offset 737s should return the associated offset 737s should fail to return a line and column 737s when constructed with a source 737s should return proper line and column 737s string methods 737s matching 737s should match as a string would 737s <- #size 737s is expected to == 6 737s <- #length 737s is expected to == 6 737s <- #+ 737s should concat like string does 737s conversion 737s <- #to_slice 737s should return self 737s <- #to_sym 737s should return :foobar 737s cast to Float 737s should return a float 737s cast to Integer 737s should cast to integer as a string would 737s should fail when Integer would fail on a string (FAILED - 1) 737s should turn into zero when a string would 737s inspection and string conversion 737s #inspect 737s is expected to == "\"foobar\"@6" 737s #to_s 737s is expected to == "foobar" 737s serializability 737s should serialize 737s when storing a line cache 737s should serialize 737s 737s Parslet::Source::RangeSearch 737s <- #lbound 737s for a simple array 737s should return correct answers for numbers not in the array 737s should return correct answers for numbers in the array 737s should cover right edge case 737s should cover left edge case 737s for an empty array 737s should return nil 737s 737s Parslet::Source::LineCache 737s <- scan_for_line_endings 737s calculating the line_and_columns 737s should return the first line if we have no line ends 737s should find the right line starting from pos 0 737s should find the right line starting from pos 5 737s should find the right line if scannning the string multiple times 737s 737s Parslet::Source 737s using simple input 737s <- #read(n) 737s should not raise error when the return value is nil 737s should return 100 'a's when reading 100 chars 737s <- #chars_left 737s is expected to == 202 737s after depleting the source 737s is expected to == 0 737s <- #pos 737s is expected to == 0 737s after reading a few bytes 737s should still be correct 737s <- #pos=(n) 737s setting position 30 737s is expected to == 30 737s setting position 40 737s is expected to == 40 737s setting position 110 737s is expected to == 110 737s setting position 47 737s is expected to == 47 737s setting position 167 737s is expected to == 167 737s setting position 198 737s is expected to == 198 737s setting position 112 737s is expected to == 112 737s setting position 104 737s is expected to == 104 737s setting position 61 737s is expected to == 61 737s setting position 68 737s is expected to == 68 737s #chars_until 737s should return 100 chars before line end 737s <- #column & #line 737s is expected to == [1, 1] 737s on the first line 737s should increase column with every read 737s on the second line 737s is expected to == [2, 1] 737s after reading everything 737s when seeking to 9 737s is expected to == [1, 10] 737s when seeking to 100 737s is expected to == [1, 101] 737s when seeking to 101 737s is expected to == [2, 1] 737s when seeking to 102 737s is expected to == [2, 2] 737s when seeking beyond eof 737s should not throw an error 737s reading char by char, storing the results 737s should give the same results when seeking 737s should give the same results when reading 737s when using pos argument 737s should return the same results 737s reading encoded input 737s should read characters, not bytes 737s 737s Parslet::Context 737s binds hash keys as variable like things 737s one contexts variables aren't the next ones 737s works as a Ruby object should 737s responds_to? :a 737s includes :a in #methods 737s allows inspection 737s allows conversion to string 737s when the context is enhanced 737s responds_to correctly 737s includes :foo also in methods 737s allows calling #foo 737s 737s Parslet::Transform 737s delayed construction 737s given simple(:x) => A.new(x) 737s should transform 'a' into A.new('a') 737s should transform ['a', 'b'] into [A.new('a'), A.new('b')] 737s given rules on {:a => simple(:x)} and {:b => :_x} 737s should transform {:d=>{:b=>'c'}} into d => B('c') 737s should transform {:a=>{:b=>'c'}} into A(B('c')) 737s pulling out subbranches 737s should yield Bi.new('c', 'f') 737s dsl construction 737s should still evaluate rules correctly 737s class construction 737s should evaluate rules 737s optionally raise when no match found 737s should evaluate rules 737s should raise when no rules are matched 737s with inheritance 737s should inherit rules from its parent 737s should be able to override rules from its parent 737s should be able to define new rules 737s <- #call_on_match 737s when given a block of arity 1 737s should call the block 737s should yield the bindings 737s should execute in the current context 737s when given a block of arity 0 737s should call the block 737s should have bindings as local variables 737s should execute in its own context 737s various transformations (regression) 737s hashes 737s are matched completely 737s when not using the bindings as hash, but as local variables 737s should access the variables 737s should allow context as local variable 737s 737s Failures: 737s 737s 1) Parslet::Slice ('foobar', 40, 'foobar') conversion cast to Integer should fail when Integer would fail on a string 737s Failure/Error: Integer(slice).should == 0 737s 737s ArgumentError: 737s invalid value for Integer(): "foobar" 737s # ./spec/parslet/slice_spec.rb:117:in `Integer' 737s # ./spec/parslet/slice_spec.rb:117:in `block (5 levels) in ' 737s 737s Finished in 2.16 seconds (files took 0.19268 seconds to load) 737s 435 examples, 1 failure 737s 737s Failed examples: 737s 737s rspec ./spec/parslet/slice_spec.rb:114 # Parslet::Slice ('foobar', 40, 'foobar') conversion cast to Integer should fail when Integer would fail on a string 737s 737s /usr/bin/ruby3.2 -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 --pattern ./spec/\*\*/\*_spec.rb --format documentation failed 737s mv ./.gem2deb.lib lib 737s autopkgtest [13:00:25]: test run-test: -----------------------] 738s autopkgtest [13:00:26]: test run-test: - - - - - - - - - - results - - - - - - - - - - 738s run-test FAIL non-zero exit status 1 738s autopkgtest [13:00:26]: @@@@@@@@@@@@@@@@@@@@ summary 738s run-test FAIL non-zero exit status 1 748s Creating nova instance adt-noble-i386-ruby-parslet-20240414-124807-juju-7f2275-prod-proposed-migration-environment-2-9a58c94a-8a99-4195-a8d5-e8d8f6116b02 from image adt/ubuntu-noble-amd64-server-20240414.img (UUID 5a825c0a-6a8e-4d58-952b-fada33926770)...