0s autopkgtest [19:43:14]: starting date: 2024-02-21 0s autopkgtest [19:43:14]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [19:43:14]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.nh1lwdfw/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:puppet-agent --apt-upgrade ruby-rspec-puppet --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=puppet-agent/8.4.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-ppc64el-4.secgroup --name adt-noble-ppc64el-ruby-rspec-puppet-20240221-194313-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-ppc64el-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/ 81s autopkgtest [19:44:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 81s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 81s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [818 kB] 82s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [14.4 kB] 82s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [97.6 kB] 82s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [9892 B] 82s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [186 kB] 82s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 82s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1180 B] 82s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 82s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [959 kB] 82s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 82s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [7388 B] 82s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 84s Fetched 2222 kB in 1s (1985 kB/s) 84s Reading package lists... 86s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s Calculating upgrade... 87s The following packages will be upgraded: 87s coreutils debconf debconf-i18n libnuma1 python3-debconf 87s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s Need to get 1912 kB of archives. 87s After this operation, 16.4 kB disk space will be freed. 87s Get:1 http://ftpmaster.internal/ubuntu noble/main ppc64el coreutils ppc64el 9.4-2ubuntu3 [1551 kB] 88s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el debconf-i18n all 1.5.86 [205 kB] 88s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-debconf all 1.5.86 [4160 B] 88s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el debconf all 1.5.86 [124 kB] 88s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libnuma1 ppc64el 2.0.18-1 [28.1 kB] 88s Preconfiguring packages ... 88s Fetched 1912 kB in 1s (2827 kB/s) 88s (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 ... 68815 files and directories currently installed.) 88s Preparing to unpack .../coreutils_9.4-2ubuntu3_ppc64el.deb ... 88s Unpacking coreutils (9.4-2ubuntu3) over (9.4-2ubuntu2) ... 88s Setting up coreutils (9.4-2ubuntu3) ... 88s (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 ... 68815 files and directories currently installed.) 88s Preparing to unpack .../debconf-i18n_1.5.86_all.deb ... 88s Unpacking debconf-i18n (1.5.86) over (1.5.82) ... 88s Preparing to unpack .../python3-debconf_1.5.86_all.deb ... 88s Unpacking python3-debconf (1.5.86) over (1.5.82) ... 88s Preparing to unpack .../debconf_1.5.86_all.deb ... 88s Unpacking debconf (1.5.86) over (1.5.82) ... 88s Setting up debconf (1.5.86) ... 88s Installing new version of config file /etc/debconf.conf ... 89s (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 ... 68814 files and directories currently installed.) 89s Preparing to unpack .../libnuma1_2.0.18-1_ppc64el.deb ... 89s Unpacking libnuma1:ppc64el (2.0.18-1) over (2.0.16-1) ... 89s Setting up python3-debconf (1.5.86) ... 89s Setting up debconf-i18n (1.5.86) ... 89s Setting up libnuma1:ppc64el (2.0.18-1) ... 89s Processing triggers for libc-bin (2.38-3ubuntu1) ... 89s Processing triggers for man-db (2.12.0-3) ... 90s Processing triggers for install-info (7.1-3) ... 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 91s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s sh: Attempting to set up Debian/Ubuntu apt sources automatically 91s sh: Distribution appears to be Ubuntu 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 93s eatmydata is already the newest version (131-1). 93s dbus is already the newest version (1.14.10-3ubuntu1). 93s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 93s rng-tools-debian is already the newest version (2.4). 93s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 93s The following additional packages will be installed: 93s libhavege2 93s The following NEW packages will be installed: 93s haveged libhavege2 93s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 93s Need to get 64.6 kB of archives. 93s After this operation, 290 kB of additional disk space will be used. 93s Get:1 http://ftpmaster.internal/ubuntu noble/universe ppc64el libhavege2 ppc64el 1.9.14-1ubuntu1 [30.2 kB] 94s Get:2 http://ftpmaster.internal/ubuntu noble/universe ppc64el haveged ppc64el 1.9.14-1ubuntu1 [34.4 kB] 94s Fetched 64.6 kB in 0s (194 kB/s) 94s Selecting previously unselected package libhavege2:ppc64el. 94s (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 ... 68814 files and directories currently installed.) 94s Preparing to unpack .../libhavege2_1.9.14-1ubuntu1_ppc64el.deb ... 94s Unpacking libhavege2:ppc64el (1.9.14-1ubuntu1) ... 94s Selecting previously unselected package haveged. 94s Preparing to unpack .../haveged_1.9.14-1ubuntu1_ppc64el.deb ... 94s Unpacking haveged (1.9.14-1ubuntu1) ... 94s Setting up libhavege2:ppc64el (1.9.14-1ubuntu1) ... 94s Setting up haveged (1.9.14-1ubuntu1) ... 95s Created symlink /etc/systemd/system/sysinit.target.wants/haveged.service → /usr/lib/systemd/system/haveged.service. 95s Processing triggers for man-db (2.12.0-3) ... 95s Processing triggers for libc-bin (2.38-3ubuntu1) ... 96s Reading package lists... 96s Building dependency tree... 96s Reading state information... 96s The following packages will be REMOVED: 96s cloud-init* python3-configobj* python3-debconf* 96s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 96s After this operation, 3228 kB disk space will be freed. 96s (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 ... 68830 files and directories currently installed.) 96s Removing cloud-init (24.1~6ga4140119-0ubuntu1) ... 97s Removing python3-configobj (5.0.8-3) ... 97s Removing python3-debconf (1.5.86) ... 97s Processing triggers for man-db (2.12.0-3) ... 97s (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 ... 68442 files and directories currently installed.) 97s Purging configuration files for cloud-init (24.1~6ga4140119-0ubuntu1) ... 98s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 98s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 98s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s linux-generic is already the newest version (6.6.0-14.14). 99s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 99s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 99s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 99s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 99s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 101s Reading package lists... 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s Calculating upgrade... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s autopkgtest [19:44:56]: rebooting testbed after setup commands that affected boot 146s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 152s autopkgtest [19:45:46]: testbed running kernel: Linux 6.6.0-14-generic #14-Ubuntu SMP Thu Nov 30 10:29:25 UTC 2023 152s autopkgtest [19:45:46]: testbed dpkg architecture: ppc64el 154s autopkgtest [19:45:48]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-rspec-puppet 155s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-rspec-puppet 2.9.0+ds-1 (dsc) [1607 B] 155s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-rspec-puppet 2.9.0+ds-1 (tar) [83.5 kB] 155s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-rspec-puppet 2.9.0+ds-1 (diff) [4904 B] 155s gpgv: Signature made Sat Oct 15 21:48:34 2022 UTC 155s gpgv: using EDDSA key C0AB4E11BF6C5B96ABFF7AEE69C52F658E988542 155s gpgv: Can't check signature: No public key 155s dpkg-source: warning: cannot verify inline signature for ./ruby-rspec-puppet_2.9.0+ds-1.dsc: no acceptable signature found 155s autopkgtest [19:45:49]: testing package ruby-rspec-puppet version 2.9.0+ds-1 155s autopkgtest [19:45:49]: build not needed 156s autopkgtest [19:45:50]: test gem2deb-test-runner: preparing testbed 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 159s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 159s Starting 2 pkgProblemResolver with broken count: 0 159s Done 159s Done 159s Starting pkgProblemResolver with broken count: 0 159s Starting 2 pkgProblemResolver with broken count: 0 159s Done 159s The following additional packages will be installed: 159s augeas-lenses facter gem2deb-test-runner libaugeas0 libruby libruby3.1 159s puppet puppet-agent puppet-module-puppetlabs-augeas-core 159s puppet-module-puppetlabs-stdlib rake ruby ruby-augeas ruby-concurrent 159s ruby-deep-merge ruby-diff-lcs ruby-hocon ruby-net-telnet 159s ruby-puppet-resource-api ruby-rbtree ruby-rspec ruby-rspec-core 159s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-puppet 159s ruby-rspec-support ruby-rubygems ruby-sdbm ruby-semantic-puppet ruby-shadow 159s ruby-sorted-set ruby-thor ruby-webrick ruby-xmlrpc ruby3.1 159s rubygems-integration 159s Suggested packages: 159s augeas-doc augeas-tools hiera-eyaml ruby-msgpack ri ruby-dev bundler 159s Recommended packages: 159s dmidecode ruby-sys-filesystem virt-what augeas-tools debconf-utils 159s ruby-selinux zip fonts-lato libjs-jquery 159s The following NEW packages will be installed: 159s augeas-lenses facter gem2deb-test-runner libaugeas0 libruby libruby3.1 159s puppet puppet-agent puppet-module-puppetlabs-augeas-core 159s puppet-module-puppetlabs-stdlib rake ruby ruby-augeas ruby-concurrent 159s ruby-deep-merge ruby-diff-lcs ruby-hocon ruby-net-telnet 159s ruby-puppet-resource-api ruby-rbtree ruby-rspec ruby-rspec-core 159s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-puppet 159s ruby-rspec-support ruby-rubygems ruby-sdbm ruby-semantic-puppet ruby-shadow 159s ruby-sorted-set ruby-thor ruby-webrick ruby-xmlrpc ruby3.1 159s rubygems-integration 159s 0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded. 159s 1 not fully installed or removed. 159s Need to get 9208 kB of archives. 159s After this operation, 52.1 MB of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu noble/main ppc64el rubygems-integration all 1.18 [5336 B] 159s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el rake all 13.0.6-3 [61.6 kB] 160s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el ruby-net-telnet all 0.2.0-1 [13.3 kB] 160s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el ruby-webrick all 1.8.1-1 [52.3 kB] 160s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el ruby-xmlrpc all 0.3.2-2 [24.8 kB] 160s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libruby ppc64el 1:3.1+1 [4638 B] 160s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el ruby-sdbm ppc64el 1.0.0-5build3 [22.9 kB] 160s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libruby3.1 ppc64el 3.1.2-7ubuntu4 [5560 kB] 160s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el ruby3.1 ppc64el 3.1.2-7ubuntu4 [49.0 kB] 160s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el ruby-rubygems all 3.4.20-1 [238 kB] 160s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el ruby ppc64el 1:3.1+1 [3464 B] 160s Get:12 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-hocon all 1.3.1-2 [76.2 kB] 160s Get:13 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-thor all 1.2.2-1 [47.4 kB] 160s Get:14 http://ftpmaster.internal/ubuntu noble/universe ppc64el facter all 4.3.0-2 [155 kB] 160s Get:15 http://ftpmaster.internal/ubuntu noble/universe ppc64el augeas-lenses all 1.14.1-1 [323 kB] 160s Get:16 http://ftpmaster.internal/ubuntu noble/universe ppc64el libaugeas0 ppc64el 1.14.1-1 [232 kB] 160s Get:17 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-augeas ppc64el 1:0.5.0+gem-1build3 [13.3 kB] 160s Get:18 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-concurrent all 1.1.6+dfsg-5build3 [212 kB] 161s Get:19 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-deep-merge all 1.1.1-2 [9244 B] 161s Get:20 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-puppet-resource-api all 1.8.16-2 [22.8 kB] 161s Get:21 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-semantic-puppet all 1.0.4-1 [14.8 kB] 161s Get:22 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-shadow ppc64el 2.5.1-1ubuntu1 [10.6 kB] 161s Get:23 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-rbtree ppc64el 0.4.6-1build1 [35.8 kB] 161s Get:24 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-sorted-set all 1.0.3-3 [4258 B] 161s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el puppet-agent all 8.4.0-1 [1396 kB] 161s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el puppet all 8.4.0-1 [7968 B] 161s Get:27 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 161s Get:28 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 161s Get:29 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-diff-lcs all 1.5.0-1 [23.9 kB] 161s Get:30 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 161s Get:31 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 161s Get:32 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 161s Get:33 http://ftpmaster.internal/ubuntu noble/universe ppc64el ruby-rspec-puppet all 2.9.0+ds-1 [46.5 kB] 161s Get:34 http://ftpmaster.internal/ubuntu noble/universe ppc64el puppet-module-puppetlabs-augeas-core all 1.1.2-1 [27.1 kB] 161s Get:35 http://ftpmaster.internal/ubuntu noble/universe ppc64el puppet-module-puppetlabs-stdlib all 8.5.0-1 [131 kB] 161s Get:36 http://ftpmaster.internal/ubuntu noble/universe ppc64el gem2deb-test-runner ppc64el 2.2.2 [18.2 kB] 161s Preconfiguring packages ... 161s Fetched 9208 kB in 1s (6199 kB/s) 161s Selecting previously unselected package rubygems-integration. 161s (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 ... 68387 files and directories currently installed.) 161s Preparing to unpack .../00-rubygems-integration_1.18_all.deb ... 161s Unpacking rubygems-integration (1.18) ... 161s Selecting previously unselected package rake. 161s Preparing to unpack .../01-rake_13.0.6-3_all.deb ... 161s Unpacking rake (13.0.6-3) ... 161s Selecting previously unselected package ruby-net-telnet. 161s Preparing to unpack .../02-ruby-net-telnet_0.2.0-1_all.deb ... 161s Unpacking ruby-net-telnet (0.2.0-1) ... 161s Selecting previously unselected package ruby-webrick. 161s Preparing to unpack .../03-ruby-webrick_1.8.1-1_all.deb ... 161s Unpacking ruby-webrick (1.8.1-1) ... 161s Selecting previously unselected package ruby-xmlrpc. 161s Preparing to unpack .../04-ruby-xmlrpc_0.3.2-2_all.deb ... 161s Unpacking ruby-xmlrpc (0.3.2-2) ... 161s Selecting previously unselected package libruby:ppc64el. 161s Preparing to unpack .../05-libruby_1%3a3.1+1_ppc64el.deb ... 161s Unpacking libruby:ppc64el (1:3.1+1) ... 161s Selecting previously unselected package ruby-sdbm:ppc64el. 161s Preparing to unpack .../06-ruby-sdbm_1.0.0-5build3_ppc64el.deb ... 161s Unpacking ruby-sdbm:ppc64el (1.0.0-5build3) ... 161s Selecting previously unselected package libruby3.1:ppc64el. 161s Preparing to unpack .../07-libruby3.1_3.1.2-7ubuntu4_ppc64el.deb ... 161s Unpacking libruby3.1:ppc64el (3.1.2-7ubuntu4) ... 162s Selecting previously unselected package ruby3.1. 162s Preparing to unpack .../08-ruby3.1_3.1.2-7ubuntu4_ppc64el.deb ... 162s Unpacking ruby3.1 (3.1.2-7ubuntu4) ... 162s Selecting previously unselected package ruby-rubygems. 162s Preparing to unpack .../09-ruby-rubygems_3.4.20-1_all.deb ... 162s Unpacking ruby-rubygems (3.4.20-1) ... 162s Selecting previously unselected package ruby. 162s Preparing to unpack .../10-ruby_1%3a3.1+1_ppc64el.deb ... 162s Unpacking ruby (1:3.1+1) ... 162s Selecting previously unselected package ruby-hocon. 162s Preparing to unpack .../11-ruby-hocon_1.3.1-2_all.deb ... 162s Unpacking ruby-hocon (1.3.1-2) ... 162s Selecting previously unselected package ruby-thor. 162s Preparing to unpack .../12-ruby-thor_1.2.2-1_all.deb ... 162s Unpacking ruby-thor (1.2.2-1) ... 162s Selecting previously unselected package facter. 162s Preparing to unpack .../13-facter_4.3.0-2_all.deb ... 162s Unpacking facter (4.3.0-2) ... 162s Selecting previously unselected package augeas-lenses. 162s Preparing to unpack .../14-augeas-lenses_1.14.1-1_all.deb ... 162s Unpacking augeas-lenses (1.14.1-1) ... 162s Selecting previously unselected package libaugeas0:ppc64el. 162s Preparing to unpack .../15-libaugeas0_1.14.1-1_ppc64el.deb ... 162s Unpacking libaugeas0:ppc64el (1.14.1-1) ... 162s Selecting previously unselected package ruby-augeas. 162s Preparing to unpack .../16-ruby-augeas_1%3a0.5.0+gem-1build3_ppc64el.deb ... 162s Unpacking ruby-augeas (1:0.5.0+gem-1build3) ... 162s Selecting previously unselected package ruby-concurrent. 162s Preparing to unpack .../17-ruby-concurrent_1.1.6+dfsg-5build3_all.deb ... 162s Unpacking ruby-concurrent (1.1.6+dfsg-5build3) ... 162s Selecting previously unselected package ruby-deep-merge. 162s Preparing to unpack .../18-ruby-deep-merge_1.1.1-2_all.deb ... 162s Unpacking ruby-deep-merge (1.1.1-2) ... 162s Selecting previously unselected package ruby-puppet-resource-api. 162s Preparing to unpack .../19-ruby-puppet-resource-api_1.8.16-2_all.deb ... 162s Unpacking ruby-puppet-resource-api (1.8.16-2) ... 162s Selecting previously unselected package ruby-semantic-puppet. 162s Preparing to unpack .../20-ruby-semantic-puppet_1.0.4-1_all.deb ... 162s Unpacking ruby-semantic-puppet (1.0.4-1) ... 162s Selecting previously unselected package ruby-shadow. 162s Preparing to unpack .../21-ruby-shadow_2.5.1-1ubuntu1_ppc64el.deb ... 162s Unpacking ruby-shadow (2.5.1-1ubuntu1) ... 162s Selecting previously unselected package ruby-rbtree. 162s Preparing to unpack .../22-ruby-rbtree_0.4.6-1build1_ppc64el.deb ... 162s Unpacking ruby-rbtree (0.4.6-1build1) ... 162s Selecting previously unselected package ruby-sorted-set. 162s Preparing to unpack .../23-ruby-sorted-set_1.0.3-3_all.deb ... 162s Unpacking ruby-sorted-set (1.0.3-3) ... 162s Selecting previously unselected package puppet-agent. 162s Preparing to unpack .../24-puppet-agent_8.4.0-1_all.deb ... 162s Unpacking puppet-agent (8.4.0-1) ... 163s Selecting previously unselected package puppet. 163s Preparing to unpack .../25-puppet_8.4.0-1_all.deb ... 163s Unpacking puppet (8.4.0-1) ... 163s Selecting previously unselected package ruby-rspec-support. 163s Preparing to unpack .../26-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 163s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 163s Selecting previously unselected package ruby-rspec-core. 163s Preparing to unpack .../27-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 163s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 163s Selecting previously unselected package ruby-diff-lcs. 163s Preparing to unpack .../28-ruby-diff-lcs_1.5.0-1_all.deb ... 163s Unpacking ruby-diff-lcs (1.5.0-1) ... 163s Selecting previously unselected package ruby-rspec-expectations. 163s Preparing to unpack .../29-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 163s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 163s Selecting previously unselected package ruby-rspec-mocks. 163s Preparing to unpack .../30-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 163s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 163s Selecting previously unselected package ruby-rspec. 163s Preparing to unpack .../31-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 163s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 163s Selecting previously unselected package ruby-rspec-puppet. 163s Preparing to unpack .../32-ruby-rspec-puppet_2.9.0+ds-1_all.deb ... 163s Unpacking ruby-rspec-puppet (2.9.0+ds-1) ... 163s Selecting previously unselected package puppet-module-puppetlabs-augeas-core. 163s Preparing to unpack .../33-puppet-module-puppetlabs-augeas-core_1.1.2-1_all.deb ... 163s Unpacking puppet-module-puppetlabs-augeas-core (1.1.2-1) ... 163s Selecting previously unselected package puppet-module-puppetlabs-stdlib. 163s Preparing to unpack .../34-puppet-module-puppetlabs-stdlib_8.5.0-1_all.deb ... 163s Unpacking puppet-module-puppetlabs-stdlib (8.5.0-1) ... 163s Selecting previously unselected package gem2deb-test-runner. 163s Preparing to unpack .../35-gem2deb-test-runner_2.2.2_ppc64el.deb ... 163s Unpacking gem2deb-test-runner (2.2.2) ... 163s Setting up ruby-semantic-puppet (1.0.4-1) ... 163s Setting up augeas-lenses (1.14.1-1) ... 163s Setting up rubygems-integration (1.18) ... 163s Setting up ruby-concurrent (1.1.6+dfsg-5build3) ... 163s Setting up libaugeas0:ppc64el (1.14.1-1) ... 163s Setting up ruby-net-telnet (0.2.0-1) ... 163s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 163s Setting up ruby-webrick (1.8.1-1) ... 163s Setting up ruby-deep-merge (1.1.1-2) ... 163s Setting up puppet-module-puppetlabs-augeas-core (1.1.2-1) ... 163s update-alternatives: using /usr/share/puppet/modules.available/puppetlabs-augeas-core to provide /usr/share/puppet/modules/augeas_core (puppet-module-augeas-core) in auto mode 163s Setting up ruby-xmlrpc (0.3.2-2) ... 163s Setting up ruby-rubygems (3.4.20-1) ... 163s Setting up rake (13.0.6-3) ... 163s Setting up libruby3.1:ppc64el (3.1.2-7ubuntu4) ... 163s Setting up libruby:ppc64el (1:3.1+1) ... 163s Setting up ruby-augeas (1:0.5.0+gem-1build3) ... 163s Setting up ruby-rbtree (0.4.6-1build1) ... 163s Setting up ruby3.1 (3.1.2-7ubuntu4) ... 163s Setting up ruby-shadow (2.5.1-1ubuntu1) ... 163s Setting up ruby-sdbm:ppc64el (1.0.0-5build3) ... 163s Setting up ruby-sorted-set (1.0.3-3) ... 163s Setting up ruby (1:3.1+1) ... 163s Setting up ruby-thor (1.2.2-1) ... 163s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 163s Setting up ruby-hocon (1.3.1-2) ... 163s Setting up ruby-diff-lcs (1.5.0-1) ... 163s Setting up ruby-puppet-resource-api (1.8.16-2) ... 163s Setting up gem2deb-test-runner (2.2.2) ... 163s Setting up facter (4.3.0-2) ... 163s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 163s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 163s Setting up puppet-agent (8.4.0-1) ... 164s puppet.service is a disabled or a static unit, not starting it. 164s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 164s Setting up puppet (8.4.0-1) ... 164s Setting up ruby-rspec-puppet (2.9.0+ds-1) ... 164s Setting up puppet-module-puppetlabs-stdlib (8.5.0-1) ... 164s update-alternatives: using /usr/share/puppet/modules.available/puppetlabs-stdlib to provide /usr/share/puppet/modules/stdlib (puppet-module-stdlib) in auto mode 164s Setting up autopkgtest-satdep (0) ... 164s Processing triggers for libc-bin (2.38-3ubuntu1) ... 164s Processing triggers for man-db (2.12.0-3) ... 167s (Reading database ... 76222 files and directories currently installed.) 167s Removing autopkgtest-satdep (0) ... 168s autopkgtest [19:46:02]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 168s autopkgtest [19:46:02]: test gem2deb-test-runner: [----------------------- 169s 169s ┌──────────────────────────────────────────────────────────────────────────────┐ 169s │ Checking Rubygems dependency resolution on ruby3.1 │ 169s └──────────────────────────────────────────────────────────────────────────────┘ 169s 169s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"rspec-puppet\" 169s mv lib ./.gem2deb.lib 169s mv ./.gem2deb.lib lib 169s 169s ┌──────────────────────────────────────────────────────────────────────────────┐ 169s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 169s └──────────────────────────────────────────────────────────────────────────────┘ 169s 169s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 169s mv lib ./.gem2deb.lib 169s /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb 170s 170s RSpec::Puppet::Cache 170s fetching cached entries 171s calls the get_proc on cache misses 171s can supply a proc to the get method 171s can handle procs with multiple args 171s reuses cached entries 171s evicts expired entries 171s 171s structured_data 171s with a single level array of strings 171s is expected to contain Structured_data::Def[thing] with data => ["foo", "bar", "baz", "quux"] 171s with integers as data values 171s is expected to contain Structured_data::Def[thing] with data => ["first", 1, "second", 2] 171s with nested arrays 171s on Puppet 2.7 and later 171s is expected to contain Structured_data::Def[thing] with data => ["first", "second", ["third", "fourth"], 5, 6] 171s 171s boolean_test 171s is expected to contain Notify[bool testing] with message =~ /bool is false/ 171s is expected not to contain Notify[bool testing] with message =~ /true/ 171s is expected to contain Notify[bool testing] with message !~ /true/ 171s 171s boolean_test 171s is expected to contain Notify[bool testing] with message => "This will print when $bool is false." 171s 171s test::bare_class 171s cache between adjacent examples 171s records the initial catalogue ID 171s should contain the same catalogue ID 171s cache multiple catalogues 171s iteration 1 171s records the initial catalogue ID 171s iteration 2 171s records the initial catalogue ID 171s iteration 3 171s records the initial catalogue ID 171s iteration 4 171s records the initial catalogue ID 171s iteration 5 171s records the initial catalogue ID 171s iteration 6 171s records the initial catalogue ID 171s iteration 7 171s records the initial catalogue ID 171s iteration 8 171s records the initial catalogue ID 171s iteration 9 171s records the initial catalogue ID 171s iteration 10 171s records the initial catalogue ID 171s iteration 1 171s should contain the same catalogue ID 171s iteration 2 171s should contain the same catalogue ID 171s iteration 3 171s should contain the same catalogue ID 171s iteration 4 171s should contain the same catalogue ID 171s iteration 5 171s should contain the same catalogue ID 171s iteration 6 171s should contain the same catalogue ID 171s iteration 7 171s should contain the same catalogue ID 171s iteration 8 171s should contain the same catalogue ID 171s iteration 9 171s should contain the same catalogue ID 171s iteration 10 171s should contain the same catalogue ID 171s limits number of cached catalogues 171s iteration 1 171s records the initial catalogue ID 171s iteration 2 172s records the initial catalogue ID 172s iteration 3 172s records the initial catalogue ID 172s iteration 4 172s records the initial catalogue ID 172s iteration 5 172s records the initial catalogue ID 172s iteration 6 172s records the initial catalogue ID 172s iteration 7 172s records the initial catalogue ID 172s iteration 8 172s records the initial catalogue ID 172s iteration 9 172s records the initial catalogue ID 172s iteration 10 172s records the initial catalogue ID 172s iteration 11 172s records the initial catalogue ID 172s iteration 12 172s records the initial catalogue ID 172s iteration 13 172s records the initial catalogue ID 172s iteration 14 172s records the initial catalogue ID 172s iteration 15 172s records the initial catalogue ID 172s iteration 16 172s records the initial catalogue ID 172s iteration 17 172s records the initial catalogue ID 172s iteration 18 172s records the initial catalogue ID 172s iteration 19 172s records the initial catalogue ID 172s iteration 20 172s records the initial catalogue ID 172s iteration 1 172s should receive a new catalogue ID 172s iteration 2 172s should receive a new catalogue ID 172s iteration 3 172s should receive a new catalogue ID 172s iteration 4 172s should receive a new catalogue ID 172s iteration 9 172s should contain the same catalogue ID 172s iteration 10 172s should contain the same catalogue ID 172s iteration 11 172s should contain the same catalogue ID 172s iteration 12 172s should contain the same catalogue ID 172s iteration 13 172s should contain the same catalogue ID 172s iteration 14 172s should contain the same catalogue ID 172s iteration 15 172s should contain the same catalogue ID 172s iteration 16 172s should contain the same catalogue ID 172s iteration 17 172s should contain the same catalogue ID 172s iteration 18 172s should contain the same catalogue ID 172s iteration 19 172s should contain the same catalogue ID 172s iteration 20 172s should contain the same catalogue ID 172s 172s #rspec_puppet_cleanup 172s is expected to equal true 172s should wipe @catalogue 172s 172s cycle::bad 172s is expected not to compile into a catalogue without dependency cycles 172s 172s cycle::good 172s is expected to compile into a catalogue without dependency cycles 172s is expected not to fail to compile and raise an error matching // 172s 172s default_test 172s is expected to compile into a catalogue without dependency cycles 172s 172s deferred 172s is expected to contain Notify[deferred msg] with message => "A STRING" 172s 172s escape 172s is expected to contain File[/tmp/escape] with content =~ /\$MSG foo/ 172s 172s export_resource 172s exported_resources accessor 173s should support the contain_* matcher 173s should support the have_*_resource_count matcher 173s exported_resources sub-context 173s should support the contain_* matcher 173s should support the have_*_resource_count matcher 173s normal catalogue tests 173s should not match exported resources 173s 173s structured_facts::hash 173s symbols and strings in facts 173s is expected to contain Class[structured_facts::hash] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s only symbols in facts 173s is expected to contain Class[structured_facts::hash] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s mixed case symbols in facts 173s is expected to contain Class[structured_facts::hash] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s only strings in facts 173s is expected to contain Class[structured_facts::hash] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s mixed case strings in facts 173s is expected to contain Class[structured_facts::hash] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s 173s structured_facts::top_scope 173s symbols and strings in facts 173s is expected to contain Class[structured_facts::top_scope] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s only symbols in facts 173s is expected to contain Class[structured_facts::top_scope] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s mixed case in facts 173s is expected to contain Class[structured_facts::top_scope] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s only string in facts 173s is expected to contain Class[structured_facts::top_scope] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s mixed case in facts 173s is expected to contain Class[structured_facts::top_scope] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[RedHat] 173s 173s structured_facts::case_check 173s mixed case in structure fact nested keys 173s is expected to contain Class[structured_facts::case_check] 173s is expected to compile into a catalogue without dependency cycles 173s is expected to contain Notify[value] 173s 173s structured_data 173s with a single level hash of strings 173s is expected to contain Structured_data::Def[thing] with data => {"foo"=>"bar", "baz"=>"quux"} 173s with integers as keys 173s puppet 4 or greater 173s is expected to contain Structured_data::Def[thing] with data => {1=>"uno", 2=>"dos"} 173s with integers as values 173s is expected to contain Structured_data::Def[thing] with data => {"first"=>1, "second"=>2} 173s with nested hashes 173s is expected to contain Structured_data::Def[thing] with data => {"first"=>1, "sec.ond"=>2, "third"=>{"alpha"=>"a", "beta"=>"b"}} 173s 173s test::hiera 173s with :hiera_config set 173s is expected to contain Notify[foo] 173s without :hiera_config set 173s is expected to contain Notify[not found] 173s 173s hiera_test 173s without :hiera_config set 173s with module eyaml hiera data enabled 173s is expected to raise Puppet::PreformattedError with message matching /hiera_eyaml/ 173s with module eyaml hiera data disabled 173s is expected to raise Puppet::ParseError 173s with relative fixture hiera config path 173s is expected to contain Notify[module] 173s with absolute fixture hiera config path 173s is expected to contain Notify[module] 173s with invalid fixture hiera config path 173s is expected to raise Puppet::ParseError 173s with :use_fixture_spec_hiera set 173s is expected to contain Notify[spec] 173s with :hiera_config set 173s with module eyaml hiera data enabled 173s is expected to raise Puppet::PreformattedError with message matching /hiera_eyaml/ 173s with module eyaml hiera data disabled 173s is expected to contain Notify[global] 173s with relative fixture hiera config path 174s is expected to contain Notify[global] 174s with absolute fixture hiera config path 174s is expected to contain Notify[global] 174s with invalid fixture hiera config path 174s is expected to contain Notify[global] 174s with :use_fixture_spec_hiera set 174s is expected to contain Notify[global] 174s 174s hiera_test2 174s without :hiera_config set 174s with module-layer hiera enabled 174s is expected to contain Notify[module] 174s with module-layer hiera disabled 174s is expected to raise Puppet::ParseError 174s with :use_fixture_spec_hiera set 174s with missing spec hiera.yaml and hiera fallback enabled 174s is expected to contain Notify[module] 174s with missing spec hiera.yaml and hiera fallback disabled 174s is expected to raise Puppet::ParseError 174s with :hiera_config set 174s with module-layer hiera enabled 174s is expected to contain Notify[global] 174s with module-layer hiera disabled 174s is expected to contain Notify[global] 174s with :use_fixture_spec_hiera set 174s with missing spec hiera.yaml and hiera fallback enabled 174s is expected to contain Notify[global] 174s with missing spec hiera.yaml and hiera fallback disabled 174s is expected to contain Notify[global] 174s 174s map_reduce 174s is expected to compile into a catalogue without dependency cycles 174s is expected to contain Notify[joined_incremented_values] with message => "123" 174s 174s node_params 174s compiles into a catalogue without dependency cycles 174s contains Notify[string] with message => foo bar baz 174s contains Notify[hash] with message => {"foo"=>"bar", "baz"=>"foo"} 174s contains Notify[array] with message => ["baz", "foo", "bar"] 174s contains Notify[true] with message => true 174s contains Notify[false] with message => false 174s contains Notify[integer] with message => 5 174s contains Notify[float] with message => 4.4 174s contains Notify[nil] with message => 174s doesn't leak to the facts hash 174s 174s relationships::before 174s is expected to contain Notify[foo] that comes before Notify[bar] 174s is expected to contain Notify[foo] that comes before Notify[baz] 174s is expected to contain Notify[bar] that comes before Notify[baz] 174s is expected to contain Notify[bar] that requires Notify[foo] 174s is expected to contain Notify[baz] that requires Notify[foo] 174s is expected to contain Notify[baz] that requires Notify[bar] 174s is expected to contain Notify[foo] that comes before Notify[bar] and Notify[baz] 174s is expected to contain Notify[bar] that comes before Notify[baz] 174s is expected to contain Notify[bar] that requires Notify[foo] 174s is expected to contain Notify[baz] that requires Notify[foo] and Notify[bar] 174s is expected to contain Class[relationships::before::pre] that comes before Class[relationships::before::post] 174s is expected to contain Class[relationships::before::post] that requires Class[relationships::before::pre] 174s is expected to contain Notify[pre] that comes before Notify[post] 174s is expected to contain Notify[post] that requires Notify[pre] 175s is expected to contain File[/tmp/foo] that comes before File[/tmp/foo/bar] 175s is expected to contain File[/tmp/foo/bar] that requires File[/tmp/foo] 175s is expected to contain Notify[bazz] that comes before File[/tmp/foo/bar] 175s is expected to contain Notify[qux] that requires File[/tmp/foo] 175s is expected to contain Notify[bazz] that comes before Notify[qux] 175s is expected to contain Notify[qux] that requires Notify[bazz] 175s is expected not to contain Notify[foo] that comes before Notify[unknown] 175s is expected not to contain Notify[bar] that comes before Notify[unknown] 175s is expected not to contain Notify[baz] that comes before Notify[unknown] 175s is expected not to contain Notify[foo] that requires Notify[unknown] 175s is expected not to contain Notify[bar] that requires Notify[unknown] 175s is expected not to contain Notify[baz] that requires Notify[unknown] 175s is expected not to contain Class[relationships::before::pre] that comes before Class[relationships::before::unknown] 175s is expected not to contain Class[relationships::before::post] that requires Class[relationships::before::unknown] 175s 175s relationships::notify 175s is expected to contain Notify[foo] that notifies Notify[bar] 175s is expected to contain Notify[baz] that notifies Notify[bar] 175s is expected to contain Notify[baz] that notifies Notify[gronk] 175s is expected to contain Notify[gronk] that subscribes to Notify[baz] 175s is expected to contain Notify[bar] that subscribes to Notify[baz] 175s is expected to contain Notify[bar] that subscribes to Notify[foo] 175s is expected to contain Notify[foo] that notifies Notify[bar] 175s is expected to contain Notify[baz] that notifies Notify[bar] and Notify[gronk] 175s is expected to contain Notify[gronk] that subscribes to Notify[baz] 175s is expected to contain Notify[bar] that subscribes to Notify[baz] and Notify[foo] 175s is expected to contain Notify[pre] that notifies Notify[post] 175s is expected to contain Notify[post] that subscribes to Notify[pre] 175s 175s relationships::titles 177s is expected to compile into a catalogue without dependency cycles 177s is expected to compile into a catalogue without dependency cycles 177s is expected to contain File[/etc/svc] 177s is expected to contain Service[svc-title] 177s is expected to contain File[/etc/svc] that notifies Service[svc-name] 177s is expected to contain File[/etc/svc] that comes before Service[svc-name] 177s is expected to contain Service[svc-title] that requires File[/etc/svc] 177s is expected to contain Service[svc-title] that subscribes to File[/etc/svc] 177s 177s relationships::complex 177s is expected to contain Notify[foo] that comes before Notify[baz] and Notify[bar] 177s 177s server_facts 177s with server_facts 177s is expected to contain Class[server_facts] 177s is expected to compile into a catalogue without dependency cycles 177s is expected to contain Notify[servername-test123.test.com] 177s is expected to contain Notify[serverip-192.168.1.10] 177s is expected to contain Notify[serverversion-8.4.0] 177s is expected to contain Notify[environment-rp_env] 177s 177s sysctl::common 177s is expected to contain Exec[sysctl/reload] with command => "/sbin/sysctl -p /etc/sysctl.conf" and returns => [0, 2] 177s is expected not to contain Augeas[foo] 177s when using with to specify a hash of parameters 177s should fail if the parameter is not contained in the resource 177s should pass if the parameters are contained in the resource 177s when using without to specify parameter name(s) 177s should pass if the parameter name is not contained in the resource 177s should pass if the parameter names are not contained in the resource 177s should fail if any of the parameter names are contained in the resource 177s when using without to specify parameter value(s) 177s should pass if the parameter value is not contained in the resource 177s should fail if the parameter value is contained in the resource 177s 177s sysctl::common 177s is expected to contain Class[sysctl::common] with test_param => "yes" 177s is expected to contain exactly 1 class 177s is expected to contain exactly 1 Exec resource 177s is expected to contain exactly 2 resources 177s is expected to contain Notify[test] 177s 177s sysctl::common 177s is expected to contain Exec[sysctl/reload] with exactly 3 parameters, command => "/sbin/sysctl -p /etc/sysctl.conf", refreshonly => true and returns => [0, 2] 177s is expected to contain Exec[sysctl/reload] with exactly 3 parameters, command => "/sbin/sysctl -p /etc/sysctl.conf", refreshonly => true and returns => [0, 2] 177s should fail if not enough parameters are contained in the resource 177s should fail if different parameters are contained in the resource 177s 177s test::bare_class 177s rspec group 177s should have a catalogue method 177s subject should return a catalogue 177s derivative group 177s can redefine subject 177s coverage 177s class should be included in the coverage filter 177s should not include resources from other modules created with create_resources() 177s 177s test::basic 177s is expected to contain Fake[foo] with three => [{"foo"=>"bar"}] 177s testing node based facts 177s is expected to contain Notify[test123.test.com] 177s is expected not to contain Notify[notthis.test.com] 177s existing networking facts should not be clobbered 177s is expected to contain Notify[eth0] 177s is expected to contain Notify[test123] 177s when derive_node_facts_from_nodename => false 177s is expected to contain Notify[myhostname.test.com] 177s is expected not to contain Notify[mycertname.test.com] 177s 177s test::classes_used 177s is expected to include Class[test::bare_class] 177s is expected to include Class[test::parameterised_class] 177s is expected to contain Class[test::parameterised_class] with text => "bar" 177s is expected to contain Class[test::bare_class] 177s is expected to contain Class[test::parameterised_class] with something => # 177s 177s test::compile_error 177s should provide a useful message when compilation fails 177s 177s test::duplicate_alias 177s is expected to compile into a catalogue without dependency cycles 178s is expected to contain Exec[foo_bar_1] 178s is expected to contain Exec[foo_bar_2] 178s is expected not to contain Exec[/bin/echo foo bar] 178s 178s test::empty_class 178s is expected to compile into a catalogue without dependency cycles 178s exported resources 178s is expected to contain exactly 0 resources 178s 178s test::fail 178s is expected to fail to compile and raise an error matching /test/ 178s 178s test::provider_suitability 178s On Darwin 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain User[testuser] 178s On CentOS 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain User[testuser] 178s On Solaris 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain User[testuser] 178s 178s test::registry 178s example at ./spec/classes/test_registry_spec.rb:10 (PENDING: Temporarily skipped with xit) 178s 178s test::sensitive 178s is expected to contain Class[test::sensitive::user] with password => Sensitive("myPassword") 178s is expected to contain Class[test::sensitive::user] with password => Sensitive(/Pass/) 178s 178s test::user 178s is expected to contain User[luke] with exactly 2 parameters, ensure => "present" and uid => "501" 178s 178s test::windows 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain File[C:\something.txt] 178s 178s trusted_external_data 178s no trusted external data 178s is expected to contain Class[trusted_external_data] 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain Notify[no-external-data] 178s with trusted external data 178s is expected to contain Class[trusted_external_data] 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain Notify[external-foo_key-foo_value] 178s is expected to contain Notify[external-bar_key-bar_value] 178s 178s trusted_facts 178s FQDN as certname 178s is expected to contain Class[trusted_facts] 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain Notify[certname-trusted.example.com] 178s is expected to contain Notify[authenticated-remote] 178s is expected to contain Notify[hostname-trusted] 178s is expected to contain Notify[domain-example.com] 178s is expected to contain Notify[no-extensions] 178s shortname as certname 178s is expected to contain Class[trusted_facts] 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain Notify[certname-trusted] 178s is expected to contain Notify[authenticated-remote] 178s is expected to contain Notify[hostname-trusted] 178s is expected to contain Notify[domain-] 178s is expected to contain Notify[no-extensions] 178s with extensions 178s is expected to contain Class[trusted_facts] 178s is expected to compile into a catalogue without dependency cycles 178s is expected to contain Notify[certname-trusted.example.com] 178s is expected to contain Notify[authenticated-remote] 178s is expected to contain Notify[hostname-trusted] 178s is expected to contain Notify[domain-example.com] 178s is expected not to contain Notify[no-extensions] 178s is expected to contain Notify[extension-pp_uuid-ED803750-E3C7-44F5-BB08-41A04433FE2E] 178s is expected to contain Notify[extension-1.3.6.1.4.1.34380.1.2.1-ssl-termination] 178s 178s type_mismatch 179s is expected to compile into a catalogue without dependency cycles 179s is expected not to contain Type_mismatch::Hash[bug] with hash => {"foo"=>{"bar"=>{}}} 179s is expected not to raise Exception 179s 179s undef_test 179s with required_attribute => 'some_string' 179s and defaults_to_undef unspecified 179s is expected to compile into a catalogue without dependency cycles 179s is expected to contain Class[undef_test] with required_attribute => "some_string" 179s is expected to contain Class[undef_test] with defaults_to_undef undefined 179s does not include undef parameters in the parameter count matcher 179s and defaults_to_undef => :undef 179s is expected to compile into a catalogue without dependency cycles 179s is expected to contain Class[undef_test] with required_attribute => "some_string" 179s is expected to contain Class[undef_test] with defaults_to_undef undefined 179s does not include undef parameters in the parameter count matcher 179s with required_attribute => :undef 179s and defaults_to_undef unspecified 179s is expected to compile into a catalogue without dependency cycles 179s is expected to contain Class[undef_test] with required_attribute undefined 179s is expected to contain Class[undef_test] with defaults_to_undef undefined 179s does not include undef parameters in the parameter count matcher 179s and defaults_to_undef => :undef 179s is expected to compile into a catalogue without dependency cycles 179s is expected to contain Class[undef_test] with required_attribute undefined 179s is expected to contain Class[undef_test] with defaults_to_undef undefined 179s does not include undef parameters in the parameter count matcher 179s 179s unique::fail 179s is expected to compile into a catalogue without dependency cycles 179s is expected not to have unique attribute values for User[uid] 179s 179s unique 179s is expected to compile into a catalogue without dependency cycles 179s is expected to have unique attribute values for User[uid] 179s 179s #rspec_puppet_cleanup 179s is expected to equal true 179s should wipe @catalogue 179s 179s escape::def 179s is expected to contain File[/tmp/bla] with content =~ /bar \$BLA/ 179s 179s sysctl::before 179s Should raise an error about needing the sysctl::common class 179s 179s sysctl::before 179s is expected to contain Sysctl::Before[test define] with value => "title" 179s is expected to contain Class[sysctl::common] 179s 179s sysctl 179s is expected to contain Class[sysctl::common] 179s is expected to contain Augeas[sysctl/vm.swappiness] with context => "/files/etc/sysctl.conf", changes => "set vm.swappiness '60'", changes => #, onlyif => "match vm.swappiness[.='60'] size == 0", notify => "Exec[sysctl/reload]" and foo undefined 179s is expected to contain exactly 1 Sysctl resource 179s 179s test::addition 179s when passing an integer 179s is expected to contain Notify[61] 179s 179s sysctl 179s rspec group 179s should have a catalogue method 179s subject should return a catalogue 179s should be included in the coverage filter 179s 179s test::loop_define 179s with an array of plain strings 179s both sub resources in the catalogue 179s is expected to contain Package[a] 179s is expected to contain Package[b] 179s with a title containing a $ 179s is expected to compile into a catalogue without dependency cycles 179s 179s test::notify 179s is expected to contain Notify[test'] 179s 179s undef_test::def 179s with required_attribute => 'some_string' 179s and defaults_to_undef unspecified 179s is expected to compile into a catalogue without dependency cycles 179s is expected to contain Undef_test::Def[some_undef_test] with required_attribute => "some_string" 180s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 180s and defaults_to_undef => :undef 180s is expected to compile into a catalogue without dependency cycles 180s is expected to contain Undef_test::Def[some_undef_test] with required_attribute => "some_string" 180s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 180s with required_attribute => :undef 180s and defaults_to_undef unspecified 180s is expected to compile into a catalogue without dependency cycles 180s is expected to contain Undef_test::Def[some_undef_test] with required_attribute undefined 180s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 180s and defaults_to_undef => :undef 180s is expected to compile into a catalogue without dependency cycles 180s is expected to contain Undef_test::Def[some_undef_test] with required_attribute undefined 180s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 180s 180s camelCaseFunction 180s is expected not to be nil 180s is expected to run camelCaseFunction() and raise an Puppet::ParseError with the message matching /Requires 1 argument/ 180s is expected to run camelCaseFunction(1) and raise an Puppet::ParseError with the message matching /Argument must be a string/ 180s is expected to run camelCaseFunction("test") and return "test" 180s 180s split 180s rspec group 180s should have a catalogue method 180s catalogue should not change after subject is called 180s 180s #rspec_puppet_cleanup 180s is expected to equal true 180s should wipe @catalogue 180s 180s ensure_packages 180s should create the resource in the catalogue (PENDING: Temporarily skipped with xit) 180s 180s structured_facts::lookup 180s with one set of values 180s is expected to run structured_facts::lookup() and return "RedHat" 180s with a different set of values 180s is expected to run structured_facts::lookup() and return "Suse" 180s 180s map 180s is expected to run map([1, 2]) and return ["test-1", "test-2"] 180s 180s nasty 180s is expected not to eq nil 180s is expected to run nasty("foo", "bar") and return "foo" 180s the underlying Run matcher 180s should not have its description manipulated by running the function 180s 180s nil_function 180s is expected to run nil_function(false) and return nil 180s is expected to run nil_function(true) and raise an Puppet::ParseError with the message matching /Forced Failure/ 180s is expected to run nil_function(true) and raise an Puppet::ParseError with the message matching /Forced Failure - new version/ 180s 180s regsubst 180s is expected to run regsubst("thisisatest", "^192", "254") and match /sat/ 180s is expected to run regsubst("thisisatest", "sat", "xyz") and match /ixyze/ 180s is expected to run regsubst("thisisatest", "sat", "xyz") and return "thisixyzest" 180s is expected to run regsubst("thisisatest", "sat", "xyz") and match /^thisixyzest$/ 180s 180s split 180s is expected to run split("aoeu", "o") and return ["a", "eu"] 180s is expected not to run split("foo") and raise an Puppet::DevError 180s is expected to run split("foo") and raise an ArgumentError 180s is expected to run split("foo") and raise an ArgumentError with the message matching /expects \d+ arguments/ 180s is expected to run split("foo") and raise an Exception with the message matching /expects \d+ arguments/ 180s is expected to raise RSpec::Expectations::ExpectationNotMetError 180s after including a class 180s is expected to run split("aoeu", "o") and return ["a", "eu"] 180s 180s test_function 180s is expected to run test_function("foo") and match /value is foo/ 180s 180s frozen_function 180s is expected to run frozen_function("foo") and return true 180s is expected to run frozen_function(String) and return false 180s is expected to run frozen_function(true) and return true 180s is expected to run frozen_function(["foo"]) and return true 180s is expected to run frozen_function({"foo"=>"bar"}) and return true 180s 180s test::hiera_function 180s with :hiera_config set 180s is expected to run test::hiera_function() and return "foo" 180s without :hiera_config set 180s is expected to run test::hiera_function() and return "not found" 180s 180s test::bare_class 181s is expected to compile into a catalogue without dependency cycles 181s 181s trusted_facts::lookup 181s without trusted fact extensions 181s is expected to run trusted_facts::lookup("certname") and return "trusted.example.com" 181s is expected to run trusted_facts::lookup("hostname") and return "trusted" 181s is expected to run trusted_facts::lookup("domain") and return "example.com" 181s is expected to run trusted_facts::lookup("authenticated") and return "remote" 181s is expected to run trusted_facts::lookup("extensions") and return {} 181s with trusted fact extensions 181s is expected to run trusted_facts::lookup("extensions") and return {"extra1"=>"1", "extra2"=>"2"} 181s 181s someotherhost 181s is expected to contain Foo[bar] with param => ["baz"] 181s 181s #rspec_puppet_cleanup 181s is expected to equal true 181s should wipe @catalogue 181s 181s facts.acme.com 181s without an explicit environment setting 181s is expected to contain File[environment] with path => "rp_env" 181s when specifying an explicit environment 181s is expected to contain File[environment] with path => "test_env" 181s is expected to contain File[conditional_file] 181s test 181s is expected to contain File[environment] with path => "production" 181s 181s facts.acme.com 181s is expected to contain File[environment] with path => "rp_env" 181s is expected to contain File[clientversion] with path => "8.4.0" 181s is expected to contain File[fqdn] with path => "facts.acme.com" 181s is expected to contain File[hostname] with path => "facts" 181s is expected to contain File[domain] with path => "acme.com" 181s is expected to contain File[clientcert] with path => "cert facts.acme.com" 181s 181s foo.example.com 181s is expected not to contain Class[sysctl::common] 181s is expected to contain Notify[test] 181s 181s good_dep_host 181s is expected to compile into a catalogue without dependency cycles 181s 181s foo.example.com 181s rspec group 181s should have a catalogue method 181s subject should return a catalogue 181s should have resources in its coverage report 181s 181s testhost 181s is expected to contain Class[sysctl::common] 181s testhost_a 181s is expected not to contain Class[sysctl::common] 181s is expected to contain File[/tmp/a] 181s 181s RSpec::Puppet::RawString 181s #inspect 181s returns the raw string when doing an inspect 181s 181s RSpec::Puppet::Support 181s #setup_puppet 181s updates the ruby $LOAD_PATH based on the current modulepath 181s #ref 181s should return a new RawString with the type/title format 181s #sensitive 181s when using a version of Puppet that supports the Sensitive type 181s should return a new Sensitive with the given contents 181s #str_from_value 181s should quote strings 181s should not quote numbers 181s should use literal 'default' when receiving :default 181s should use literal 'undef' when receiving :undef 181s should convert Symbols to Strings 181s should handle Arrays recursively 181s should handle Hashes recursively 181s #find_pretend_platform 181s without os facts 181s returns the correct platform 181s with os structured fact 181s returns the correct platform 181s with osfamily fact 181s returns the correct platform 181s with os structured fact 181s returns the correct platform 181s with osfamily fact 181s returns the correct platform 181s #build_code 181s without any properties 181s builds a test manifest 181s with a pre_condition available 181s builds a test manifest 181s with a post_condition available 181s builds a test manifest 181s 181s Aliases::OnlyArray 181s is expected not to match values nil, "string" 181s is expected to match value ["a", "b"] 181s 181s Aliases::OnlyHash 181s is expected not to match values nil, "string" 181s is expected to match value {"a"=>"b"} 181s is expected to match value {"a"=>{"b"=>"c"}} 181s 181s Aliases::Shape 181s is expected to match value "square" 181s is expected to match value "circle" 181s is expected not to match value "triangle" 181s is expected not to match value nil 181s is expected to match values "square", "circle" 182s is expected not to match values "triangle", nil 182s 182s #rspec_puppet_cleanup 182s is expected to equal true 182s should wipe @catalogue 182s 182s fake 182s is expected to be a valid type 182s tests of the types 182s parameters checks 182s should fail for 2 baddies 182s should fail for 3 baddies 182s should pass with 2 goodies 182s should pass with 5 goodies 182s properties checks 182s should fail for 2 baddies 182s should fail for 4 baddies 182s should pass with 2 goodies 182s should pass with 5 goodies 182s features checks 182s should fail for 2 baddies 182s should fail for 4 baddies 182s should pass with 2 goodies 182s should pass with 6 goodies 182s tests that create a resource instance 182s should pass when providers match 182s should fail when provider does not match 182s should pass when providers match 182s should fail with invalid parameters 182s should not fail with valid parameters 182s 182s RSpec::Puppet::Adapters::Base 182s #setup_puppet 182s sets up all settings listed in the settings map 182s default settings 182s sets vardir to /dev/null 182s sets confdir to /dev/null 182s #set_setting 182s with a context specific setting 182s sets the Puppet setting based on the example group setting 182s does not persist settings between example groups 182s with a global RSpec configuration setting 182s sets the Puppet setting based on the global configuration value 182s with both a global RSpec configuration setting and a context specific setting 182s prefers the context specific setting 182s when the setting is not available on the given version of Puppet 182s logs a warning about the setting 182s 182s RSpec::Puppet::Coverage 182s filtering 182s filters boilerplate catalog resources by default 182s can add additional filters 182s filters resources based on the resource title 182s regular expression based filtering 182s maps (?-mix:test.*) to (?-mix:\ANotify\[.*test.*.*\]\z) 182s maps (?-mix:ignore[0-9]+) to (?-mix:\ANotify\[.*ignore[0-9]+.*\]\z) 182s maps (?-mix:\Astart_with) to (?-mix:\ANotify\[start_with.*\]\z) 182s maps (?-mix:\Aanchored\Z) to (?-mix:\ANotify\[anchored\]\z) 182s maps (?-mix:end_with\Z) to (?-mix:\ANotify\[.*end_with\]\z) 182s maps (?-mix:end_with\z) to (?-mix:\ANotify\[.*end_with\]\z) 182s maps (?-mix:end_with$) to (?-mix:\ANotify\[.*end_with\]\z) 182s maps (?-mix:escapism\$) to (?-mix:\ANotify\[.*escapism\$.*\]\z) 182s maps (?-mix:escapism\\Z) to (?-mix:\ANotify\[.*escapism\\Z.*\]\z) 182s maps (?-mix:escapism\\\\\Z) to (?-mix:\ANotify\[.*escapism\\\\\]\z) 182s maps (?-mix:escapism\\\\$) to (?-mix:\ANotify\[.*escapism\\\\\]\z) 182s maps (?-mix:escapism\\\\\$) to (?-mix:\ANotify\[.*escapism\\\\\$.*\]\z) 182s maps (?-mix:escapism\\\\\\\$) to (?-mix:\ANotify\[.*escapism\\\\\\\$.*\]\z) 182s adding resources that could be covered 182s adds resources that don't exist and aren't filtered 182s ignores resources that have been filtered 182s ignores resources that have been regex filtered 182s ignores resources that have already been added 182s getting coverage results 182s counts the total number of resources 182s counts the number of touched resources 182s counts the number of untouched resources 182s counts the coverage percentage 182s includes all resources and their status 182s when there are no resources 182s reports 100% coverage 182s with parallel tests 182s getting coverage results 182s outputs report 182s 182s RSpec::Puppet::FunctionExampleGroup::V4FunctionWrapper 182s when calling with params 182s is expected to receive call(#, 1, 2) 1 time 182s when executing with params 182s is expected to receive call(#, 1, 2) 1 time 182s 182s RSpec::Puppet::FunctionExampleGroup::V3FunctionWrapper 182s when calling with params 182s is expected to receive call([1, 2]) 1 time 182s when executing with params 182s is expected to receive call([1, 2]) 1 time 182s 182s RSpec::Puppet::TypeAliasMatchers::AllowValue 182s one matching value 182s #matches? 182s is expected to equal true 182s #description 182s is expected to eq "match value \"circle\"" 182s one incorrect value 182s #matches? 182s is expected to equal false 182s #description 182s is expected to eq "match value \"circle\"" 182s #failure_message 182s is expected to eq "expected that the type alias would match value \"circle\" but it raised the error expected a Shape value, got circle" 182s #failure_message_when_negated 182s is expected to eq "expected that the type alias would not match value \"circle\" but it does" 182s multiple matching values 182s #matches? 182s is expected to equal true 182s #description 182s is expected to eq "match values \"circle\", \"square\"" 182s mixed matching/incorrect values 182s #matches? 182s is expected to equal false 182s #description 182s is expected to eq "match values \"circle\", \"square\", \"triangle\"" 182s #failure_message 182s is expected to eq "expected that the type alias would match values \"circle\", \"square\", \"triangle\" but it raised the errors expected a Shape value, got circle, expected a Shape value, got triangle" 182s #failure_message_when_negated 182s is expected to eq "expected that the type alias would not match values \"circle\", \"square\", \"triangle\" but it does" 182s 182s RSpec::Puppet::ManifestMatchers::Compile 182s a valid manifest 182s matches 182s is expected to have attributes {:description => "compile into a catalogue without dependency cycles"} 182s when expecting an "example" error 182s doesn't match 182s is expected to have attributes {:description => "fail to compile and raise the error \"example\""} 182s after matching 182s is expected to have attributes {:failure_message => (a string starting with "expected that the catalogue would fail to compile and raise the error \"example\"")} 182s when matching an "example" error 182s doesn't match 182s is expected to have attributes {:description => "fail to compile and raise an error matching /example/"} 182s after matching 182s is expected to have attributes {:failure_message => (a string starting with "expected that the catalogue would fail to compile and raise an error matching /example/")} 182s a manifest with missing dependencies 182s doesn't match 182s after matching 182s is expected to have attributes {:failure_message => (a string matching /\Aerror during compilation: Could not (retrieve dependency|find resource) 'File\[\/tmp\/missing\]'/)} 182s a manifest with syntax error 182s doesn't match 182s after matching 182s is expected to have attributes {:failure_message => (a string starting with "error during compilation: ")} 182s a manifest with a dependency cycle 182s doesn't match 182s after matching 182s is expected to have attributes {:failure_message => (a string starting with "dependency cycles found: ")} 182s when expecting an "example" error 182s doesn't match 182s after matching 182s is expected to have attributes {:description => "fail to compile and raise the error \"example\"", :failure_message => (a string starting with "dependency cycles found: ")} 182s when matching an "example" error 182s doesn't match 182s after matching 182s is expected to have attributes {:description => "fail to compile and raise an error matching /example/", :failure_message => (a string starting with "dependency cycles found: ")} 182s a manifest with a real failure 182s doesn't match 182s after matching 182s is expected to have attributes {:description => "compile into a catalogue without dependency cycles", :failure_message => (a string starting with "error during compilation: ")} 182s when expecting the failure 182s matches 182s is expected to have attributes {:description => "fail to compile and raise the error \"Evaluation Error: Error while evaluating a Function Call, failure (line: 52, column: 1) on node rspec::puppet::manifestmatchers::compile\""} 182s after matching 182s is expected to have attributes {:failure_message => (a string starting with "error during compilation: ")} 182s when matching the failure 182s matches 182s is expected to have attributes {:description => "fail to compile and raise an error matching /failure/"} 182s after matching 182s is expected to have attributes {:failure_message => (a string starting with "error during compilation: ")} 182s 182s RSpec::Puppet::ManifestMatchers::CountGeneric 182s is not a diffable matcher (PENDING: method not implemented) 182s #initialize 182s when initialised with a specified type 182s and the type is a single namespace segment 182s capitalises the type 182s and the type is multiple namespaced segments 182s capitalises each segment of the type (PENDING: bug - not implemented) 182s when initialised with a method name via method_missing 182s and the type is a single namespace segment 182s extracts the type from the method name and capitalises it 182s and the type is multiple namespaced segments 182s extracts the type from the method name and capitalises each segment 182s #description 182s when counting classes in the catalogue 182s and only a single class is expected 182s describes an expectation of a singular class 182s and more than one class is expected 182s describes an expectation of plural classes 182s when counting all resources 182s and only a single resource is expected 182s describes an expectation of a singular resource 182s and more than one resource is expected 182s describes an expectation of plural resources 182s when counting resources of a particular type 182s and only a single resource is expected 182s describes an expectation of a singular resource type 182s and more than one resource is expected 182s describes an expectation of plural resources of a type 182s #matches? 182s when counting all resources 182s does not include Class, Node or default resources in the count 182s and the catalogue contains a number of countable resources 182s and the expected value matches the resource count 182s returns true 182s and the expected value does not match the resource count 182s returns false 182s and counting resources of a particular type 182s does not include default resources of that type in the resource count 182s #failure_message 182s provides the description of the failure and the actual value 182s #failure_message_when_negated 182s provides the description of the failure 182s 182s RSpec::Puppet::ManifestMatchers.have_class_count 182s initialises a CountGeneric matcher for Class resources 182s 182s RSpec::Puppet::ManifestMatchers.have_resource_count 182s initialises a CountGeneric matcher for all resources 182s 182s RSpec::Puppet::ManifestMatchers.include_class 182s is not a diffable matcher 182s #description 182s includes the expected class name 182s #matches? 182s when the catalogue includes the expected class 182s returns true 182s when the catalogue does not include the expected class 182s returns false 182s #failure_message 182s provides a description and the expected class 182s #failure_message_when_negated 182s provides a description and the expected class (PENDING: not implemented) 182s 182s RSpec::Puppet::ManifestMatchers::ParameterMatcher 182s #matches? 182s with [1] expected 182s matches [1] 182s does not match [] 182s does not match [1,2,3] 182s does not match nil 182s with [1,2,3] expected 182s matches [1,2,3] 182s does not match [] 182s does not match nil 182s with {"foo" => "bar"} expected 182s matches {"foo" => "bar"} 182s does not match nil 182s does not match {} 182s does not match {"foo" => "baz"} 182s with lambda(){"foo"} expected 182s matches "foo" 182s does not match nil 182s with /foo/ expected 182s matches "foo" 182s does not match nil 182s with "foo" expected 182s matches "foo" 182s does not match nil 182s 182s RSpec::Puppet::GenericMatchers::RaiseError 182s with a failing target 182s is expected to raise Exception with "catalogue load failed" 182s with a passing target 182s is expected not to raise Exception 182s 182s RSpec::Puppet::FunctionMatchers::Run 182s #matches? 182s when the function takes no arguments and has no expected return value 182s and returns nothing 182s returns true 182s and raises an exception 182s returns false 182s #with_lambda 182s when a lambda is passed to the matcher 182s passes the lambda when executing the function 182s 182s RSpec::Puppet::Win32::Registry 182s on non-windows 182s is expected not to be nil 182s uses the stubbed rspec-puppet version 182s 182s RSpec::Puppet::Win32::TaskScheduler 182s on non-windows 182s is expected not to be nil 182s uses the stubbed rspec-puppet version 182s 182s RSpec::Puppet::Windows::TaskSchedulerConstants 182s on non-windows 182s is expected not to be nil 182s uses the stubbed rspec-puppet version 182s 182s File constants 182s on non-windows 182s File::PATH_SEPARATOR 182s File::ALT_SEPARATOR 182s 182s Pathname constants 182s on non-windows 182s Pathname::SEPARATOR_PAT 182s 182s Pathname#rspec_puppet_basename 182s is not enabled by default 182s when enabled 182s returns the basename of a path (basic cases) 182s returns the last component of the filename 182s returns a string 182s returns the basename for unix format 182s returns the basename for edgecases 182s on posix 182s returns the basename for edgecases 182s takes into consideration the platform path separators 182s on windows 182s handles UNC pathnames 182s takes into consideration the platform path separators 182s returns the basename for windows 182s returns the basename for windows with forward slash 182s 182s Puppet::Module#match_manifests 182s returns init.pp for top level class 182s returns init.pp for escape::unknown 182s returns just def.pp for escape::def 182s 182s RSpec::Puppet::RawString 182s #inspect 182s returns an unquoted version of the string 182s 182s RSpec::Puppet::Sensitive 182s #sensitive? 182s returns true 182s #unwrap 182s returns the wrapped value 182s #inspect 182s wraps the contents in Sensitive() 182s #== 182s compares equal to Puppet sensitive type 182s compares false to the unwrapped value 182s 182s Code coverage 182s must cover at least 0% of resources 182s 182s 182s Coverage Report: 182s 182s Total resources: 107 182s Touched resources: 77 182s Resource coverage: 71.96% 182s 182s Untouched resources: 182s Class[Relationships::Before::Middle] 182s Class[Relationships::Notify::Middle] 182s Class[Relationships::Notify::Post] 182s Class[Relationships::Notify::Pre] 182s File[/home] 182s File[/tmp/b] 182s File[/tmp/deptest1] 182s File[/tmp/deptest2] 182s File[/tmp/resource] 182s File[C:\test.txt] 182s File[tmpdir] 182s Node[__node_regexp__testhost] 182s Node[facts.acme.com] 182s Node[good_dep_host] 182s Node[testhost_a] 182s Notify[["first", "second", ["third", "fourth"], 5, 6]] 182s Notify[["first", 1, "second", 2]] 182s Notify[["foo", "bar", "baz", "quux"]] 182s Notify[message-test define] 182s Notify[middle] 182s Notify[success] 182s Notify[{"first"=>1, "sec.ond"=>2, "third"=>{"alpha"=>"a", "beta"=>"b"}}] 182s Notify[{"first"=>1, "second"=>2}] 182s Notify[{"foo"=>"bar", "baz"=>"quux"}] 182s Notify[{1=>"uno", 2=>"dos"}] 182s Package[$test] 182s Package[test] 182s User[fiona] 182s User[foo] 182s User[fred] 183s 183s Pending: (Failures listed here are expected and do not affect your suite's status) 183s 183s 1) test::registry 183s # Temporarily skipped with xit 183s # ./spec/classes/test_registry_spec.rb:10 183s 183s 2) ensure_packages should create the resource in the catalogue 183s # Temporarily skipped with xit 183s # ./spec/functions/ensure_packages_spec.rb:6 183s 183s 3) RSpec::Puppet::ManifestMatchers::CountGeneric is not a diffable matcher 183s # method not implemented 183s Failure/Error: expect(matcher).not_to be_diffable 183s expected contain exactly 0 resources to respond to `diffable?` 183s # ./spec/unit/matchers/count_generic_spec.rb:30:in `block (2 levels) in ' 183s 183s 4) RSpec::Puppet::ManifestMatchers::CountGeneric#initialize when initialised with a specified type and the type is multiple namespaced segments capitalises each segment of the type 183s # bug - not implemented 183s Failure/Error: expect(matcher.resource_type).to eq('Test::Type') 183s 183s expected: "Test::Type" 183s got: "Test::type" 183s 183s (compared using ==) 183s # ./spec/unit/matchers/count_generic_spec.rb:48:in `block (5 levels) in ' 183s 183s 5) RSpec::Puppet::ManifestMatchers.include_class #failure_message_when_negated provides a description and the expected class 183s # not implemented 183s Failure/Error: expect(matcher.failure_message_when_negated).to eq("expected that the catalogue would not include Class[#{expected}]") 183s 183s expected: "expected that the catalogue would not include Class[test_class]" 183s got: "expected # not to include Class[test_class]" 183s 183s (compared using ==) 183s # ./spec/unit/matchers/include_class_spec.rb:75:in `block (3 levels) in ' 183s 183s Deprecation Warnings: 183s 183s Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /tmp/autopkgtest.UQmBIW/build.A8z/src/spec/classes/undef_spec.rb:17:in `block (4 levels) in '. 183s 183s subject.call is deprecated. Use is_expected.to run.with().and_raise_error(), or execute() instead. Called from /usr/share/rubygems-integration/all/gems/rspec-puppet-2.9.0/lib/rspec-puppet/example/function_example_group.rb:25:in `call'. 183s subject.call is deprecated. Use is_expected.to run.with().and_raise_error(), or execute() instead. Called from /usr/share/rubygems-integration/all/gems/rspec-puppet-2.9.0/lib/rspec-puppet/example/function_example_group.rb:67:in `call'. 183s 183s 183s If you need more of the backtrace for any of these deprecations to 183s identify where to make the necessary changes, you can configure 183s `config.raise_errors_for_deprecations!`, and it will turn the 183s deprecation warnings into errors, giving you the full backtrace. 183s 183s 3 deprecation warnings total 183s 183s Finished in 11.85 seconds (files took 1.48 seconds to load) 183s 617 examples, 0 failures, 5 pending 183s 183s mv ./.gem2deb.lib lib 183s autopkgtest [19:46:17]: test gem2deb-test-runner: -----------------------] 183s gem2deb-test-runner PASS 183s autopkgtest [19:46:17]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 184s autopkgtest [19:46:18]: @@@@@@@@@@@@@@@@@@@@ summary 184s gem2deb-test-runner PASS 195s Creating nova instance adt-noble-ppc64el-ruby-rspec-puppet-20240221-194313-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240221.img (UUID 21b9ccba-b69a-4333-8c5c-a2cc004f7f47)...