0s autopkgtest [14:18:47]: starting date and time: 2025-06-19 14:18:47+0000 0s autopkgtest [14:18:47]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [14:18:47]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.wcxq1f5q/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,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:rails --apt-upgrade ruby-pundit --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=rails/2:7.2.2.1+dfsg-7 -- lxd -r lxd-armhf-10.145.243.210 lxd-armhf-10.145.243.210:autopkgtest/ubuntu/questing/armhf 25s autopkgtest [14:19:12]: testbed dpkg architecture: armhf 27s autopkgtest [14:19:14]: testbed apt version: 3.1.2 30s autopkgtest [14:19:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 32s autopkgtest [14:19:19]: testbed release detected to be: None 40s autopkgtest [14:19:27]: updating testbed package index (apt update) 41s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 42s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 42s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 42s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 42s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [17.4 kB] 42s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [426 kB] 42s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [4716 B] 42s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 42s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [60.5 kB] 42s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/restricted armhf Packages [724 B] 42s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [352 kB] 42s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [4268 B] 42s Get:13 http://ftpmaster.internal/ubuntu questing/multiverse Sources [309 kB] 42s Get:14 http://ftpmaster.internal/ubuntu questing/universe Sources [21.3 MB] 43s Get:15 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.1 MB] 46s Fetched 38.3 MB in 5s (7724 kB/s) 47s Reading package lists... 53s autopkgtest [14:19:40]: upgrading testbed (apt dist-upgrade and autopurge) 55s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s Calculating upgrade... 56s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Solving dependencies... 59s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s autopkgtest [14:19:47]: rebooting testbed after setup commands that affected boot 100s autopkgtest [14:20:27]: testbed running kernel: Linux 6.8.0-58-generic #60~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 28 14:48:37 UTC 2 124s autopkgtest [14:20:51]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-pundit 134s Get:1 http://ftpmaster.internal/ubuntu questing/universe ruby-pundit 2.1.0-1 (dsc) [1735 B] 134s Get:2 http://ftpmaster.internal/ubuntu questing/universe ruby-pundit 2.1.0-1 (tar) [21.9 kB] 134s Get:3 http://ftpmaster.internal/ubuntu questing/universe ruby-pundit 2.1.0-1 (diff) [2708 B] 134s gpgv: Signature made Tue Oct 13 19:37:40 2020 UTC 134s gpgv: using RSA key 9CCD6B319DBF8E40AB1ABD1A89AF82B739CD217A 134s gpgv: Can't check signature: No public key 134s dpkg-source: warning: cannot verify inline signature for ./ruby-pundit_2.1.0-1.dsc: no acceptable signature found 134s autopkgtest [14:21:01]: testing package ruby-pundit version 2.1.0-1 136s autopkgtest [14:21:03]: build not needed 138s autopkgtest [14:21:05]: test gem2deb-test-runner: preparing testbed 140s Reading package lists... 140s Building dependency tree... 140s Reading state information... 140s Solving dependencies... 140s Some packages could not be installed. This may mean that you have 140s requested an impossible situation or if you are using the unstable 140s distribution that some required packages have not yet been created 140s or been moved out of Incoming. 140s The following information may help to resolve the situation: 140s 140s The following packages have unmet dependencies: 141s satisfy:command-line : Depends: ruby-pundit but it is not going to be installed 141s Depends: pry but it is not going to be installed 141s Depends: rake but it is not going to be installed 141s Depends: ruby-actionpack but it is not going to be installed 141s Depends: ruby-activemodel but it is not going to be installed 141s Depends: ruby-rspec but it is not going to be installed 141s Depends: gem2deb-test-runner but it is not going to be installed 141s E: Unable to satisfy dependencies. Reached two conflicting decisions: 141s 1. ruby-nokogiri:armhf is selected for install because: 141s 1. satisfy:command-line:armhf=1 is selected for install 141s 2. satisfy:command-line:armhf Depends ruby-actionpack 141s 3. ruby-actionpack:armhf Depends ruby-rails-dom-testing (< 3.0) and Depends ruby-rails-dom-testing (>= 2.0) 141s 4. ruby-rails-dom-testing:armhf Depends ruby-nokogiri (>= 1.6) 141s 2. ruby-nokogiri:armhf is available in versions 1.16.4+dfsg-1build1, 1.18.2+dfsg-1build1 141s but none of the choices are installable: 141s - ruby-nokogiri:armhf=1.16.4+dfsg-1build1 Depends libxml2 (>= 2.7.4) 141s but none of the choices are installable: 141s - libxml2:armhf is selected for removal 141s - ruby-nokogiri:armhf=1.18.2+dfsg-1build1 is not selected for install 141s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from questing-proposed 144s Reading package lists... 145s Building dependency tree... 145s Reading state information... 145s Solving dependencies... 145s The following NEW packages will be installed: 145s gem2deb-test-runner libruby libruby3.3 libxslt1.1 pry racc rake ruby 145s ruby-actionpack ruby-actionview ruby-activemodel ruby-activesupport 145s ruby-base64 ruby-builder ruby-coderay ruby-concurrent ruby-connection-pool 145s ruby-crass ruby-csv ruby-did-you-mean ruby-diff-lcs ruby-erubi ruby-i18n 145s ruby-loofah ruby-method-source ruby-mini-portile2 ruby-minitest 145s ruby-net-telnet ruby-nokogiri ruby-pkg-config ruby-power-assert ruby-pundit 145s ruby-rack ruby-rack-session ruby-rack-test ruby-rails-dom-testing 145s ruby-rails-html-sanitizer ruby-rspec ruby-rspec-core ruby-rspec-expectations 145s ruby-rspec-mocks ruby-rspec-support ruby-ruby2-keywords ruby-rubygems 145s ruby-test-unit ruby-tzinfo ruby-useragent ruby-webrick ruby-xmlrpc ruby3.3 145s rubygems-integration 145s 0 upgraded, 51 newly installed, 0 to remove and 32 not upgraded. 145s Need to get 8709 kB of archives. 145s After this operation, 46.5 MB of additional disk space will be used. 145s Get:1 http://ftpmaster.internal/ubuntu questing/main armhf rubygems-integration all 1.19 [5550 B] 146s Get:2 http://ftpmaster.internal/ubuntu questing/main armhf ruby-csv all 3.3.4-1 [43.0 kB] 146s Get:3 http://ftpmaster.internal/ubuntu questing/main armhf ruby-did-you-mean all 1.6.3-2 [14.8 kB] 146s Get:4 http://ftpmaster.internal/ubuntu questing/main armhf ruby-net-telnet all 0.2.0-1 [13.3 kB] 146s Get:5 http://ftpmaster.internal/ubuntu questing/main armhf ruby-ruby2-keywords all 0.0.5-1 [4280 B] 146s Get:6 http://ftpmaster.internal/ubuntu questing/main armhf ruby-webrick all 1.9.1-1 [60.8 kB] 146s Get:7 http://ftpmaster.internal/ubuntu questing/main armhf ruby-xmlrpc all 0.3.3-2 [24.8 kB] 146s Get:8 http://ftpmaster.internal/ubuntu questing/main armhf libruby3.3 armhf 3.3.8-2ubuntu1 [5578 kB] 146s Get:9 http://ftpmaster.internal/ubuntu questing/main armhf ruby3.3 armhf 3.3.8-2ubuntu1 [49.0 kB] 146s Get:10 http://ftpmaster.internal/ubuntu questing/main armhf libruby armhf 1:3.3 [5162 B] 146s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main armhf ruby-rubygems all 3.6.7-2 [332 kB] 146s Get:12 http://ftpmaster.internal/ubuntu questing/main armhf ruby armhf 1:3.3 [3670 B] 146s Get:13 http://ftpmaster.internal/ubuntu questing/main armhf rake all 13.2.1-1 [45.8 kB] 146s Get:14 http://ftpmaster.internal/ubuntu questing/main armhf ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 146s Get:15 http://ftpmaster.internal/ubuntu questing/main armhf ruby-power-assert all 2.0.3-1 [12.0 kB] 146s Get:16 http://ftpmaster.internal/ubuntu questing/main armhf ruby-test-unit all 3.6.2-1 [67.0 kB] 146s Get:17 http://ftpmaster.internal/ubuntu questing/universe armhf gem2deb-test-runner armhf 2.2.5 [18.3 kB] 146s Get:18 http://ftpmaster.internal/ubuntu questing/main armhf libxslt1.1 armhf 1.1.43-0exp1 [144 kB] 146s Get:19 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-coderay all 1.1.3-8 [78.5 kB] 146s Get:20 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-method-source all 1.1.0-1 [8502 B] 146s Get:21 http://ftpmaster.internal/ubuntu questing/universe armhf pry all 0.15.2-1 [122 kB] 146s Get:22 http://ftpmaster.internal/ubuntu questing/universe armhf racc all 1.8.1-1 [71.3 kB] 146s Get:23 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-concurrent all 1.3.4-1 [283 kB] 146s Get:24 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-i18n all 1.14.7-1 [42.8 kB] 146s Get:25 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-tzinfo all 2.0.6-1 [55.2 kB] 146s Get:26 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-connection-pool all 2.4.1-1 [8876 B] 146s Get:27 http://ftpmaster.internal/ubuntu questing/main armhf ruby-base64 all 0.2.0-2 [7168 B] 146s Get:28 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf ruby-activesupport all 2:7.2.2.1+dfsg-7 [224 kB] 146s Get:29 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-builder all 3.2.4-2 [17.1 kB] 146s Get:30 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-erubi all 1.12.0-1 [9230 B] 146s Get:31 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-mini-portile2 all 2.8.7-1 [17.3 kB] 146s Get:32 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-pkg-config all 1.5.9-1 [8710 B] 146s Get:33 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf ruby-nokogiri armhf 1.18.2+dfsg-1build1 [251 kB] 146s Get:34 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-rails-dom-testing all 2.2.0-1 [11.8 kB] 146s Get:35 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-crass all 1.0.6-1ubuntu1 [16.0 kB] 146s Get:36 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-loofah all 2.24.1-1 [26.2 kB] 146s Get:37 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf ruby-rails-html-sanitizer all 1.6.2-1 [12.5 kB] 146s Get:38 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf ruby-actionview all 2:7.2.2.1+dfsg-7 [164 kB] 146s Get:39 http://ftpmaster.internal/ubuntu questing-proposed/main armhf ruby-rack all 3.1.12-1 [79.3 kB] 146s Get:40 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf ruby-rack-session all 2.1.1-0maysync1 [12.8 kB] 146s Get:41 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-rack-test all 2.2.0-1 [14.4 kB] 146s Get:42 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-useragent all 0.16.8-1.1 [12.0 kB] 146s Get:43 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf ruby-actionpack all 2:7.2.2.1+dfsg-7 [210 kB] 146s Get:44 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf ruby-activemodel all 2:7.2.2.1+dfsg-7 [68.6 kB] 146s Get:45 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-diff-lcs all 1.5.1-1 [22.8 kB] 147s Get:46 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-pundit all 2.1.0-1 [16.9 kB] 147s Get:47 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 147s Get:48 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 147s Get:49 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 147s Get:50 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 147s Get:51 http://ftpmaster.internal/ubuntu questing/universe armhf ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 147s Fetched 8709 kB in 1s (7042 kB/s) 147s Selecting previously unselected package rubygems-integration. 147s (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 ... 59700 files and directories currently installed.) 147s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 147s Unpacking rubygems-integration (1.19) ... 147s Selecting previously unselected package ruby-csv. 147s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 147s Unpacking ruby-csv (3.3.4-1) ... 147s Selecting previously unselected package ruby-did-you-mean. 147s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2_all.deb ... 147s Unpacking ruby-did-you-mean (1.6.3-2) ... 147s Selecting previously unselected package ruby-net-telnet. 147s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 147s Unpacking ruby-net-telnet (0.2.0-1) ... 147s Selecting previously unselected package ruby-ruby2-keywords. 147s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1_all.deb ... 147s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 147s Selecting previously unselected package ruby-webrick. 147s Preparing to unpack .../05-ruby-webrick_1.9.1-1_all.deb ... 147s Unpacking ruby-webrick (1.9.1-1) ... 147s Selecting previously unselected package ruby-xmlrpc. 147s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2_all.deb ... 147s Unpacking ruby-xmlrpc (0.3.3-2) ... 147s Selecting previously unselected package libruby3.3:armhf. 147s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu1_armhf.deb ... 147s Unpacking libruby3.3:armhf (3.3.8-2ubuntu1) ... 148s Selecting previously unselected package ruby3.3. 148s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu1_armhf.deb ... 148s Unpacking ruby3.3 (3.3.8-2ubuntu1) ... 148s Selecting previously unselected package libruby:armhf. 148s Preparing to unpack .../09-libruby_1%3a3.3_armhf.deb ... 148s Unpacking libruby:armhf (1:3.3) ... 148s Selecting previously unselected package ruby-rubygems. 148s Preparing to unpack .../10-ruby-rubygems_3.6.7-2_all.deb ... 148s Unpacking ruby-rubygems (3.6.7-2) ... 148s Selecting previously unselected package ruby. 148s Preparing to unpack .../11-ruby_1%3a3.3_armhf.deb ... 148s Unpacking ruby (1:3.3) ... 148s Selecting previously unselected package rake. 148s Preparing to unpack .../12-rake_13.2.1-1_all.deb ... 148s Unpacking rake (13.2.1-1) ... 148s Selecting previously unselected package ruby-minitest. 148s Preparing to unpack .../13-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 148s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 148s Selecting previously unselected package ruby-power-assert. 148s Preparing to unpack .../14-ruby-power-assert_2.0.3-1_all.deb ... 148s Unpacking ruby-power-assert (2.0.3-1) ... 148s Selecting previously unselected package ruby-test-unit. 148s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 148s Unpacking ruby-test-unit (3.6.2-1) ... 148s Selecting previously unselected package gem2deb-test-runner. 148s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_armhf.deb ... 148s Unpacking gem2deb-test-runner (2.2.5) ... 148s Selecting previously unselected package libxslt1.1:armhf. 148s Preparing to unpack .../17-libxslt1.1_1.1.43-0exp1_armhf.deb ... 148s Unpacking libxslt1.1:armhf (1.1.43-0exp1) ... 148s Selecting previously unselected package ruby-coderay. 148s Preparing to unpack .../18-ruby-coderay_1.1.3-8_all.deb ... 148s Unpacking ruby-coderay (1.1.3-8) ... 148s Selecting previously unselected package ruby-method-source. 148s Preparing to unpack .../19-ruby-method-source_1.1.0-1_all.deb ... 148s Unpacking ruby-method-source (1.1.0-1) ... 148s Selecting previously unselected package pry. 148s Preparing to unpack .../20-pry_0.15.2-1_all.deb ... 148s Unpacking pry (0.15.2-1) ... 148s Selecting previously unselected package racc. 148s Preparing to unpack .../21-racc_1.8.1-1_all.deb ... 148s Unpacking racc (1.8.1-1) ... 148s Selecting previously unselected package ruby-concurrent. 149s Preparing to unpack .../22-ruby-concurrent_1.3.4-1_all.deb ... 149s Unpacking ruby-concurrent (1.3.4-1) ... 149s Selecting previously unselected package ruby-i18n. 149s Preparing to unpack .../23-ruby-i18n_1.14.7-1_all.deb ... 149s Unpacking ruby-i18n (1.14.7-1) ... 149s Selecting previously unselected package ruby-tzinfo. 149s Preparing to unpack .../24-ruby-tzinfo_2.0.6-1_all.deb ... 149s Unpacking ruby-tzinfo (2.0.6-1) ... 149s Selecting previously unselected package ruby-connection-pool. 149s Preparing to unpack .../25-ruby-connection-pool_2.4.1-1_all.deb ... 149s Unpacking ruby-connection-pool (2.4.1-1) ... 149s Selecting previously unselected package ruby-base64. 149s Preparing to unpack .../26-ruby-base64_0.2.0-2_all.deb ... 149s Unpacking ruby-base64 (0.2.0-2) ... 149s Selecting previously unselected package ruby-activesupport. 149s Preparing to unpack .../27-ruby-activesupport_2%3a7.2.2.1+dfsg-7_all.deb ... 149s Unpacking ruby-activesupport (2:7.2.2.1+dfsg-7) ... 149s Selecting previously unselected package ruby-builder. 149s Preparing to unpack .../28-ruby-builder_3.2.4-2_all.deb ... 149s Unpacking ruby-builder (3.2.4-2) ... 149s Selecting previously unselected package ruby-erubi. 149s Preparing to unpack .../29-ruby-erubi_1.12.0-1_all.deb ... 149s Unpacking ruby-erubi (1.12.0-1) ... 149s Selecting previously unselected package ruby-mini-portile2. 149s Preparing to unpack .../30-ruby-mini-portile2_2.8.7-1_all.deb ... 149s Unpacking ruby-mini-portile2 (2.8.7-1) ... 149s Selecting previously unselected package ruby-pkg-config. 149s Preparing to unpack .../31-ruby-pkg-config_1.5.9-1_all.deb ... 149s Unpacking ruby-pkg-config (1.5.9-1) ... 149s Selecting previously unselected package ruby-nokogiri. 149s Preparing to unpack .../32-ruby-nokogiri_1.18.2+dfsg-1build1_armhf.deb ... 149s Unpacking ruby-nokogiri (1.18.2+dfsg-1build1) ... 149s Selecting previously unselected package ruby-rails-dom-testing. 149s Preparing to unpack .../33-ruby-rails-dom-testing_2.2.0-1_all.deb ... 149s Unpacking ruby-rails-dom-testing (2.2.0-1) ... 149s Selecting previously unselected package ruby-crass. 149s Preparing to unpack .../34-ruby-crass_1.0.6-1ubuntu1_all.deb ... 149s Unpacking ruby-crass (1.0.6-1ubuntu1) ... 149s Selecting previously unselected package ruby-loofah. 149s Preparing to unpack .../35-ruby-loofah_2.24.1-1_all.deb ... 149s Unpacking ruby-loofah (2.24.1-1) ... 149s Selecting previously unselected package ruby-rails-html-sanitizer. 149s Preparing to unpack .../36-ruby-rails-html-sanitizer_1.6.2-1_all.deb ... 149s Unpacking ruby-rails-html-sanitizer (1.6.2-1) ... 149s Selecting previously unselected package ruby-actionview. 149s Preparing to unpack .../37-ruby-actionview_2%3a7.2.2.1+dfsg-7_all.deb ... 149s Unpacking ruby-actionview (2:7.2.2.1+dfsg-7) ... 149s Selecting previously unselected package ruby-rack. 149s Preparing to unpack .../38-ruby-rack_3.1.12-1_all.deb ... 149s Unpacking ruby-rack (3.1.12-1) ... 149s Selecting previously unselected package ruby-rack-session. 149s Preparing to unpack .../39-ruby-rack-session_2.1.1-0maysync1_all.deb ... 149s Unpacking ruby-rack-session (2.1.1-0maysync1) ... 149s Selecting previously unselected package ruby-rack-test. 149s Preparing to unpack .../40-ruby-rack-test_2.2.0-1_all.deb ... 149s Unpacking ruby-rack-test (2.2.0-1) ... 149s Selecting previously unselected package ruby-useragent. 149s Preparing to unpack .../41-ruby-useragent_0.16.8-1.1_all.deb ... 149s Unpacking ruby-useragent (0.16.8-1.1) ... 149s Selecting previously unselected package ruby-actionpack. 149s Preparing to unpack .../42-ruby-actionpack_2%3a7.2.2.1+dfsg-7_all.deb ... 149s Unpacking ruby-actionpack (2:7.2.2.1+dfsg-7) ... 149s Selecting previously unselected package ruby-activemodel. 149s Preparing to unpack .../43-ruby-activemodel_2%3a7.2.2.1+dfsg-7_all.deb ... 149s Unpacking ruby-activemodel (2:7.2.2.1+dfsg-7) ... 149s Selecting previously unselected package ruby-diff-lcs. 149s Preparing to unpack .../44-ruby-diff-lcs_1.5.1-1_all.deb ... 149s Unpacking ruby-diff-lcs (1.5.1-1) ... 149s Selecting previously unselected package ruby-pundit. 149s Preparing to unpack .../45-ruby-pundit_2.1.0-1_all.deb ... 149s Unpacking ruby-pundit (2.1.0-1) ... 150s Selecting previously unselected package ruby-rspec-support. 150s Preparing to unpack .../46-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 150s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 150s Selecting previously unselected package ruby-rspec-core. 150s Preparing to unpack .../47-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 150s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 150s Selecting previously unselected package ruby-rspec-expectations. 150s Preparing to unpack .../48-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 150s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 150s Selecting previously unselected package ruby-rspec-mocks. 150s Preparing to unpack .../49-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 150s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 150s Selecting previously unselected package ruby-rspec. 150s Preparing to unpack .../50-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 150s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 150s Setting up ruby-ruby2-keywords (0.0.5-1) ... 150s Setting up ruby-power-assert (2.0.3-1) ... 150s Setting up ruby-crass (1.0.6-1ubuntu1) ... 150s Setting up ruby-mini-portile2 (2.8.7-1) ... 150s Setting up rubygems-integration (1.19) ... 150s Setting up ruby-concurrent (1.3.4-1) ... 150s Setting up ruby-erubi (1.12.0-1) ... 150s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 150s Setting up ruby-method-source (1.1.0-1) ... 150s Setting up ruby-test-unit (3.6.2-1) ... 150s Setting up ruby-net-telnet (0.2.0-1) ... 150s Setting up ruby-csv (3.3.4-1) ... 150s Setting up ruby-base64 (0.2.0-2) ... 150s Setting up ruby-i18n (1.14.7-1) ... 150s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 150s Setting up ruby-webrick (1.9.1-1) ... 150s Setting up ruby-builder (3.2.4-2) ... 150s Setting up libxslt1.1:armhf (1.1.43-0exp1) ... 150s Setting up ruby-connection-pool (2.4.1-1) ... 150s Setting up ruby-did-you-mean (1.6.3-2) ... 150s Setting up ruby-xmlrpc (0.3.3-2) ... 150s Setting up ruby-tzinfo (2.0.6-1) ... 150s Setting up libruby3.3:armhf (3.3.8-2ubuntu1) ... 150s Setting up ruby-activesupport (2:7.2.2.1+dfsg-7) ... 150s Setting up ruby-rubygems (3.6.7-2) ... 150s Setting up ruby3.3 (3.3.8-2ubuntu1) ... 150s Setting up ruby-pundit (2.1.0-1) ... 150s Setting up libruby:armhf (1:3.3) ... 150s Setting up ruby (1:3.3) ... 150s Setting up racc (1.8.1-1) ... 150s Setting up ruby-pkg-config (1.5.9-1) ... 150s Setting up ruby-coderay (1.1.3-8) ... 150s Setting up rake (13.2.1-1) ... 150s Setting up ruby-activemodel (2:7.2.2.1+dfsg-7) ... 150s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 150s Setting up ruby-useragent (0.16.8-1.1) ... 150s Setting up pry (0.15.2-1) ... 150s Setting up ruby-diff-lcs (1.5.1-1) ... 150s Setting up ruby-nokogiri (1.18.2+dfsg-1build1) ... 150s Setting up ruby-rack (3.1.12-1) ... 150s Setting up gem2deb-test-runner (2.2.5) ... 150s Setting up ruby-rack-test (2.2.0-1) ... 150s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 150s Setting up ruby-loofah (2.24.1-1) ... 150s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 150s Setting up ruby-rails-dom-testing (2.2.0-1) ... 150s Setting up ruby-rack-session (2.1.1-0maysync1) ... 150s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 150s Setting up ruby-rails-html-sanitizer (1.6.2-1) ... 150s Setting up ruby-actionview (2:7.2.2.1+dfsg-7) ... 150s Setting up ruby-actionpack (2:7.2.2.1+dfsg-7) ... 150s Processing triggers for libc-bin (2.41-6ubuntu2) ... 150s Processing triggers for man-db (2.13.1-1) ... 158s autopkgtest [14:21:25]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 158s autopkgtest [14:21:25]: test gem2deb-test-runner: [----------------------- 160s 160s ┌──────────────────────────────────────────────────────────────────────────────┐ 160s │ Checking Rubygems dependency resolution on ruby3.3 │ 160s └──────────────────────────────────────────────────────────────────────────────┘ 160s 160s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"pundit\" 160s mv lib ./.gem2deb.lib 160s mv ./.gem2deb.lib lib 160s 160s ┌──────────────────────────────────────────────────────────────────────────────┐ 160s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 160s └──────────────────────────────────────────────────────────────────────────────┘ 160s 160s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 160s mv lib ./.gem2deb.lib 161s /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 --pattern ./spec/\*\*/\*_spec.rb --format documentation 162s 162s PostPolicy 162s update? and show? 162s is successful when all permissions match 162s fails when any permissions do not match 162s 162s Pundit::PolicyFinder 162s #scope 162s returns a policy scope 162s policy is nil 162s returns nil 162s #policy 162s returns a policy 162s with a string 162s returns a policy 162s with a class 162s returns a policy 162s with nil 162s returns nil 162s with a string that can't be constantized 162s returns nil 162s #scope! 162s @object is nil 162s returns the NilClass policy's scope class 162s @object is defined 162s returns the scope 162s #param_key 162s object responds to model_name 162s returns the param_key 162s object is a class 162s returns the param_key 162s object is an instance of a class 162s returns the param_key 162s object is an array 162s returns the param_key for the last element of the array 162s 162s Pundit 162s .authorize 162s infers the policy and authorizes based on it 162s can be given a different policy class 162s works with anonymous class policies 162s raises an error with a query and action 162s raises an error with a invalid policy constructor 162s .policy_scope 162s returns an instantiated policy scope given a plain model class 162s returns an instantiated policy scope given an active model class 162s returns an instantiated policy scope given an active record relation 162s returns an instantiated policy scope given an empty active record relation 162s returns an instantiated policy scope given an array of a symbol and plain model class 162s returns an instantiated policy scope given an array of a symbol and active model class 162s returns nil if the given policy scope can't be found 162s raises an exception if nil object given 162s raises an error with a invalid policy scope constructor 162s raises an original error with a policy scope that contains error 162s .policy_scope! 162s returns an instantiated policy scope given a plain model class 162s returns an instantiated policy scope given an active model class 162s throws an exception if the given policy scope can't be found 162s throws an exception if the given policy scope can't be found 162s throws an exception if the given policy scope is nil 162s returns an instantiated policy scope given an array of a symbol and plain model class 162s returns an instantiated policy scope given an array of a symbol and active model class 162s raises an error with a invalid policy scope constructor 162s .policy 162s returns an instantiated policy given a plain model instance 162s returns an instantiated policy given an active model instance 162s returns an instantiated policy given a plain model class 162s returns an instantiated policy given an active model class 162s returns an instantiated policy given a symbol 162s returns an instantiated policy given an array of symbols 162s returns an instantiated policy given an array of a symbol and plain model instance 162s returns an instantiated policy given an array of a symbol and a model instance with policy_class override 162s returns an instantiated policy given an array of a symbol and an active model instance 162s returns an instantiated policy given an array of a symbol and a plain model class 162s raises an error with a invalid policy constructor 162s returns an instantiated policy given an array of a symbol and an active model class 162s returns an instantiated policy given an array of a symbol and a class with policy_class override 162s returns correct policy class for an array of a multi-word symbols 162s returns correct policy class for an array of a multi-word symbol and a multi-word plain model instance 162s returns correct policy class for an array of a multi-word symbol and a multi-word active model instance 162s returns correct policy class for an array of a multi-word symbol and a multi-word plain model class 162s returns correct policy class for an array of a multi-word symbol and a multi-word active model class 162s returns correct policy class for a multi-word scoped plain model class 162s returns correct policy class for a multi-word scoped plain model instance 162s returns correct policy class for a multi-word scoped active model class 162s returns correct policy class for a multi-word scoped active model instance 162s returns nil if the given policy can't be found 162s returns the specified NilClassPolicy for nil 162s with .policy_class set on the model 162s returns an instantiated policy given a plain model instance 162s returns an instantiated policy given a plain model class 162s returns an instantiated policy given a plain model instance providing an anonymous class 162s returns an instantiated policy given a plain model class providing an anonymous class 162s .policy! 162s returns an instantiated policy given a plain model instance 162s returns an instantiated policy given an active model instance 162s returns an instantiated policy given a plain model class 162s returns an instantiated policy given an active model class 162s returns an instantiated policy given a symbol 162s returns an instantiated policy given an array of symbols 162s throws an exception if the given policy can't be found 162s returns the specified NilClassPolicy for nil 162s raises an error with a invalid policy constructor 162s #verify_authorized 162s does nothing when authorized 162s raises an exception when not authorized 162s #verify_policy_scoped 162s does nothing when policy_scope is used 162s raises an exception when policy_scope is not used 162s #pundit_policy_authorized? 162s is true when authorized 162s is false when not authorized 162s #pundit_policy_scoped? 162s is true when policy_scope is used 162s is false when policy scope is not used 162s #authorize 162s infers the policy name and authorizes based on it 162s returns the record on successful authorization 162s can be given a different permission to check 162s can be given a different policy class 162s works with anonymous class policies 162s throws an exception when the permission check fails 162s throws an exception when a policy cannot be found 162s caches the policy 162s raises an error when the given record is nil 162s raises an error with a invalid policy constructor 162s #skip_authorization 162s disables authorization verification 162s #skip_policy_scope 162s disables policy scope verification 162s #pundit_user 162s returns the same thing as current_user 162s #policy 162s returns an instantiated policy 162s throws an exception if the given policy can't be found 162s raises an error with a invalid policy constructor 162s allows policy to be injected (FAILED - 1) 162s #policy_scope 162s returns an instantiated policy scope 162s allows policy scope class to be overriden 162s throws an exception if the given policy can't be found 162s raises an error with a invalid policy scope constructor 162s allows policy_scope to be injected (FAILED - 2) 162s #permitted_attributes 162s checks policy for permitted attributes 162s checks policy for permitted attributes for record of a ActiveModel type (FAILED - 3) 162s #permitted_attributes_for_action 162s is checked if it is defined in the policy 162s can be explicitly set 162s Pundit::NotAuthorizedError 162s can be initialized with a string as message 162s 162s Failures: 162s 162s 1) Pundit#policy allows policy to be injected 162s Failure/Error: new_policy = OpenStruct.new 162s 162s NameError: 162s uninitialized constant OpenStruct 162s # ./spec/pundit_spec.rb:489:in `block (3 levels) in <top (required)>' 162s 162s 2) Pundit#policy_scope allows policy_scope to be injected 162s Failure/Error: new_scope = OpenStruct.new 162s 162s NameError: 162s uninitialized constant OpenStruct 162s # ./spec/pundit_spec.rb:514:in `block (3 levels) in <top (required)>' 162s 162s 3) Pundit#permitted_attributes checks policy for permitted attributes for record of a ActiveModel type 162s Failure/Error: OpenStruct.new(param_key: "customer_post") 162s 162s NameError: 162s uninitialized constant Customer::Post::OpenStruct 162s # ./spec/spec_helper.rb:83:in `model_name' 162s # /usr/share/rubygems-integration/all/gems/pundit-2.1.0/lib/pundit/policy_finder.rb:63:in `param_key' 162s # /usr/share/rubygems-integration/all/gems/pundit-2.1.0/lib/pundit.rb:290:in `pundit_params_for' 162s # /usr/share/rubygems-integration/all/gems/pundit-2.1.0/lib/pundit.rb:282:in `permitted_attributes' 162s # ./spec/pundit_spec.rb:551:in `block (3 levels) in <top (required)>' 162s 162s Finished in 0.07006 seconds (files took 0.84689 seconds to load) 162s 110 examples, 3 failures 162s 162s Failed examples: 162s 162s rspec ./spec/pundit_spec.rb:488 # Pundit#policy allows policy to be injected 162s rspec ./spec/pundit_spec.rb:513 # Pundit#policy_scope allows policy_scope to be injected 162s rspec ./spec/pundit_spec.rb:540 # Pundit#permitted_attributes checks policy for permitted attributes for record of a ActiveModel type 162s 162s /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 --pattern ./spec/\*\*/\*_spec.rb --format documentation failed 162s mv ./.gem2deb.lib lib 162s autopkgtest [14:21:29]: test gem2deb-test-runner: -----------------------] 166s autopkgtest [14:21:33]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 166s gem2deb-test-runner FAIL non-zero exit status 1 170s autopkgtest [14:21:37]: @@@@@@@@@@@@@@@@@@@@ summary 170s gem2deb-test-runner FAIL non-zero exit status 1